diff options
9 files changed, 89 insertions, 21 deletions
diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 8ba281c6f91..6f0b39a8648 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -133699,6 +133699,18 @@ {} ] ], + "css/css-pseudo/marker-display-dynamic-001.html": [ + [ + "css/css-pseudo/marker-display-dynamic-001.html", + [ + [ + "/css/css-pseudo/marker-color-ref.html", + "==" + ] + ], + {} + ] + ], "css/css-pseudo/marker-font-properties.html": [ [ "css/css-pseudo/marker-font-properties.html", @@ -596909,6 +596921,10 @@ "d45c76696eca826456988d7884adcaa52bfad9cd", "reftest" ], + "css/css-pseudo/marker-display-dynamic-001.html": [ + "c06da7ca803455559a7a12b915d9083b32106cd1", + "reftest" + ], "css/css-pseudo/marker-font-properties-ref.html": [ "a8fb980ff09cf8e326e6728976ac6dd8230866f3", "support" @@ -715970,7 +715986,7 @@ "testharness" ], "webrtc/RTCPeerConnection-addIceCandidate.html": [ - "51a5677699fd635335ede3f7e41ec48b17d3e60c", + "3641252a13de00ef05248ade299a98c578fab448", "testharness" ], "webrtc/RTCPeerConnection-addTrack.https.html": [ diff --git a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini index 73f394805d7..2dc6574f235 100644 --- a/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini +++ b/tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini @@ -332,3 +332,6 @@ [Matching font-stretch: '90%' should prefer '90% 100%' over '50% 80%'] expected: FAIL + [Matching font-weight: '400' should prefer '400' over '450 460'] + expected: FAIL + diff --git a/tests/wpt/metadata/fetch/content-type/response.window.js.ini b/tests/wpt/metadata/fetch/content-type/response.window.js.ini index 18f786d4963..86bb304a673 100644 --- a/tests/wpt/metadata/fetch/content-type/response.window.js.ini +++ b/tests/wpt/metadata/fetch/content-type/response.window.js.ini @@ -163,7 +163,7 @@ expected: NOTRUN [<iframe>: combined response Content-Type: text/html;" " text/plain] - expected: FAIL + expected: TIMEOUT [Request: combined response Content-Type: text/plain;charset=gbk;x=foo text/plain] expected: NOTRUN @@ -202,7 +202,7 @@ expected: NOTRUN [<iframe>: separate response Content-Type: text/html;" " text/plain] - expected: FAIL + expected: TIMEOUT [fetch(): separate response Content-Type: text/plain */*;charset=gbk] expected: NOTRUN @@ -312,3 +312,15 @@ [<iframe>: separate response Content-Type: text/plain */*;charset=gbk] expected: FAIL + [<iframe>: combined response Content-Type: text/html */*] + expected: FAIL + + [<iframe>: separate response Content-Type: text/plain;charset=gbk text/html] + expected: FAIL + + [<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html] + expected: FAIL + + [<iframe>: combined response Content-Type: text/html;" \\" text/plain] + expected: FAIL + diff --git a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini index 87c807a49ff..536384f36e1 100644 --- a/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini +++ b/tests/wpt/metadata/fetch/nosniff/parsing-nosniff.window.js.ini @@ -11,3 +11,6 @@ [X-Content-Type-Options%3A%20nosniff%0C] expected: FAIL + [X-Content-Type-Options%3A%20%2Cnosniff] + expected: FAIL + diff --git a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini b/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini deleted file mode 100644 index 78879bad5f1..00000000000 --- a/tests/wpt/metadata/html/browsers/browsing-the-web/navigating-across-documents/javascript-url-abort/javascript-url-abort-return-value-undefined.tentative.html.ini +++ /dev/null @@ -1,5 +0,0 @@ -[javascript-url-abort-return-value-undefined.tentative.html] - expected: TIMEOUT - [Not aborting fetch for javascript:undefined navigation] - expected: TIMEOUT - diff --git a/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini new file mode 100644 index 00000000000..385376c7321 --- /dev/null +++ b/tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini @@ -0,0 +1,4 @@ +[traverse_the_history_4.html] + [Multiple history traversals, last would be aborted] + expected: FAIL + diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini index 66bd350083b..a56bad443a2 100644 --- a/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini +++ b/tests/wpt/metadata/webaudio/the-audio-api/the-analysernode-interface/realtimeanalyser-fft-scaling.html.ini @@ -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 diff --git a/tests/wpt/web-platform-tests/css/css-pseudo/marker-display-dynamic-001.html b/tests/wpt/web-platform-tests/css/css-pseudo/marker-display-dynamic-001.html new file mode 100644 index 00000000000..c06da7ca803 --- /dev/null +++ b/tests/wpt/web-platform-tests/css/css-pseudo/marker-display-dynamic-001.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<meta charset="utf-8"> +<title>CSS Test: ::marker is created dynamically properly</title> +<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> +<link rel="author" title="Mozilla" href="https://mozilla.org"> +<link rel="match" href="marker-color-ref.html"> +<link rel="help" href="https://drafts.csswg.org/css-pseudo-4/#marker-pseudo"> +<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1538589"> +<style> +li { + color: green; + font-size: 40px; + list-style-type: square; +} +::marker { + display: none; +} +.tweak::marker { + display: initial; +} +</style> +<ol> + <li><!-- The list marker should be a green square.--></li> +</ol> +<script> + onload = function() { + let li = document.querySelector("li"); + li.offsetTop; + li.classList.add("tweak"); + } +</script> diff --git a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html index 51a5677699f..3641252a13d 100644 --- a/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html +++ b/tests/wpt/web-platform-tests/webrtc/RTCPeerConnection-addIceCandidate.html @@ -176,12 +176,15 @@ a=rtcp-rsize t.add_cleanup(() => pc.close()); await pc.setRemoteDescription(sessionDesc); - await pc.addIceCandidate({usernameFragment: usernameFragment1}); + await pc.addIceCandidate({ + usernameFragment: usernameFragment1, + sdpMid: sdpMid1 + }); assert_candidate_line_between(pc.remoteDescription.sdp, mediaLine1, endOfCandidateLine, mediaLine2); assert_false(is_candidate_line_after(pc.remoteDescription.sdp, mediaLine2, endOfCandidateLine)); - }, 'addIceCandidate({usernameFragment: usernameFragment1}) should work, and add a=end-of-candidates to the first m-section'); + }, 'addIceCandidate({usernameFragment: usernameFragment1, sdpMid: sdpMid1}) should work, and add a=end-of-candidates to the first m-section'); promise_test(async t => { const pc = new RTCPeerConnection(); @@ -189,12 +192,15 @@ a=rtcp-rsize t.add_cleanup(() => pc.close()); await pc.setRemoteDescription(sessionDesc); - await pc.addIceCandidate({usernameFragment: usernameFragment2}); + await pc.addIceCandidate({ + usernameFragment: usernameFragment2, + sdpMLineIndex: 1 + }); assert_false(is_candidate_line_between(pc.remoteDescription.sdp, mediaLine1, endOfCandidateLine, mediaLine2)); assert_true(is_candidate_line_after(pc.remoteDescription.sdp, mediaLine2, endOfCandidateLine)); - }, 'addIceCandidate({usernameFragment: usernameFragment2}) should work, and add a=end-of-candidates to the first m-section'); + }, 'addIceCandidate({usernameFragment: usernameFragment2, sdpMLineIndex: 1}) should work, and add a=end-of-candidates to the first m-section'); promise_test(async t => { const pc = new RTCPeerConnection(); @@ -202,12 +208,9 @@ a=rtcp-rsize t.add_cleanup(() => pc.close()); await pc.setRemoteDescription(sessionDesc); - await pc.addIceCandidate({usernameFragment: "no such ufrag"}); - assert_false(is_candidate_line_between(pc.remoteDescription.sdp, - mediaLine1, endOfCandidateLine, mediaLine2)); - assert_false(is_candidate_line_after(pc.remoteDescription.sdp, - mediaLine2, endOfCandidateLine)); - }, 'addIceCandidate({usernameFragment: "no such ufrag"}) should work, but not add a=end-of-candidates'); + await promise_rejects(t, 'OperationError', + pc.addIceCandidate({usernameFragment: "no such ufrag"})); + }, 'addIceCandidate({usernameFragment: "no such ufrag"}) should not work'); promise_test(t => { const pc = new RTCPeerConnection(); @@ -316,7 +319,7 @@ a=rtcp-rsize candidate: candidateStr1, sdpMid: sdpMid1, sdpMLineIndex: sdpMLineIndex1, - ufrag: null + usernameFragment: null })) .then(() => { assert_candidate_line_between(pc.remoteDescription.sdp, @@ -539,7 +542,7 @@ a=rtcp-rsize candidate: candidateStr1, sdpMid: sdpMid1, sdpMLineIndex: sdpMLineIndex1, - ufrag: 'invalid' + usernameFragment: 'invalid' }))); }, 'Add candidate with invalid usernameFragment should reject with OperationError'); @@ -578,7 +581,7 @@ a=rtcp-rsize candidate: candidateStr2, sdpMid: sdpMid2, sdpMLineIndex: sdpMLineIndex2, - usernameFragement: usernameFragment1 + usernameFragment: usernameFragment1 }))); }, 'Add candidate with sdpMid belonging to different usernameFragment should reject with OperationError'); |