Closed Bug 1478615 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12190 - Introduce AgentClusterID to serialized messages

Categories

(Core :: JavaScript Engine: JIT, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 12190 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/12190
Details from upstream follow.

Ben Smith <binji@chromium.org> wrote:
>  Introduce AgentClusterID to serialized messages
>  
>  There are restrictions to sharing SharedArrayBuffer (and WebAssembly
>  Modules) between execution contexts; for example, you cannot share a
>  SharedArrayBuffer between a Window and the Service Worker it created.
>  The rules are described here:
>  https://html.spec.whatwg.org/multipage/webappapis.html#integration-with-the-javascript-agent-cluster-formalism
>  
>  This CL begins to model some of this behavior by introducing an
>  `AgentClusterID` (an alias of `base::UnguessableToken`) that can be
>  queried from an `ExecutionContext`.
>  
>  Bug: chromium:798572
>  Change-Id: Ie70cce4cbd0ebd04d8d270d66f59690caf7f616a
>  Reviewed-on: https://chromium-review.googlesource.com/1130505
>  WPT-Export-Revision: ba173daebd64d853776e58dd3319283d5a659f0c
Component: web-platform-tests → JavaScript Engine: JIT
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 1 tests and 1 subtests
OK     : 1
FAIL   : 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f1ffa19831c4
[wpt PR 12190] - Introduce AgentClusterID to serialized messages, a=testonly
https://hg.mozilla.org/mozilla-central/rev/f1ffa19831c4
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.