Verify (and remove unnecessary) implicitJSContext usage in Streams code
Categories
(Core :: DOM: Streams, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox99 | --- | fixed |
People
(Reporter: mgaudet, Assigned: bthrall)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
A number of ReadableStreams classes request implicitJSContext in Bindings.conf. This may be un-necessary, as most of the use of that JSContext is for rooting. If that is the only use of a JSContext, then rooting can instead be provided using JS::RootingContext* rcx = RootingCx().
Updated•4 years ago
|
| Reporter | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
A lot of the ReadableStream functions use JSContext for a mix of rooting and script-running, that will have to wait for Bug 1756661, but there are a couple places we could switch over to JS::RootingContext.
| Assignee | ||
Comment 2•4 years ago
|
||
| Assignee | ||
Comment 3•4 years ago
|
||
Depends on D139868
| Assignee | ||
Comment 4•4 years ago
|
||
Depends on D139869
| Assignee | ||
Comment 5•4 years ago
|
||
Depends on D139870
| Assignee | ||
Comment 6•4 years ago
|
||
Depends on D139871
| Assignee | ||
Comment 7•4 years ago
|
||
Depends on D139872
| Assignee | ||
Comment 8•4 years ago
|
||
Depends on D139873
Comment 10•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/86aed4d08255
https://hg.mozilla.org/mozilla-central/rev/fd428746ed38
https://hg.mozilla.org/mozilla-central/rev/eeb08511438b
https://hg.mozilla.org/mozilla-central/rev/f1ce60b1fd47
https://hg.mozilla.org/mozilla-central/rev/49b42a210fe4
https://hg.mozilla.org/mozilla-central/rev/9b89aba4d3ff
https://hg.mozilla.org/mozilla-central/rev/0ae9df73405a
Description
•