[Webkit-unassigned] [Bug 245171] Afterprint event is fired before print dialog closed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 14 18:10:03 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245171

--- Comment #2 from Woody Lee <woodlxf00 at gmail.com> ---
#c1
A simple example:

var win = window.open('');
win.document.write('<div>Test</div>');
win.addEventListener('afterprint', (e) => console.log(e) );
win.print();

The event log will fired before print dialog closed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220915/b1afa724/attachment.htm>


More information about the webkit-unassigned mailing list