Closed Bug 968804 Opened 11 years ago Closed 10 years ago

Add some more inner/outer window assertions

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: Ms2ger, Assigned: Ms2ger)

References

Details

Attachments

(21 files)

(deleted), patch
peterv
: review+
Details | Diff | Splinter Review
(deleted), patch
peterv
: review+
Details | Diff | Splinter Review
(deleted), patch
peterv
: review+
Details | Diff | Splinter Review
(deleted), patch
peterv
: review+
Details | Diff | Splinter Review
(deleted), patch
peterv
: review+
Details | Diff | Splinter Review
(deleted), patch
peterv
: review+
Details | Diff | Splinter Review
(deleted), patch
peterv
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
(deleted), patch
khuey
: review+
Details | Diff | Splinter Review
No description provided.
Attachment #8371472 - Flags: review?(peterv)
Attached patch Part b: {Can,Force,Final}Close (deleted) — Splinter Review
Attachment #8371475 - Flags: review?(peterv)
Attached patch Part c: WouldReuseInnerWindow (deleted) — Splinter Review
Attachment #8371476 - Flags: review?(peterv)
Attachment #8371478 - Flags: review?(peterv)
Attached patch Part e: PreloadLocalStorage (deleted) — Splinter Review
Attachment #8371479 - Flags: review?(peterv)
Attachment #8371481 - Flags: review?(peterv)
Attached patch Part g: AreDialogsEnabled (deleted) — Splinter Review
Attachment #8371483 - Flags: review?(peterv)
Attached patch Part h: DefineArgumentsProperty (deleted) — Splinter Review
Attachment #8371484 - Flags: review?(peterv)
Attached patch Part i: AudioContexts (deleted) — Splinter Review
Attachment #8371485 - Flags: review?(peterv)
Attachment #8371487 - Flags: review?(peterv)
Attached patch Part k: GetScrollXY (deleted) — Splinter Review
Attachment #8371489 - Flags: review?(peterv)
Attached patch Part l: DispatchResizeEvent (deleted) — Splinter Review
Attachment #8371492 - Flags: review?(peterv)
Attached patch Part m: DispatchCustomEvent (deleted) — Splinter Review
Attachment #8371493 - Flags: review?(peterv)
Attachment #8391722 - Flags: review?(peterv)
Attached patch Part p: SetFullScreenInternal (deleted) — Splinter Review
Attachment #8391723 - Flags: review?(peterv)
Attached patch Part q: Gamepad-related methods (deleted) — Splinter Review
Attachment #8391724 - Flags: review?(peterv)
Attached patch Part r: SetArguments (deleted) — Splinter Review
Attachment #8391725 - Flags: review?(peterv)
Attached patch Part s: CloneStorageEvent (deleted) — Splinter Review
Attachment #8391726 - Flags: review?(peterv)
Attached patch Part t: OpenNoNavigate (deleted) — Splinter Review
Attachment #8391727 - Flags: review?(peterv)
Attached patch Part u: OpenInternal (deleted) — Splinter Review
Attachment #8391728 - Flags: review?(peterv)
Attachment #8371472 - Flags: review?(peterv) → review+
Attachment #8371475 - Flags: review?(peterv) → review+
Attachment #8371476 - Flags: review?(peterv) → review+
Attachment #8371478 - Flags: review?(peterv) → review+
Attachment #8371479 - Flags: review?(peterv) → review+
Attachment #8371481 - Flags: review?(peterv) → review+
Attachment #8371483 - Flags: review?(peterv) → review+
Keywords: leave-open
Comment on attachment 8371489 [details] [diff] [review] Part k: GetScrollXY Review of attachment 8371489 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/nsGlobalWindow.h @@ +1195,5 @@ > > // If aDoFlush is true, we'll flush our own layout; otherwise we'll try to > // just flush our parent and only flush ourselves if we think we need to. > + // Outer windows only. > + mozilla::CSSIntPoint GetScrollXY(bool aDoFlush); I would say rename this to ScrollXY, but it seems odd to have a getter with a verb for a name :/
Attachment #8371489 - Flags: review?(peterv) → review+
Comment on attachment 8391721 [details] [diff] [review] Part n: Split nsGlobalWindow::GetFullScreen into a forwarding and an assertion part Review of attachment 8391721 [details] [diff] [review]: ----------------------------------------------------------------- You ought to be able to assert that the XPCOM version of GetFullScreen is only ever called on an outer, no?
Attachment #8391721 - Flags: review?(peterv) → review+
(In reply to Kyle Huey [:khuey] (khuey@mozilla.com) from comment #25) > Comment on attachment 8391721 [details] [diff] [review] > Part n: Split nsGlobalWindow::GetFullScreen into a forwarding and an > assertion part > > Review of attachment 8391721 [details] [diff] [review]: > ----------------------------------------------------------------- > > You ought to be able to assert that the XPCOM version of GetFullScreen is > only ever called on an outer, no? Maybe, but I'm not comfortable doing that.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: