| Index: third_party/WebKit/LayoutTests/fast/workers/resources/close-context-messageport-crash-iframe.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/workers/resources/close-context-messageport-crash-iframe.html b/third_party/WebKit/LayoutTests/fast/workers/resources/close-context-messageport-crash-iframe.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..32e506951af361fab871001c85aa9dd4d7dcb9f7
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/workers/resources/close-context-messageport-crash-iframe.html
|
| @@ -0,0 +1,13 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="utf-8">
|
| +<title>crash when closing a MessagePort - iframe</title>
|
| +<script>
|
| +var worker = new SharedWorker(URL.createObjectURL(new Blob([
|
| + 'onconnect = e => {' +
|
| + ' for (let i = 0; i < 10; i++) { e.ports[0].postMessage({}); }' +
|
| + '};'
|
| + ], {'type': 'text/javascript'})));
|
| +worker.port.onmessage = () => {
|
| + window.parent.done();
|
| +};
|
| +</script>
|
|
|