Closed Bug 853814 Opened 11 years ago Closed 11 years ago

Make nsDocShell::mScriptGlobal an nsGlobalWindow

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla23

People

(Reporter: Ms2ger, Assigned: Ms2ger)

Details

Attachments

(1 file)

Attached patch Patch v1Splinter Review
      No description provided.
Attachment #728160 - Flags: review?(bzbarsky)
Comment on attachment 728160 [details] [diff] [review]
Patch v1

>@@ -9137,29 +9122,28 @@ nsDocShell::InternalLoad(nsIURI * aURI,
>             // Dispatch the popstate and hashchange events, as appropriate.

Shouldn't we be holding a strong ref to the window on the stack while we do that?

>                   // Make sure to use oldURI here, not mCurrentURI, because by

You changed the indent of the code, but no that comment.  Please fix?

r=me, though next time try to keep the whitespace changes separate from the substantive ones?
Attachment #728160 - Flags: review?(bzbarsky) → review+
+#include "mozilla/Telemetry.h"
+#include "mozilla/Telemetry.h"

?
https://hg.mozilla.org/mozilla-central/rev/8866eb3c3a30
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
Sure, there's two of

-#include "mozilla/Telemetry.h"

too.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: