Bug 74210
| Summary: | Web Inspector: Default to open .js files in Script panel | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | johnjbarton <johnjbarton> |
| Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, paulirish, pfeldman, pmuellr, rik, timothy, vsevik, yurys |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
johnjbarton
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
Files available here:
https://github.com/johnjbarton/Purple/blob/master/tests/editOnError/editUndefinedNotFunctionError.html
Vsevolod Vlasov
I copied it to chromium bugtracker also: http://code.google.com/p/chromium/issues/detail?id=107033
Vsevolod Vlasov
I can not reproduce this on ToT.