-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 6b6163867ad474d977778a3f19c378a…
…05a4851dc
- Loading branch information
WPT Sync Bot
committed
Jan 5, 2019
1 parent
3ebd42c
commit 498854a
Showing
49 changed files
with
587 additions
and
173 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
2 changes: 0 additions & 2 deletions
2
...a/html/semantics/scripting-1/the-script-element/script-onerror-insertion-point-2.html.ini
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/resource-timing/buffer-full-set-to-current-buffer.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,5 @@ | ||
[buffer-full-set-to-current-buffer.html] | ||
expected: ERROR | ||
[Test that entries added and event firing happened in the right sequence] | ||
expected: FAIL | ||
expected: TIMEOUT | ||
|
2 changes: 1 addition & 1 deletion
2
tests/wpt/metadata/resource-timing/buffer-full-store-and-clear-during-callback.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,5 @@ | ||
[buffer-full-store-and-clear-during-callback.html] | ||
expected: ERROR | ||
expected: TIMEOUT | ||
[Test that entries overflowing the buffer trigger the buffer full event, can be stored, and find themselves in the primary buffer after it's cleared.] | ||
expected: TIMEOUT | ||
4 changes: 4 additions & 0 deletions
4
tests/wpt/metadata/resource-timing/document-domain-no-impact-loader.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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[document-domain-no-impact-loader.sub.html] | ||
[Finite resource timing entries buffer size] | ||
expected: FAIL | ||
|
76 changes: 76 additions & 0 deletions
76
tests/wpt/metadata/resource-timing/resource-timing-level1.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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
[resource-timing-level1.sub.html] | ||
['xmlhttprequest (Potentially Cached): Immediately fetch the same URL, exercising the cache hit path (if any).] | ||
expected: FAIL | ||
['link responseStart uses 1XX (first) response timings'] | ||
expected: FAIL | ||
['link 250ms delay in headers does not affect responseStart'] | ||
expected: FAIL | ||
['script responseStart uses 1XX (first) response timings'] | ||
expected: FAIL | ||
['iframe 250ms delay in headers does not affect responseStart'] | ||
expected: FAIL | ||
['xmlhttprequest: 250ms delay before 'responseStart', another 250ms delay before 'responseEnd'.] | ||
expected: FAIL | ||
|
||
['xmlhttprequest (Redirected): 250ms delay before 'redirectEnd', another 250ms delay before 'responseStart'.] | ||
expected: FAIL | ||
['iframe (Populate cache): The initial request populates the cache (if appropriate).] | ||
expected: FAIL | ||
|
||
[No timeline entry for about:blank] | ||
expected: FAIL | ||
|
||
['script: 250ms delay before 'responseStart', another 250ms delay before 'responseEnd'.] | ||
expected: FAIL | ||
['link (Potentially Cached): Immediately fetch the same URL, exercising the cache hit path (if any).] | ||
expected: FAIL | ||
|
||
['xmlhttprequest 250ms delay in headers does not affect responseStart'] | ||
expected: FAIL | ||
|
||
['link (Redirected): 250ms delay before 'redirectEnd', another 250ms delay before 'responseStart'.] | ||
expected: FAIL | ||
['iframe responseStart uses 1XX (first) response timings'] | ||
expected: FAIL | ||
['script (Potentially Cached): Immediately fetch the same URL, exercising the cache hit path (if any).] | ||
expected: FAIL | ||
|
||
['script (Redirected): 250ms delay before 'redirectEnd', another 250ms delay before 'responseStart'.] | ||
expected: FAIL | ||
['script (Populate cache): The initial request populates the cache (if appropriate).] | ||
expected: FAIL | ||
|
||
['script 250ms delay in headers does not affect responseStart'] | ||
expected: FAIL | ||
|
||
['xmlhttprequest (Populate cache): The initial request populates the cache (if appropriate).] | ||
expected: FAIL | ||
['iframe (Potentially Cached): Immediately fetch the same URL, exercising the cache hit path (if any).] | ||
expected: FAIL | ||
|
||
['link: 250ms delay before 'responseStart', another 250ms delay before 'responseEnd'.] | ||
expected: FAIL | ||
['iframe (Redirected): 250ms delay before 'redirectEnd', another 250ms delay before 'responseStart'.] | ||
expected: FAIL | ||
|
||
['link (Populate cache): The initial request populates the cache (if appropriate).] | ||
expected: FAIL | ||
['iframe: 250ms delay before 'responseStart', another 250ms delay before 'responseEnd'.] | ||
expected: FAIL | ||
|
||
['xmlhttprequest responseStart uses 1XX (first) response timings'] | ||
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: 0 additions & 1 deletion
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,5 +1,4 @@ | ||
[005.html] | ||
expected: ERROR | ||
[dedicated worker in shared worker in dedicated worker] | ||
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
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
36 changes: 36 additions & 0 deletions
36
tests/wpt/web-platform-tests/async-local-storage/undefined-value.https.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,36 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>Async local storage: undefined keys</title> | ||
<!-- https://github.com/domenic/async-local-storage/commit/5bf31109f37d1371f619ea33d0e2391f10e8b8f5 --> | ||
|
||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
|
||
<script type="module"> | ||
import { StorageArea } from "std:async-local-storage"; | ||
import { testWithArea } from "./helpers/als-tests.js"; | ||
|
||
testWithArea(async (area) => { | ||
assert_equals(await area.get("key"), undefined); | ||
}, "Get on a non-existant key returns undefined"); | ||
|
||
testWithArea(async (area) => { | ||
await area.set("key", undefined); | ||
assert_equals(await area.get("key"), undefined); | ||
|
||
assert_equals((await area.keys()).length, 0, "number of keys"); | ||
assert_equals((await area.values()).length, 0, "number of values"); | ||
assert_equals((await area.entries()).length, 0, "number of entries"); | ||
}, "Setting undefined as a value when nothing was present is a no-op"); | ||
|
||
testWithArea(async (area) => { | ||
await area.set("key", "value"); | ||
await area.set("key", undefined); | ||
|
||
assert_equals(await area.get("key"), undefined); | ||
|
||
assert_equals((await area.keys()).length, 0, "number of keys"); | ||
assert_equals((await area.values()).length, 0, "number of values"); | ||
assert_equals((await area.entries()).length, 0, "number of entries"); | ||
}, "Setting undefined as a value deletes what was previously there"); | ||
</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
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 @@ | ||
import time | ||
|
||
# sleep can be lower than requested value in some platforms: https://bugs.python.org/issue31539 | ||
# We add padding here to compensate for that. | ||
sleep_padding = 15.0 | ||
|
||
def sleep_at_least(sleep_in_ms): | ||
time.sleep((sleep_in_ms + sleep_padding) / 1E3); |
34 changes: 34 additions & 0 deletions
34
tests/wpt/web-platform-tests/css/css-backgrounds/background-image-cover-zoomed-1.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,34 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>CSS Background Test: background-size:cover should cover at zoom</title> | ||
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> | ||
<link rel="help" href="http://www.w3.org/TR/css3-background"> | ||
<link rel="match" href="reference/background-image-cover-zoomed-1-ref.html"> | ||
<style> | ||
body { | ||
zoom: 80%; | ||
} | ||
body > div { | ||
background: #f00; | ||
width: 504px; | ||
height: 252px; | ||
} | ||
|
||
div > div { | ||
width: 504px; | ||
height: 252px; | ||
background-image: url(support/40px-wide-20px-tall-green-rect.png); | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div> | ||
<div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
13 changes: 13 additions & 0 deletions
13
tests/wpt/web-platform-tests/css/css-backgrounds/border-image-calc-ref.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,13 @@ | ||
<!doctype html> | ||
<title>CSS Test Reference</title> | ||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> | ||
<link rel="author" title="Mozilla" href="https://mozilla.org"> | ||
<style> | ||
#test { | ||
background-color: green; | ||
width: 200px; | ||
height: 200px; | ||
} | ||
</style> | ||
<p>Test passes if there is a green 200px times 200px square.</p> | ||
<div id="test"></div> |
20 changes: 20 additions & 0 deletions
20
tests/wpt/web-platform-tests/css/css-backgrounds/border-image-calc.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,20 @@ | ||
<!doctype html> | ||
<title>CSS Test: border-image honors calc() lengths / percentages</title> | ||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> | ||
<link rel="author" title="Mozilla" href="https://mozilla.org"> | ||
<link rel="help" href="https://bugzil.la/1517521"> | ||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-image-width"> | ||
<link rel="match" href="border-image-calc-ref.html"> | ||
<style> | ||
#test { | ||
background-color: red; | ||
border: 100px solid red; | ||
border-image-slice: 10; | ||
border-image-source: url("support/green_color.png"); | ||
border-image-width: 100px calc(100px) calc(100%) calc(50% + 50px); | ||
height: 0; | ||
width: 0; | ||
} | ||
</style> | ||
<p>Test passes if there is a green 200px times 200px square.</p> | ||
<div id="test"></div> |
21 changes: 21 additions & 0 deletions
21
tests/wpt/web-platform-tests/css/css-backgrounds/border-image-slice-shorthand-reset.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> | ||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-image-slice" /> | ||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds/#border-image" /> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<style> | ||
div { | ||
border: 1px solid; | ||
border-image-slice: 1; | ||
} | ||
div { | ||
/* Should reset border-image-slice */ | ||
border-image: linear-gradient(black, black); | ||
} | ||
</style> | ||
<div>This text should not have a border, just corner dots</div> | ||
<script> | ||
test(() => { | ||
assert_equals(getComputedStyle(document.querySelector("div")).borderImageSlice, "100%"); | ||
}, "Check that the border-image shorthand resets border-image-slice to its initial value."); | ||
</script> |
24 changes: 24 additions & 0 deletions
24
...web-platform-tests/css/css-backgrounds/reference/background-image-cover-zoomed-1-ref.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,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>CSS Background Test Reference</title> | ||
<link rel="author" title="schenney" href="mailto:schenney@chromium.org"> | ||
<style> | ||
body { | ||
zoom: 80%; | ||
} | ||
body > div { | ||
width: 504px; | ||
height: 252px; | ||
background-image: url(../support/40px-wide-20px-tall-green-rect.png); | ||
background-size: cover; | ||
background-repeat: no-repeat; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<div> | ||
</div> | ||
</body> | ||
</html> |
Oops, something went wrong.