Closed
Bug 1461605
Opened 6 years ago
Closed 6 years ago
Rename more compartment APIs
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(3 files)
(deleted),
patch
|
luke
:
review+
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•6 years ago
|
||
Attachment #8975754 -
Flags: review?(luke)
Attachment #8975754 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 2•6 years ago
|
||
I'm sorry for the big patches btw, but it's pretty mechanical and this needs to happen.
Assignee | ||
Comment 3•6 years ago
|
||
Attachment #8975756 -
Flags: review?(luke)
Assignee | ||
Comment 4•6 years ago
|
||
JS_GetGlobalForCompartmentOrNull is unused and you can do the same thing with JS::AutoRealm + JS::CurrentGlobalOrNull.
Attachment #8975761 -
Flags: review?(luke)
Updated•6 years ago
|
Attachment #8975754 -
Flags: review?(luke) → review+
Updated•6 years ago
|
Attachment #8975756 -
Flags: review?(luke) → review+
Updated•6 years ago
|
Attachment #8975761 -
Flags: review?(luke) → review+
Comment 5•6 years ago
|
||
Comment on attachment 8975754 [details] [diff] [review]
Part 1 - CompartmentOptions -> RealmOptions
r=me on the non-spidermonky bits.
Attachment #8975754 -
Flags: review?(bzbarsky) → review+
Pushed by jandemooij@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0f33c70716b0
part 1 - Rename CompartmentOptions to RealmOptions. r=luke,bz
https://hg.mozilla.org/integration/mozilla-inbound/rev/71a6485a8901
part 2 - Rename JS_{Enter,Leave}Compartment -> JS::{Enter,Leave}Realm. r=luke
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec4b2f53b061
part 3 - Remove JS_GetGlobalForCompartmentOrNull. r=luke
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0f33c70716b0
https://hg.mozilla.org/mozilla-central/rev/71a6485a8901
https://hg.mozilla.org/mozilla-central/rev/ec4b2f53b061
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox62:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•