Closed
Bug 1458322
Opened 6 years ago
Closed 4 years ago
Object inspector should not call printPreview getter
Categories
(DevTools :: Console, defect, P3)
DevTools
Console
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1552449
People
(Reporter: Oriol, Unassigned)
Details
Open browser console with devtools.chrome.enabled=true and enter inspect(window.getInterface(Ci.nsIDocShell)) This will call the "printPreview" safe getter. The problem is that this freezes the window in which the browser console opened. And then, if you enter "window", you get error occurred while processing 'evaluateJSAsync: Error: Permission denied for <moz-nullprincipal:{3ef7ce57-4d70-47b1-a2d8-986bf9d89041}> to create wrapper for object of class UnnamedClassLine: 0, column: 0
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•4 years ago
|
||
can't reproduce this anymore.
Oriol, feel free to open it again if you are still seeing this kind of issues
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 2•4 years ago
|
||
Fixed in 1552449 by making print preview less susceptible to inadvertent misuse
Resolution: INVALID → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•