You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Automatic update from web-platform-tests
[blink][web_tests] document-write tests cleanup
- Add better assertion failure messages
- Use better content for document.write
The tests assume that the ignore-destructive-writes counter is only
incremented during the synchronous part of module evaluation (see
whatwg/html#4352 (comment)).
This also fixes document-write/module-delayed.html which accidentally
had wrong test expectations checked in that made it pass.
Bug: 1127215
Bug: 1022182
Bug: v8:9344
Change-Id: I01a75534f7efd0bd8e376dfd049432e52661604d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397696
Reviewed-by: Hiroshige Hayashizaki <[email protected]>
Commit-Queue: Camillo Bruni <[email protected]>
Cr-Commit-Position: refs/heads/master@{#807384}
--
wpt-commits: 05285a54f6369d56c51df2dc12e05730dd297d81
wpt-pr: 25430
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/module-dynamic-import.html
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/module-static-import-delayed.html
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,17 @@
8
8
// Expose {test} in the iframe for using the step_timeout helper.
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/module-static-import.html
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/module-tla-delayed-iframe.html
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/module-tla-delayed.html
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,13 @@
15
15
16
16
letonLoadWasCalled=false;
17
17
iframe.onload=t.step_func(()=>{
18
+
onLoadWasCalled=true;
18
19
assert_equals(iframe.contentDocument.body.textContent,"Initial body contents\n");
Copy file name to clipboardExpand all lines: testing/web-platform/tests/html/webappapis/dynamic-markup-insertion/document-write/module-tla-immediate-promise.html
0 commit comments