Closed Bug 1281582 Opened 8 years ago Closed 8 years ago

Remove JSContext privates (first and second)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

Details

Attachments

(1 file)

Once bug 1276310 lands, Gecko will no longer use them.
efaust pointed out other embeddings may care.
Flags: needinfo?(jorendorff)
There's still the runtime private (which will be renamed back to GetContextPrivate at some point), that embedders can use, so IMO it'd be best to remove it now that we're overhauling the context/runtime APIs...
We should remove this and, in release notes, tell embedders that this is part of our plans to merge JSContext and JSRuntime, and that they should switch to global variables or thread-local storage.
Flags: needinfo?(jorendorff)
Attachment #8764469 - Flags: review?(jorendorff)
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Comment on attachment 8764469 [details] [diff] [review]
Remove JSContext privates

Review of attachment 8764469 [details] [diff] [review]:
-----------------------------------------------------------------

Thank you.
Attachment #8764469 - Flags: review?(jorendorff) → review+
Pushed by bzbarsky@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/423d7e86c526
Remove JSContext privates.  r=jorendorff
https://hg.mozilla.org/mozilla-central/rev/423d7e86c526
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: