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
,
Dec 20 2016
,
Dec 20 2016
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.
,
Dec 20 2016
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,"");
}
,
Dec 21 2016
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...
,
Dec 22 2016
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.
,
Dec 29 2016
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...
,
Jan 5 2017
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
,
Jan 9 2017
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...
,
Apr 10 2017
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 |
||||||
Comment 1 by dtapu...@chromium.org
, Dec 20 2016