mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Update web-platform-tests to revision 2b758296541cf4f2209b8c2352cf6c7890c97be3
This commit is contained in:
parent
2304f02123
commit
835d593cd0
118 changed files with 3269 additions and 703 deletions
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<title><audio and <video> autoplay</title>
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/media.html#dom-media-play">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/media.js"></script>
|
||||
<video></video>
|
||||
<script>
|
||||
async_test(t => {
|
||||
const a = new Audio(getAudioURI("/media/sound_5"));
|
||||
a.play();
|
||||
assert_false(a.paused);
|
||||
a.onplaying = t.step_func_done();
|
||||
}, "<audio> autoplay");
|
||||
|
||||
async_test(t => {
|
||||
const v = document.querySelector("video");
|
||||
v.src = getVideoURI("/media/movie_5");
|
||||
v.play();
|
||||
assert_false(v.paused);
|
||||
v.onplaying = t.step_func_done();
|
||||
}, "<video> autoplay");
|
||||
</script>
|
|
@ -0,0 +1,8 @@
|
|||
[allowed-to-play.html]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": ERROR # https://bugs.webkit.org/show_bug.cgi?id=190775
|
||||
|
||||
|
||||
[<audio> autoplay]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": FAIL # https://bugs.webkit.org/show_bug.cgi?id=190775
|
|
@ -0,0 +1,9 @@
|
|||
[html-elements.html]
|
||||
[Compare CSS span definitions (only valid if pre-reqs pass)]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": FAIL # https://webkit.org/show_bug.cgi?id=187052
|
||||
|
||||
|
||||
[Compare CSS div definitions (only valid if pre-reqs pass)]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": FAIL # https://webkit.org/show_bug.cgi?id=187052
|
|
@ -0,0 +1,4 @@
|
|||
[context.any.sharedworker.html]
|
||||
[context]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": FAIL # https://bugs.webkit.org/show_bug.cgi?id=149850
|
|
@ -0,0 +1,4 @@
|
|||
[order-of-metas.any.sharedworker.html]
|
||||
[foo]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": FAIL # https://bugs.webkit.org/show_bug.cgi?id=149850
|
|
@ -0,0 +1,4 @@
|
|||
[secure-context.https.any.sharedworker.html]
|
||||
[secure-context]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": FAIL # https://bugs.webkit.org/show_bug.cgi?id=149850
|
|
@ -0,0 +1,4 @@
|
|||
[title.any.sharedworker.html]
|
||||
[foobar]
|
||||
expected:
|
||||
if product == "safari" or product == "safari_webdriver": FAIL # https://bugs.webkit.org/show_bug.cgi?id=149850
|
|
@ -1,3 +1,3 @@
|
|||
[elementPosition.html]
|
||||
expected:
|
||||
if product == "chrome": ERROR
|
||||
if product == "chrome" or product == "safari" or product == "safari_webdriver": ERROR
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[elementTiming.html]
|
||||
expected:
|
||||
if product == "chrome": ERROR
|
||||
if product == "chrome" or product == "safari" or product == "safari_webdriver": ERROR
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[eventOrder.html]
|
||||
expected:
|
||||
if product == "chrome": ERROR
|
||||
if product == "chrome" or product == "safari" or product == "safari_webdriver": ERROR
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
[multiDevice.html]
|
||||
expected:
|
||||
if product == "chrome": ERROR
|
||||
if product == "chrome" or product == "safari" or product == "safari_webdriver": ERROR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue