Revision 6dafebae502632ba0009440dc254ce6b9a10e84e authored by Mike Pennisi on 27 March 2018, 00:09:16 UTC, committed by Mike Pennisi on 27 March 2018, 00:45:48 UTC
Because a harness error may describe an unrecoverable browser state, the browser should always be restarted when such an error is encountered (even in the presence of the `--no-restart-on-unexpected` flag).
1 parent f497de8
data-url-shared-window.html
<!DOCTYPE html>
<head>
<title>data URL shared worker</title>
</head>
<body>
<script>
onmessage = event => {
const port = event.ports[0];
// This shared worker counts the total number of connected documents and
// notifies the connector of it.
const kScript =
"onconnect = e => {" +
" if (self.count === undefined)" +
" self.count = 0;" +
" self.count++;" +
" e.ports[0].postMessage(self.count);" +
"};";
const worker = new SharedWorker('data:application/javascript,' + kScript);
worker.port.onmessage = e => port.postMessage(e.data);
};
window.opener.postMessage('LOADED', '*');
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...