Auto merge of #21649 - servo-wpt-sync:wpt_update_08-09-2018, r=jdm

Sync WPT with upstream (08-09-2018)

Automated downstream sync of changes from upstream as of 08-09-2018.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21649)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-09-09 15:20:18 -04:00 committed by GitHub
commit 041d0e36a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 160 additions and 81 deletions

View file

@ -1,4 +1,5 @@
[url-in-tags-revoke.window.html]
expected: TIMEOUT
[Fetching a blob URL immediately before revoking it works in an iframe.]
expected: FAIL
@ -14,3 +15,6 @@
[Opening a blob URL in a new window by clicking an <a> tag works immediately before revoking the URL.]
expected: FAIL
[Fetching a blob URL immediately before revoking it works in <script> tags.]
expected: TIMEOUT

View file

@ -1,14 +1,19 @@
[url-with-fetch.any.worker.html]
[url-with-fetch]
expected: FAIL
[Only exact matches should revoke URLs, using fetch]
expected: FAIL
[Appending a query string should cause fetch to fail]
expected: FAIL
[Appending a path should cause fetch to fail]
expected: FAIL
[Revoke blob URL after creating Request, will fetch]
expected: FAIL
[Revoke blob URL after calling fetch, fetch should succeed]
expected: FAIL
@ -19,14 +24,16 @@
[url-with-fetch]
expected: FAIL
[Only exact matches should revoke URLs, using fetch]
expected: FAIL
[Appending a query string should cause fetch to fail]
expected: FAIL
[Appending a path should cause fetch to fail]
expected: FAIL
[Revoke blob URL after creating Request, will fetch]
expected: FAIL
[Revoke blob URL after calling fetch, fetch should succeed]
expected: FAIL

View file

