Closed Bug 880878 Opened 12 years ago Closed 12 years ago

Console opens on chrome space in the home page

Categories

(DevTools :: Console, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: rillian, Unassigned)

Details

If I open a new tab to the built-in home page, and then open the developer tools, the console is in chrome context. I tripped over this testing dom visibility today and found it surprising. If I open a new tab and do document.createElement('track') I get a XUL element. If I open a new tab, go to about:blank, and create the element I get an HTMLUnknownElement (or HTMLTrackElement) as expected. I expected the home page to be in a web context like about:blank, but maybe that doesn't make sense if our home page is rendered by XUL instead of HTML?
Yes, it's a chrome page so you get a chrome context for your console (or scratchpad). What's the bug here? This is working as-designed. Please re-open if I've misunderstood.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INVALID
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.