window[0] is evaluated three times

RESOLVED WORKSFORME

Status

()

Core
XPConnect
--
minor
RESOLVED WORKSFORME
12 years ago
8 months ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

({perf, testcase})

Trunk
PowerPC
Mac OS X
perf, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

12 years ago
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060223 Firefox/1.6a1

Steps to reproduce in a debug build:
1. javascript:window[0]; void 0

Result: The following pair of warnings appears three times:

WARNING: NS_ENSURE_TRUE(child) failed: file /Users/admin/trunk/mozilla/docshell/base/nsDocShell.cpp, line 2415
WARNING: Too large an index passed to GetChildAt: file /Users/admin/trunk/mozilla/docshell/base/nsDocShell.cpp, line 2410

Expected: It should only appear one time.
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
(Reporter)

Comment 1

11 years ago
Now the latter warning appears four times!

Updated

8 years ago
Severity: normal → minor

Updated

8 months ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.