@ -39867,6 +39867,30 @@
{}
]
],
"css/CSS2/borders/groove-default.html": [
[
"/css/CSS2/borders/groove-default.html",
[
[
"/css/CSS2/borders/groove-ridge-default-notref.html",
"!="
]
],
{}
]
],
"css/CSS2/borders/ridge-default.html": [
[
"/css/CSS2/borders/ridge-default.html",
[
[
"/css/CSS2/borders/groove-ridge-default-notref.html",
"!="
]
],
{}
]
],
"css/CSS2/borders/shand-border-000.xht": [
[
"/css/CSS2/borders/shand-border-000.xht",
@ -226712,6 +226736,11 @@
{}
]
],
"css/CSS2/borders/groove-ridge-default-notref.html": [
[
{}
]
],
"css/CSS2/borders/shand-border-000-ref.xht": [
[
{}
@ -474032,10 +474061,22 @@
"31d6fe104d7a41e1bdd3ce9e396bd02f6edef726",
"visual"
],
"css/CSS2/borders/groove-default.html": [
"c9028b9a2f4ce57857335862e1f81a30f8f1e535",
"reftest"
],
"css/CSS2/borders/groove-ridge-default-notref.html": [
"5ead6432ccd2cbbfa412dd562faac03d4711c2c8",
"support"
],
"css/CSS2/borders/ltr-borders-001.xht": [
"e46f42fd96ba305f9699fa6f270a70289d16c50d",
"visual"
],
"css/CSS2/borders/ridge-default.html": [
"4bd0bdf3aef8137b2a14e16ea2461c85b61fe4a6",
"reftest"
],
"css/CSS2/borders/rtl-borders-001.xht": [
"3139fef544276525bd46f07f6c321e15eabec24b",
"visual"
@ -540161,7 +540202,7 @@
"support"
],
"css/css-fonts/variations/at-font-face-descriptors.html": [
"ece5b4be9b93622346e43fc79915f8f9cc8c48c1",
"942686c4a1fd0f3d3807f5fdb114e3e154b1577e",
"testharness"
],
"css/css-fonts/variations/at-font-face-font-matching.html": [
@ -563037,7 +563078,7 @@
"testharness"
],
"css/css-typed-om/the-stylepropertymap/properties/color-interpolation.html": [
"4713d90621d35ce990ddb18ea217e6a467effd0c",
"d8324db22e217d0805c847b83b4b841bbcbe84b1",
"testharness"
],
"css/css-typed-om/the-stylepropertymap/properties/color-rendering.html": [
@ -587209,7 +587250,7 @@
"support"
],
"docs/_writing-tests/testharness-api.md": [
"bb5524532915a58e4fab3c3bb89a41bbe2a46b4a",
"952c8365fb7028c00eeca7ee5949310ecce95913",
"support"
],
"docs/_writing-tests/testharness.md": [
@ -635089,7 +635130,7 @@
"support"
],
"resources/test/tests/functional/promise.html": [
"bdf6dc3ec2af07a9799243cbc7b15da939961363",
"9db1dec0f9e3e973e57d08f2ebed256b82bbd0ab",
"support"
],
"resources/test/tests/functional/queue.html": [
@ -635245,7 +635286,7 @@
"support"
],
"resources/testharness.js": [
"f0c24635017dad6275c99dc149ab1739470eeb36",
"85e211ff60ae559d7ff39994c33a2f05056e1ef2",
"support"
],
"resources/testharness.js.headers": [
@ -653073,7 +653114,7 @@
"testharness"
],
"web-animations/animation-model/animation-types/property-list.js": [
"8d02717835175c186e96779949af2f6d892125ca",
"e2f3adcd7affcdc382fb038eb4e9a5ca80d5b1ee",
"support"
],
"web-animations/animation-model/animation-types/property-types.js": [

View file

@ -0,0 +1,2 @@
[groove-default.html]
expected: FAIL

View file

@ -0,0 +1,2 @@
[ridge-default.html]
expected: FAIL

View file

@ -251,3 +251,9 @@
[font-stretch(valid): Negative calc expression (to be clamped): calc(50% - 50%*2)]
expected: FAIL
[font-weight(valid): Valid calc expression with out-of-range value (should be clamped): calc(100.5*3 + 800)]
expected: FAIL
[font-weight(valid): Out-of-range simple calc value (should be clamped): calc(1001)]
expected: FAIL

View file

@ -23,9 +23,6 @@
[word-spacing length(mm) / values]
expected: FAIL
[text-indent length(pc) / values]
expected: FAIL
[opacity number[0,1\](zero-to-one) / values]
expected: FAIL
@ -95,9 +92,6 @@
[font-size length(in) / values]
expected: FAIL
[text-indent length(ex) / values]
expected: FAIL
[font-size length(em) / values]
expected: FAIL
@ -107,9 +101,6 @@
[vertical-align length(em) / values]
expected: FAIL
[text-indent length(px) / values]
expected: FAIL
[clip rectangle(rectangle) / values]
expected: FAIL
@ -257,9 +248,6 @@
[max-width length(px) / values]
expected: FAIL
[text-indent length(mm) / values]
expected: FAIL
[font-size length(mm) / values]
expected: FAIL
@ -284,9 +272,6 @@
[outline-offset length(in) / values]
expected: FAIL
[word-spacing length(in) / values]
expected: FAIL
[outline-width length(pt) / values]
expected: FAIL
@ -311,9 +296,6 @@
[word-spacing length(pt) / values]
expected: FAIL
[text-indent length(cm) / values]
expected: FAIL
[border-right-width length(mm) / values]
expected: FAIL
@ -326,9 +308,6 @@
[background-position length(ex) / events]
expected: FAIL
[text-indent length(pt) / values]
expected: FAIL
[border-right-width length(pt) / values]
expected: FAIL
@ -383,9 +362,6 @@
[outline-width length(pc) / values]
expected: FAIL
[word-spacing percentage(%) / values]
expected: FAIL
[font-weight font-weight(numeric) / values]
expected: FAIL
@ -401,12 +377,6 @@
[line-height percentage(%) / values]
expected: FAIL
[text-indent length(in) / values]
expected: FAIL
[text-indent length(em) / values]
expected: FAIL
[border-top-width length(pt) / values]
expected: FAIL
@ -503,9 +473,9 @@
[min-width length(ex) / values]
expected: FAIL
[text-shadow shadow(shadow) / values]
[text-indent percentage(%) / events]
expected: FAIL
[text-indent percentage(%) / values]
[text-shadow shadow(shadow) / events]
expected: FAIL

View file

@ -68,15 +68,9 @@
[bottom intermediate]
expected: FAIL
[outline-offset end]
[outline-width intermediate]
expected: FAIL
[border-bottom-width end]
expected: FAIL
[padding-bottom intermediate]
expected: FAIL
[padding-bottom end]
[outline-width end]
expected: FAIL

View file

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

View file

@ -30,6 +30,3 @@
[Set HTTP URL frame location.protocol to data]
expected: FAIL
[Set HTTP URL frame location.protocol to x]
expected: FAIL

View file

@ -2,19 +2,19 @@
[request.formData() with input: a&b&c]
expected: FAIL
[request.formData() with input: a=b&c=d]
expected: FAIL
[request.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL
[response.formData() with input: a=b&c=d&]
expected: FAIL
[response.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL
[response.formData() with input: a=b&c=d]
[response.formData() with input: a&b&c]
expected: FAIL
[request.formData() with input: _charset_=windows-1252&test=%C2x]
expected: FAIL
[response.formData() with input: _charset_=windows-1252&test=%C2x]
expected: FAIL
[request.formData() with input: a=b&c=d&]
expected: FAIL
@ -31,6 +31,9 @@
[response.formData() with input: _charset_=windows-1252&test=%C2x]
expected: FAIL
[response.formData() with input: a=b&c=d]
[request.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL
[response.formData() with input: a=b&c=d&]
expected: FAIL

View file

@ -0,0 +1,15 @@
<!doctype html>
<title>CSS Test: Groove border with default color should actually show a groove border</title>
<link rel="help" href="https://drafts.csswg.org/css2/box.html#border-style-properties">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488294">
<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="groove-ridge-default-notref.html">
<style>
div {
width: 100px;
height: 100px;
border: 10px groove;
}
</style>
<div></div>

View file

@ -0,0 +1,12 @@
<!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: 100px;
height: 100px;
border: 10px solid;
}
</style>
<div></div>

View file

@ -0,0 +1,15 @@
<!doctype html>
<title>CSS Test: ridge border with default color should actually show a ridge border</title>
<link rel="help" href="https://drafts.csswg.org/css2/box.html#border-style-properties">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1488294">
<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="groove-ridge-default-notref.html">
<style>
div {
width: 100px;
height: 100px;
border: 10px ridge;
}
</style>
<div></div>

View file

@ -75,9 +75,9 @@
// Single value, calc
{ value: "calc(100.5)", isValid: true, expectedValue: "100.5", description: "Simple calc value" },
{ value: "calc(1001)", isValid: false, description: "Out-of-range simple calc value" },
{ value: "calc(1001)", isValid: true, description: "Out-of-range simple calc value (should be clamped)" },
{ value: "calc(100.5*3 + 50.5)", isValid: true, expectedValue: "352", description: "Valid calc expression" },
{ value: "calc(100.5*3 + 800)", isValid: false, description: "Valid calc expression with out-of-range value" },
{ value: "calc(100.5*3 + 800)", isValid: true, description: "Valid calc expression with out-of-range value (should be clamped)" },
{ value: "calc(100.5px + 50.5px)", isValid: false, description: "Valid calc expression with units" },
// Value range

View file

@ -15,8 +15,8 @@
runPropertyTests('color-interpolation', [
{ syntax: 'auto' },
{ syntax: 'sRGB' },
{ syntax: 'linearRGB' },
{ syntax: 'srgb' },
{ syntax: 'linearrgb' },
]);
</script>

View file

@ -161,9 +161,9 @@ Test is finished.
promise_test(test_function, name, properties)
```
`test_function` is a function that receives a test as an argument and returns a
promise. The test completes when the returned promise resolves. The test fails
if the returned promise rejects.
`test_function` is a function that receives a test as an argument. It must
return a promise. The test completes when the returned promise resolves. The
test fails if the returned promise rejects.
E.g.:

View file

@ -100,11 +100,15 @@ promise_test(
function() {
return true;
},
"promise_test with function that doesn't return a Promise");
"promise_test with function that doesn't return a Promise (should FAIL)");
promise_test(function(){},
"promise_test with function that doesn't return anything");
promise_test(
function() { return { then: 23 }; },
"promise_test that returns a non-thenable (should FAIL)");
promise_test(
function() {
return Promise.reject("Expected rejection");
@ -170,15 +174,21 @@ promise_test(
"properties": {}
},
{
"status_string": "PASS",
"name": "promise_test with function that doesn't return a Promise",
"message": null,
"status_string": "FAIL",
"name": "promise_test with function that doesn't return a Promise (should FAIL)",
"message": "promise_test: test body must return a 'thenable' object (received an object with no `then` method)",
"properties": {}
},
{
"status_string": "FAIL",
"name": "promise_test with function that doesn't return anything",
"message": "assert_not_equals: got disallowed value undefined",
"message": "promise_test: test body must return a 'thenable' object (received undefined)",
"properties": {}
},
{
"status_string": "FAIL",
"name": "promise_test that returns a non-thenable (should FAIL)",
"message": "promise_test: test body must return a 'thenable' object (received an object with no `then` method)",
"properties": {}
},
{

View file

@ -576,7 +576,12 @@ policies and contribution forms [3].
var promise = test.step(func, test, test);
test.step(function() {
assert_not_equals(promise, undefined);
assert(!!promise, "promise_test", null,
"test body must return a 'thenable' object (received ${value})",
{value:promise});
assert(typeof promise.then === "function", "promise_test", null,
"test body must return a 'thenable' object (received an object with no `then` method)",
null);
});
// Test authors may use the `step` method within a

View file

@ -361,13 +361,13 @@ const gCSSProperties = {
'color-interpolation': {
// https://svgwg.org/svg2-draft/painting.html#ColorInterpolationProperty
types: [
{ type: 'discrete', options: [ [ 'linearRGB', 'auto' ] ] }
{ type: 'discrete', options: [ [ 'linearrgb', 'auto' ] ] }
]
},
'color-interpolation-filters': {
// https://drafts.fxtf.org/filters-1/#propdef-color-interpolation-filters
types: [
{ type: 'discrete', options: [ [ 'sRGB', 'linearRGB' ] ] }
{ type: 'discrete', options: [ [ 'srgb', 'linearrgb' ] ] }
]
},
'column-count': {