expect dom syntax error in window postmessage sameorigin test

This commit is contained in:
Gregory Terzian 2020-02-20 21:55:47 +08:00
parent f5ff38b875
commit 6c02e5da4d
3 changed files with 2 additions and 9 deletions

View file

@ -14500,7 +14500,7 @@
]
],
"window-postmessage-sameorigin.html": [
"6a1d00fd1c37fcf1492ecb48a02fe358ac2cbacf",
"cb3bc26e8821b73bcee0455c765362ab731bf3fa",
[
null,
{}

View file

@ -1,7 +0,0 @@
[window-postmessage-sameorigin.html]
[explicit invalid url, cloneable string message (handler)]
expected: FAIL
[explicit invalid url, cloneable string message (listener)]
expected: FAIL

View file

@ -56,7 +56,7 @@ var base_tests = [
function() { return expect_message('basic', '/', 'same origin, cloneable string message') },
function() { return expect_message('basic', HTTP_ORIGIN, 'explicit same origin, cloneable string message') },
function() { return expect_no_message('basic', HTTPS_ORIGIN, 'explicit cross origin, cloneable string message') },
function() { return expect_error_js(SyntaxError, 'basic', 'not-a-url', 'explicit invalid url, cloneable string message') },
function() { return expect_error_dom('SyntaxError', 'basic', 'not-a-url', 'explicit invalid url, cloneable string message') },
function() { return expect_error_dom('DATA_CLONE_ERR', window, '*', 'any origin, non-cloneable message') },
];