forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync
html/syntax/speculative-parsing/generated
from WPT upstream
https://bugs.webkit.org/show_bug.cgi?id=274655 Reviewed by Anne van Kesteren. This patch is to sync tests from WPT: Upstream commit: web-platform-tests/wpt@3c073b2 * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/w3c-import.log: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/template-shadowrootmode-script-src-nonspeculative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/template-shadowrootmode-link-stylesheet-nonspeculative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/template-shadowrootmode-img-src-nonspeculative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/template-link-stylesheet-nonspeculative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/template-img-src-nonspeculative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/nested-template-shadowrootmode-2-nonspeculative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/resources/nested-template-shadowrootmode-1-nonspeculative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-script-src.tentative.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-link-stylesheet.tentative.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-img-src.tentative.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-link-stylesheet.tentative.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-img-src.tentative.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/template-shadowrootmode-script-src-framed.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/template-shadowrootmode-link-stylesheet-framed.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/template-shadowrootmode-img-src-framed.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/template-link-stylesheet-framed.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/template-img-src-framed.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/nested-template-shadowrootmode-2-framed.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/resources/nested-template-shadowrootmode-1-framed.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/nested-template-shadowrootmode-2.tentative.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/nested-template-shadowrootmode-1.tentative.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-script-src.tentative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-link-stylesheet.tentative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-img-src.tentative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-link-stylesheet.tentative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-img-src.tentative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/nested-template-shadowrootmode-2.tentative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/nested-template-shadowrootmode-1.tentative.sub.html: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/nested-template-shadowrootmode-1.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-img-src.tentative.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-img-src.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/nested-template-shadowrootmode-2.tentative.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/nested-template-shadowrootmode-2.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/nested-template-shadowrootmode-1.tentative.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-img-src.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-link-stylesheet.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-img-src.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/nested-template-shadowrootmode-2.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-img-src.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-link-stylesheet.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-img-src.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-script-src.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-link-stylesheet.tentative-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-script-src.tentative.sub-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-link-stylesheet.tentative.sub-expected.txt: Canonical link: https://commits.webkit.org/279385@main
- Loading branch information
Ahmad Saleem
committed
May 28, 2024
1 parent
2e51cc7
commit c076205
Showing
48 changed files
with
599 additions
and
0 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
...sing/generated/document-write/nested-template-shadowrootmode-1.tentative.sub-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
<!-- speculative case in document.write --> | ||
<template><div><template shadowrootmode="closed"><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=b79c85d3-422b-4bb4-80f9-7772f364508a&encodingcheck=Ğ"></script></template></div></template> | ||
|
||
|
||
|
||
PASS Speculative parsing, document.write(): nested-template-shadowrootmode-1 | ||
|
25 changes: 25 additions & 0 deletions
25
...tive-parsing/generated/document-write/nested-template-shadowrootmode-1.tentative.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, document.write(): nested-template-shadowrootmode-1</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, false) | ||
.then(compare_with_nonspeculative(uuid, 'nested-template-shadowrootmode-1', true)) | ||
.then(done); | ||
document.write(` | ||
<script src="/common/slow.py?delay=1500"><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<\!-- speculative case in document.write --> | ||
<template><div><template shadowrootmode="closed"><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"><\/script></template></div></template> | ||
`); | ||
</script> |
4 changes: 4 additions & 0 deletions
4
...-parsing/generated/document-write/nested-template-shadowrootmode-2.tentative-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
PASS Speculative parsing, page load: nested-template-shadowrootmode-2 | ||
|
8 changes: 8 additions & 0 deletions
8
...sing/generated/document-write/nested-template-shadowrootmode-2.tentative.sub-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
<!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><template><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=9c699e63-3ce9-481c-88fd-451e81f0c2ac&encodingcheck=Ğ"></script></template></template></div> | ||
|
||
|
||
|
||
PASS Speculative parsing, document.write(): nested-template-shadowrootmode-2 | ||
|
25 changes: 25 additions & 0 deletions
25
...tive-parsing/generated/document-write/nested-template-shadowrootmode-2.tentative.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, document.write(): nested-template-shadowrootmode-2</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, false) | ||
.then(compare_with_nonspeculative(uuid, 'nested-template-shadowrootmode-2', true)) | ||
.then(done); | ||
document.write(` | ||
<script src="/common/slow.py?delay=1500"><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<\!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><template><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"><\/script></template></template></div> | ||
`); | ||
</script> |
4 changes: 4 additions & 0 deletions
4
...ntax/speculative-parsing/generated/document-write/template-img-src.tentative-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
PASS Speculative parsing, page load: template-img-src | ||
|
8 changes: 8 additions & 0 deletions
8
.../speculative-parsing/generated/document-write/template-img-src.tentative.sub-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
<!-- speculative case in document.write --> | ||
<template><img src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=7bae30f5-e4cd-42a6-95fb-7dba0b3cdfe0&encodingcheck=Ğ"></template> | ||
|
||
|
||
|
||
PASS Speculative parsing, document.write(): template-img-src | ||
|
25 changes: 25 additions & 0 deletions
25
...l/syntax/speculative-parsing/generated/document-write/template-img-src.tentative.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, document.write(): template-img-src</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, false) | ||
.then(compare_with_nonspeculative(uuid, 'template-img-src', true)) | ||
.then(done); | ||
document.write(` | ||
<script src="/common/slow.py?delay=1500"><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<\!-- speculative case in document.write --> | ||
<template><img src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"></template> | ||
`); | ||
</script> |
8 changes: 8 additions & 0 deletions
8
...tive-parsing/generated/document-write/template-link-stylesheet.tentative.sub-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
<!-- speculative case in document.write --> | ||
<template><link rel=stylesheet href="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=ef773b25-dfe5-4ed7-8b4c-841403b712c8&encodingcheck=Ğ"></template> | ||
|
||
|
||
|
||
PASS Speculative parsing, document.write(): template-link-stylesheet | ||
|
25 changes: 25 additions & 0 deletions
25
.../speculative-parsing/generated/document-write/template-link-stylesheet.tentative.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, document.write(): template-link-stylesheet</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, false) | ||
.then(compare_with_nonspeculative(uuid, 'template-link-stylesheet', true)) | ||
.then(done); | ||
document.write(` | ||
<script src="/common/slow.py?delay=1500"><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<\!-- speculative case in document.write --> | ||
<template><link rel=stylesheet href="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"></template> | ||
`); | ||
</script> |
8 changes: 8 additions & 0 deletions
8
...rsing/generated/document-write/template-shadowrootmode-img-src.tentative.sub-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONSOLE MESSAGE: Unhandled Promise Rejection: Error: assert_not_equals: speculative case did not fetch got disallowed value "" | ||
|
||
<!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><img src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=d8ca7a97-e8c3-4d61-8912-aff8350abd50&encodingcheck=Ğ"></template></div> | ||
|
||
|
||
FAIL Speculative parsing, document.write(): template-shadowrootmode-img-src Unhandled rejection: assert_not_equals: speculative case did not fetch got disallowed value "" | ||
|
25 changes: 25 additions & 0 deletions
25
...ative-parsing/generated/document-write/template-shadowrootmode-img-src.tentative.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, document.write(): template-shadowrootmode-img-src</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, true) | ||
.then(compare_with_nonspeculative(uuid, 'template-shadowrootmode-img-src', true)) | ||
.then(done); | ||
document.write(` | ||
<script src="/common/slow.py?delay=1500"><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<\!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><img src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"></template></div> | ||
`); | ||
</script> |
8 changes: 8 additions & 0 deletions
8
...nerated/document-write/template-shadowrootmode-link-stylesheet.tentative.sub-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONSOLE MESSAGE: Unhandled Promise Rejection: Error: assert_not_equals: speculative case did not fetch got disallowed value "" | ||
|
||
<!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><link rel=stylesheet href="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=4bdd6438-73b9-4b3d-a8c7-58b5e5aace62&encodingcheck=Ğ"></template></div> | ||
|
||
|
||
FAIL Speculative parsing, document.write(): template-shadowrootmode-link-stylesheet Unhandled rejection: assert_not_equals: speculative case did not fetch got disallowed value "" | ||
|
25 changes: 25 additions & 0 deletions
25
...rsing/generated/document-write/template-shadowrootmode-link-stylesheet.tentative.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, document.write(): template-shadowrootmode-link-stylesheet</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, true) | ||
.then(compare_with_nonspeculative(uuid, 'template-shadowrootmode-link-stylesheet', true)) | ||
.then(done); | ||
document.write(` | ||
<script src="/common/slow.py?delay=1500"><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<\!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><link rel=stylesheet href="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"></template></div> | ||
`); | ||
</script> |
8 changes: 8 additions & 0 deletions
8
...ng/generated/document-write/template-shadowrootmode-script-src.tentative.sub-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
CONSOLE MESSAGE: Unhandled Promise Rejection: Error: assert_not_equals: speculative case did not fetch got disallowed value "" | ||
|
||
<!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=6f013501-95b1-4d24-abac-9e33c7c8ee6b&encodingcheck=Ğ"></script></template></div> | ||
|
||
|
||
FAIL Speculative parsing, document.write(): template-shadowrootmode-script-src Unhandled rejection: assert_not_equals: speculative case did not fetch got disallowed value "" | ||
|
25 changes: 25 additions & 0 deletions
25
...ve-parsing/generated/document-write/template-shadowrootmode-script-src.tentative.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, document.write(): template-shadowrootmode-script-src</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, true) | ||
.then(compare_with_nonspeculative(uuid, 'template-shadowrootmode-script-src', true)) | ||
.then(done); | ||
document.write(` | ||
<script src="/common/slow.py?delay=1500"><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<\!-- speculative case in document.write --> | ||
<div><template shadowrootmode="closed"><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid=${uuid}&encodingcheck=Ğ"><\/script></template></div> | ||
`); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...ative-parsing/generated/page-load/nested-template-shadowrootmode-1.tentative-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
PASS Speculative parsing, page load: nested-template-shadowrootmode-1 | ||
|
21 changes: 21 additions & 0 deletions
21
...x/speculative-parsing/generated/page-load/nested-template-shadowrootmode-1.tentative.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, page load: nested-template-shadowrootmode-1</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<body> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
const iframe = document.createElement('iframe'); | ||
iframe.src = `resources/nested-template-shadowrootmode-1-framed.sub.html?uuid=${uuid}`; | ||
document.body.appendChild(iframe); | ||
expect_fetched_onload(uuid, false) | ||
.then(compare_with_nonspeculative(uuid, 'nested-template-shadowrootmode-1', true)) | ||
.then(done); | ||
</script> |
4 changes: 4 additions & 0 deletions
4
...ative-parsing/generated/page-load/nested-template-shadowrootmode-2.tentative-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
|
||
PASS Speculative parsing, page load: nested-template-shadowrootmode-2 | ||
|
21 changes: 21 additions & 0 deletions
21
...x/speculative-parsing/generated/page-load/nested-template-shadowrootmode-2.tentative.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, page load: nested-template-shadowrootmode-2</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/speculative-parsing/resources/speculative-parsing-util.js></script> | ||
<body> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
const iframe = document.createElement('iframe'); | ||
iframe.src = `resources/nested-template-shadowrootmode-2-framed.sub.html?uuid=${uuid}`; | ||
document.body.appendChild(iframe); | ||
expect_fetched_onload(uuid, false) | ||
.then(compare_with_nonspeculative(uuid, 'nested-template-shadowrootmode-2', true)) | ||
.then(done); | ||
</script> |
12 changes: 12 additions & 0 deletions
12
...ve-parsing/generated/page-load/resources/nested-template-shadowrootmode-1-framed.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, page load (helper file): nested-template-shadowrootmode-1</title> | ||
<script src="/common/slow.py?delay=1500"></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<!-- speculative case --> | ||
<template><div><template shadowrootmode="closed"><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid={{GET[uuid]}}&encodingcheck=Ğ"></script></template></div></template> |
12 changes: 12 additions & 0 deletions
12
...ve-parsing/generated/page-load/resources/nested-template-shadowrootmode-2-framed.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, page load (helper file): nested-template-shadowrootmode-2</title> | ||
<script src="/common/slow.py?delay=1500"></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<!-- speculative case --> | ||
<div><template shadowrootmode="closed"><template><script src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid={{GET[uuid]}}&encodingcheck=Ğ"></script></template></template></div> |
12 changes: 12 additions & 0 deletions
12
...syntax/speculative-parsing/generated/page-load/resources/template-img-src-framed.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, page load (helper file): template-img-src</title> | ||
<script src="/common/slow.py?delay=1500"></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<!-- speculative case --> | ||
<template><img src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid={{GET[uuid]}}&encodingcheck=Ğ"></template> |
12 changes: 12 additions & 0 deletions
12
...peculative-parsing/generated/page-load/resources/template-link-stylesheet-framed.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, page load (helper file): template-link-stylesheet</title> | ||
<script src="/common/slow.py?delay=1500"></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<!-- speculative case --> | ||
<template><link rel=stylesheet href="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid={{GET[uuid]}}&encodingcheck=Ğ"></template> |
12 changes: 12 additions & 0 deletions
12
...ive-parsing/generated/page-load/resources/template-shadowrootmode-img-src-framed.sub.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<!-- DO NOT EDIT. This file has been generated. Source: | ||
/html/syntax/speculative-parsing/tools/generate.py | ||
--> | ||
<meta charset=utf-8> | ||
<title>Speculative parsing, page load (helper file): template-shadowrootmode-img-src</title> | ||
<script src="/common/slow.py?delay=1500"></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<!-- speculative case --> | ||
<div><template shadowrootmode="closed"><img src="/html/syntax/speculative-parsing/resources/stash.py?action=put&uuid={{GET[uuid]}}&encodingcheck=Ğ"></template></div> |
Oops, something went wrong.