blob: 6e2e1d5b743e4d54331c6e0ae177661c6e32d178 [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: Notification" 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: Notification" that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25