aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/wpt/metadata/MANIFEST.json240
-rw-r--r--tests/wpt/metadata/css/CSS2/floats/float-nowrap-2.html.ini2
-rw-r--r--tests/wpt/metadata/css/CSS2/floats/float-nowrap-3.html.ini2
-rw-r--r--tests/wpt/metadata/css/CSS2/floats/float-nowrap-5.html.ini2
-rw-r--r--tests/wpt/metadata/css/CSS2/floats/float-nowrap-7.html.ini2
-rw-r--r--tests/wpt/metadata/css/CSS2/floats/float-nowrap-8.html.ini2
-rw-r--r--tests/wpt/metadata/css/CSS2/floats/float-nowrap-9.html.ini2
-rw-r--r--tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini2
-rw-r--r--tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini2
-rw-r--r--tests/wpt/metadata/css/css-fonts/variations/at-font-face-font-matching.html.ini3
-rw-r--r--tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-050.html.ini2
-rw-r--r--tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-054.html.ini2
-rw-r--r--tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-059.html.ini2
-rw-r--r--tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-164.html.ini2
-rw-r--r--tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-165.html.ini2
-rw-r--r--tests/wpt/metadata/css/css-text/i18n/zh/css-text-line-break-zh-in-strict.html.ini3
-rw-r--r--tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini2
-rw-r--r--tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini6
-rw-r--r--tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini173
-rw-r--r--tests/wpt/metadata/custom-elements/parser/parser-sets-attributes-and-children.html.ini2
-rw-r--r--tests/wpt/metadata/encoding/single-byte-decoder.html.ini2
-rw-r--r--tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini1
-rw-r--r--tests/wpt/metadata/html/browsers/history/the-history-interface/traverse_the_history_4.html.ini4
-rw-r--r--tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini3
-rw-r--r--tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/ignore-opens-during-unload.window.js.ini32
-rw-r--r--tests/wpt/metadata/url/urlencoded-parser.any.js.ini16
-rw-r--r--tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html.ini10
-rw-r--r--tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini2
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1-notref.html21
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1.html24
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-2.html25
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3-ref.html29
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3.html28
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4-ref.html26
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4.html28
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5-ref.html5
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5.html16
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-6.html16
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-7.html26
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-8.html24
-rw-r--r--tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-9.html28
-rw-r--r--tests/wpt/web-platform-tests/css/css-transitions/transitions-animatable-properties-01.html1
-rw-r--r--tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl-ref.html4
-rw-r--r--tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html17
-rw-r--r--tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md72
-rw-r--r--tests/wpt/web-platform-tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html1
-rw-r--r--tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html3
-rw-r--r--tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints.html4
-rw-r--r--tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getCapabilities.html8
-rw-r--r--tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getConstraints-fast.html1
-rw-r--r--tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getSettings.html1
-rw-r--r--tests/wpt/web-platform-tests/resources/chromium/image_capture.mojom.js69
-rw-r--r--tests/wpt/web-platform-tests/resources/chromium/mock-imagecapture.js9
-rw-r--r--tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html63
-rw-r--r--tests/wpt/web-platform-tests/webrtc/RTCConfiguration-iceServers.html44
55 files changed, 966 insertions, 152 deletions
diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json
index a40f5d249ca..d1d373f4557 100644
--- a/tests/wpt/metadata/MANIFEST.json
+++ b/tests/wpt/metadata/MANIFEST.json
@@ -47933,6 +47933,90 @@
{}
]
],
+ "css/CSS2/floats/float-nowrap-2.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-2.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-1.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-3.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-3.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-3-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-5.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-5.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-5-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-6.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-6.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-5-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-7.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-7.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-1.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-8.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-8.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-1.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-9.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-9.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-3-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
"css/CSS2/floats/floated-table-wider-than-specified.html": [
[
"/css/CSS2/floats/floated-table-wider-than-specified.html",
@@ -164497,6 +164581,18 @@
{}
]
],
+ "css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html": [
+ [
+ "/css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html",
+ [
+ [
+ "/css/cssom-view/cssom-getBoundingClientRect-vertical-rl-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
"css/cssom-view/scrollTop-display-change.html": [
[
"/css/cssom-view/scrollTop-display-change.html",
@@ -191107,6 +191203,42 @@
]
},
"reftest_node": {
+ "css/CSS2/floats/float-nowrap-1.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-1.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-1-notref.html",
+ "!="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-3-ref.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-3-ref.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-4.html",
+ "!="
+ ]
+ ],
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-4.html": [
+ [
+ "/css/CSS2/floats/float-nowrap-4.html",
+ [
+ [
+ "/css/CSS2/floats/float-nowrap-4-ref.html",
+ "=="
+ ]
+ ],
+ {}
+ ]
+ ],
"css/CSS2/floats/floats-placement-vertical-004-ref.xht": [
[
"/css/CSS2/floats/floats-placement-vertical-004-ref.xht",
@@ -230343,6 +230475,21 @@
{}
]
],
+ "css/CSS2/floats/float-nowrap-1-notref.html": [
+ [
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-4-ref.html": [
+ [
+ {}
+ ]
+ ],
+ "css/CSS2/floats/float-nowrap-5-ref.html": [
+ [
+ {}
+ ]
+ ],
"css/CSS2/floats/floats-in-table-caption-001-ref.html": [
[
{}
@@ -270338,6 +270485,11 @@
{}
]
],
+ "css/cssom-view/cssom-getBoundingClientRect-vertical-rl-ref.html": [
+ [
+ {}
+ ]
+ ],
"css/cssom-view/iframe.html": [
[
{}
@@ -336024,9 +336176,7 @@
"css/css-transitions/transitions-animatable-properties-01.html": [
[
"/css/css-transitions/transitions-animatable-properties-01.html",
- {
- "timeout": "long"
- }
+ {}
]
],
"css/css-transitions/zero-duration-multiple-transition.html": [
@@ -479766,6 +479916,58 @@
"59843ae54b64f6ce4f7e616d4be491c911ea84cf",
"support"
],
+ "css/CSS2/floats/float-nowrap-1-notref.html": [
+ "540c8048af61a2c7804d99ff14c3a2bf1f87e6ad",
+ "support"
+ ],
+ "css/CSS2/floats/float-nowrap-1.html": [
+ "656b9398e6b771b5cf0545a1a40bcb36a115301b",
+ "reftest_node"
+ ],
+ "css/CSS2/floats/float-nowrap-2.html": [
+ "fc8e11fadc5e66bc49bbddea99aeed0c4019bec0",
+ "reftest"
+ ],
+ "css/CSS2/floats/float-nowrap-3-ref.html": [
+ "e7556a213662453f22cdcbee2adf3b21e00d6ce6",
+ "reftest_node"
+ ],
+ "css/CSS2/floats/float-nowrap-3.html": [
+ "dbc643c8ca97230ab252769b4278065aec844160",
+ "reftest"
+ ],
+ "css/CSS2/floats/float-nowrap-4-ref.html": [
+ "a8c7b060819839dd1e7107a327dfbf32fb1ea794",
+ "support"
+ ],
+ "css/CSS2/floats/float-nowrap-4.html": [
+ "bf11e6e31c416e85580bc4792b2b3503dd87f99b",
+ "reftest_node"
+ ],
+ "css/CSS2/floats/float-nowrap-5-ref.html": [
+ "7f400841037cfb79bafa2c41d3834cdd942445f4",
+ "support"
+ ],
+ "css/CSS2/floats/float-nowrap-5.html": [
+ "f4403cfb838126b726ef70906d2f8df7bb733f48",
+ "reftest"
+ ],
+ "css/CSS2/floats/float-nowrap-6.html": [
+ "7c6bf9c0db6a112e364760b3320dcff3265be5c8",
+ "reftest"
+ ],
+ "css/CSS2/floats/float-nowrap-7.html": [
+ "bef462d995608e13ae943329022220c55a1f315e",
+ "reftest"
+ ],
+ "css/CSS2/floats/float-nowrap-8.html": [
+ "8c2653193d643a452a416f9e41eb8d8397ab0058",
+ "reftest"
+ ],
+ "css/CSS2/floats/float-nowrap-9.html": [
+ "b4a6b2923097f9f9957d940db42d335b22e73def",
+ "reftest"
+ ],
"css/CSS2/floats/floated-table-wider-than-specified.html": [
"f93d50e43dd3eb49d5c8964200b7fe4ebb5bd6c8",
"reftest"
@@ -561043,7 +561245,7 @@
"testharness"
],
"css/css-transitions/transitions-animatable-properties-01.html": [
- "534f81839ac875ff6b5c5c7b17784258d7a8932c",
+ "06143d3061da89a148adda0e6bf2cf8f968f0f89",
"testharness"
],
"css/css-transitions/zero-duration-multiple-transition.html": [
@@ -572222,6 +572424,14 @@
"a7c3568969a77903d9b49f6b09d70046ba2b98b7",
"testharness"
],
+ "css/cssom-view/cssom-getBoundingClientRect-vertical-rl-ref.html": [
+ "1ee4fe2652ff56655c20963f90810de6a979462f",
+ "support"
+ ],
+ "css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html": [
+ "85ac2a9665953aeb961f12a30dd4d82082d8273a",
+ "reftest"
+ ],
"css/cssom-view/cssom-getBoxQuads-001.html": [
"813c245c7bef7cc726c843445378fb640044e574",
"testharness"
@@ -585811,7 +586021,7 @@
"support"
],
"docs/_writing-tests/testharness.md": [
- "e91302f1d214fb7fd05a9dce2676569321fc2206",
+ "9c21452607e8f3f9e5bbf3ef2fb7771441f4a680",
"support"
],
"docs/_writing-tests/visual.md": [
@@ -614415,7 +614625,7 @@
"testharness"
],
"mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html": [
- "aae75b7e8c91b76d163404d6cc319382606e4e2e",
+ "59a54f51d600fa5c8ee1c092afa5a07f6ae2ae3f",
"testharness"
],
"mediacapture-image/ImageCapture-creation.https.html": [
@@ -614435,7 +614645,7 @@
"testharness"
],
"mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html": [
- "6241d599dc325d9b567eb6900c3daafaded92af3",
+ "1a1b58e5415f9e04ddeb8d1874448c3b98af35e3",
"testharness"
],
"mediacapture-image/MediaStreamTrack-applyConstraints-reject.html": [
@@ -614443,7 +614653,7 @@
"testharness"
],
"mediacapture-image/MediaStreamTrack-applyConstraints.html": [
- "431646eb53f030dce81f15a0130ea660142ce2ce",
+ "8dcff926173266c9e5f14c37ff408832a8a07d7e",
"testharness"
],
"mediacapture-image/MediaStreamTrack-getCapabilities-fast.html": [
@@ -614451,11 +614661,11 @@
"testharness"
],
"mediacapture-image/MediaStreamTrack-getCapabilities.html": [
- "452b223a1b0bf3bad06d956e16b0eff22c8b6507",
+ "eceaf5b1a8665211e42094730619d38143782fdc",
"testharness"
],
"mediacapture-image/MediaStreamTrack-getConstraints-fast.html": [
- "8cae4331318cb32c30e1c89339fdb37fee97a5db",
+ "5a5ce5f2dad58cb47e8b4215bc563e24b34b3119",
"testharness"
],
"mediacapture-image/MediaStreamTrack-getSettings-fast.html": [
@@ -614463,7 +614673,7 @@
"testharness"
],
"mediacapture-image/MediaStreamTrack-getSettings.html": [
- "04fbfbfb6137cf61ee6491e2bef5786f202b43e3",
+ "5e9256eeb740663675ea93d692481556efd97628",
"testharness"
],
"mediacapture-image/detached-HTMLCanvasElement.html": [
@@ -633283,11 +633493,11 @@
"support"
],
"resources/chromium/image_capture.mojom.js": [
- "1d01581e023e4655ec9d5c634aa9c8bbdf79d40b",
+ "11123feb87d06d53f8e933aa18fad118ae6c8737",
"support"
],
"resources/chromium/mock-imagecapture.js": [
- "a700bc97b3e055a66c80aca7cac33cfac3a2334f",
+ "878f59eb0095b65cabffe95c5538bcb79fa97b0d",
"support"
],
"resources/chromium/mojo_bindings.js": [
@@ -652835,7 +653045,7 @@
"support"
],
"webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html": [
- "98a171ad059eaf9b8e24f3f46db4658f76773f19",
+ "cdad5977c70251edc0e8ecfac68c42cc4d2c7e41",
"testharness"
],
"webaudio/the-audio-api/the-pannernode-interface/distance-exponential.html": [
@@ -654371,7 +654581,7 @@
"testharness"
],
"webrtc/RTCConfiguration-iceServers.html": [
- "42bc896349ccf4f81384d16d7d465d0aa90aa489",
+ "6069c25af4accf7334f25f1bd30b687c2022aa6c",
"testharness"
],
"webrtc/RTCConfiguration-iceTransportPolicy.html": [
diff --git a/tests/wpt/metadata/css/CSS2/floats/float-nowrap-2.html.ini b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-2.html.ini
new file mode 100644
index 00000000000..7d7dc81b6bd
--- /dev/null
+++ b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-2.html.ini
@@ -0,0 +1,2 @@
+[float-nowrap-2.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/CSS2/floats/float-nowrap-3.html.ini b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-3.html.ini
new file mode 100644
index 00000000000..36f0336a409
--- /dev/null
+++ b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-3.html.ini
@@ -0,0 +1,2 @@
+[float-nowrap-3.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/CSS2/floats/float-nowrap-5.html.ini b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-5.html.ini
new file mode 100644
index 00000000000..1fee92769c9
--- /dev/null
+++ b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-5.html.ini
@@ -0,0 +1,2 @@
+[float-nowrap-5.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/CSS2/floats/float-nowrap-7.html.ini b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-7.html.ini
new file mode 100644
index 00000000000..d3a5d2cbe02
--- /dev/null
+++ b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-7.html.ini
@@ -0,0 +1,2 @@
+[float-nowrap-7.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/CSS2/floats/float-nowrap-8.html.ini b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-8.html.ini
new file mode 100644
index 00000000000..8e07c478055
--- /dev/null
+++ b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-8.html.ini
@@ -0,0 +1,2 @@
+[float-nowrap-8.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/CSS2/floats/float-nowrap-9.html.ini b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-9.html.ini
new file mode 100644
index 00000000000..8eab0f65aff
--- /dev/null
+++ b/tests/wpt/metadata/css/CSS2/floats/float-nowrap-9.html.ini
@@ -0,0 +1,2 @@
+[float-nowrap-9.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini b/tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini
new file mode 100644
index 00000000000..86715ffc9c2
--- /dev/null
+++ b/tests/wpt/metadata/css/CSS2/floats/floats-in-table-caption-001.html.ini
@@ -0,0 +1,2 @@
+[floats-in-table-caption-001.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini b/tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini
deleted file mode 100644
index 3d28990c283..00000000000
--- a/tests/wpt/metadata/css/CSS2/visudet/line-height-204.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[line-height-204.html]
- expected: FAIL
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 9b8f6a6602d..2ebb4ee549a 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 @@
[Descriptor matching priority: Style has higher priority than weight]
expected: FAIL
+ [Matching font-weight: '430' should prefer '501 550' over '502 560']
+ expected: FAIL
+
diff --git a/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-050.html.ini b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-050.html.ini
new file mode 100644
index 00000000000..3e0b732a20f
--- /dev/null
+++ b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-050.html.ini
@@ -0,0 +1,2 @@
+[css3-text-line-break-opclns-050.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-054.html.ini b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-054.html.ini
new file mode 100644
index 00000000000..247462a9f2f
--- /dev/null
+++ b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-054.html.ini
@@ -0,0 +1,2 @@
+[css3-text-line-break-opclns-054.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-059.html.ini b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-059.html.ini
new file mode 100644
index 00000000000..926f5631fe8
--- /dev/null
+++ b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-059.html.ini
@@ -0,0 +1,2 @@
+[css3-text-line-break-opclns-059.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-164.html.ini b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-164.html.ini
new file mode 100644
index 00000000000..2853708ba60
--- /dev/null
+++ b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-164.html.ini
@@ -0,0 +1,2 @@
+[css3-text-line-break-opclns-164.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-165.html.ini b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-165.html.ini
new file mode 100644
index 00000000000..8bcf1b74f6e
--- /dev/null
+++ b/tests/wpt/metadata/css/css-text/i18n/css3-text-line-break-opclns-165.html.ini
@@ -0,0 +1,2 @@
+[css3-text-line-break-opclns-165.html]
+ expected: FAIL
diff --git a/tests/wpt/metadata/css/css-text/i18n/zh/css-text-line-break-zh-in-strict.html.ini b/tests/wpt/metadata/css/css-text/i18n/zh/css-text-line-break-zh-in-strict.html.ini
index 102a231a234..f32b05ecd88 100644
--- a/tests/wpt/metadata/css/css-text/i18n/zh/css-text-line-break-zh-in-strict.html.ini
+++ b/tests/wpt/metadata/css/css-text/i18n/zh/css-text-line-break-zh-in-strict.html.ini
@@ -11,6 +11,3 @@
[FE19 PRESENTATION FORM FOR VERTICAL HORIZONTAL ELLIPSIS may NOT appear at line start if zh and strict]
expected: FAIL
- [22EF MIDLINE HORIZONTAL ELLIPSIS may NOT appear at line start if zh and strict]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini b/tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini
deleted file mode 100644
index bbb2e5f171e..00000000000
--- a/tests/wpt/metadata/css/css-transforms/css-transforms-3d-on-anonymous-block-001.html.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[css-transforms-3d-on-anonymous-block-001.html]
- expected: FAIL
diff --git a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini
index fc4e1b87fbd..8eff4a9c63e 100644
--- a/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini
+++ b/tests/wpt/metadata/css/css-transitions/properties-value-inherit-002.html.ini
@@ -335,9 +335,6 @@
[border-left-width length(in) / values]
expected: FAIL
- [text-shadow shadow(shadow) / values]
- expected: FAIL
-
[background-position length(pc) / events]
expected: FAIL
@@ -464,9 +461,6 @@
[border-bottom-width length(pc) / values]
expected: FAIL
- [text-indent percentage(%) / values]
- expected: FAIL
-
[line-height length(pc) / values]
expected: FAIL
diff --git a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini
index 7ccf6daaa75..5135a133e03 100644
--- a/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini
+++ b/tests/wpt/metadata/css/css-transitions/transitions-animatable-properties-01.html.ini
@@ -1,30 +1,31 @@
[transitions-animatable-properties-01.html]
+ expected: TIMEOUT
[border-bottom-width intermediate]
expected: FAIL
[z-index intermediate]
- expected: FAIL
+ expected: NOTRUN
[text-indent intermediate]
- expected: FAIL
+ expected: NOTRUN
[border-color end]
expected: FAIL
[word-spacing intermediate]
- expected: FAIL
+ expected: NOTRUN
[outline-width intermediate]
- expected: FAIL
+ expected: NOTRUN
[vertical-align intermediate]
- expected: FAIL
+ expected: NOTRUN
[right intermediate]
- expected: FAIL
+ expected: NOTRUN
[min-width intermediate]
- expected: FAIL
+ expected: NOTRUN
[background-position end]
expected: FAIL
@@ -33,10 +34,10 @@
expected: FAIL
[top intermediate]
- expected: FAIL
+ expected: NOTRUN
[font-weight intermediate]
- expected: FAIL
+ expected: NOTRUN
[clip intermediate]
expected: FAIL
@@ -48,26 +49,170 @@
expected: FAIL
[min-height intermediate]
- expected: FAIL
+ expected: NOTRUN
[border-top-width intermediate]
expected: FAIL
[max-width intermediate]
- expected: FAIL
+ expected: NOTRUN
[max-height intermediate]
- expected: FAIL
+ expected: NOTRUN
[outline-offset intermediate]
- expected: FAIL
+ expected: NOTRUN
[border-spacing intermediate]
expected: FAIL
[left intermediate]
- expected: FAIL
+ expected: NOTRUN
[bottom intermediate]
expected: FAIL
+ [margin-right end]
+ expected: NOTRUN
+
+ [opacity end]
+ expected: NOTRUN
+
+ [padding-right end]
+ expected: NOTRUN
+
+ [width end]
+ expected: NOTRUN
+
+ [word-spacing end]
+ expected: NOTRUN
+
+ [max-height end]
+ expected: NOTRUN
+
+ [max-width end]
+ expected: NOTRUN
+
+ [outline-color end]
+ expected: NOTRUN
+
+ [text-indent end]
+ expected: NOTRUN
+
+ [height end]
+ expected: NOTRUN
+
+ [width intermediate]
+ expected: NOTRUN
+
+ [outline-offset end]
+ expected: NOTRUN
+
+ [margin-top end]
+ expected: NOTRUN
+
+ [outline-width end]
+ expected: NOTRUN
+
+ [line-height end]
+ expected: NOTRUN
+
+ [padding-right intermediate]
+ expected: NOTRUN
+
+ [min-height end]
+ expected: NOTRUN
+
+ [margin-top intermediate]
+ expected: NOTRUN
+
+ [padding-left end]
+ expected: NOTRUN
+
+ [text-shadow intermediate]
+ expected: NOTRUN
+
+ [top end]
+ expected: NOTRUN
+
+ [font-weight end]
+ expected: NOTRUN
+
+ [font-size end]
+ expected: NOTRUN
+
+ [line-height intermediate]
+ expected: NOTRUN
+
+ [height intermediate]
+ expected: NOTRUN
+
+ [visibility intermediate]
+ expected: NOTRUN
+
+ [text-shadow end]
+ expected: NOTRUN
+
+ [margin-left end]
+ expected: NOTRUN
+
+ [letter-spacing intermediate]
+ expected: NOTRUN
+
+ [min-width end]
+ expected: NOTRUN
+
+ [right end]
+ expected: NOTRUN
+
+ [margin-left intermediate]
+ expected: NOTRUN
+
+ [margin-right intermediate]
+ expected: NOTRUN
+
+ [padding-left intermediate]
+ expected: NOTRUN
+
+ [padding-top end]
+ expected: NOTRUN
+
+ [letter-spacing end]
+ expected: NOTRUN
+
+ [margin-bottom end]
+ expected: NOTRUN
+
+ [opacity intermediate]
+ expected: NOTRUN
+
+ [vertical-align end]
+ expected: NOTRUN
+
+ [padding-top intermediate]
+ expected: NOTRUN
+
+ [padding-bottom intermediate]
+ expected: NOTRUN
+
+ [visibility end]
+ expected: NOTRUN
+
+ [left end]
+ expected: NOTRUN
+
+ [outline-color intermediate]
+ expected: NOTRUN
+
+ [padding-bottom end]
+ expected: NOTRUN
+
+ [margin-bottom intermediate]
+ expected: NOTRUN
+
+ [font-size intermediate]
+ expected: NOTRUN
+
+ [z-index end]
+ expected: NOTRUN
+
diff --git a/tests/wpt/metadata/custom-elements/parser/parser-sets-attributes-and-children.html.ini b/tests/wpt/metadata/custom-elements/parser/parser-sets-attributes-and-children.html.ini
index b6001e8bba9..b49624917df 100644
--- a/tests/wpt/metadata/custom-elements/parser/parser-sets-attributes-and-children.html.ini
+++ b/tests/wpt/metadata/custom-elements/parser/parser-sets-attributes-and-children.html.ini
@@ -1,2 +1,2 @@
[parser-sets-attributes-and-children.html]
- expected: CRASH
+ expected: TIMEOUT
diff --git a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini
index f72b3d38837..32626f90fad 100644
--- a/tests/wpt/metadata/encoding/single-byte-decoder.html.ini
+++ b/tests/wpt/metadata/encoding/single-byte-decoder.html.ini
@@ -2,6 +2,7 @@
type: testharness
[single-byte-decoder.html?document]
+ expected: CRASH
[windows-1254: iso_8859-9 (document.characterSet and document.inputEncoding)]
expected: FAIL
@@ -508,6 +509,7 @@
[single-byte-decoder.html?XMLHttpRequest]
+ expected: CRASH
[ISO-8859-2: iso_8859-2:1987 (XMLHttpRequest)]
expected: FAIL
diff --git a/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini b/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini
index 0d630fb814a..3951cd266d5 100644
--- a/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini
+++ b/tests/wpt/metadata/fetch/cross-origin-resource-policy/fetch-in-iframe.html.ini
@@ -1,5 +1,4 @@
[fetch-in-iframe.html]
- expected: CRASH
[Untitled]
expected: FAIL
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/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini b/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini
index 9579b42287e..20865f493ec 100644
--- a/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini
+++ b/tests/wpt/metadata/html/browsers/history/the-location-interface/location-protocol-setter-non-broken.html.ini
@@ -30,6 +30,3 @@
[Set HTTP URL frame location.protocol to data]
expected: FAIL
- [Set HTTP URL frame location.protocol to x]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/ignore-opens-during-unload.window.js.ini b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/ignore-opens-during-unload.window.js.ini
index 4ae5f1b897d..69bd952d756 100644
--- a/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/ignore-opens-during-unload.window.js.ini
+++ b/tests/wpt/metadata/html/webappapis/dynamic-markup-insertion/opening-the-input-stream/ignore-opens-during-unload.window.js.ini
@@ -1,5 +1,5 @@
[ignore-opens-during-unload.window.html]
- expected: CRASH
+ expected: TIMEOUT
[ignore-opens-during-unload]
expected: FAIL
@@ -12,3 +12,33 @@
[document.open should bail out when ignore-opens-during-unload is greater than 0 during pagehide event]
expected: FAIL
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (open(parent) while unloading parent and child)]
+ expected: TIMEOUT
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during beforeunload event (in top-level browsing context)]
+ expected: TIMEOUT
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during beforeunload event (open(parent) while unloading child only)]
+ expected: TIMEOUT
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during pagehide event (open(parent) while unloading parent and child)]
+ expected: TIMEOUT
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during pagehide event (in top-level browsing context)]
+ expected: FAIL
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during unload event (in top-level browsing context)]
+ expected: FAIL
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (in top-level browsing context)]
+ expected: TIMEOUT
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during beforeunload event (open(parent) while unloading parent and child)]
+ expected: TIMEOUT
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during visibilitychange event (open(parent) while unloading child only)]
+ expected: TIMEOUT
+
+ [document.open should bail out when ignore-opens-during-unload is greater than 0 during unload event (open(parent) while unloading parent and child)]
+ expected: TIMEOUT
+
diff --git a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini
index 88948111d26..51aba8bee6a 100644
--- a/tests/wpt/metadata/url/urlencoded-parser.any.js.ini
+++ b/tests/wpt/metadata/url/urlencoded-parser.any.js.ini
@@ -5,7 +5,16 @@
[request.formData() with input: a=b&c=d]
expected: FAIL
- [response.formData() with input: _charset_=windows-1252&test=%C2x]
+ [response.formData() with input: a&b&c]
+ expected: FAIL
+
+ [response.formData() with input: a=b&c=d&]
+ expected: FAIL
+
+ [response.formData() with input: &&&a=b&&&&c=d&]
+ expected: FAIL
+
+ [request.formData() with input: a=b&c=d&]
expected: FAIL
@@ -16,9 +25,6 @@
[request.formData() with input: a&b&c]
expected: FAIL
- [request.formData() with input: a=b&c=d&]
- expected: FAIL
-
- [request.formData() with input: _charset_=windows-1252&test=%C2x]
+ [request.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL
diff --git a/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html.ini b/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html.ini
index c2ec70499b3..0ea0f19da2c 100644
--- a/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html.ini
+++ b/tests/wpt/metadata/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html.ini
@@ -1,5 +1,4 @@
[ctor-panner.html]
- expected: ERROR
[X context = new OfflineAudioContext(...) incorrectly threw ReferenceError: "OfflineAudioContext is not defined".]
expected: FAIL
@@ -27,3 +26,12 @@
[X node instanceof PannerNode is not equal to true. Got false.]
expected: FAIL
+ [X new PannerNode(c, {"coneOuterGain":1.1}) threw "InvalidStateError" instead of InvalidStateError.]
+ expected: FAIL
+
+ [X new PannerNode(c, {"coneOuterGain":-1}) threw "InvalidStateError" instead of InvalidStateError.]
+ expected: FAIL
+
+ [< [test AudioNodeOptions\] 2 out of 28 assertions were failed.]
+ expected: FAIL
+
diff --git a/tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini b/tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini
new file mode 100644
index 00000000000..dbea4f293ad
--- /dev/null
+++ b/tests/wpt/mozilla/meta/css/transition_calc_implicit.html.ini
@@ -0,0 +1,2 @@
+[transition_calc_implicit.html]
+ expected: TIMEOUT
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1-notref.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1-notref.html
new file mode 100644
index 00000000000..540c8048af6
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1-notref.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<title>CSS Test Reference</title>
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<style>
+ div {
+ width: 10ch;
+ white-space: nowrap;
+ font-family: monospace;
+ }
+ span {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+</style>
+<div>
+ <span></span>
+ Some text that overflows my parent.
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1.html
new file mode 100644
index 00000000000..656b9398e6b
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-1.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="mismatch" href="float-nowrap-1-notref.html">
+<style>
+ div {
+ width: 10ch;
+ white-space: nowrap;
+ font-family: monospace;
+ }
+ span {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+</style>
+<div>
+ Some text that overflows my parent.
+ <span></span>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-2.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-2.html
new file mode 100644
index 00000000000..fc8e11fadc5
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-2.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-1.html">
+<style>
+ div {
+ width: 10ch;
+ white-space: nowrap;
+ font-family: monospace;
+ }
+ span {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+</style>
+<div>
+ Some text that
+ <span></span>
+ overflows my parent.
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3-ref.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3-ref.html
new file mode 100644
index 00000000000..e7556a21366
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3-ref.html
@@ -0,0 +1,29 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="mismatch" href="float-nowrap-4.html">
+<style>
+ div {
+ width: 10ch;
+ font-family: monospace;
+ }
+ .float {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+ .nowrap {
+ white-space: nowrap;
+ }
+</style>
+<div>
+ Some
+ <span class="nowrap">
+ text that overflows my parent.
+ </span>
+ <span class="float"></span>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3.html
new file mode 100644
index 00000000000..dbc643c8ca9
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-3.html
@@ -0,0 +1,28 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-3-ref.html">
+<style>
+ div {
+ width: 10ch;
+ font-family: monospace;
+ }
+ .float {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+ .nowrap {
+ white-space: nowrap;
+ }
+</style>
+<div>
+ Some
+ <span class="nowrap">
+ text that overflows <span class="float"></span> my parent.
+ </span>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4-ref.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4-ref.html
new file mode 100644
index 00000000000..a8c7b060819
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4-ref.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<title>CSS Test Reference</title>
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<style>
+ div {
+ width: 10ch;
+ font-family: monospace;
+ }
+ .float {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+ .nowrap {
+ white-space: nowrap;
+ }
+</style>
+<div>
+ Some
+ <span class="float"></span>
+ <span class="nowrap">
+ text that overflows my parent.
+ </span>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4.html
new file mode 100644
index 00000000000..bf11e6e31c4
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-4.html
@@ -0,0 +1,28 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-4-ref.html">
+<style>
+ div {
+ width: 10ch;
+ font-family: monospace;
+ }
+ .float {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+ .nowrap {
+ white-space: nowrap;
+ }
+</style>
+<div>
+ Some
+ <span class="nowrap">
+ <span class="float"></span> text that overflows my parent.
+ </span>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5-ref.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5-ref.html
new file mode 100644
index 00000000000..7f400841037
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5-ref.html
@@ -0,0 +1,5 @@
+<!doctype html>
+<title>CSS Test Reference</title>
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<div>Hello Kittie
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5.html
new file mode 100644
index 00000000000..f4403cfb838
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-5.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-5-ref.html">
+<style>
+ div {
+ white-space: nowrap;
+ }
+ span {
+ float: left;
+ }
+</style>
+<div>Kittie<span>Hello&nbsp;</span>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-6.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-6.html
new file mode 100644
index 00000000000..7c6bf9c0db6
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-6.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-5-ref.html">
+<style>
+ div {
+ white-space: nowrap;
+ }
+ span {
+ float: left;
+ }
+</style>
+<div><span>Hello&nbsp;</span>Kittie
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-7.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-7.html
new file mode 100644
index 00000000000..bef462d9956
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-7.html
@@ -0,0 +1,26 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-1.html">
+<style>
+ div {
+ width: 10ch;
+ white-space: nowrap;
+ font-family: monospace;
+ }
+ .nowrap {
+ white-space: nowrap;
+ }
+ .float {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+</style>
+<div>
+ <span class="nowrap">S<div class="float"></div><span>ome</span> text that overflows my parent.</span>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-8.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-8.html
new file mode 100644
index 00000000000..8c2653193d6
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-8.html
@@ -0,0 +1,24 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-1.html">
+<style>
+ div {
+ width: 10ch;
+ white-space: nowrap;
+ font-family: monospace;
+ }
+ span {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+</style>
+<div>
+ Some <span></span>
+ text that overflows my parent.
+</div>
diff --git a/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-9.html b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-9.html
new file mode 100644
index 00000000000..b4a6b292309
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/CSS2/floats/float-nowrap-9.html
@@ -0,0 +1,28 @@
+<!doctype html>
+<title>CSS Test: Floats in nowrap context</title>
+<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=488725">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
+<link rel="author" href="https://www.mozilla.org" title="Mozilla">
+<link rel="match" href="float-nowrap-3-ref.html">
+<style>
+ div {
+ width: 10ch;
+ font-family: monospace;
+ }
+ .float {
+ float: right;
+ width: 5ch;
+ height: 5ch;
+ background: blue;
+ }
+ .nowrap {
+ white-space: nowrap;
+ }
+</style>
+<div>
+ Some
+ <span class="nowrap">
+ text <span class="float"></span> that overflows my parent.
+ </span>
+</div>
diff --git a/tests/wpt/web-platform-tests/css/css-transitions/transitions-animatable-properties-01.html b/tests/wpt/web-platform-tests/css/css-transitions/transitions-animatable-properties-01.html
index 534f81839ac..06143d3061d 100644
--- a/tests/wpt/web-platform-tests/css/css-transitions/transitions-animatable-properties-01.html
+++ b/tests/wpt/web-platform-tests/css/css-transitions/transitions-animatable-properties-01.html
@@ -5,7 +5,6 @@
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title> CSS Transitions: Animatable CSS properties </title>
<meta name="assert" content="Check that all animatable CSS properties are animatable and then accepted by the 'transition-property' property">
- <meta name="timeout" content="long">
<link rel="author" title="Daniel Glazman" href="mailto:daniel.glazman@disruptive-innovations.com">
<link rel="help" href="http://www.w3.org/TR/css3-transitions/#transitions">
<link rel="help" href="http://www.w3.org/TR/css3-transitions/#animatable-properties">
diff --git a/tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl-ref.html b/tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl-ref.html
new file mode 100644
index 00000000000..1ee4fe2652f
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl-ref.html
@@ -0,0 +1,4 @@
+<!DOCTYPE html>
+<body style="overflow: scroll">
+ <div style="position: absolute; top: 50px; left: 50px; width: 200px; height: 200px; background: green"></div>
+</body>
diff --git a/tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html b/tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html
new file mode 100644
index 00000000000..85ac2a96659
--- /dev/null
+++ b/tests/wpt/web-platform-tests/css/cssom-view/cssom-getBoundingClientRect-vertical-rl.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<title>CSSOM View - 6.1 - getBoundingClientRect tests</title>
+<link rel="help" href="http://www.w3.org/TR/cssom-view/#dom-element-getboundingclientrect">
+<link rel=match href="cssom-getBoundingClientRect-vertical-rl-ref.html">
+<meta name="flags" content="dom">
+<body style="writing-mode: vertical-rl; overflow: scroll">
+ <div id="target" style="position: absolute; top: 50px; left: 50px; width: 200px; height: 200px; background: red"></div>
+ <div id="overlay" style="position: absolute; background: green"></div>
+ <script>
+ var r = document.getElementById('target').getBoundingClientRect();
+ var overlay = document.getElementById('overlay');
+ overlay.style.top = r.top + 'px';
+ overlay.style.left = r.left + 'px';
+ overlay.style.width = r.width + 'px';
+ overlay.style.height = r.height + 'px';
+ </script>
+</body>
diff --git a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md
index e91302f1d21..9c21452607e 100644
--- a/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md
+++ b/tests/wpt/web-platform-tests/docs/_writing-tests/testharness.md
@@ -24,7 +24,7 @@ with testharness.js. See also the [general guidelines][] for all test types.
A test file can have multiple variants by including `meta` elements,
for example:
-```
+```html
<meta name="variant" content="">
<meta name="variant" content="?wss">
```
@@ -36,7 +36,7 @@ There are two utility scripts in that work well together with variants,
a test that would otherwise have too many tests to be useful can be
split up in ranges of subtests. For example:
-```
+```html
<!doctype html>
<title>Testing variants</title>
<meta name="variant" content="?1-1000">
@@ -60,7 +60,7 @@ With `subsetTestByKey`, the key is given as the first argument, and the
query string can include or exclude a key (will be matched as a regular
expression).
-```
+```html
<!doctype html>
<title>Testing variants by key</title>
<meta name="variant" content="?include=Foo">
@@ -103,13 +103,15 @@ JavaScript file with the `.js` removed.
For example, one could write a test for the `FileReaderSync` API by
creating a `FileAPI/FileReaderSync.worker.js` as follows:
- importScripts("/resources/testharness.js");
- test(function () {
- var blob = new Blob(["Hello"]);
- var fr = new FileReaderSync();
- assert_equals(fr.readAsText(blob), "Hello");
- }, "FileReaderSync#readAsText.");
- done();
+```js
+importScripts("/resources/testharness.js");
+test(function () {
+ var blob = new Blob(["Hello"]);
+ var fr = new FileReaderSync();
+ assert_equals(fr.readAsText(blob), "Hello");
+}, "FileReaderSync#readAsText.");
+done();
+```
This test could then be run from `FileAPI/FileReaderSync.worker.html`.
@@ -124,29 +126,33 @@ By default, the test runs in a window scope and a dedicated worker scope.
For example, one could write a test for the `Blob` constructor by
creating a `FileAPI/Blob-constructor.any.js` as follows:
- test(function () {
- var blob = new Blob();
- assert_equals(blob.size, 0);
- assert_equals(blob.type, "");
- assert_false(blob.isClosed);
- }, "The Blob constructor.");
+```js
+test(function () {
+ var blob = new Blob();
+ assert_equals(blob.size, 0);
+ assert_equals(blob.type, "");
+ assert_false(blob.isClosed);
+}, "The Blob constructor.");
+```
This test could then be run from `FileAPI/Blob-constructor.any.worker.html` as well
as `FileAPI/Blob-constructor.any.html`.
It is possible to customize the set of scopes with a metadata comment, such as
- // META: global=sharedworker
- // ==> would run in the default window and dedicated worker scopes,
- // as well as the shared worker scope
- // META: global=!default,serviceworker
- // ==> would only run in the service worker scope
- // META: global=!window
- // ==> would run in the default dedicated worker scope, but not the
- // window scope
- // META: global=worker
- // ==> would run in the default window scope, as well as in the
- // dedicated, shared and service worker scopes
+```
+// META: global=sharedworker
+// ==> would run in the default window and dedicated worker scopes,
+// as well as the shared worker scope
+// META: global=!default,serviceworker
+// ==> would only run in the service worker scope
+// META: global=!window
+// ==> would run in the default dedicated worker scope, but not the
+// window scope
+// META: global=worker
+// ==> would run in the default window scope, as well as in the
+// dedicated, shared and service worker scopes
+```
For a test file <code><var>x</var>.any.js</code>, the available scope keywords
are:
@@ -172,8 +178,10 @@ Use `// META: title=This is the title of the test` at the beginning of the resou
Use `// META: script=link/to/resource.js` at the beginning of the resource. For example,
- // META: script=/common/utils.js
- // META: script=resources/utils.js
+```
+// META: script=/common/utils.js
+// META: script=resources/utils.js
+```
can be used to include both the global and a local `utils.js` in a test.
@@ -185,8 +193,10 @@ Use `// META: timeout=long` at the beginning of the resource.
Use `// META: variant=url-suffix` at the beginning of the resource. For example,
- // META: variant=
- // META: variant=?wss
+```
+// META: variant=
+// META: variant=?wss
+```
[general guidelines]: {{ site.baseurl }}{% link _writing-tests/general-guidelines.md %}
diff --git a/tests/wpt/web-platform-tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html b/tests/wpt/web-platform-tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html
index aae75b7e8c9..59a54f51d60 100644
--- a/tests/wpt/web-platform-tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html
+++ b/tests/wpt/web-platform-tests/mediacapture-image/ImageCapture-MediaTrackSupportedConstraints.html
@@ -18,6 +18,7 @@ test(function() {
assert_true(supported_constraints.contrast);
assert_true(supported_constraints.saturation);
assert_true(supported_constraints.sharpness);
+ assert_true(supported_constraints.focusDistance);
assert_true(supported_constraints.zoom);
assert_true(supported_constraints.torch);
}, 'Image Capture supported constraints');
diff --git a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html
index 6241d599dc3..1a1b58e5415 100644
--- a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html
+++ b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints-getSettings.html
@@ -31,6 +31,7 @@ image_capture_test(async t => {
contrast : 4,
saturation : 5,
sharpness : 6,
+ focusDistance : 7,
zoom : 3.141592,
@@ -82,6 +83,8 @@ image_capture_test(async t => {
assert_equals(constraints.advanced[0].sharpness, settings.sharpness,
'sharpness');
+ assert_equals(constraints.advanced[0].focusDistance, settings.focusDistance,
+ 'focusDistance');
assert_equals(constraints.advanced[0].zoom, settings.zoom, 'zoom');
assert_equals(constraints.advanced[0].torch, settings.torch, 'torch');
diff --git a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints.html b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints.html
index 431646eb53f..8dcff926173 100644
--- a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints.html
+++ b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-applyConstraints.html
@@ -33,6 +33,7 @@ image_capture_test(async (t, imageCaptureTest) => {
contrast : 4,
saturation : 5,
sharpness : 6,
+ focusDistance : 7,
zoom : 3.141592,
@@ -101,6 +102,9 @@ image_capture_test(async (t, imageCaptureTest) => {
'saturation');
assert_equals(constraintsDict.sharpness, theMock.options().sharpness,
'sharpness');
+ assert_equals(constraintsDict.focusDistance, theMock.options().focusDistance
+ ,'focusDistance');
+
assert_equals(constraintsDict.torch, theMock.options().torch, 'torch');
diff --git a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getCapabilities.html b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getCapabilities.html
index 452b223a1b0..eceaf5b1a86 100644
--- a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getCapabilities.html
+++ b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getCapabilities.html
@@ -124,6 +124,14 @@ image_capture_test(async (t, imageCaptureTest) => {
assert_equals(capabilities.sharpness.step,
mockCapabilities.sharpness.step);
+ assert_true(capabilities.focusDistance instanceof MediaSettingsRange);
+ assert_equals(capabilities.focusDistance.max,
+ mockCapabilities.focusDistance.max);
+ assert_equals(capabilities.focusDistance.min,
+ mockCapabilities.focusDistance.min);
+ assert_equals(capabilities.focusDistance.step,
+ mockCapabilities.focusDistance.step);
+
assert_true(capabilities.zoom instanceof MediaSettingsRange);
assert_equals(capabilities.zoom.max, mockCapabilities.zoom.max);
assert_equals(capabilities.zoom.min, mockCapabilities.zoom.min);
diff --git a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getConstraints-fast.html b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getConstraints-fast.html
index 8cae4331318..5a5ce5f2dad 100644
--- a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getConstraints-fast.html
+++ b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getConstraints-fast.html
@@ -18,6 +18,7 @@ const constraints = { whiteBalanceMode : "manual",
contrast : 4,
saturation : 5,
sharpness : 6,
+ focusDistance : 7,
zoom : 3.141592
// TODO: torch https://crbug.com/700607.
diff --git a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getSettings.html b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getSettings.html
index 04fbfbfb613..5e9256eeb74 100644
--- a/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getSettings.html
+++ b/tests/wpt/web-platform-tests/mediacapture-image/MediaStreamTrack-getSettings.html
@@ -58,6 +58,7 @@ image_capture_test(async (t, imageCaptureTest) => {
assert_equals(settings.saturation, mockSettings.saturation.current);
assert_equals(settings.sharpness, mockSettings.sharpness.current);
+ assert_equals(settings.focusDistance, mockSettings.focusDistance.current);
assert_equals(settings.zoom, mockSettings.zoom.current);
assert_equals(settings.torch, mockSettings.torch, 'torch');
diff --git a/tests/wpt/web-platform-tests/resources/chromium/image_capture.mojom.js b/tests/wpt/web-platform-tests/resources/chromium/image_capture.mojom.js
index 1d01581e023..11123feb87d 100644
--- a/tests/wpt/web-platform-tests/resources/chromium/image_capture.mojom.js
+++ b/tests/wpt/web-platform-tests/resources/chromium/image_capture.mojom.js
@@ -173,6 +173,7 @@
this.contrast = null;
this.saturation = null;
this.sharpness = null;
+ this.focusDistance = null;
this.zoom = null;
this.redEyeReduction = 0;
this.height = null;
@@ -193,7 +194,7 @@
return err;
var kVersionSizes = [
- {version: 0, numBytes: 152}
+ {version: 0, numBytes: 160}
];
err = messageValidator.validateStructVersion(offset, kVersionSizes);
if (err !== validator.validationError.NONE)
@@ -284,41 +285,47 @@
return err;
- // validate PhotoState.zoom
+ // validate PhotoState.focusDistance
err = messageValidator.validateStructPointer(offset + codec.kStructHeaderSize + 104, Range, false);
if (err !== validator.validationError.NONE)
return err;
+ // validate PhotoState.zoom
+ err = messageValidator.validateStructPointer(offset + codec.kStructHeaderSize + 112, Range, false);
+ if (err !== validator.validationError.NONE)
+ return err;
+
+
// validate PhotoState.redEyeReduction
- err = messageValidator.validateEnum(offset + codec.kStructHeaderSize + 112, RedEyeReduction);
+ err = messageValidator.validateEnum(offset + codec.kStructHeaderSize + 120, RedEyeReduction);
if (err !== validator.validationError.NONE)
return err;
// validate PhotoState.height
- err = messageValidator.validateStructPointer(offset + codec.kStructHeaderSize + 120, Range, false);
+ err = messageValidator.validateStructPointer(offset + codec.kStructHeaderSize + 128, Range, false);
if (err !== validator.validationError.NONE)
return err;
// validate PhotoState.width
- err = messageValidator.validateStructPointer(offset + codec.kStructHeaderSize + 128, Range, false);
+ err = messageValidator.validateStructPointer(offset + codec.kStructHeaderSize + 136, Range, false);
if (err !== validator.validationError.NONE)
return err;
// validate PhotoState.fillLightMode
- err = messageValidator.validateArrayPointer(offset + codec.kStructHeaderSize + 136, 4, new codec.Enum(FillLightMode), false, [0], 0);
+ err = messageValidator.validateArrayPointer(offset + codec.kStructHeaderSize + 144, 4, new codec.Enum(FillLightMode), false, [0], 0);
if (err !== validator.validationError.NONE)
return err;
return validator.validationError.NONE;
};
- PhotoState.encodedSize = codec.kStructHeaderSize + 144;
+ PhotoState.encodedSize = codec.kStructHeaderSize + 152;
PhotoState.decode = function(decoder) {
var packed;
@@ -345,6 +352,7 @@
val.contrast = decoder.decodeStructPointer(Range);
val.saturation = decoder.decodeStructPointer(Range);
val.sharpness = decoder.decodeStructPointer(Range);
+ val.focusDistance = decoder.decodeStructPointer(Range);
val.zoom = decoder.decodeStructPointer(Range);
val.redEyeReduction = decoder.decodeStruct(codec.Int32);
decoder.skip(1);
@@ -382,6 +390,7 @@
encoder.encodeStructPointer(Range, val.contrast);
encoder.encodeStructPointer(Range, val.saturation);
encoder.encodeStructPointer(Range, val.sharpness);
+ encoder.encodeStructPointer(Range, val.focusDistance);
encoder.encodeStructPointer(Range, val.zoom);
encoder.encodeStruct(codec.Int32, val.redEyeReduction);
encoder.skip(1);
@@ -463,6 +472,7 @@
this.hasContrast = false;
this.hasSaturation = false;
this.hasSharpness = false;
+ this.hasFocusDistance = false;
this.hasZoom = false;
this.hasTorch = false;
this.torch = false;
@@ -482,6 +492,7 @@
this.contrast = 0;
this.saturation = 0;
this.sharpness = 0;
+ this.focusDistance = 0;
this.zoom = 0;
this.fillLightMode = 0;
this.width = 0;
@@ -501,7 +512,7 @@
return err;
var kVersionSizes = [
- {version: 0, numBytes: 120}
+ {version: 0, numBytes: 128}
];
err = messageValidator.validateStructVersion(offset, kVersionSizes);
if (err !== validator.validationError.NONE)
@@ -554,8 +565,10 @@
+
+
// validate PhotoSettings.fillLightMode
- err = messageValidator.validateEnum(offset + codec.kStructHeaderSize + 88, FillLightMode);
+ err = messageValidator.validateEnum(offset + codec.kStructHeaderSize + 96, FillLightMode);
if (err !== validator.validationError.NONE)
return err;
@@ -568,7 +581,7 @@
return validator.validationError.NONE;
};
- PhotoSettings.encodedSize = codec.kStructHeaderSize + 112;
+ PhotoSettings.encodedSize = codec.kStructHeaderSize + 120;
PhotoSettings.decode = function(decoder) {
var packed;
@@ -587,15 +600,16 @@
packed = decoder.readUint8();
val.hasSaturation = (packed >> 0) & 1 ? true : false;
val.hasSharpness = (packed >> 1) & 1 ? true : false;
- val.hasZoom = (packed >> 2) & 1 ? true : false;
- val.hasTorch = (packed >> 3) & 1 ? true : false;
- val.torch = (packed >> 4) & 1 ? true : false;
- val.hasFillLightMode = (packed >> 5) & 1 ? true : false;
- val.hasWidth = (packed >> 6) & 1 ? true : false;
- val.hasHeight = (packed >> 7) & 1 ? true : false;
+ val.hasFocusDistance = (packed >> 2) & 1 ? true : false;
+ val.hasZoom = (packed >> 3) & 1 ? true : false;
+ val.hasTorch = (packed >> 4) & 1 ? true : false;
+ val.torch = (packed >> 5) & 1 ? true : false;
+ val.hasFillLightMode = (packed >> 6) & 1 ? true : false;
+ val.hasWidth = (packed >> 7) & 1 ? true : false;
packed = decoder.readUint8();
- val.hasRedEyeReduction = (packed >> 0) & 1 ? true : false;
- val.redEyeReduction = (packed >> 1) & 1 ? true : false;
+ val.hasHeight = (packed >> 0) & 1 ? true : false;
+ val.hasRedEyeReduction = (packed >> 1) & 1 ? true : false;
+ val.redEyeReduction = (packed >> 2) & 1 ? true : false;
decoder.skip(1);
val.whiteBalanceMode = decoder.decodeStruct(codec.Int32);
val.exposureMode = decoder.decodeStruct(codec.Int32);
@@ -608,6 +622,7 @@
val.contrast = decoder.decodeStruct(codec.Double);
val.saturation = decoder.decodeStruct(codec.Double);
val.sharpness = decoder.decodeStruct(codec.Double);
+ val.focusDistance = decoder.decodeStruct(codec.Double);
val.zoom = decoder.decodeStruct(codec.Double);
val.fillLightMode = decoder.decodeStruct(codec.Int32);
decoder.skip(1);
@@ -636,16 +651,17 @@
packed = 0;
packed |= (val.hasSaturation & 1) << 0
packed |= (val.hasSharpness & 1) << 1
- packed |= (val.hasZoom & 1) << 2
- packed |= (val.hasTorch & 1) << 3
- packed |= (val.torch & 1) << 4
- packed |= (val.hasFillLightMode & 1) << 5
- packed |= (val.hasWidth & 1) << 6
- packed |= (val.hasHeight & 1) << 7
+ packed |= (val.hasFocusDistance & 1) << 2
+ packed |= (val.hasZoom & 1) << 3
+ packed |= (val.hasTorch & 1) << 4
+ packed |= (val.torch & 1) << 5
+ packed |= (val.hasFillLightMode & 1) << 6
+ packed |= (val.hasWidth & 1) << 7
encoder.writeUint8(packed);
packed = 0;
- packed |= (val.hasRedEyeReduction & 1) << 0
- packed |= (val.redEyeReduction & 1) << 1
+ packed |= (val.hasHeight & 1) << 0
+ packed |= (val.hasRedEyeReduction & 1) << 1
+ packed |= (val.redEyeReduction & 1) << 2
encoder.writeUint8(packed);
encoder.skip(1);
encoder.encodeStruct(codec.Int32, val.whiteBalanceMode);
@@ -659,6 +675,7 @@
encoder.encodeStruct(codec.Double, val.contrast);
encoder.encodeStruct(codec.Double, val.saturation);
encoder.encodeStruct(codec.Double, val.sharpness);
+ encoder.encodeStruct(codec.Double, val.focusDistance);
encoder.encodeStruct(codec.Double, val.zoom);
encoder.encodeStruct(codec.Int32, val.fillLightMode);
encoder.skip(1);
diff --git a/tests/wpt/web-platform-tests/resources/chromium/mock-imagecapture.js b/tests/wpt/web-platform-tests/resources/chromium/mock-imagecapture.js
index a700bc97b3e..878f59eb009 100644
--- a/tests/wpt/web-platform-tests/resources/chromium/mock-imagecapture.js
+++ b/tests/wpt/web-platform-tests/resources/chromium/mock-imagecapture.js
@@ -77,6 +77,13 @@ var ImageCaptureTest = (() => {
step: 1.0
},
+ focusDistance: {
+ min: 1.0,
+ max: 10.0,
+ current: 3.0,
+ step: 1.0
+ },
+
zoom: {
min: 0.0,
max: 10.0,
@@ -130,6 +137,8 @@ var ImageCaptureTest = (() => {
this.state_.state.zoom.current = settings.zoom;
if (settings.hasFocusMode)
this.state_.state.currentFocusMode = settings.focusMode;
+ if (settings.hasFocusDistance)
+ this.state_.state.focusDistance.current = settings.focusDistance;
if (settings.pointsOfInterest.length > 0) {
this.state_.state.pointsOfInterest =
diff --git a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html
index 98a171ad059..cdad5977c70 100644
--- a/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html
+++ b/tests/wpt/web-platform-tests/webaudio/the-audio-api/the-pannernode-interface/ctor-panner.html
@@ -192,6 +192,67 @@
'new PannerNode(c, ' + JSON.stringify(options) + ')')
.throw(TypeError);
+ // Test maxDistance
+ options = {maxDistance: -1};
+ should(
+ () => {
+ node = new PannerNode(context, options);
+ },
+ 'new PannerNode(c, ' + JSON.stringify(options) + ')')
+ .throw(RangeError);
+ options = {maxDistance: 100};
+ should(
+ () => {
+ node = new PannerNode(context, options);
+ },
+ 'node7 = new PannerNode(c, ' + JSON.stringify(options) + ')')
+ .notThrow();
+ should(node.maxDistance, 'node7.maxDistance')
+ .beEqualTo(options.maxDistance);
+
+ // Test rolloffFactor
+ options = {rolloffFactor: -1};
+ should(
+ () => {
+ node = new PannerNode(context, options);
+ },
+ 'new PannerNode(c, ' + JSON.stringify(options) + ')')
+ .throw(RangeError);
+ options = {rolloffFactor: 0.5};
+ should(
+ () => {
+ node = new PannerNode(context, options);
+ },
+ 'node8 = new PannerNode(c, ' + JSON.stringify(options) + ')')
+ .notThrow();
+ should(node.rolloffFactor, 'node8.rolloffFactor')
+ .beEqualTo(options.rolloffFactor);
+
+ // Test coneOuterGain
+ options = {coneOuterGain: -1};
+ should(
+ () => {
+ node = new PannerNode(context, options);
+ },
+ 'new PannerNode(c, ' + JSON.stringify(options) + ')')
+ .throw('InvalidStateError');
+ options = {coneOuterGain: 1.1};
+ should(
+ () => {
+ node = new PannerNode(context, options);
+ },
+ 'new PannerNode(c, ' + JSON.stringify(options) + ')')
+ .throw('InvalidStateError');
+ options = {coneOuterGain: 0.5};
+ should(
+ () => {
+ node = new PannerNode(context, options);
+ },
+ 'node9 = new PannerNode(c, ' + JSON.stringify(options) + ')')
+ .notThrow();
+ should(node.coneOuterGain, 'node9.coneOuterGain')
+ .beEqualTo(options.coneOuterGain);
+
task.done();
});
@@ -218,7 +279,7 @@
rolloffFactor: 3 * Math.PI,
coneInnerAngle: 4 * Math.PI,
coneOuterAngle: 5 * Math.PI,
- coneOuterGain: 6 * Math.PI
+ coneOuterGain: 0.1 * Math.PI
};
should(
diff --git a/tests/wpt/web-platform-tests/webrtc/RTCConfiguration-iceServers.html b/tests/wpt/web-platform-tests/webrtc/RTCConfiguration-iceServers.html
index 42bc896349c..6069c25af4a 100644
--- a/tests/wpt/web-platform-tests/webrtc/RTCConfiguration-iceServers.html
+++ b/tests/wpt/web-platform-tests/webrtc/RTCConfiguration-iceServers.html
@@ -85,19 +85,6 @@
config_test(makePc => {
const pc = makePc({ iceServers: [{
- urls: []
- }] });
-
- const { iceServers } = pc.getConfiguration();
- assert_equals(iceServers.length, 1);
-
- const server = iceServers[0];
- assert_array_equals(server.urls, []);
- assert_equals(server.credentialType, 'password');
- }, 'with empty list urls should succeed');
-
- config_test(makePc => {
- const pc = makePc({ iceServers: [{
urls: 'stun:stun1.example.net'
}] });
@@ -322,32 +309,11 @@
}, 'with invalid stun url should throw SyntaxError');
config_test(makePc => {
- const pc = makePc({ iceServers: [{
- urls: [],
- credentialType: 'password'
- }] });
-
- const { iceServers } = pc.getConfiguration();
- assert_equals(iceServers.length, 1);
-
- const server = iceServers[0];
- assert_array_equals(server.urls, []);
- assert_equals(server.credentialType, 'password');
- }, `with empty urls and credentialType password should succeed`);
-
- config_test(makePc => {
- const pc = makePc({ iceServers: [{
- urls: [],
- credentialType: 'oauth'
- }] });
-
- const { iceServers } = pc.getConfiguration();
- assert_equals(iceServers.length, 1);
-
- const server = iceServers[0];
- assert_array_equals(server.urls, []);
- assert_equals(server.credentialType, 'oauth');
- }, `with empty urls and credentialType oauth should succeed`);
+ assert_throws('SyntaxError', () =>
+ makePc({ iceServers: [{
+ urls: []
+ }] }));
+ }, `with empty urls should throw SyntaxError`);
config_test(makePc => {
assert_throws(new TypeError(), () =>