Closed
Bug 1597946
Opened 5 years ago
Closed 5 years ago
Browser debugger goes blank
Categories
(DevTools :: Debugger, defect, P1)
DevTools
Debugger
Tracking
(firefox72 fixed)
RESOLVED
FIXED
Firefox 72
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: Honza, Assigned: jlast)
Details
Attachments
(1 file)
This happened to me today when debugging MQTT WS payload
STR:
- Download and apply this patch: https://phabricator.services.mozilla.com/D41445
- Build and Run Firefox
- Open DevTools & Network panel on http://rtsdp.eu5.org/dashboard/TestMosquittoOrgDashboard.html
- You should see WS 101 HTTP request in the list, select it and go to the Messages panel - Do not select any frame yet
- Open the Browser Debugger and create BP in
netmonitor/src/components/websockets/FramePayload.js
on line 159 (it should be whereconst decoder = MQTTDecoder();
ctor is called. - Select a WS frame in the Messages panel
- The BP should hit. Hover over the
MQTTDecoder();
ctor to see a preview -> the entire browser debugger panel goes blank
Honza
Reporter | ||
Comment 1•5 years ago
|
||
Jason, can you reproduce that?
Can you please investigate this ASAP?
Honza
Flags: needinfo?(jlaster)
Assignee | ||
Comment 3•5 years ago
|
||
Thanks for sharing.
This is failing because we're trying to create a rep with an empty array of roots. Rep({ object: result })
in Popup.js. The issue is that shouldRenderRootsInReps
check crashes when doing this check.
One simple fix would be to change the roots length check at the top to if (roots.length !== 1)
.
Assignee | ||
Comment 4•5 years ago
|
||
Pushed by jlaster@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8127325c6941 Browser debugger goes blank. r=nchevobbe
Comment 6•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72
Updated•5 years ago
|
Assignee: nobody → jlaster
You need to log in
before you can comment on or make changes to this bug.
Description
•