Closed
Bug 1277802
Opened 8 years ago
Closed 5 years ago
some javascripts files are invisible both in inspector and firebug
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: llyaudet, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(4 files, 1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Build ID: 20160502172042 Steps to reproduce: I opened a file containing swagger-ui. Actual results: The included script swagger-ui.js was invisible both in inspector and Firebug. Expected results: The included script swagger-ui.js should have been visible
Reporter | ||
Comment 1•8 years ago
|
||
Reporter | ||
Updated•8 years ago
|
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Reporter | ||
Comment 2•8 years ago
|
||
Reporter | ||
Comment 3•8 years ago
|
||
Hi, I also tried to reproduce the bug in Chrome and IE. The js file was visible in Chrome inspector. With IE when I opened the inspector the first time, the window crashed. I retried one more time with IE and the js file was visible in the inspector. Best regards, Laurent Lyaudet
If you refresh the page when the Debugger is open, the JS sources appear. I think there is an issue about caching or delay, maybe due to the size of the JS lib linked.
Reporter | ||
Comment 6•8 years ago
|
||
Hi Loic, I tried to refresh the page with the debugger open but the file swagger-ui.js still doesn't show. Best regards, Laurent Lyaudet
Reporter | ||
Comment 8•8 years ago
|
||
Hi Loic, Even with a forced refresh it doesn't appear in Debugger tab. However it appears in network tab. Best regards, Laurent Lyaudet
Comment 9•8 years ago
|
||
My first thought was that swagger.js does not define any global functions. In that case all scripts introduced by this source file can be garbage collected before the debugger is opened. The debugger relies on those scripts to find the list of sources, which would explain why it doesn't show up. However, on closer examination, it looks like swagger.js defines plenty of global functions, so that explanation seems out. We should take a closer look at this when we have the time.
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Blocks: dbg-sources
Updated•5 years ago
|
Whiteboard: needs-review
Comment 10•5 years ago
|
||
I tested this and I can see the swager-ui.js
file in the Sources panel (together with the generated index.js
file)
I am closing this since the new debugger UI seems to be dealing with this module properly. Feel free to reopen if you still see the problem though.
Honza
Updated•5 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
Whiteboard: needs-review
You need to log in
before you can comment on or make changes to this bug.
Description
•