Auto merge of #27688 - servo-wpt-sync:wpt_update_07-10-2020, r=servo-wpt-sync

Sync WPT with upstream (07-10-2020)

Automated downstream sync of changes from upstream as of 07-10-2020.
[no-wpt-sync]
r? @servo-wpt-sync
This commit is contained in:
bors-servo 2020-10-07 07:59:03 -04:00 committed by GitHub
commit 11d3f59edc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
68 changed files with 374 additions and 168 deletions

View file

@ -4,7 +4,7 @@
expected: TIMEOUT
[Opening a blob URL in a new window immediately before revoking it works.]
expected: TIMEOUT
expected: FAIL
[Fetching a blob URL immediately before revoking it works in an iframe.]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -312,21 +312,18 @@
[Response: combined response Content-Type: text/html;" \\" text/plain ";charset=GBK]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

View file

@ -53,9 +53,3 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript; charset=windows-1252 text/javascript]
expected: FAIL

View file

@ -11,6 +11,9 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[X-Content-Type-Options%3A%20'NosniFF']
[X-Content-Type-Options%3A%20%22nosniFF%22]
expected: FAIL
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

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

View file

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

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener of discarded nested browsing context]
expected: FAIL

View file

@ -171,6 +171,3 @@
[XHTML img usemap="#hash-id"]
expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_escaping-1.html]
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

@ -1,5 +1,4 @@
[iframe_sandbox_popups_escaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT
expected: FAIL

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_nonescaping-1.html]
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

@ -1,5 +1,5 @@
[iframe_sandbox_popups_nonescaping-2.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -1,5 +1,4 @@
[iframe_sandbox_popups_nonescaping-3.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit.html]
[default submit action should supersede onclick submit()]
expected: FAIL

View file

@ -0,0 +1,2 @@
[script-onerror-insertion-point-2.html]
expected: TIMEOUT

View file

@ -3,6 +3,3 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -1,13 +1,12 @@
[promise-job-entry.html]
expected: TIMEOUT
[Fulfillment handler on fulfilled promise]
expected: TIMEOUT
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: FAIL
[Sanity check: this all works as expected with no promises involved]
expected: TIMEOUT
expected: FAIL
[Thenable resolution]
expected: FAIL

View file

@ -1,4 +1,5 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Worker-constructor.html]
expected: ERROR

View file

@ -7,7 +7,7 @@
expected: FAIL
[Opening a blob URL in a new window immediately before revoking it works.]
expected: TIMEOUT
expected: FAIL
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
expected: TIMEOUT

View file

