Skip to content
Permalink
Browse files

Update web-platform-tests to revision 76ef43a54441ca53b6931dd714eb912…

…4404bff76
  • Loading branch information...
servo-wpt-sync committed Jun 24, 2019
1 parent a2b195a commit b0f3d082abad57f67f936ce0c6e55f70893e3ccb
Showing with 181 additions and 197 deletions.
  1. +0 −3 tests/wpt/metadata/FileAPI/url/url-with-fetch.any.js.ini
  2. +27 −7 tests/wpt/metadata/MANIFEST.json
  3. +0 −36 tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini
  4. +0 −2 tests/wpt/metadata/css/cssom-view/matchMedia-display-none-iframe.html.ini
  5. +3 −12 tests/wpt/metadata/fetch/content-type/response.window.js.ini
  6. +0 −3 tests/wpt/metadata/fetch/content-type/script.window.js.ini
  7. +0 −3 tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini
  8. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_1.html.ini
  9. +0 −4 tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_3.html.ini
  10. +1 −1 ...history/the-history-interface/{traverse_the_history_2.html.ini → traverse_the_history_5.html.ini}
  11. +1 −0 tests/wpt/metadata/workers/baseurl/alpha/sharedworker-in-worker.html.ini
  12. +0 −1 tests/wpt/metadata/workers/semantics/multiple-workers/005.html.ini
  13. +50 −0 tests/wpt/web-platform-tests/shape-detection/detection-HTMLVideoElement-invalid-state.html
  14. +22 −9 tests/wpt/web-platform-tests/shape-detection/shapedetection-cross-origin.sub.html
  15. +12 −0 tests/wpt/web-platform-tests/svg/scripted/script-runs-in-shadow-tree.html
  16. +5 −19 tests/wpt/web-platform-tests/webrtc-identity/RTCPeerConnection-peerIdentity.https.html
  17. +39 −85 tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-ontrack.https.html
  18. +7 −4 tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/2_tracks-ref.html
  19. +3 −0 tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/2_tracks.html
  20. +8 −4 tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/3_tracks-ref.html
  21. +3 −0 tests/wpt/web-platform-tests/webvtt/rendering/cues-with-video/processing-model/3_tracks.html
@@ -37,6 +37,3 @@
[Revoke blob URL after creating Request, will fetch]
expected: FAIL

[Revoke blob URL after calling fetch, fetch should succeed]
expected: FAIL

