Closed Bug 450817 Opened 16 years ago Closed 16 years ago

nsGlobalWindow::SetNewDocument should avoid XPConnect when mInnerWindow is null

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jorendorff, Unassigned)

Details

Attachments

(1 file)

Attached patch v1Splinter Review
Bug 407216 comment 79 and 80 explain the potential problem.

There's no actual crash in trunk.  Only with a version of a patch that we aren't planning to push.  On the other hand, I see no compelling reason to leave this thumbtack lying around on the floor.

I'm not familiar with this code, but I tested the v1 patch against the test case in bug 163654 and it passes.  Mochitesting now.
Attachment #334037 - Flags: review?(jst)
Comment on attachment 334037 [details] [diff] [review]
v1

Some Mochitests failed, and then I managed to get my linker and objective c compiler in a broken state.  So, let's hold off on this review.
Attachment #334037 - Flags: review?(jst)
Comment on attachment 334037 [details] [diff] [review]
v1

OK, the guilty party has been found and flogged.  This guy was innocent.
Attachment #334037 - Flags: review?(jst)
Comment on attachment 334037 [details] [diff] [review]
v1

r+sr=jst
Attachment #334037 - Flags: superreview+
Attachment #334037 - Flags: review?(jst)
Attachment #334037 - Flags: review+
http://hg.mozilla.org/mozilla-central/rev/caed7748c1f6
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: