Closed
Bug 1150886
Opened 10 years ago
Closed 7 years ago
Link from console to source file is broken when containing the eval "//# sourceURL=..."
Categories
(DevTools :: Console, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1192882
People
(Reporter: kes-kes, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150328224110
Steps to reproduce:
sorry, can not attach second file. That is test.js:
function jstest() {
console.log( 'hello' );
}
//# sourceURL=test.js
1. open test.html
2. open WebInspector (F12)
3. goto console
4. click 'Hello' button
5. You will see in console 'hello' text message and at the end of line link to source file, where this message was logged: test.js:2:4
6. click that link
Actual results:
You get new empty window with 404 page not found
Firefox can not find server: www.test.js.
Expected results:
You must open in debugger dynamically loaded test.js and move cursor to second line fourth char
The bug reproducible on Fx44b4 Win10.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Hardware: x86_64 → All
Regression range:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a280a03c9f3c&tochange=ae1dfa192faf
Suspected: bug 583083
Flags: needinfo?(nfitzgerald)
Summary: link from console to source file is broken → Link from console to source file is broken when containing the eval "//# sourceURL=..."
Comment 3•9 years ago
|
||
This test case demonstrates the issue without relying on external scripts.
Flags: needinfo?(nfitzgerald)
Updated•7 years ago
|
Blocks: source-maps
Priority: -- → P3
Comment 4•7 years ago
|
||
I think the problem is explained in https://bugzilla.mozilla.org/show_bug.cgi?id=1192882#c2
In today's console the link isn't clickable, which is maybe an improvement over a link to nowhere,
but of course still not very good.
Comment 5•7 years ago
|
||
Closing this one as a dup.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•