{}
]
],
"shape-detection/detection-HTMLVideoElement-invalid-state.html": [
[
"shape-detection/detection-HTMLVideoElement-invalid-state.html",
{}
]
],
"shape-detection/detection-HTMLVideoElement.html": [
[
"shape-detection/detection-HTMLVideoElement.html",
{}
]
],
"svg/scripted/script-runs-in-shadow-tree.html": [
[
"svg/scripted/script-runs-in-shadow-tree.html",
{}
]
],
"svg/scripted/text-attrs-dxdy-have-length.svg": [
[
"svg/scripted/text-attrs-dxdy-have-length.svg",
"979efabdcb07cfdc0190383026a24e144dea1747",
"testharness"
],
"shape-detection/detection-HTMLVideoElement-invalid-state.html": [
"e777c96e4a1737968d60f390bf97d5f4c971e95d",
"testharness"
],
"shape-detection/detection-HTMLVideoElement.html": [
"7b3736d02e9b6b0769a18354b054e5c3ce268773",
"testharness"
"support"
],
"shape-detection/shapedetection-cross-origin.sub.html": [
"c9d86430356de470bca7a8dfef8596e9159164ad",
"f45369266973ee771c648d01b6e4a48ce1282959",
"testharness"
],
"shape-detection/shapedetection-empty-input.html": [
"786290a158b99a727bf26c4a30556246d30af8dc",
"reftest"
],
"svg/scripted/script-runs-in-shadow-tree.html": [
"d3a896fb93da55973f31fc574b13a6ad62bd1e94",
"testharness"
],
"svg/scripted/text-attrs-dxdy-have-length.svg": [
"a5f07e29a11ad0279b4645059f50573e76f909cc",
"testharness"
"testharness"
],
"webrtc-identity/RTCPeerConnection-peerIdentity.https.html": [
"518d57777aa79cd2c74ac1820f3538c4afb2732b",
"f372e37a9a693ccf35597f47273d139f7f6b74a0",
"testharness"
],
"webrtc-identity/identity-helper.sub.js": [
"testharness"
],
"webrtc/RTCPeerConnection-ontrack.https.html": [
"10210129acd598fd959124fbe51462de8a1cdb0b",
"99f30c264b3648d52fda6bb50de980bcbe84be3c",
"testharness"
],
"webrtc/RTCPeerConnection-remote-track-mute.https.html": [
"reftest"
],
"webvtt/rendering/cues-with-video/processing-model/2_tracks-ref.html": [
"1a46c4d83f8dab463739d1928c4fd87d4975f2bb",
"fa969b1ab08ed393425c38b19b1b1f54a31e341c",
"support"
],
"webvtt/rendering/cues-with-video/processing-model/2_tracks.html": [
"f422d73d6d767b4de5f296e9b67eb8072b0e43cc",
"7648d876928dad228e3e84a2afa4a5ab8276773f",
"reftest"
],
"webvtt/rendering/cues-with-video/processing-model/3_tracks-ref.html": [
"bec3c0557ca557457f113c95a79cc3132899c373",
"9fc52199fd01b5662e5db2a9a527a446bbe748cd",
"support"
],
"webvtt/rendering/cues-with-video/processing-model/3_tracks.html": [
"809e173b46db0f2c3c65a708ad841703602c40f9",
"c0d5c161cb918ee6738199f8b5220861b0401805",
"reftest"
],
"webvtt/rendering/cues-with-video/processing-model/align_center-ref.html": [
@@ -56,9 +56,6 @@
[outline-width length(px) / values]
expected: FAIL

[border-left-width length(em) / values]
expected: FAIL

[border-bottom-width length(px) / values]
expected: FAIL

@@ -92,12 +89,6 @@
[min-width length(px) / values]
expected: FAIL

[border-top-color color(rgba) / values]
expected: FAIL

[border-right-color color(rgba) / values]
expected: FAIL

[font-size length(ex) / values]
expected: FAIL

@@ -128,9 +119,6 @@
[font-size length(em) / values]
expected: FAIL

[border-left-width length(mm) / values]
expected: FAIL

[vertical-align length(em) / values]
expected: FAIL

@@ -212,9 +200,6 @@
[letter-spacing length(in) / values]
expected: FAIL

[border-bottom-color color(rgba) / values]
expected: FAIL

[min-width percentage(%) / values]
expected: FAIL

@@ -233,9 +218,6 @@
[vertical-align length(pt) / values]
expected: FAIL

[border-left-color color(rgba) / values]
expected: FAIL

[letter-spacing length(pc) / values]
expected: FAIL

@@ -302,15 +284,9 @@
[border-top-width length(pc) / values]
expected: FAIL

[border-left-width length(px) / values]
expected: FAIL

[font-size length(px) / values]
expected: FAIL

[border-left-width length(cm) / values]
expected: FAIL

[border-right-width length(px) / values]
expected: FAIL

@@ -332,9 +308,6 @@
[border-right-width length(pt) / values]
expected: FAIL

[border-left-width length(in) / values]
expected: FAIL

[max-height length(in) / values]
expected: FAIL

@@ -365,15 +338,9 @@
[letter-spacing length(ex) / values]
expected: FAIL

[border-left-width length(ex) / values]
expected: FAIL

[outline-width length(mm) / values]
expected: FAIL

[border-left-width length(pc) / values]
expected: FAIL

[outline-width length(pc) / values]
expected: FAIL

@@ -428,9 +395,6 @@
[z-index integer(integer) / values]
expected: FAIL

[border-left-width length(pt) / values]
expected: FAIL

[vertical-align length(mm) / values]
expected: FAIL

This file was deleted.

@@ -84,9 +84,6 @@
[Request: combined response Content-Type: text/html text/plain]
expected: FAIL

[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL

[<iframe>: combined response Content-Type: text/plain;charset=gbk text/html;charset=windows-1254]
expected: FAIL

@@ -306,9 +303,6 @@
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN

[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL

@@ -321,15 +315,12 @@
[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL

[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL

[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL

[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL

[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL

@@ -56,9 +56,6 @@
[separate text/javascript x/x]
expected: FAIL

[separate text/javascript;charset=windows-1252 error text/javascript]
expected: FAIL

[separate text/javascript ]
expected: FAIL

@@ -11,6 +11,3 @@
[X-Content-Type-Options%3A%20nosniff%0C]
expected: FAIL

[X-Content-Type-Options%3A%20'NosniFF']
expected: FAIL

This file was deleted.

This file was deleted.

@@ -1,4 +1,4 @@
[traverse_the_history_2.html]
[traverse_the_history_5.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

@@ -1,4 +1,5 @@
[sharedworker-in-worker.html]
expected: ERROR
[Base URL in workers: new SharedWorker()]
expected: FAIL

@@ -1,5 +1,4 @@
[005.html]
expected: ERROR
[dedicated worker in shared worker in dedicated worker]
expected: FAIL

@@ -0,0 +1,50 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
const videoElementTests =
[
{
createDetector: () => { return new FaceDetector(); },
name: "Face - detect(HTMLVideoElement)",
},
{
createDetector: () => { return new BarcodeDetector(); },
name: "Barcode - detect(HTMLVideoElement)",
}
];
for (let videoElementTest of videoElementTests) {
// Detector's detect() rejects on a HAVE_NOTHING HTMLVideoElement.
promise_test(async t => {
const video = document.createElement("video");
video.src = "";
const videoWatcher = new EventWatcher(t, video, ["play", "error"]);
video.load();
await videoWatcher.wait_for("error");
assert_equals(video.readyState, video.HAVE_NOTHING);
const detector = videoElementTest.createDetector();
await promise_rejects(t, 'InvalidStateError', detector.detect(video));
}, `${videoElementTest.name} - HAVE_NOTHING`);
// Detector's detect() rejects on a HAVE_METADATA HTMLVideoElement.
promise_test(async t => {
const video = document.createElement("video");
video.src = "/media/white.webm";
video.loop = true;
video.autoplay = true;
const videoWatcher = new EventWatcher(t, video, ["loadedmetadata", "error"]);
video.load();
await videoWatcher.wait_for("loadedmetadata");
assert_equals(video.readyState, video.HAVE_METADATA);
const detector = videoElementTest.createDetector();
await promise_rejects(t, 'InvalidStateError', detector.detect(video));
}, `${videoElementTest.name} - HAVE_METADATA`);
}
</script>

0 comments on commit b0f3d08

Please sign in to comment.
You can’t perform that action at this time.