Debugger does not show the js source which include a endless loop

NEW
Unassigned

Status

P3
normal
3 years ago
4 months ago

People

(Reporter: onefling8, Unassigned)

Tracking

38 Branch

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [polish-backlog][difficulty=medium])

(Reporter)

Description

3 years ago
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.
(Reporter)

Updated

3 years ago
Component: Untriaged → Developer Tools: Debugger
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
Whiteboard: [polish-backlog][difficulty=medium]
Assignee: nobody → jlong
Assignee: jlong → nobody

Updated

2 years ago
Priority: -- → P3

Updated

4 months ago
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.