Closed
Bug 843231
Opened 12 years ago
Closed 12 years ago
Compute whether to use XBL scopes exactly once
Categories
(Core :: XPConnect, defect)
Core
XPConnect
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: bholley, Assigned: bholley)
Details
Attachments
(4 files)
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
bzbarsky
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
This will let us avoid doing work in certain cases, and reduces the refactoring required to define Components on the XBL scope.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
The only call-site for both of these is JSD->nsXPConnect::InitClasses, so this
is equivalent. All this will go away soon anyhow when JSD goes away.
Attachment #716152 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 3•12 years ago
|
||
This stuff has all been simplified significantly with CPG, and this is no longer
necessary. We always have a global when we construct a scope, and it never
changes.
Attachment #716153 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #716155 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #716156 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 6•12 years ago
|
||
I figured out a simpler way to do the Components stuff so this no longer blocks, but it's a good thing to do anyway.
No longer blocks: 790732
Comment 7•12 years ago
|
||
Comment on attachment 716152 [details] [diff] [review]
Part 1 - Move the nulling out of mPrototypeNoHelper from SetGlobal to RemoveWrappedNativeProtos. v1
r=me
Attachment #716152 -
Flags: review?(bzbarsky) → review+
Comment 8•12 years ago
|
||
Comment on attachment 716153 [details] [diff] [review]
Part 2 - Remove SetGlobalObject. v1
It's called SetGlobal, not SetGlobalObject.
r=me with that, I guess.
Attachment #716153 -
Flags: review?(bzbarsky) → review+
Comment 9•12 years ago
|
||
Comment on attachment 716155 [details] [diff] [review]
Part 3 - Alter the XBL scope test to make it compatible with reading the dom.xbl_scopes only once per global. v1
r=me
Attachment #716155 -
Flags: review?(bzbarsky) → review+
Comment 10•12 years ago
|
||
Comment on attachment 716156 [details] [diff] [review]
Part 4 - Compute whether to use an XBL scope exactly once. v1
r=me
Attachment #716156 -
Flags: review?(bzbarsky) → review+
Assignee | ||
Comment 11•12 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/35d293a7541d
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/fe3729c8396d
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/e177d717382f
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/b332047abd6c
Comment 12•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/35d293a7541d
https://hg.mozilla.org/mozilla-central/rev/fe3729c8396d
https://hg.mozilla.org/mozilla-central/rev/e177d717382f
https://hg.mozilla.org/mozilla-central/rev/b332047abd6c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Assignee | ||
Comment 13•12 years ago
|
||
Comment on attachment 716156 [details] [diff] [review]
Part 4 - Compute whether to use an XBL scope exactly once. v1
See bug 844783 comment 53.
Attachment #716156 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•12 years ago
|
Whiteboard: [leave uplift for bholley]
Updated•12 years ago
|
Attachment #716156 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Assignee | ||
Comment 14•12 years ago
|
||
Updated•12 years ago
|
status-firefox21:
--- → fixed
status-firefox22:
--- → fixed
Updated•12 years ago
|
Whiteboard: [leave uplift for bholley]
You need to log in
before you can comment on or make changes to this bug.
Description
•