Auto merge of #23462 - servo-wpt-sync:wpt_update_26-05-2019, r=servo-wpt-sync

Sync WPT with upstream (26-05-2019)

Automated downstream sync of changes from upstream as of 26-05-2019.
[no-wpt-sync]
This commit is contained in:
bors-servo 2019-05-26 09:57:22 -04:00 committed by GitHub
commit 5b79711ece
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 465 additions and 98 deletions

View file

@ -14,9 +14,6 @@
[Revoke blob URL after creating Request, will fetch] [Revoke blob URL after creating Request, will fetch]
expected: FAIL expected: FAIL
[Revoke blob URL after calling fetch, fetch should succeed]
expected: FAIL
[url-with-fetch.any.html] [url-with-fetch.any.html]
[Untitled] [Untitled]

View file

@ -294514,6 +294514,11 @@
{} {}
] ]
], ],
"docs/running-tests/command-line-arguments.md": [
[
{}
]
],
"docs/running-tests/custom-runner.md": [ "docs/running-tests/custom-runner.md": [
[ [
{} {}
@ -344689,26 +344694,344 @@
{} {}
] ]
], ],
"IndexedDB/nested-cloning-large-multiple.html": [ "IndexedDB/nested-cloning-large-multiple.any.js": [
[ [
"IndexedDB/nested-cloning-large-multiple.html", "IndexedDB/nested-cloning-large-multiple.any.html",
{ {
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-large-multiple.any.serviceworker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-large-multiple.any.sharedworker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-large-multiple.any.worker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long" "timeout": "long"
} }
] ]
], ],
"IndexedDB/nested-cloning-large.html": [ "IndexedDB/nested-cloning-large.any.js": [
[ [
"IndexedDB/nested-cloning-large.html", "IndexedDB/nested-cloning-large.any.html",
{ {
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-large.any.serviceworker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-large.any.sharedworker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-large.any.worker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: large nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long" "timeout": "long"
} }
] ]
], ],
"IndexedDB/nested-cloning-small.html": [ "IndexedDB/nested-cloning-small.any.js": [
[ [
"IndexedDB/nested-cloning-small.html", "IndexedDB/nested-cloning-small.any.html",
{ {
"script_metadata": [
[
"title",
"IndexedDB: small nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-small.any.serviceworker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: small nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-small.any.sharedworker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: small nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long"
}
],
[
"IndexedDB/nested-cloning-small.any.worker.html",
{
"script_metadata": [
[
"title",
"IndexedDB: small nested objects are cloned correctly"
],
[
"timeout",
"long"
],
[
"script",
"support-promises.js"
],
[
"script",
"nested-cloning-common.js"
],
[
"global",
"window,dedicatedworker,sharedworker,serviceworker"
]
],
"timeout": "long" "timeout": "long"
} }
] ]
@ -488104,16 +488427,16 @@
"db5f710ceb5652ed8b9746f883948fac41262d6b", "db5f710ceb5652ed8b9746f883948fac41262d6b",
"support" "support"
], ],
"IndexedDB/nested-cloning-large-multiple.html": [ "IndexedDB/nested-cloning-large-multiple.any.js": [
"f263efbcf6d8f1601e623690ba0de799edce406b", "d64df916d801b106759fb0ca2e6547d5686fac8d",
"testharness" "testharness"
], ],
"IndexedDB/nested-cloning-large.html": [ "IndexedDB/nested-cloning-large.any.js": [
"6e4f9be2ee6ce57605ad0248f37f794f6d8a70a2", "cadfeb04599d2c946037a8a726ea37357fb41172",
"testharness" "testharness"
], ],
"IndexedDB/nested-cloning-small.html": [ "IndexedDB/nested-cloning-small.any.js": [
"558415f2342038eb079b4267fdcb0b133fbb9da8", "864752827a9afd1932f1e0978e1cff825af42fb4",
"testharness" "testharness"
], ],
"IndexedDB/objectstore_keyorder.htm": [ "IndexedDB/objectstore_keyorder.htm": [
@ -642433,11 +642756,11 @@
"reftest" "reftest"
], ],
"css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-layout-suppress-baseline-002-ref.html": [ "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-layout-suppress-baseline-002-ref.html": [
"d4095fd987b83596f4884b77e87a759d506bda9b", "0587c90c35e20733c9489982c161214be0444cbf",
"support" "support"
], ],
"css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-layout-suppress-baseline-002.html": [ "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-layout-suppress-baseline-002.html": [
"845290768acbe5b3bd81d4c78e4a4cf61fecc906", "a370386edeea604609831bfdf1df7757d370f747",
"reftest" "reftest"
], ],
"css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-001-ref.html": [ "css/vendor-imports/mozilla/mozilla-central-reftests/contain/contain-paint-clip-001-ref.html": [
@ -642717,7 +643040,7 @@
"reftest" "reftest"
], ],
"css/vendor-imports/mozilla/mozilla-central-reftests/contain/reftest.list": [ "css/vendor-imports/mozilla/mozilla-central-reftests/contain/reftest.list": [
"eaf31a7dc12937847b0d850dadb3ad0ee6cadcc4", "9a70ca1e9ae609f583a9837916718392e799571c",
"support" "support"
], ],
"css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/dependent-builtin-ref.html": [ "css/vendor-imports/mozilla/mozilla-central-reftests/counter-styles-3/dependent-builtin-ref.html": [
@ -650957,7 +651280,7 @@
"support" "support"
], ],
"docs/conf.py": [ "docs/conf.py": [
"c295c3d9e7fc812fe99b31c29ed4e232713801f0", "b3bce7971129bc2b4f62a86f4798ec69c49d7cc8",
"support" "support"
], ],
"docs/index.rst": [ "docs/index.rst": [
@ -650973,7 +651296,7 @@
"support" "support"
], ],
"docs/requirements.txt": [ "docs/requirements.txt": [
"d888313b041f49a5c17124bfa18471ff882c1326", "dceaed13bc3f2a724f2ff204ea0824df80977193",
"support" "support"
], ],
"docs/reviewing-tests/checklist.md": [ "docs/reviewing-tests/checklist.md": [
@ -650996,12 +651319,16 @@
"5851cd5572264cb06066b9c8d6721bd1fe995a0a", "5851cd5572264cb06066b9c8d6721bd1fe995a0a",
"support" "support"
], ],
"docs/running-tests/command-line-arguments.md": [
"598c9da2a10514062ee3ea06d5c5335677763e32",
"support"
],
"docs/running-tests/custom-runner.md": [ "docs/running-tests/custom-runner.md": [
"4e860edbb21193a82d7333541eb55ada124c82f1", "4e860edbb21193a82d7333541eb55ada124c82f1",
"support" "support"
], ],
"docs/running-tests/from-local-system.md": [ "docs/running-tests/from-local-system.md": [
"3cc4d9735ff1223d263a5b2bf6f72b9a2fa8c3eb", "695f8403da4a8a52eddb25492ac89edd7c33e6e7",
"support" "support"
], ],
"docs/running-tests/from-web.md": [ "docs/running-tests/from-web.md": [
@ -719977,7 +720304,7 @@
"support" "support"
], ],
"tools/wpt/wpt.py": [ "tools/wpt/wpt.py": [
"909d435b6485f7e78c996ef02960160b53a0851c", "4130e1eecf8ae52dbc0b68f6cd59010dd4e435e4",
"support" "support"
], ],
"tools/wptrunner/.gitignore": [ "tools/wptrunner/.gitignore": [

View file

@ -0,0 +1,2 @@
[matchMedia-display-none-iframe.html]
expected: ERROR

View file

@ -312,27 +312,24 @@
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk] [<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html] [<iframe>: combined response Content-Type: */* text/html]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html] [<iframe>: combined response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk] [<iframe>: combined response Content-Type: text/html */*;charset=gbk]
expected: FAIL expected: FAIL
[<iframe>: combined response Content-Type: text/html;x=" text/plain] [<iframe>: separate response Content-Type: text/html;charset=gbk text/plain text/html]
expected: FAIL
[<iframe>: separate response Content-Type: */* text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;x=" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" \\" text/plain]
expected: FAIL expected: FAIL

View file

@ -11,6 +11,9 @@
[X-Content-Type-Options%3A%20nosniff%0C] [X-Content-Type-Options%3A%20nosniff%0C]
expected: FAIL expected: FAIL
[Content-Type-Options%3A%20nosniff] [X-Content-Type-Options%3A%20'NosniFF']
expected: FAIL
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL expected: FAIL

View file

@ -0,0 +1,4 @@
[traverse_the_history_1.html]
[Multiple history traversals from the same task]
expected: FAIL

View file

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

View file

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

View file

@ -1,10 +0,0 @@
[non-active-document.html]
[DOMParser]
expected: FAIL
[createHTMLDocument]
expected: FAIL
[<template>]
expected: FAIL

View file

@ -0,0 +1,4 @@
[077.html]
[ adding several types of scripts through the DOM and removing some of them confuses scheduler ]
expected: FAIL

View file

@ -1,14 +1,9 @@
<!doctype html> // META: title=IndexedDB: large nested objects are cloned correctly
<meta charset="utf8"> // META: timeout=long
<meta name="timeout" content="long"> // META: script=support-promises.js
<title>IndexedDB: large nested objects are cloned correctly</title> // META: script=nested-cloning-common.js
<link rel="help" href="https://w3c.github.io/IndexedDB/#abort-transaction"> // META: global=window,dedicatedworker,sharedworker,serviceworker
<link rel="author" href="pwnall@chromium.org" title="Victor Costan"> 'use strict';
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script src="nested-cloning-common.js"></script>
<script>
cloningTestWithKeyGenerator( cloningTestWithKeyGenerator(
'multiple requests of objects with blobs and large typed arrays', [ 'multiple requests of objects with blobs and large typed arrays', [
@ -50,5 +45,3 @@ cloningTestWithKeyGenerator(
{ type: 'blob', size: wrapThreshold, mimeType: 'text/x-blink20', seed: 20 }, { type: 'blob', size: wrapThreshold, mimeType: 'text/x-blink20', seed: 20 },
], ],
]); ]);
</script>

View file

@ -1,14 +1,9 @@
<!doctype html> // META: title=IndexedDB: large nested objects are cloned correctly
<meta charset="utf8"> // META: timeout=long
<meta name="timeout" content="long"> // META: script=support-promises.js
<title>IndexedDB: large nested objects are cloned correctly</title> // META: script=nested-cloning-common.js
<link rel="help" href="https://w3c.github.io/IndexedDB/#abort-transaction"> // META: global=window,dedicatedworker,sharedworker,serviceworker
<link rel="author" href="pwnall@chromium.org" title="Victor Costan"> 'use strict';
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script src="nested-cloning-common.js"></script>
<script>
cloningTest('large typed array', [ cloningTest('large typed array', [
{ type: 'buffer', size: wrapThreshold, seed: 1 }, { type: 'buffer', size: wrapThreshold, seed: 1 },
@ -45,5 +40,3 @@ cloningTestWithKeyGenerator('object with blobs and large typed arrays', [
seed: 5 }, seed: 5 },
}, },
]); ]);
</script>

View file

@ -1,14 +1,9 @@
<!doctype html> // META: title=IndexedDB: small nested objects are cloned correctly
<meta charset="utf8"> // META: timeout=long
<meta name="timeout" content="long"> // META: script=support-promises.js
<title>IndexedDB: small nested objects are cloned correctly</title> // META: script=nested-cloning-common.js
<link rel="help" href="https://w3c.github.io/IndexedDB/#abort-transaction"> // META: global=window,dedicatedworker,sharedworker,serviceworker
<link rel="author" href="pwnall@chromium.org" title="Victor Costan"> 'use strict';
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="support-promises.js"></script>
<script src="nested-cloning-common.js"></script>
<script>
cloningTest('small typed array', [ cloningTest('small typed array', [
{ type: 'buffer', size: 64, seed: 1 }, { type: 'buffer', size: 64, seed: 1 },
@ -43,5 +38,3 @@ cloningTestWithKeyGenerator('array of blobs and small typed arrays', [
{ type: 'blob', size: wrapThreshold, mimeType: 'text/x-blink-05', seed: 5 }, { type: 'blob', size: wrapThreshold, mimeType: 'text/x-blink-05', seed: 5 },
], ],
]); ]);
</script>

View file

@ -8,19 +8,18 @@
.flexBaselineCheck { .flexBaselineCheck {
display: flex; display: flex;
border: 1px solid black; border: 1px solid black;
height: 70px;
} }
.flexBaselineCheck > * { .flexBaselineCheck > * {
border: 2px solid teal; border: 2px solid teal;
/* In the testcase, the (baseline-aligned) items should all have their /* In the testcase, the (baseline-aligned) items should all have their
bottom borders aligned with the 50px-tall canvas. In other words, their bottom borders aligned with the 50px-tall canvas. In other words, their
bottom borders should all be 20px away from the bottom of their flex bottom borders should all be aligned at the bottom of their flex
container. Here in the reference case, we just use "flex-end" alignment container, separated from the bottom by only by their margin-end
plus a hardcoded 20px margin-bottom to produce a precise reference distance. Here in the reference case, we just use "flex-end" alignment
for what that should look like. */ (plus the same amount of margin) to produce a precise reference for what
that should look like. */
align-self: flex-end; align-self: flex-end;
margin-bottom: 20px; margin: 2px;
} }
canvas { canvas {
background: purple; background: purple;

View file

@ -11,12 +11,12 @@
.flexBaselineCheck { .flexBaselineCheck {
display: flex; display: flex;
border: 1px solid black; border: 1px solid black;
height: 70px;
} }
.flexBaselineCheck > * { .flexBaselineCheck > * {
contain: layout; contain: layout;
border: 2px solid teal; border: 2px solid teal;
align-self: baseline; align-self: baseline;
margin: 2px;
} }
canvas { canvas {
background: purple; background: purple;

View file

@ -48,3 +48,10 @@
== contain-layout-ignored-cases-no-principal-box-003.html contain-layout-ignored-cases-no-principal-box-003-ref.html == contain-layout-ignored-cases-no-principal-box-003.html contain-layout-ignored-cases-no-principal-box-003-ref.html
== contain-layout-suppress-baseline-001.html contain-layout-suppress-baseline-001-ref.html == contain-layout-suppress-baseline-001.html contain-layout-suppress-baseline-001-ref.html
== contain-layout-suppress-baseline-002.html contain-layout-suppress-baseline-002-ref.html == contain-layout-suppress-baseline-002.html contain-layout-suppress-baseline-002-ref.html
# The following lines are duplicates of other lines from further up in this
# manifest. They're listed again here so we can re-run these tests with
# column-span enabled. These lines can be removed once the pref becomes
# default-enabled (Bug 1426010).
== contain-size-multicol-002.html contain-size-multicol-002-ref.html
== contain-size-multicol-003.html contain-size-multicol-003-ref.html

View file

@ -12,9 +12,12 @@
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
# #
#import os import os
#import sys import sys
#sys.path.insert(0, os.path.abspath('.')) sys.path.insert(0, os.path.abspath('..'))
sys.path.insert(0, os.path.abspath('../tools/wptserve'))
sys.path.insert(0, os.path.abspath('../tools'))
import localpaths
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
@ -38,7 +41,8 @@ release = u''
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones. # ones.
extensions = [ extensions = [
'recommonmark' 'recommonmark',
'sphinxarg.ext'
] ]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.

View file

@ -1,2 +1,3 @@
recommonmark==0.5.0 recommonmark==0.5.0
Sphinx==1.8.5 Sphinx==1.8.5
sphinx-argparse==0.2.5

View file

@ -0,0 +1,14 @@
# Command-Line Arguments
The `wpt` command-line application offers a number of features for interacting
with WPT. The functionality is organized into "sub-commands", and each accepts
a different set of command-line arguments.
This page documents all of the available sub-commands and associated arguments.
```eval_rst
.. argparse::
:module: tools.wpt.wpt
:func: create_complete_parser
:prog: wpt
```

View file

@ -97,6 +97,9 @@ customising the test run:
./wpt run --help ./wpt run --help
[A complete listing of the command-line arguments is available
here](command-line-arguments).
Additional browser-specific documentation: Additional browser-specific documentation:
```eval_rst ```eval_rst

View file

@ -80,6 +80,34 @@ def import_command(prog, command, props):
return script, parser return script, parser
def create_complete_parser():
"""Eagerly load all subparsers. This involves more work than is required
for typical command-line usage. It is maintained for the purposes of
documentation generation as implemented in WPT's top-level `/docs`
directory."""
commands = load_commands()
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers()
for command in commands:
props = commands[command]
if props["virtualenv"]:
setup_virtualenv(None, False, props)
subparser = import_command('wpt', command, props)[1]
if not subparser:
continue
subparsers.add_parser(command,
help=props["help"],
add_help=False,
parents=[subparser])
return parser
def setup_virtualenv(path, skip_venv_setup, props): def setup_virtualenv(path, skip_venv_setup, props):
if skip_venv_setup and path is None: if skip_venv_setup and path is None:
raise ValueError("Must set --venv when --skip-venv-setup is used") raise ValueError("Must set --venv when --skip-venv-setup is used")