Closed Bug 877778 Opened 11 years ago Closed 11 years ago

Browser Console, clicking JS/CSS error/warning link does not open source file

Categories

(DevTools :: Console, defect)

24 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 24

People

(Reporter: alice0775, Assigned: msucan)

References

Details

Attachments

(1 file)

Build Identifier:
http://hg.mozilla.org/mozilla-central/rev/e58336e81395
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130529 Firefox/24.0 ID:20130529031131

Steps to Reproduce:
1. Open Browser Console
2. Open web page 
   ex. https://developer.mozilla.org/en-US/docs/Code_snippets
3. Click JS/CSS error/warning link

Actual Results:
Nothing happens.

Expected Results:
Source file should be opened and the error line should be selected.
This error is seen in browser console when you try to do so. :

--
[00:06:46.178] TypeError: this.hostTab is undefined @ resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/framework/toolbox-hosts.js:49
Summary: Browser Consoloe, clicking JS/CSS error/warning link does not open source file → Browser Console, clicking JS/CSS error/warning link does not open source file
Thank you for the bug report.
Assignee: nobody → mihai.sucan
Status: NEW → ASSIGNED
OS: Windows 7 → All
Hardware: x86_64 → All
Attached patch proposed patchSplinter Review
The problem was with the code for viewing the source of stylesheets. Fixed it and included a test that checks if clicking JS errors and CSS warnings works as expected.

Try push: https://tbpl.mozilla.org/?tree=Try&rev=6eea5b22c6f3
Attachment #756173 - Flags: review?(rcampbell)
Depends on: 866950
Attachment #756173 - Flags: review?(rcampbell) → review+
Whiteboard: [land-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/cb1945196981
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 24
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: