DevTools Debugger Panel re-fetches JavaScript and can show fake source, frustrating debugging
Categories
(DevTools :: Debugger, defect, P5)
Tracking
(Not tracked)
People
(Reporter: jtdileo, Unassigned)
References
(Blocks 2 open bugs)
Details
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Reporter | ||
Comment 4•9 years ago
|
||
Comment 5•9 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Comment 6•6 years ago
|
||
We are requesting the file for the debugger, as seen in the profile: https://perfht.ml/2Emz0G4
Maybe this happens because it isn't cached, so the engine requests it again. View source works fine though, so the file should be available somewhere.
P5 as this might cause some side effects but not for many devs. We need to figure out a better caching strategy though so we stop requesting too many file in the Debugger.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•5 years ago
|
||
With https://bugzilla.mozilla.org/show_bug.cgi?id=1643540 along with Brian's work for storing HTML as it is loaded in the parser, I think this is covered, as long as you already had devtools open already. If devtools was closed and you open it later, at present we have no way to know the specifics of the original request that was made, so we do a best-effort GET for the URL.
Description
•