Closed Bug 1438462 Opened 7 years ago Closed 5 years ago

Evaluating `inspect(window)` in the browser console throws NS_NOINTERFACE

Categories

(DevTools :: Console, defect, P2)

defect

Tracking

(firefox60 affected)

RESOLVED WORKSFORME
Tracking Status
firefox60 --- affected

People

(Reporter: nchevobbe, Unassigned)

Details

**Steps to reproduce** 1. Open the browser console 2. Evaluate `inspect(window)` **Expected results** Everything is fine **Actual results** I get the following exception: ``` [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: file:///Users/nchevobbe/Projects/mozilla-central/objdir-frontend/dist/Nightly.app/Contents/Resources/components/nsSidebar.js :: init :: line 15" data: no] ```
Priority: -- → P2
Whiteboard: [newconsole-mvp]
Not specific to the new frontend
Summary: Evaluating `inspect(window)` in the browser console with the new frontend throws NS_NOINTERFACE → Evaluating `inspect(window)` in the browser console throws NS_NOINTERFACE
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #1) > Not specific to the new frontend Thanks for pointing that out - going to unblock enabling in BC. Should we also remove from the new console project?
No longer blocks: 1362023
Flags: needinfo?(nchevobbe)
This happens the first time you run `external`. Inspecting window evaluates safe getters, so it's a side-effect.
> Thanks for pointing that out - going to unblock enabling in BC. Should we also remove from the new console project? Yes, it's not a regression
Flags: needinfo?(nchevobbe)
Whiteboard: [newconsole-mvp]
Product: Firefox → DevTools

can't reproduce

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.