mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 2221fe343f0f4cb4e4e382bfd43bc8b1e69a98ba
This commit is contained in:
parent
8073e9a505
commit
733bcbdd2b
9 changed files with 89 additions and 21 deletions
|
@ -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": [
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -11,3 +11,6 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%0C]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20%2Cnosniff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[javascript-url-abort-return-value-undefined.tentative.html]
|
||||
expected: TIMEOUT
|
||||
[Not aborting fetch for javascript:undefined navigation]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[traverse_the_history_4.html]
|
||||
[Multiple history traversals, last would be aborted]
|
||||
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
|
||||
|
||||
|
|
|
@ -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>
|
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue