Closed
Bug 1147750
Opened 10 years ago
Closed 6 years ago
Pretty print fails with error on long WP script
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: lb1.3, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150322133451
Steps to reproduce:
Clicked an exception that went to load-scripts.php of Wordpress 4.2
Actual results:
I got exception instead:
Error loading source:
Error: Unterminated string constant (5326:0)
raise@resource://gre/modules/devtools/acorn/acorn.js:334:15
readString@resource://gre/modules/devtools/acorn/acorn.js:1113:11
getTokenFromCode@resource://gre/modules/devtools/acorn/acorn.js:896:1
readToken@resource://gre/modules/devtools/acorn/acorn.js:942:15
getToken@resource://gre/modules/devtools/acorn/acorn.js:228:7
prettyFast@resource://gre/modules/devtools/pretty-fast.js:786:15
self.onmessage@resource://gre/modules/devtools/server/actors/pretty-print-worker.js:37:24
Stack: SourceActor.prototype._sendToPrettyPrintWorker/</onReply@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/server/actors/script.js:2541:27
Line: 2541, column: 26
Expected results:
It should at least show the script (IF invalid). On reload it shows this script fine, so it's likely a problem from clicking the exception that linked to it.
Updated•10 years ago
|
Component: Untriaged → Developer Tools: Debugger
Updated•8 years ago
|
Blocks: dbg-prettyprint
Priority: -- → P3
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 1•6 years ago
|
||
NI Honza to check if this still happens with the new debugger.
Flags: needinfo?(odvarko)
Comment 2•6 years ago
|
||
It isn't clear how to follow STR in comment #0
And there is no way to ask the original reporter since the account has been disabled.
It seems to me that we can close this, but to make sure, Logan. Is this something we should keep open?
Honza
Flags: needinfo?(odvarko) → needinfo?(lsmyth)
Comment 3•6 years ago
|
||
Realistically without a reproduction example I don't thing we can move forward.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(lsmyth)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•