| Summary: | Afterprint event is fired before print dialog closed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Woody Lee <woodlxf00> |
| Component: | Printing | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | achristensen, ahmad.saleem792, cdumez, thorton, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 15 | ||
|
Description
Woody Lee
2022-09-14 01:41:29 PDT
Can you attach a test case to reproduce this issue? Thanks! #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.
|