-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expand site isolation postMessage testing
https://bugs.webkit.org/show_bug.cgi?id=262590 rdar://116436305 Reviewed by Pascoe. RemoteDOMWindow::postMessage has some branches that weren't tested. * LayoutTests/http/tests/site-isolation/post-message-expected.txt: * LayoutTests/http/tests/site-isolation/post-message.html: Canonical link: https://commits.webkit.org/268827@main
- Loading branch information
1 parent
e9c11a1
commit c18f49f
Showing
2 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
LayoutTests/http/tests/site-isolation/post-message-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
PASS posting a message to about:blank threw an exception: SyntaxError: The string did not match the expected pattern. | ||
PASS posting a non-serializable message threw an exception: DataCloneError: The object can not be cloned. | ||
PASS successfullyParsed is true | ||
|
||
TEST COMPLETE | ||
PASS received 'iframe received hello' | ||
PASS received 'iframe received world' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters