mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add a test for postMessage(msg, undefined), which must be a syntax error as |undefined| is both present and not null.
This commit is contained in:
parent
42caf6cd7e
commit
3bdf362531
@ -377,6 +377,12 @@ var tests =
|
|||||||
|
|
||||||
wrongReturnOrigin: true
|
wrongReturnOrigin: true
|
||||||
},
|
},
|
||||||
|
// 55
|
||||||
|
{
|
||||||
|
args: ["NOT-RECEIVED", undefined],
|
||||||
|
source: "sameDomain",
|
||||||
|
code: DOMException.SYNTAX_ERR
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
function allTests()
|
function allTests()
|
||||||
|
Loading…
Reference in New Issue
Block a user