Closed Bug 1327796 Opened 7 years ago Closed 7 years ago

debugger sourcemap doesn't work, breaks the rest scripts

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arni2033, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open http://ngs24.ru/news/more/2502763/
2. Open debugger, switch to script "NSwitchTabs.js"

AR:  The script is broken, and it breaks search in all scripts
ER:  Either X+Z or Y+Z
 X) The script shouldn't be broken
 Y) The sourcemapped script shouldn't open at all, since it's broken
 Z) Search in all scripts should work


STR_2:
1. Open attached "testcase 1"
2. Open debugger, switch to script "NSwitchTabs.js"


Error loading this URL: Could not load the source for /www/static/js/ngs/NSwitchTabs.js.
Error: "/www/static/js/ngs/NSwitchTabs.js" is not in the SourceMap.
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
I believe this works now.  I get an error in the console and see the generated source.
This was fixed when we made the change to report source-mapping errors.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Blocks: source-maps
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: