Closed
Bug 1196089
Opened 9 years ago
Closed 4 years ago
Strings passed to setTimeout/Interval do not have an introductionType set
Categories
(DevTools :: Debugger, defect, P2)
Tracking
(firefox80 fixed)
RESOLVED
FIXED
Firefox 80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: onefling8, Assigned: loganfsmyth)
References
(Blocks 1 open bug)
Details
(Whiteboard: [polish-backlog][difficulty=medium])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150511103946
Steps to reproduce:
1. point the browser to http://makermade.github.io/jstest1/
2. wait the content loaded
3. click Developer > Debugger, and click the emulate.js from the site
Actual results:
the Debugger does not show the source code of emulate.js
Expected results:
the Debugger should show the source code of emulate.js.
I have tried with IE/safari/chrome, all of them work well.
Comment 1•9 years ago
|
||
Interesting, it looks like we are showing a source eval'd by the "main" source rather than that "main" source.
I get
> animate(55)
as the source contents, and if you right click and grab the source's reported URL and open that in a new tab, you get a different source content, but this line near the bottom:
> setTimeout('animate('+n+')',50);
Which is where I suspect the source that is actually shown is coming from.
Most likely a bug with our filtering of eval'd sources + somewhere where we are still keying by URL and getting the wrong thing.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•9 years ago
|
Whiteboard: [polish-backlog][difficulty=medium]
Updated•9 years ago
|
Assignee: nobody → jlong
Updated•8 years ago
|
Assignee: jlong → nobody
Updated•8 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Blocks: dbg-sources
Updated•6 years ago
|
Priority: P3 → P5
Assignee | ||
Updated•4 years ago
|
Summary: Debugger does not show the js source which include a endless loop → Strings passed to setTimeout/Interval do not have an introductionType set
Assignee | ||
Updated•4 years ago
|
Priority: P5 → P2
Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → loganfsmyth
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D83410
Pushed by loganfsmyth@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/4b2c7b2f3222
Treat script sources introduced by DOM timers as anonymous. r=davidwalsh
https://hg.mozilla.org/integration/autoland/rev/5202ada0cf1d
Treat javascript: scripts as anonymous sources. r=davidwalsh
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4b2c7b2f3222
https://hg.mozilla.org/mozilla-central/rev/5202ada0cf1d
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
Updated•4 years ago
|
QA Whiteboard: [qa-80b-p2]
You need to log in
before you can comment on or make changes to this bug.
Description
•