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:
jwalden@mit.edu 2008-02-26 22:03:38 -08:00
parent 42caf6cd7e
commit 3bdf362531

View File

@ -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()