Closed
Bug 362120
Opened 19 years ago
Closed 7 years ago
[meta] Allow lithium to print preview pages automatically
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: ispiked, Unassigned)
Details
(Keywords: meta, sec-other, Whiteboard: [sg:nse meta])
Attachments
(3 files)
There've been a few bugs filed recently on assertions that occur only during print preview. Since these are painful to reduce, it would be nice if we could somehow automate the print preview process.
I'm attaching my attempt at doing this so others can take a look if they please. Currently, the script print previews the page in the current browser window (no separate window), but fails to close it.
(Filing as security sensitive since lithium's existence is not publicly known.)
| Reporter | ||
Comment 1•19 years ago
|
||
Updated•19 years ago
|
Whiteboard: [sg:nse meta]
Comment 2•19 years ago
|
||
Thanks for the script, Adam!
This makes exitprintpreview work, but it's an ugly hack, though.
A popup window is opened, to exit print preview on the opener page, you have to click on the "doe" button.
Comment 3•19 years ago
|
||
Ok, this is a self containing testcase that works, it uses an iframe.
I think I can use this very conveniently for my ajax demolisher (bug 321107).
Comment 4•19 years ago
|
||
I don't think the code itself needs to be security sensitive, does it?
Because I already see a bug in Mozilla with the testcase: Click on the "set printpreview on iframe" button and then on the "undo printpreview on iframe", after that I still see content of the iframe bleeding out of the iframe. This regressed with the landing of the frame display lists patch (bug 317375). Possibly related to bug 331809.
Comment 5•19 years ago
|
||
I filed bug 362356 for the issue mentioned in comment 4.
Comment 6•19 years ago
|
||
Not sure who should own getting this into lithium, guessing Jesse but could be Martijn based on activity in the bug.
Assignee: nobody → jruderman
Comment 7•17 years ago
|
||
I'm not working on this at the moment. I think it would make more sense to have a Firefox extension exposing this ability rather than trying to add it to Lithium.
Assignee: jruderman → nobody
Comment 8•9 years ago
|
||
Lithium is no longer private (https://github.com/MozillaSecurity/lithium/): unhiding bug.
Group: core-security
Comment 9•7 years ago
|
||
The meta keyword is there, the bug doesn't depend on other bugs and there is no activity for 12 months.
:selenamarie, maybe it's time to close this bug?
Flags: needinfo?(sdeckelmann)
Updated•7 years ago
|
Summary: Allow lithium to print preview pages automatically → [meta] Allow lithium to print preview pages automatically
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(sdeckelmann)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•