@ -142030,7 +142030,7 @@
]
],
"flexbox_stf-table-singleline-2.html": [
"de954fdf37f41fe48790b66cd458f33c7fc2acbc",
"9600a85dd125d1c7cd06bde393a2f8e5ce9f1067",
[
null,
[
@ -142043,7 +142043,7 @@
]
],
"flexbox_stf-table-singleline.html": [
"f1d2914c83046dbc2741171d6c5a58ac3c367e87",
"7f9491a25cea582016b9273df74ffac41e3c97f6",
[
null,
[
@ -144008,7 +144008,7 @@
]
],
"font-display.html": [
"b688bc2ea9d549f1db09a4fd452536710cfdd06c",
"a2b62c0676f4e12b529ede83f7df6e3b4e6765b1",
[
null,
[
@ -161402,19 +161402,6 @@
{}
]
],
"multicol-span-all-015.html": [
"041c211b855e50ad70e65c98af73567848e3534e",
[
null,
[
[
"/css/reference/ref-filled-green-100px-square.xht",
"=="
]
],
{}
]
],
"multicol-span-all-block-sibling-003.xht": [
"abaa45f0a85023f3f07a9db483629b74d2b09d71",
[
@ -163135,6 +163122,19 @@
{}
]
],
"overflow-clip-content-visual-overflow.html": [
"8ea8e2c3334e17cfa5c5225df837135e64546f7d",
[
null,
[
[
"/css/css-overflow/overflow-clip-content-visual-overflow-ref.html",
"=="
]
],
{}
]
],
"overflow-ellipsis-dynamic-001.html": [
"2a9edba9308bf06009d7b9a27f21f1e0f1a231c7",
[
@ -204057,6 +204057,19 @@
{}
]
],
"will-change-transform-zero-size-child-overflow-visible.html": [
"38ddf5ec37fa9f750f17bca32c2986d2f675e00e",
[
null,
[
[
"/css/css-will-change/will-change-transform-zero-size-child-overflow-visible-ref.html",
"=="
]
],
{}
]
],
"will-change-will-change-1.html": [
"812dc814a095841d8bd2c5dc23c8552922213e75",
[
@ -300913,7 +300926,7 @@
[]
],
"flexbox_stf-table-singleline-ref.html": [
"46441a4c084777427dc981a3723eb88f93778840",
"af3616a5c238f5047ea4ef191f128a008e427e7b",
[]
],
"flexbox_visibility-collapse-line-wrapping-ref.html": [
@ -301712,7 +301725,7 @@
[]
],
"font-display-ref.html": [
"2b894ed78c0e1b11fc0d27eaace8a6c39facba6f",
"d75644e351fd05660af4901e880fe970c17093d1",
[]
]
},
@ -311965,7 +311978,7 @@
[]
],
"overflow-body-propagation-008-ref.html": [
"91e582aa00ff139338921eec47714dc58d3817cd",
"ba9f6e12d44da89656a50d010bef0d1ff7079a5d",
[]
],
"overflow-body-propagation-009-ref.html": [
@ -311976,6 +311989,10 @@
"9e502e7e237de7ffb6dfc754450c70f5f03d297e",
[]
],
"overflow-clip-content-visual-overflow-ref.html": [
"378da736ecfcec921fa257273f7369cb253e3b81",
[]
],
"reference": {
"input-scrollable-region-001-ref.html": [
"d7125ee2ef3285d461b2172208e23d8d4cc27a64",
@ -321435,6 +321452,10 @@
"will-change-transform-image-ref.html": [
"d42d5b7fea22d3d2bc2abf782b1efc78f261f69e",
[]
],
"will-change-transform-zero-size-child-overflow-visible-ref.html": [
"6eaf422d2f2a3990d2268601f4fe78c9cff3881d",
[]
]
},
"css-writing-modes": {
@ -332138,6 +332159,14 @@
"1759381fdc4141302f1b95868550ead76d9f5ca7",
[]
],
"screen-wake-lock-report-only.https.html.headers": [
"3d729b505638bf5eff87aa091442fff7a73c04fa",
[]
],
"screen-wake-lock-reporting.https.html.headers": [
"5d910ce6df801980a26fb191589201f614ed02af",
[]
],
"serial-report-only.https.html.headers": [
"d408ccf6b15685be3db91c1e19a26bdbc42c78cb",
[]
@ -347280,7 +347309,7 @@
[]
],
"html.idl": [
"8bf6d0f52df5e3daac47c4e9a8bd2567b3017d32",
"37124323e51c25af79ce62ffe017a645c98a6bee",
[]
],
"idle-detection.tentative.idl": [
@ -347828,6 +347857,12 @@
}
}
},
"js-self-profiling": {
"__dir__.headers": [
"63b60e490f47f4db77d33d7a4ca2f5b9a4181de8",
[]
]
},
"keyboard-lock": {
"META.yml": [
"e805a9d6658a2e731f625dc4567313aef7134643",
@ -440417,6 +440452,22 @@
}
]
],
"screen-wake-lock-report-only.https.html": [
"51aa4f90c5f6e26156e095af8ee9e5aa639072ce",
[
null,
{
"testdriver": true
}
]
],
"screen-wake-lock-reporting.https.html": [
"ce0cbdca77ad99041d6e51b04bb277fae9426890",
[
null,
{}
]
],
"serial-report-only.https.html": [
"11913a2ef77159c3f0c4769cd3cfaf09d942f1ba",
[
@ -465978,7 +466029,7 @@
]
],
"reporting-observer.html": [
"1d73b566105a384a826d7d4f1ad96be075143f63",
"c45a468ea8cfec4bda37fff0711df34bb1d17be6",
[
null,
{
@ -485762,37 +485813,11 @@
}
},
"js-self-profiling": {
"idlharness.any.js": [
"bbf38ed63523b63fe677c4825587bebb4079c8e9",
"idlharness.https.html": [
"0b6aa6cf6c851f1ec1f611421993a55f15c31b67",
[
"js-self-profiling/idlharness.any.html",
{
"script_metadata": [
[
"script",
"/resources/WebIDLParser.js"
],
[
"script",
"/resources/idlharness.js"
]
]
}
],
[
"js-self-profiling/idlharness.any.worker.html",
{
"script_metadata": [
[
"script",
"/resources/WebIDLParser.js"
],
[
"script",
"/resources/idlharness.js"
]
]
}
null,
{}
]
]
},

View file

@ -0,0 +1,4 @@
[hit-test-floats-004.html]
[Miss float below something else]
expected: FAIL

View file

@ -0,0 +1,4 @@
[hittest-anonymous-box.html]
[Hit-testing within an anonymous flex-item should return the flexbox as the hittest result.]
expected: FAIL

View file

@ -312,21 +312,18 @@
[fetch(): separate response Content-Type: text/plain ]
expected: NOTRUN
[<iframe>: separate response Content-Type: text/html */*]
expected: FAIL
[<iframe>: combined response Content-Type: */* text/html]
expected: FAIL
[<iframe>: separate response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: separate response Content-Type: text/html */*;charset=gbk]
expected: FAIL
[<iframe>: combined response Content-Type: text/html */*;charset=gbk]
[<iframe>: combined response Content-Type: text/html;" text/plain]
expected: FAIL
[<iframe>: combined response Content-Type: text/html;" \\" text/plain]
[<iframe>: separate response Content-Type: text/plain */*]
expected: FAIL
[<iframe>: separate response Content-Type: text/plain */*;charset=gbk]
expected: FAIL

View file

@ -53,9 +53,3 @@
[combined text/javascript ]
expected: FAIL
[separate text/javascript x/x]
expected: FAIL
[separate text/javascript; charset=windows-1252 text/javascript]
expected: FAIL

View file

@ -11,6 +11,9 @@
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
expected: FAIL
[X-Content-Type-Options%3A%20'NosniFF']
[X-Content-Type-Options%3A%20%22nosniFF%22]
expected: FAIL
[X-Content-Type-Options%3A%20no%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

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

View file

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

View file

@ -1,4 +1,5 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener and "removed" embedded documents]
expected: FAIL

View file

@ -172,6 +172,3 @@
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
expected: FAIL
[HTML (standards) IMG usemap="no-hash-name"]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_escaping-1.html]
type: testharness
expected: TIMEOUT
expected: CRASH
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: FAIL
expected: TIMEOUT

View file

@ -1,6 +1,5 @@
[iframe_sandbox_popups_escaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT
expected: FAIL

View file

@ -1,5 +1,6 @@
[iframe_sandbox_popups_nonescaping-1.html]
type: testharness
expected: CRASH
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: FAIL

View file

@ -1,6 +1,6 @@
[iframe_sandbox_popups_nonescaping-2.html]
type: testharness
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN

View file

@ -1,6 +1,5 @@
[iframe_sandbox_popups_nonescaping-3.html]
type: testharness
expected: TIMEOUT
[Check that popups from a sandboxed iframe do not escape the sandbox]
expected: NOTRUN
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit-3.html]
[<button> should have the same double-submit protection as <input type=submit>]
expected: FAIL

View file

@ -0,0 +1,4 @@
[form-double-submit.html]
[default submit action should supersede onclick submit()]
expected: FAIL

View file

@ -0,0 +1,2 @@
[script-onerror-insertion-point-2.html]
expected: TIMEOUT

View file

@ -4,6 +4,3 @@
[The incumbent settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: TIMEOUT
[The entry settings object while executing the compiled callback via Web IDL's invoke must be that of the node document]
expected: FAIL

View file

@ -1,13 +1,12 @@
[promise-job-entry.html]
expected: TIMEOUT
[Fulfillment handler on fulfilled promise]
expected: TIMEOUT
expected: FAIL
[Rejection handler on pending-then-rejected promise]
expected: FAIL
[Sanity check: this all works as expected with no promises involved]
expected: TIMEOUT
expected: FAIL
[Thenable resolution]
expected: FAIL

View file

@ -1,4 +1,5 @@
[audiocontext-not-fully-active.html]
expected: TIMEOUT
[frame in navigated remote-site frame]
expected: FAIL

View file

@ -0,0 +1,5 @@
[017.html]
expected: TIMEOUT
[origin of the script that invoked the method, about:blank]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[Worker-constructor.html]
expected: ERROR

View file

@ -3,6 +3,7 @@
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-items">
<link rel="match" href="flexbox_stf-table-singleline-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#test {
background: blue;
@ -15,6 +16,7 @@ div div {
display: flex;
}
p {
font-family: Ahem;
margin: 1em 0;
width: 200px;
}

View file

@ -1,8 +1,10 @@
<!DOCTYPE html>
<title>flexbox | singleline flexcontainer versus stf :: table</title>
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div, p {
font-family: Ahem;
display: inline-block;
}
p {

View file

@ -3,6 +3,7 @@
<link rel="author" href="http://opera.com" title="Opera Software">
<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-items">
<link rel="match" href="flexbox_stf-table-singleline-ref.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
#test {
background: red;
@ -15,6 +16,7 @@ div div {
display: flex;
}
p {
font-family: Ahem;
margin: 1em 0;
width: 200px;
}

View file

@ -14,7 +14,6 @@
<tr>
<th>T[sec]</th>
<th>delay[sec]</th>
<th>auto</th>
<th>block</th>
<th>swap</th>
<th>fallback</th>
@ -24,7 +23,6 @@
<td>0</td>
<td>1</td>
<td></td>
<td></td>
<td class="arial">a</td>
<td></td>
<td class="arial">a</td>
@ -36,7 +34,6 @@
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
</tr>
<tr>
<td>1</td>
@ -44,14 +41,12 @@
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="arial">a</td>
</tr>
<tr>
<td>1</td>
<td>3</td>
<td></td>
<td></td>
<td class="arial">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
@ -62,7 +57,6 @@
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="arial">a</td>
</tr>
<tr>
@ -70,7 +64,6 @@
<td>4</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="ahem">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
</tr>
@ -81,6 +74,5 @@
<td class="arial">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
<td class="arial">a</td>
</tr>
</table>

View file

@ -13,7 +13,6 @@
<tr>
<th>T[sec]</th>
<th>delay[sec]</th>
<th>auto</th>
<th>block</th>
<th>swap</th>
<th>fallback</th>
@ -21,7 +20,7 @@
</tr>
</table>
<script>
var fontDisplayValues = ['auto', 'block', 'swap', 'fallback', 'optional'];
var fontDisplayValues = ['block', 'swap', 'fallback', 'optional'];
var configs = [{time: 0, delay: 1000},
{time: 1000, delay: 0},
{time: 1000, delay: 500},

View file

@ -1,16 +0,0 @@
<!DOCTYPE html>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-multicol-1/#spanning-columns">
<link rel="help" href="https://www.w3.org/TR/css-break-3/#break-margins">
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="columns:2; column-gap:0; width:100px; background:red;">
<div style="height:30px;"></div>
<div style="height:30px; background:green;"></div>
<div>
<div style="column-span:all; height:40px; background:green;">
<div style="width:50px; height:40px; background:red;"></div>
</div>
</div>
<div style="margin-top:-70px; height:130px; background:green;"></div>
</div>

View file

@ -20,6 +20,9 @@
background: blue;
height: 10000px;
width: 10000px;
border-right-width: 20px;
border-right-style: solid;
border-right-color: red;
}
</style></head>
<body><div></div></body>

View file

@ -0,0 +1,36 @@
<!doctype html>
<meta charset="utf-8">
<title>Overflow: verifies content visual overflow is shown</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
<style>
body {
margin: 0
}
.shadow {
width: 100px;
height: 100px;
will-change: transform;
background: black;
box-shadow: 10px 50px 5px red;
}
.cover {
width: 200px;
height: 200px;
background: white;
position: absolute;
}
.spacer {
width: 100px;
height: 150px;
}
</style>
<div class="shadow"></div>
<div class="cover" style="left: 100px; top: 0"></div>
<div class="spacer"></div>
<div class="shadow"></div>
<div class="cover" style="top: 350px"></div>
</script>

View file

@ -0,0 +1,37 @@
<!doctype html>
<meta charset="utf-8">
<title>Overflow: verifies content visual overflow is shown</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
<link rel="author" title="Scott Violet" href="mailto:sky@chromium.org">
<link rel="match" href="overflow-clip-content-visual-overflow-ref.html">
<style>
body {
margin: 0
}
.parent {
width: 100px;
height: 100px;
will-change: transform;
}
.child {
width: 100px;
height: 100px;
background: black;
box-shadow: 10px 50px 5px red;
}
.spacer {
width: 100px;
height: 150px;
}
</style>
<div class="parent" style="overflow-x: clip; overflow-y: visible">
<div class="child"></div>
</div>
<div class="spacer"></div>
<div class="parent" style="overflow-x: visible; overflow-y: clip">
<div class="child"></div>
</div>
</script>

View file

@ -0,0 +1,2 @@
<!DOCTYPE html>
This should be visible

View file

@ -0,0 +1,6 @@
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-will-change/#will-change">
<link rel="match" href="will-change-transform-zero-size-child-overflow-visible-ref.html">
<div style="will-change: transform">
<div style="width: 0; height: 0; overflow: visible; white-space: nowrap">This should be visible</div>
</div>

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<script src='/resources/testdriver.js'></script>
<script src="/resources/testdriver-vendor.js"></script>
</head>
<body>
<script>
promise_test(async (t) => {
const reportPromise = new Promise(resolve => {
new ReportingObserver((reports, observer) => resolve(reports),
{types: ["feature-policy-violation"]}).observe();
});
await test_driver.set_permission({name: 'screen-wake-lock'},
'granted', false);
await navigator.wakeLock.request('screen');
const reports = await reportPromise;
assert_equals(reports.length, 1);
const report = reports[0];
assert_equals(report.type, "feature-policy-violation");
assert_equals(report.body.featureId, "screen-wake-lock");
assert_equals(report.body.sourceFile, document.location.href);
assert_equals(typeof report.body.lineNumber, "number");
assert_equals(typeof report.body.columnNumber, "number");
assert_equals(report.body.disposition, "report");
}, "Screen Wake Lock report only mode");
</script>
</body>
</html>

View file

@ -0,0 +1 @@
Feature-Policy-Report-Only: screen-wake-lock 'none'

View file

@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
</head>
<body>
<script>
promise_test(async (t) => {
const reportPromise = new Promise(resolve => {
new ReportingObserver((reports, observer) => resolve(reports),
{types: ["feature-policy-violation"]}).observe();
});
// Even though we do not explicitly allow screen wake lock requests in
// testdriver, per spec Permissions Policy checks should happen earlier.
await promise_rejects_dom(t, 'NotAllowedError', navigator.wakeLock.request("screen"),
"Screen Wake Lock should not be allowed in this document.");
const reports = await reportPromise;
assert_equals(reports.length, 1);
const report = reports[0];
assert_equals(report.type, "feature-policy-violation");
assert_equals(report.url, document.location.href);
assert_equals(report.body.featureId, "screen-wake-lock");
assert_equals(report.body.sourceFile, document.location.href);
assert_equals(typeof report.body.lineNumber, "number");
assert_equals(typeof report.body.columnNumber, "number");
assert_equals(report.body.disposition, "enforce");
}, "Screen Wake Lock Report Format");
</script>
</body>
</html>

View file

@ -0,0 +1 @@
Feature-Policy: screen-wake-lock 'none'

View file

@ -65,6 +65,9 @@ promise_test(async t => {
assert_source_location_found(report_access_from[0])
assert_equals(report_access_from[0].body.type,
"access-from-coop-page-to-openee");
assert_equals(report_access_from[0].body.openeeURL, openee_url);
assert_equals(report_access_from[0].body.openerURL, undefined);
assert_equals(report_access_from[0].body.otherDocumentURL, undefined);
// 5. The openee tries to access its opener. No reports for blocked access
// to the COOP page should be dispatched.
@ -122,6 +125,9 @@ promise_test(async t => {
assert_source_location_found(report_access_from[0])
assert_equals(report_access_from[0].body.type,
"access-from-coop-page-to-opener");
assert_equals(report_access_from[0].body.openeeURL, undefined);
assert_equals(report_access_from[0].body.openerURL, opener_url);
assert_equals(report_access_from[0].body.otherDocumentURL, undefined);
// 4. The opener tries to access its openee. No reports for blocked access
// to the COOP page should be dispatched.
@ -198,6 +204,9 @@ promise_test(async t => {
assert_source_location_found(reports[0]);
assert_equals(reports[0].body.type,
"access-from-coop-page-to-openee");
assert_equals(reports[0].body.openeeURL, openee_url);
assert_equals(reports[0].body.openerURL, undefined);
assert_equals(reports[0].body.otherDocumentURL, undefined);
}, "Access from same-origin iframe")
promise_test(async t => {

View file

@ -1563,16 +1563,18 @@ dictionary ElementDefinitionOptions {
[Exposed=Window]
interface ElementInternals {
// Form-associated custom elements
// Shadow root access
readonly attribute ShadowRoot? shadowRoot;
// Form-associated custom elements
undefined setFormValue((File or USVString or FormData)? value,
optional (File or USVString or FormData)? state);
optional (File or USVString or FormData)? state);
readonly attribute HTMLFormElement? form;
undefined setValidity(optional ValidityStateFlags flags = {},
optional DOMString message,
optional HTMLElement anchor);
optional DOMString message,
optional HTMLElement anchor);
readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
readonly attribute DOMString validationMessage;
@ -1580,10 +1582,9 @@ interface ElementInternals {
boolean reportValidity();
readonly attribute NodeList labels;
readonly attribute ShadowRoot? shadowRoot;
};
// Accessibility semantics
ElementInternals includes ARIAMixin;
dictionary ValidityStateFlags {

View file

@ -0,0 +1,2 @@
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Embedder-Policy: require-corp

View file

@ -1,19 +0,0 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['js-self-profiling'],
['hr-time', 'dom'],
async idl_array => {
idl_array.add_objects({
Performance: ['performance'],
Profiler: ['profiler'],
});
self.profiler = await performance.profile({
sampleInterval: 1,
});
}
);

View file

@ -0,0 +1,25 @@
<!doctype html>
<meta charset=utf-8>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/resources/WebIDLParser.js"></script>
<script src="/resources/idlharness.js"></script>
<body>
<script>
'use strict';
idl_test(
['js-self-profiling'],
['hr-time', 'dom'],
async idl_array => {
idl_array.add_objects({
Performance: ['performance'],
Profiler: ['profiler'],
});
self.profiler = await performance.profile({
sampleInterval: 1,
});
}
);
</script>