blob: 0bc4364763a2a74e69f6bf5ee17e8d65632c38b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<html class="reftest-wait">
<head>
<script>
function test() {
let ac = new AbortController();
scheduler.postTask(()=> { ac.abort(); throw "Foobar"; }, { signal: ac.signal });
scheduler.postTask(()=> document.documentElement.removeAttribute('class'));
}
</script>
<style>
</style>
</head>
<body onload="test()">
</body>
</html>
|