mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Auto merge of #21883 - servo-wpt-sync:wpt_update_06-10-2018, r=jdm
Sync WPT with upstream (06-10-2018) Automated downstream sync of changes from upstream as of 06-10-2018. [no-wpt-sync] <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21883) <!-- Reviewable:end -->
This commit is contained in:
commit
d048aa9c51
10 changed files with 45 additions and 29 deletions
|
@ -619905,7 +619905,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"infrastructure/testdriver/bless.html": [
|
||||
"feb444f89d91088b51e04b610dd642c00814c3b4",
|
||||
"b8a1c2e7d6000050351453a14a8bfb80d8af0c76",
|
||||
"testharness"
|
||||
],
|
||||
"infrastructure/testdriver/click.html": [
|
||||
|
@ -665061,7 +665061,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"webstorage/event_initstorageevent.html": [
|
||||
"656fc351da3bbb75b7d025e9e02d05f02880e7d5",
|
||||
"2fe893143614ca6d44becd027f6befba82e18ad1",
|
||||
"testharness"
|
||||
],
|
||||
"webstorage/event_local_key.html": [
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_1.html]
|
||||
[Multiple history traversals from the same task]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[traverse_the_history_5.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
[non-active-document.html]
|
||||
[DOMParser]
|
||||
expected: FAIL
|
||||
|
||||
[createHTMLDocument]
|
||||
expected: FAIL
|
||||
|
||||
[<template>]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
[DOMContentLoaded-defer.html]
|
||||
[The end: DOMContentLoaded and defer scripts]
|
||||
expected: FAIL
|
||||
|
|
@ -11,10 +11,16 @@
|
|||
[response.formData() with input: &&&a=b&&&&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: &&&a=b&&&&c=d&]
|
||||
[request.formData() with input: _charset_=windows-1252&test=%C2x]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: _charset_=windows-1252&test=%C2x]
|
||||
[response.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: a=b&c=d]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
|
@ -25,15 +31,12 @@
|
|||
[response.formData() with input: _charset_=windows-1252&test=%C2x]
|
||||
expected: FAIL
|
||||
|
||||
[response.formData() with input: a&b&c]
|
||||
[response.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: &&&a=b&&&&c=d&]
|
||||
[response.formData() with input: a=b&c=d]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: _charset_=windows-1252&test=%C2x]
|
||||
expected: FAIL
|
||||
|
||||
[request.formData() with input: a=b&c=d]
|
||||
[request.formData() with input: a=b&c=d&]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
[realtimeanalyser-fft-scaling.html]
|
||||
expected: TIMEOUT
|
||||
[X 2048-point FFT peak position is not equal to 64. Got 0.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -18,16 +18,26 @@ promise_test(() => {
|
|||
// activation concerns the interaction between iframe elements and their parent
|
||||
// browsing contexts [1]. Because testdriver.js currently cannot operate within
|
||||
// an iframe, the standard requirement cannot be used to verify the correctness
|
||||
// of the `bless` method. Instead, rely on the non-standard restriction on
|
||||
// unattended media playback. Browsers which do not implement such a
|
||||
// restriction will pass this test spuriously.
|
||||
// of the `bless` method. Instead, rely on the optional behavior of early exit
|
||||
// and rejecting in `video.play()` if the media is not "allowed to play". [2]
|
||||
// Browsers which don't implement this will pass this test spuriously.
|
||||
//
|
||||
// [1] https://html.spec.whatwg.org/multipage/origin.html#attr-iframe-sandbox-allow-top-navigation-by-user-activation
|
||||
promise_test(() => {
|
||||
// [2] https://html.spec.whatwg.org/multipage/media.html#allowed-to-play
|
||||
promise_test(t => {
|
||||
const video = document.createElement('video');
|
||||
video.setAttribute('src', '/media/counting.ogv');
|
||||
document.body.appendChild(video);
|
||||
return test_driver.bless('start video playback', () => video.play())
|
||||
t.add_cleanup(() => video.remove());
|
||||
return test_driver.bless('start video playback', () => {
|
||||
// `paused` changes before `play()` returns when "allowed to play", so the
|
||||
// promise, if any, is ignored.
|
||||
assert_true(video.paused);
|
||||
const playPromise = video.play();
|
||||
assert_false(video.paused);
|
||||
if (playPromise) {
|
||||
playPromise.catch(() => {});
|
||||
}
|
||||
});
|
||||
}, 'user activation');
|
||||
|
||||
promise_test(() => {
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
assert_equals(event.key, null, 'event.key');
|
||||
assert_equals(event.oldValue, null, 'event.oldValue');
|
||||
assert_equals(event.newValue, null, 'event.newValue');
|
||||
assert_equals(event.url, 'undefined', 'event.url');
|
||||
assert_equals(event.url, '', 'event.url');
|
||||
assert_equals(event.storageArea, null, 'event.storageArea');
|
||||
}, 'initStorageEvent with 8 undefined arguments');
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue