mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d
This commit is contained in:
parent
c45192614c
commit
775b784f79
2144 changed files with 58115 additions and 29658 deletions
|
@ -0,0 +1,3 @@
|
|||
suggested_reviewers:
|
||||
- foolip
|
||||
- zcorpan
|
|
@ -6,7 +6,6 @@
|
|||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-media-loop" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Check if audio.loop is set to true that expecting the seeking event is fired more than once" />
|
||||
<meta name=timeout content=long>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/media.js"></script>
|
||||
|
@ -36,7 +35,7 @@
|
|||
media.addEventListener("error", t.unreached_func());
|
||||
media.addEventListener("seeking", startTest, false);
|
||||
media.loop = true;
|
||||
media.src = getAudioURI("/media/sound_5") + "?" + new Date() + Math.random();
|
||||
media.src = getAudioURI("/media/sound_0") + "?" + new Date() + Math.random();
|
||||
media.play();
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-media-loop" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Check if video.loop is set to true that expecting the seeking event is fired more than once" />
|
||||
<meta name=timeout content=long>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/common/media.js"></script>
|
||||
|
@ -34,7 +33,7 @@
|
|||
|
||||
media.addEventListener("seeking", startTest, false);
|
||||
media.loop = true;
|
||||
media.src = getVideoURI("/media/movie_5") + "?" + new Date() + Math.random();
|
||||
media.src = getVideoURI("/media/2x2-green") + "?" + new Date() + Math.random();
|
||||
media.play();
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE HTML>
|
||||
<title>object setCustomValidity</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
|
||||
<object id='object_test'></object>
|
||||
|
||||
<script>
|
||||
|
||||
test(() => {
|
||||
let elem = document.getElementById("object_test");
|
||||
assert_false(elem.validity.customError);
|
||||
elem.setCustomValidity("custom error");
|
||||
assert_true(elem.validity.customError);
|
||||
}, "object setCustomValidity is correct")
|
||||
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue