WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
74210
Web Inspector: Default to open .js files in Script panel
https://bugs.webkit.org/show_bug.cgi?id=74210
Summary
Web Inspector: Default to open .js files in Script panel
johnjbarton
Reported
2011-12-09 13:29:49 PST
When stacks are written to the Console they get links, but the links go to resources, not script panel. Test case .html: <html> <body> <h1>Error opens in Resources</h1> <script src="editUndefinedNotFunctionError.js"></script> </body> </html> Test case .js: var a = {}; function foo() { a.bar(); } try { foo(); } catch(exc) { console.log(exc.stack); var stack = exc.stack.split('\n'); console.log(stack); } ------------------
Attachments
Add attachment
proposed patch, testcase, etc.
johnjbarton
Comment 1
2011-12-09 13:31:24 PST
Files available here:
https://github.com/johnjbarton/Purple/blob/master/tests/editOnError/editUndefinedNotFunctionError.html
Vsevolod Vlasov
Comment 2
2011-12-09 13:36:56 PST
I copied it to chromium bugtracker also:
http://code.google.com/p/chromium/issues/detail?id=107033
Vsevolod Vlasov
Comment 3
2012-06-09 07:54:19 PDT
I can not reproduce this on ToT.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug