Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update web-platform-tests to revision d1e20d6e525ebf9b99876c7f08b14cb…
…268364f79
- Loading branch information
1 parent
8002c6b
commit 7b95441
Showing
17 changed files
with
132 additions
and
34 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/css/css-transitions/no-transition-from-ua-to-blocking-stylesheet.html.ini
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
[no-transition-from-ua-to-blocking-stylesheet.html] | ||
expected: TIMEOUT | ||
expected: FAIL |
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
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
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 |
---|---|---|
|
@@ -14,3 +14,6 @@ | |
[X-Content-Type-Options%3A%20'NosniFF'] | ||
expected: FAIL | ||
|
||
[X-Content-Type-Options%3A%20%2Cnosniff] | ||
expected: FAIL | ||
|
4 changes: 2 additions & 2 deletions
4
tests/wpt/metadata/fetch/security/embedded-credentials.tentative.sub.html.ini
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: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_2.html.ini
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
.../wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...adata/html/interaction/focus/the-autofocus-attribute/skip-document-with-fragment.html.ini
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 |
---|---|---|
@@ -1,8 +1,4 @@ | ||
[skip-document-with-fragment.html] | ||
expected: TIMEOUT | ||
[Autofocus elements in iframed documents with URL fragments should be skipped.] | ||
expected: FAIL | ||
|
||
[Autofocus elements in top-level browsing context's documents with URI fragments should be skipped.] | ||
expected: TIMEOUT | ||
2 changes: 1 addition & 1 deletion
2
...emantics/embedded-content/the-iframe-element/iframe_sandbox_popups_nonescaping-3.html.ini
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[iframe_sandbox_popups_nonescaping-3.html] | ||
type: testharness | ||
expected: TIMEOUT | ||
expected: CRASH | ||
[Check that popups from a sandboxed iframe do not escape the sandbox] | ||
expected: NOTRUN | ||
|
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
1 change: 0 additions & 1 deletion
1
tests/wpt/metadata/resource-timing/crossorigin-sandwich-TAO.sub.html.ini
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[crossorigin-sandwich-TAO.sub.html] | ||
expected: ERROR | ||
[There should be one entry.] | ||
expected: FAIL | ||
|
||
|
1 change: 0 additions & 1 deletion
1
...a/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini
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
1 change: 1 addition & 0 deletions
1
tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
[005.html] | ||
expected: ERROR | ||
[dedicated worker in shared worker in dedicated worker] | ||
expected: FAIL | ||
|
49 changes: 49 additions & 0 deletions
49
...-platform-tests/loading/lazyload/image-loading-lazy-below-viewport-dynamic.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,49 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<title>Below viewport images with loading='lazy' and changed to | ||
loading='eager' load and do not block the window load event</title> | ||
<link rel="author" title="Rob Buis" href="mailto:rbuis@igalia.com"> | ||
<link rel="help" href="https://github.com/scott-little/lazyload"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
</head> | ||
|
||
<!-- | ||
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed. | ||
--> | ||
|
||
<script> | ||
const t = async_test("Test that below viewport images with loading='lazy' " + | ||
"and changed to loading='eager' load and do not block " + | ||
"the window load event."); | ||
|
||
let has_below_viewport_loaded = false; | ||
let has_window_loaded = false; | ||
|
||
window.addEventListener("load", t.step_func(function() { | ||
assert_false(has_window_loaded, | ||
"The window.load() event should only fire once."); | ||
has_window_loaded = true; | ||
})); | ||
|
||
const below_viewport_img_onload = t.step_func_done(function() { | ||
assert_false(has_below_viewport_loaded, | ||
"The in_viewport element should load only once."); | ||
assert_true(has_window_loaded, | ||
"The window.load() event should have fired before " + | ||
"below_viewport loaded."); | ||
has_below_viewport_loaded = true; | ||
}); | ||
</script> | ||
|
||
<body> | ||
<div style="height:10000px;"></div> | ||
<img id="below_viewport" src="resources/image.png?pipe=trickle(d2)" | ||
loading="lazy" onload="below_viewport_img_onload();"> | ||
<script> | ||
assert_false(has_window_loaded, | ||
"The window.load() event should not fire before " + | ||
"changing below_viewport to loading='eager'."); | ||
document.getElementById("below_viewport").loading = 'eager'; | ||
</script> | ||
</body> |
44 changes: 44 additions & 0 deletions
44
...web-platform-tests/loading/lazyload/image-loading-lazy-in-viewport-dynamic.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,44 @@ | ||
<!DOCTYPE html> | ||
<head> | ||
<title>In viewport images with loading='lazy' and changed to loading='eager' | ||
do not block the window load event</title> | ||
<link rel="author" title="Rob Buis" href="mailto:rbuis@igalia.com"> | ||
<link rel="help" href="https://github.com/scott-little/lazyload"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
</head> | ||
|
||
<!-- | ||
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed. | ||
--> | ||
|
||
<script> | ||
const t = async_test("Test that in viewport images with loading='lazy' and " + | ||
"changed to loading='eager' do not block the window " + | ||
"load event."); | ||
|
||
let has_in_viewport_loaded = false; | ||
let has_window_loaded = false; | ||
|
||
const in_viewport_img_onload = t.step_func_done(function() { | ||
assert_false(has_in_viewport_loaded, | ||
"The in_viewport element should load only once."); | ||
assert_true(has_window_loaded, | ||
"The window.load() event should fire before in_viewport image loads."); | ||
has_in_viewport_loaded = true; | ||
}); | ||
|
||
window.addEventListener("load", t.step_func(function() { | ||
assert_false(has_window_loaded, | ||
"The window.load() event should only fire once."); | ||
has_window_loaded = true; | ||
})); | ||
</script> | ||
|
||
<body> | ||
<img id="in_viewport" src="resources/image.png?pipe=trickle(d2)" | ||
loading="lazy" onload="in_viewport_img_onload();"> | ||
<script> | ||
document.getElementById("in_viewport").loading = 'eager'; | ||
</script> | ||
</body> |
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