New issue
Advanced search Search tips

Issue 675714 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

window.open is slower than the previous version

Reported by ashmaite...@codefish.com, Dec 19 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
call a js function that opens a separate window, loads it with html content and prints it

   var printWin = window.open('','','left=0,top=0,width=1,height=1,toolbar=0,scrollbars=0,status  =0');
	        	   printWin.document.write(input);
	        	   printWin.document.close();
	        	   printWin.focus();
	        	   printWin.print();
	        	   printWin.close();

What is the expected behavior?
It was 2x time faster pre 55

What went wrong?
window.open takes more time to open a window

Did this work before? N/A 

Chrome version: 55.0.2883.87  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 24.0 r0
 
Components: -Blink Blink>Loader

Comment 2 by ajha@chromium.org, Dec 20 2016

Labels: M-55 Needs-Bisect prestable-55.0.2883.87
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
Unable to reproduce the scenario on Windows 10/Windows 7 with chrome versions #55.0.2883.87 and #53.0.2785.116
On both versions observed that "window.open" takes approx equal time to open the window
Attaching the screen-cast for reference.
Could try the same scenario with clean profile with no apps and extensions and let us know your observations.
Issue 675714.mp4
1.6 MB View Download
Thank you for trying.

The call is being made from an adobe flex component which uses the ExternalInterface class to call an embedded js function multiple times in case I needed to print consecutive pages, Is it possible that the issue is related to the flash player ?.

for each(var item:String in templates)
{						ExternalInterface.call("printHTML", item,""); 
}

ashmaitelli@ Could you please help us with sample jsfiddle/html page and steps to reproduce the issue, so that we can test it from TE-End

Thank You...
I won't be able to write it in jsfiddle because I am calling the js function from action script(adobe flex), I will try instead to create a small swf file to replicate it with.
ashmaitelli@ Could you please provide the sample swf file and steps to reproduce the issue, so that we can test it from TE-End

Thank you...
Project Member

Comment 8 by sheriffbot@chromium.org, Jan 5 2017

Labels: -Needs-Feedback Needs-Review
Owner: kkaluri@chromium.org
Thank you for providing more feedback. Adding requester "kkaluri@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Review Needs-Feedback
Owner: ----
ashmaitelli@ Could you please provide the sample swf file and steps to reproduce the issue, so that we can test it from TE-End

Thank you...
Status: Archived (was: Unconfirmed)
Closing since we can't reproduce and haven't heard back from the reporter.
Please chime if this still is an issue (and ideally also provide a repro case).

Sign in to add a comment