Closed
Bug 1017424
Opened 11 years ago
Closed 10 years ago
Remove the dom.window_experimental_bindings pref
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla35
People
(Reporter: bzbarsky, Assigned: bzbarsky)
References
Details
Attachments
(10 files, 3 obsolete files)
2.62 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
6.04 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
3.21 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
1.05 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
2.84 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
5.15 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
2.92 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
5.21 KB,
patch
|
Details | Diff | Splinter Review | |
1.54 KB,
patch
|
bholley
:
review+
|
Details | Diff | Splinter Review |
44.03 KB,
patch
|
peterv
:
review+
|
Details | Diff | Splinter Review |
Once we do that, we can start assuming Window has WebIDL bindings and, for example, do things like make window.performance StoreInSlot.
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(peterv)
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8482996 -
Flags: review?(peterv)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8482997 -
Flags: review?(peterv)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8482998 -
Flags: review?(peterv)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8482999 -
Flags: review?(peterv)
Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8483000 -
Flags: review?(peterv)
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8483002 -
Flags: review?(peterv)
Assignee | ||
Comment 7•10 years ago
|
||
Attachment #8483003 -
Flags: review?(peterv)
Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8483004 -
Flags: review?(peterv)
Assignee | ||
Comment 9•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(peterv)
Comment 10•10 years ago
|
||
Comment on attachment 8482998 [details] [diff] [review]
part 3. Remove the now-unnecessary nsIDocument::WrapObject
Review of attachment 8482998 [details] [diff] [review]:
-----------------------------------------------------------------
Can you make nsINode::WrapObject MOZ_FINAL now?
Comment 11•10 years ago
|
||
Comment on attachment 8483000 [details] [diff] [review]
part 5. Remove classinfo for Window
Review of attachment 8483000 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/base/nsDOMClassInfo.h
@@ +228,5 @@
> }
> };
>
> +// A place to hang some static methods that we should really consider
> +// moving to be nsGlobalWindow member methods.
File a bug? Should be easy, I suspect.
::: dom/base/nsGlobalWindow.cpp
@@ +13770,5 @@
>
> // nsGlobalModalWindow implementation
>
> // QueryInterface implementation for nsGlobalModalWindow
> DOMCI_DATA(ModalContentWindow, nsGlobalModalWindow)
Do we need this?
Assignee | ||
Comment 12•10 years ago
|
||
> Can you make nsINode::WrapObject MOZ_FINAL now?
No, because Element needs to override to do custom element stuff.
> File a bug? Should be easy, I suspect.
It involves moving a bunch of code... But sure, bug 1062418 and I updated the comment to reference it.
> Do we need this?
No. Removed all three DOMCI_DATA, good catch.
Blocks: 1062418
Assignee | ||
Comment 13•10 years ago
|
||
Attachment #8483602 -
Flags: review?(peterv)
Assignee | ||
Updated•10 years ago
|
Attachment #8483000 -
Attachment is obsolete: true
Attachment #8483000 -
Flags: review?(peterv)
Assignee | ||
Comment 14•10 years ago
|
||
Attachment #8484189 -
Flags: review?(peterv)
Assignee | ||
Updated•10 years ago
|
Attachment #8483602 -
Attachment is obsolete: true
Attachment #8483602 -
Flags: review?(peterv)
Assignee | ||
Comment 15•10 years ago
|
||
Attachment #8484193 -
Flags: review?(bobbyholley)
Assignee | ||
Comment 16•10 years ago
|
||
Bobby, with these patches js/xpconnect/tests/chrome/test_bug763343.xul fails because the QI to nsIClassInfo fails.
Any preferences for how I should modify that test? DOM classinfo is going away... We have other classinfo things around (e.g. some storage stuff), but those might not be singletons.
Flags: needinfo?(bobbyholley)
Updated•10 years ago
|
Attachment #8484193 -
Flags: review?(bobbyholley) → review+
Comment 17•10 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #16)
> Bobby, with these patches js/xpconnect/tests/chrome/test_bug763343.xul fails
> because the QI to nsIClassInfo fails.
>
> Any preferences for how I should modify that test? DOM classinfo is going
> away... We have other classinfo things around (e.g. some storage stuff), but
> those might not be singletons.
Maybe the console service? http://mxr.mozilla.org/mozilla-central/source/xpcom/base/nsConsoleService.cpp#38
Flags: needinfo?(bobbyholley)
Assignee | ||
Comment 18•10 years ago
|
||
Hmm. If I force isClassInfoSingleton to false in XPCWrappedNative::GetNewOrUsed that test still passes (without these patches). Bobby, is that expected?
Flags: needinfo?(bobbyholley)
Assignee | ||
Comment 19•10 years ago
|
||
Attachment #8484355 -
Flags: review?(peterv)
Assignee | ||
Updated•10 years ago
|
Attachment #8484189 -
Attachment is obsolete: true
Attachment #8484189 -
Flags: review?(peterv)
Comment 20•10 years ago
|
||
(In reply to Boris Zbarsky [:bz] from comment #18)
> Hmm. If I force isClassInfoSingleton to false in
> XPCWrappedNative::GetNewOrUsed that test still passes (without these
> patches). Bobby, is that expected?
Per IRC discussion, I think this is fine.
Flags: needinfo?(bobbyholley)
Updated•10 years ago
|
Attachment #8482996 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #8482997 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #8482998 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #8482999 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #8483002 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #8483003 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #8483004 -
Flags: review?(peterv) → review+
Updated•10 years ago
|
Attachment #8484355 -
Flags: review?(peterv) → review+
Assignee | ||
Comment 21•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/d59269e27ce4
https://hg.mozilla.org/integration/mozilla-inbound/rev/14c776eac406
https://hg.mozilla.org/integration/mozilla-inbound/rev/618018558fac
https://hg.mozilla.org/integration/mozilla-inbound/rev/803c24c17e32
https://hg.mozilla.org/integration/mozilla-inbound/rev/4981c75a6ddd
https://hg.mozilla.org/integration/mozilla-inbound/rev/95e19bfbad1e
https://hg.mozilla.org/integration/mozilla-inbound/rev/cf04e79c302d
https://hg.mozilla.org/integration/mozilla-inbound/rev/cc33b791aaef
https://hg.mozilla.org/integration/mozilla-inbound/rev/da53d970e606
Flags: in-testsuite-
Target Milestone: --- → mozilla35
Comment 22•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/d59269e27ce4
https://hg.mozilla.org/mozilla-central/rev/14c776eac406
https://hg.mozilla.org/mozilla-central/rev/618018558fac
https://hg.mozilla.org/mozilla-central/rev/803c24c17e32
https://hg.mozilla.org/mozilla-central/rev/4981c75a6ddd
https://hg.mozilla.org/mozilla-central/rev/95e19bfbad1e
https://hg.mozilla.org/mozilla-central/rev/cf04e79c302d
https://hg.mozilla.org/mozilla-central/rev/cc33b791aaef
https://hg.mozilla.org/mozilla-central/rev/da53d970e606
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•