Closed
Bug 1691349
Opened 3 years ago
Closed 3 years ago
Screenshot node from the inspector on about:preferences makes the browser hang
Categories
(DevTools :: Inspector, defect, P1)
DevTools
Inspector
Tracking
(firefox-esr78 unaffected, firefox85 unaffected, firefox86 unaffected, firefox87 fixed)
RESOLVED
FIXED
87 Branch
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox85 | --- | unaffected |
firefox86 | --- | unaffected |
firefox87 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
Steps to reproduce
- Navigate to
about:preferences
- Open the inspector
- On the
.main-content
element, use the context menu entry to take a screenshot of the node
Actual results
The browser hangs for some reason
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Inspector' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Component: General → Inspector
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1678483
status-firefox85:
--- → unaffected
status-firefox86:
--- → unaffected
status-firefox87:
--- → affected
status-firefox-esr78:
--- → unaffected
Assignee | ||
Comment 3•3 years ago
|
||
The context menu action was freezing because of an infinite
loop in getRect: since we weren't passing a boundary window,
the function uses the top window, which can be the windowRoot.
But then, we walk up through the window using window.parent,
which would never get us the windowRoot, hence the infinite loop.
We fix this by providing the boundary window to getReact.
A test is added to ensure we don't regress in the future.
Updated•3 years ago
|
Keywords: regression
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7ed0dc85c25b [devtools] Fix screenshot node on about:preferences. r=bomsy.
Comment 5•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Updated•3 years ago
|
Has Regression Range: --- → yes
You need to log in
before you can comment on or make changes to this bug.
Description
•