Closed
Bug 1648615
Opened 4 years ago
Closed 4 years ago
Add hotkeys to dump DOM tree and frame tree in layout debugger
Categories
(Core :: Layout, task)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla79
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: TYLin, Assigned: TYLin)
Details
Attachments
(1 file)
When debugging testcase where the script can crash the browser, it's easier to use hotkey to dump the frame tree than clicking through the menu items before the script runs.
setTimeout(() => {
// Modify CSS or DOM that crashes the browser.
}, 3000);
Assignee | ||
Comment 1•4 years ago
|
||
- ctrl+d: Dump DOM tree (content). (Use "d" because "c" is for copy.)
- ctrl+f: Dump frame trees.
- ctrl+p: Dump frame trees in CSS pixels.
On macOS, the modified is cmd instead of ctrl.
Updated•4 years ago
|
Assignee: nobody → aethanyc
Status: NEW → ASSIGNED
Pushed by aethanyc@gmail.com: https://hg.mozilla.org/integration/autoland/rev/9ab1d1d81000 Add hotkeys to dump DOM tree and frame tree in layout debugger. r=emilio
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in
before you can comment on or make changes to this bug.
Description
•