No Issue - StructuredClone serialize and deserialize should treat back reference consistently

Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1538622
This commit is contained in:
Basilisk-Dev 2023-10-30 15:38:40 -04:00 committed by roytam1
commit ae5bfc9ff2
3 changed files with 32 additions and 4 deletions

View file

@ -54,8 +54,7 @@ function windowMessage(evt) {
ok(checkPattern(imageData, pattern),
'postMessage from self worked correctly');
// We're not spec compliant on this yet.
todo_is(imageData.data, evt.data.dataRef,
is(imageData.data, evt.data.dataRef,
'Should have backrefs for imagedata buffer');
// Make a new pattern, and send it to a worker.