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:
Родитель
de22bb934a
Коммит
0b4aa6033b
|
@ -377,6 +377,12 @@ var tests =
|
|||
|
||||
wrongReturnOrigin: true
|
||||
},
|
||||
// 55
|
||||
{
|
||||
args: ["NOT-RECEIVED", undefined],
|
||||
source: "sameDomain",
|
||||
code: DOMException.SYNTAX_ERR
|
||||
},
|
||||
];
|
||||
|
||||
function allTests()
|
||||
|
|
Загрузка…
Ссылка в новой задаче