Closed Bug 881407 Opened 11 years ago Closed 7 years ago

Always display HTML page in the debugger

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: rcampbell, Unassigned)

Details

Currently, pages without scripts containing event handlers on elements don't show up in the files list in the Debugger. We should probably always show the html page for a given location regardless of whether or not it has scripts.
Bug 842937 is related and I think the implementation options I've sketched there would cover this case as well. We could dupe it if we plan on doing all of the work at once, or keep this bug for v1 and use the other one for v2.
Assignee: nobody → bbenvie
Priority: -- → P3
Assignee: bbenvie → nobody
This now works.
If you open data:text/html,<div onclick="alert('test')">test
the debugger contains the HTML file in the sidebar, and you can even set a breakpoint on the first line.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.