blob: 320cf42fea83592a18753396f547c9ef7049c227 [file] [log] [blame]
FAIL SharedArrayBuffer cloning via the Notifications API's data member: basic case assert_throws: function "() => {
new Notification("Bob: Hi", { data: new SharedArrayBuffer() });
}" threw object "ReferenceError: Can't find variable: SharedArrayBuffer" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL SharedArrayBuffer cloning via the Notifications API's data member: is interleaved correctly assert_throws: function "() => {
new Notification("Bob: Hi", { data: [
{ get x() { getter1Called = true; return 5; } },
new SharedArrayBuffer(),
{ get x() { getter2Called = true; return 5; } }
]});
}" threw object "ReferenceError: Can't find variable: SharedArrayBuffer" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25