Skip to content

Commit 67ba40b

Browse files
committed
Remove unnecessary allow_uncaught_exception from render-blocking abort tests
1 parent 7a51c2b commit 67ba40b

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

‎domparsing/stream-html-abort-unblocks-rendering-defer.html‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@
88
<script src="/resources/testharnessreport.js"></script>
99
<script>
1010
// This test must run from <head>, while the document is still loading and
11-
// has no <body>, so that a streamed parser-inserted <script> is implicitly
12-
// potentially render-blocking. "Abort a parser" (the fragment case) must
13-
// unblock rendering on the pending defer script; otherwise rendering - and
14-
// requestAnimationFrame() - would be held until the slow script finishes
15-
// loading.
16-
setup({ allow_uncaught_exception: true });
11+
// has no <body>, so that a streamed <script defer blocking="render"> blocks
12+
// rendering. "Abort a parser" (the fragment case) must unblock rendering on
13+
// the pending defer script; otherwise rendering - and requestAnimationFrame()
14+
// - would be held until the slow script finishes loading.
1715
assert_true(!document.body, "must run from <head>");
1816

1917
window.events = [];

‎domparsing/stream-html-abort-unblocks-rendering.html‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// unblock rendering on the pending parser-blocking script; otherwise
1414
// rendering - and requestAnimationFrame() - would be held until the slow
1515
// script finishes loading.
16-
setup({ allow_uncaught_exception: true });
1716
assert_true(!document.body, "must run from <head>");
1817

1918
window.events = [];

0 commit comments

Comments
 (0)