Open Bug 1451464 Opened 7 years ago Updated 2 years ago

Console JS warnings do not have a source actor ID, breaking navigation for warnings in `eval` scripts

Categories

(DevTools :: Debugger, enhancement, P5)

59 Branch
enhancement

Tracking

(firefox59 affected)

UNCONFIRMED
Tracking Status
firefox59 --- affected

People

(Reporter: elatllat, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180323154952 Steps to reproduce: It's impossible to find the source of a warning on dynamically loaded scripts in Firefox. The source is listed as the JS file which called eval on the actual code. Actual results: Clicking on the link results in "Not Found" Expected results: Clicking on the link should show the source, or as this is not even supported for errors having a "pause on warning" like we have "pause on exception" in the debugger would also be OK.
Summary: pause on warning → pause on warning for dynamically loaded scripts
Based on other similar report I think the correct component would be Firefox::Developer Tools:Debugger. Please change if this is not the right component.
Component: Untriaged → Developer Tools: Debugger
Hi elatllat, would it be possible to make a small test case here http://dbg.glitch.me/ that demonstrates the problem? It really helps us narrow it down.
Flags: needinfo?(elatllat)
Flags: needinfo?(elatllat)
Product: Firefox → DevTools
Blocks: dbg-control
Type: defect → enhancement
Priority: -- → P5
Blocks: dbg-sources
No longer blocks: dbg-control
Summary: pause on warning for dynamically loaded scripts → Console JS warnings do not have a source actor ID, breaking navigation for warnings in `eval` scripts
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.