Closed
Bug 1640768
Opened 5 years ago
Closed 4 years ago
Make AutoPrintEventDispatcher work in fission
Categories
(Core :: Printing: Setup, defect, P3)
Core
Printing: Setup
Tracking
()
RESOLVED
FIXED
Fission Milestone | M6c |
People
(Reporter: hiro, Unassigned)
References
Details
Attachments
(1 file)
110 bytes,
text/html
|
Details |
AutoPrintEventDispatcher uses EnumerateSubDocuments, it doesn't enumerate any OOP iframes.
The HTML Standard spec clearly says;
- The user agent must fire an event named beforeprint at the relevant global object of the Document that is being printed, as well as any child browsing contexts in it.
I am less sure that any child browsing contexts
contain cross origin iframe's contexts though. But I suppose it does.
Comment 1•5 years ago
|
||
Yes it does, though worth looking at other browser's behavior here.
Reporter | ||
Comment 2•5 years ago
|
||
Thank you Emilio. Chrome does fire beforeprint/afterprint events in OOP iframes (at least in print preview).
Updated•4 years ago
|
Fission Milestone: --- → M6c
Comment 4•4 years ago
|
||
I actually don't think we need this as a separate bug. This should automatically just work once we do static clones for oop-iframes.
Hiro, are you okay to close this?
(Also, FWIW AutoPrintEventDispatcher no longer exists - the events are dispatched from nsPrintJob::DoCommonPrint.)
Flags: needinfo?(jwatt) → needinfo?(hikezoe.birchill)
Reporter | ||
Comment 5•4 years ago
|
||
Sure.
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(hikezoe.birchill)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•