-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
html/syntax/preload-scanner.tentative/document-write/picture-source-br-img.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> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, document.write(): picture-source-br-img</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/preload-scanner.tentative/resources/preload-scanner-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, true).then(done); | ||
document.write(` | ||
<script src=/common/slow.py><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<picture><source srcset=/html/syntax/preload-scanner.tentative/resources/stash.py?action=put&uuid=${uuid}><br><img></picture> | ||
`); | ||
</script> | ||
|
21 changes: 21 additions & 0 deletions
21
html/syntax/preload-scanner.tentative/document-write/picture-source-nomatch-media.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> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, document.write(): picture-source-nomatch-media</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/preload-scanner.tentative/resources/preload-scanner-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, false).then(done); | ||
document.write(` | ||
<script src=/common/slow.py><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<picture><source srcset=/html/syntax/preload-scanner.tentative/resources/stash.py?action=put&uuid=${uuid} media="not all"><img></picture> | ||
`); | ||
</script> | ||
|
21 changes: 21 additions & 0 deletions
21
html/syntax/preload-scanner.tentative/document-write/picture-source-unsupported-type.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> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, document.write(): picture-source-unsupported-type</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/preload-scanner.tentative/resources/preload-scanner-util.js></script> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
expect_fetched_onload(uuid, false).then(done); | ||
document.write(` | ||
<script src=/common/slow.py><\/script> | ||
<script> | ||
document.write('<plaintext>'); | ||
<\/script> | ||
<picture><source srcset=/html/syntax/preload-scanner.tentative/resources/stash.py?action=put&uuid=${uuid} type=text/plain><img></picture> | ||
`); | ||
</script> | ||
|
17 changes: 17 additions & 0 deletions
17
html/syntax/preload-scanner.tentative/page-load/picture-source-br-img.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,17 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, page load: picture-source-br-img</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/preload-scanner.tentative/resources/preload-scanner-util.js></script> | ||
<body> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
const iframe = document.createElement('iframe'); | ||
iframe.src = `resources/picture-source-br-img-framed.sub.html?uuid=${uuid}`; | ||
document.body.appendChild(iframe); | ||
expect_fetched_onload(uuid, true).then(done); | ||
</script> |
17 changes: 17 additions & 0 deletions
17
html/syntax/preload-scanner.tentative/page-load/picture-source-nomatch-media.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,17 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, page load: picture-source-nomatch-media</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/preload-scanner.tentative/resources/preload-scanner-util.js></script> | ||
<body> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
const iframe = document.createElement('iframe'); | ||
iframe.src = `resources/picture-source-nomatch-media-framed.sub.html?uuid=${uuid}`; | ||
document.body.appendChild(iframe); | ||
expect_fetched_onload(uuid, false).then(done); | ||
</script> |
17 changes: 17 additions & 0 deletions
17
html/syntax/preload-scanner.tentative/page-load/picture-source-unsupported-type.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,17 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, page load: picture-source-unsupported-type</title> | ||
<script src=/resources/testharness.js></script> | ||
<script src=/resources/testharnessreport.js></script> | ||
<script src=/common/utils.js></script> | ||
<script src=/html/syntax/preload-scanner.tentative/resources/preload-scanner-util.js></script> | ||
<body> | ||
<script> | ||
setup({single_test: true}); | ||
const uuid = token(); | ||
const iframe = document.createElement('iframe'); | ||
iframe.src = `resources/picture-source-unsupported-type-framed.sub.html?uuid=${uuid}`; | ||
document.body.appendChild(iframe); | ||
expect_fetched_onload(uuid, false).then(done); | ||
</script> |
9 changes: 9 additions & 0 deletions
9
...yntax/preload-scanner.tentative/page-load/resources/picture-source-br-img-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,9 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, page load (helper file): picture-source-br-img</title> | ||
<script src=/common/slow.py></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<picture><source srcset=/html/syntax/preload-scanner.tentative/resources/stash.py?action=put&uuid={{GET[uuid]}}><br><img></picture> |
9 changes: 9 additions & 0 deletions
9
...reload-scanner.tentative/page-load/resources/picture-source-nomatch-media-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,9 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, page load (helper file): picture-source-nomatch-media</title> | ||
<script src=/common/slow.py></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<picture><source srcset=/html/syntax/preload-scanner.tentative/resources/stash.py?action=put&uuid={{GET[uuid]}} media="not all"><img></picture> |
9 changes: 9 additions & 0 deletions
9
...oad-scanner.tentative/page-load/resources/picture-source-unsupported-type-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,9 @@ | ||
<!DOCTYPE html> | ||
<meta charset=utf-8> | ||
<!-- DO NOT EDIT! This file has been generated by /html/syntax/preload-scanner.tentative/tools/generate.py. --> | ||
<title>Preload scanner, page load (helper file): picture-source-unsupported-type</title> | ||
<script src=/common/slow.py></script> | ||
<script> | ||
document.write('<plaintext>'); | ||
</script> | ||
<picture><source srcset=/html/syntax/preload-scanner.tentative/resources/stash.py?action=put&uuid={{GET[uuid]}} type=text/plain><img></picture> |
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