| Index: third_party/WebKit/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-shared-worker.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-shared-worker.html b/third_party/WebKit/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-shared-worker.html
|
| index 009a1295e0e9c71f8df9b4207aaaec4e79e1e5d4..4a717c4e1f57c3101c45cd8f193d7e941890d7a1 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-shared-worker.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/cross-origin-iframe-for-shared-worker.html
|
| @@ -5,6 +5,7 @@ try {
|
| var worker = new SharedWorker('shared-worker.js', 'SharedWorker');
|
| worker.port.onmessage = function(event) {
|
| document.write(event.data);
|
| + document.close();
|
| window.parent.postMessage(event.data, '*');
|
| }
|
| worker.port.start();
|
| @@ -12,6 +13,7 @@ try {
|
| } catch (exception) {
|
| window.parent.postMessage(exception.name, '*');
|
| document.write(exception.name);
|
| + document.close();
|
| }
|
| </script>
|
| </head>
|
|
|