Skip to content

Commit

Permalink
Bug 1879546 [wpt PR 44499] - Document render-blocking: use classic sc…
Browse files Browse the repository at this point in the history
…ripts to generate parser delay, a=testonly

Automatic update from web-platform-tests
Document render-blocking: use classic scripts to generate parser delay

This would be more interoperable as janking the main thread would not
necessarily force rendering.

Bug: 324452579
Change-Id: I2e82535a45ca12063c680278781395d6068b4e01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5272558
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1259300}

--

wpt-commits: bec578b8bdecee7b6f2b710322837108a54f5ed1
wpt-pr: 44499
  • Loading branch information
noamr authored and moz-wptsync-bot committed Feb 15, 2024
1 parent 9be416f commit 8b52045
Show file tree
Hide file tree
Showing 29 changed files with 73 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="third"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="fourth"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@

<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
</script>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
</script>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
</script>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="third"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
</script>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@
<body>
<div id="first"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="third"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="fourth"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@
<div id="willbefirst"></div>
<script>
willbefirst.id = "first";
jankMany(100, 10);
generateParserDelay();
</script>
<div id="second"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="third"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="fourth"></div>
<script>
jankMany(100, 10);
generateParserDelay();
</script>
<div id="last"></div>
</body>
Loading

0 comments on commit 8b52045

Please sign in to comment.