Closed Bug 869423 Opened 12 years ago Closed 12 years ago

Can't close Inspector window after displaying empty array from Scratchpad

Categories

(DevTools :: Inspector, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 869151

People

(Reporter: Irving, Unassigned)

Details

Open Scratchpad. Enter the following code: let a = []; a; Highlight that code and press Cmd-I An empty Object Inspector window is displayed. The window will not close in response to clicking on the red X "window close" button. No error messages show up in the Error Console, either when running the Cmd-I or when clicking on the X. Oddly enough, if the array isn't stored in a variable, the window closes; doing Cmd-I on []; works fine.
are you on Nightly, Irving? I filed bug 869151 and suspect it's a problem on more than just the Net Panel.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
This is on yesterday's and today's Nightly (just reproduced with 23.0a1 (2013-05-07)). The Object Inspector window closes just fine *except* when displaying references to empty arrays - I just reproduced it with an empty array returned from a function: function foo() { return []; } foo(); Select and Cmd-I from the Scratchpad brings up an uncloseable Inspector, but if there's anything in the array the inspector can close.
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.