Update web-platform-tests to revision 1916d3f4f67ab06325b4f0f8ac65b5ebad404bf2

This commit is contained in:
WPT Sync Bot 2020-09-28 08:21:01 +00:00
parent f518ffc858
commit ea51b4da95
58 changed files with 351 additions and 165 deletions

View file

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

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -5,36 +5,9 @@
[[data-expected-height\] 7]
expected: FAIL
[[data-expected-height\] 4]
expected: FAIL
[[data-expected-height\] 1]
expected: FAIL
[[data-expected-height\] 10]
expected: FAIL
[[data-expected-height\] 2]
expected: FAIL
[[data-expected-height\] 5]
expected: FAIL
[[data-expected-height\] 6]
expected: FAIL
[[data-expected-height\] 9]
expected: FAIL
[[data-expected-height\] 8]
expected: FAIL
[[data-expected-height\] 13]
expected: FAIL
[[data-expected-height\] 12]
expected: FAIL
[[data-expected-height\] 11]
expected: FAIL

View file

@ -17,6 +17,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for otherwise empty queries within the viewport]
expected: FAIL

View file

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

View file

@ -11,9 +11,3 @@
[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']
expected: FAIL
[X-Content-Type-Options%3A%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,20 +1,16 @@
[supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus]
expected: FAIL
[Host element with delegatesFocus including no focusable descendants should be skipped]
expected: NOTRUN
expected: FAIL
[Element with tabindex should support autofocus]
expected: FAIL
[Area element should support autofocus]
expected: NOTRUN
expected: FAIL
[Host element with delegatesFocus should support autofocus]
expected: NOTRUN
[Non-HTMLElement should not support autofocus]
expected: TIMEOUT
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,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

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

View file

@ -0,0 +1,4 @@
[form-double-submit-2.html]
[preventDefault should allow onclick submit() to succeed]
expected: FAIL

View file

@ -5,9 +5,6 @@
[Check that rel=noopener with target=_top does a normal load]
expected: FAIL
[Check that rel=noopener with target=_self does a normal load]
expected: FAIL
[Check that rel=noopener with target=_parent does a normal load]
expected: FAIL

View file

@ -1,4 +0,0 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -1,4 +0,0 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

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

View file

@ -0,0 +1,19 @@
[navigate.py]
[test_multi_line_link]
expected: FAIL
[test_link_unload_event]
expected: FAIL
[test_link_closes_window]
expected: FAIL
[test_link_hash]
expected: FAIL
[test_numbers_link]
expected: FAIL
[test_link_open_target_in_new_window]
expected: FAIL

View file

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

View file

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

View file

@ -438,6 +438,13 @@
{}
]
],
"ellisize-rtl-text-crash.html": [
"88908877d668067c9c80fab1391f3c5f4e0dd53b",
[
null,
{}
]
],
"overflow-wrap": {
"overflow-wrap-break-word-long-crash.html": [
"e318386ded5bd3d1d61cf876fe420c8f5ada799f",
@ -454,6 +461,13 @@
]
]
},
"removing-collapsible-spaces-before-float-crash.html": [
"92bba35e08bac555c849d51580812deda84681d3",
[
null,
{}
]
],
"text-indent": {
"text-indent-long-line-crash.html": [
"9b5e07983784e63a0d6828323a56ad4e874fa6c3",
@ -295327,6 +295341,10 @@
"white_color.png": [
"4276253883c564a0f3ce4e609d5252b158ed5ef4",
[]
],
"y.png": [
"4e402fe2ee4e67055b545f1d70347c70675d041f",
[]
]
},
"table-cell-background-local-ref.html": [
@ -343597,7 +343615,7 @@
[]
],
"css-font-loading.idl": [
"31d247e9df25e143c939275abd310745eb57de72",
"c047b855b1fe1f6db6248d669c3b3dd96d35f40c",
[]
],
"css-fonts.idl": [
@ -343992,6 +344010,10 @@
"b6626292183422e7961f53e757e062448ae3df72",
[]
],
"serial.idl": [
"b376bac1ed7a851baff2bde6010944bb7b1c644e",
[]
],
"server-timing.idl": [
"ef2a761dfca941253f0a27de5f802a9e55348dbb",
[]
@ -344137,7 +344159,7 @@
[]
],
"webrtc-svc.idl": [
"45469d79467dd9488d5b13b7b2407b25142d0d10",
"e42efe03b69a180df037017fd96eb863a5292643",
[]
],
"webrtc.idl": [
@ -344390,7 +344412,7 @@
]
},
"lint.ignore": [
"ae6c07b877cb8040d653b164438ce5408ae09136",
"38ec5e19221cb7a6c919be8084e81699a6343418",
[]
],
"loading": {
@ -507291,6 +507313,39 @@
]
},
"serial": {
"idlharness.https.any.js": [
"b240da933ade1595d3b1965c3ca6613c91c8318f",
[
"serial/idlharness.https.any.html",
{
"script_metadata": [
[
"script",
"/resources/WebIDLParser.js"
],
[
"script",
"/resources/idlharness.js"
]
]
}
],
[
"serial/idlharness.https.any.worker.html",
{
"script_metadata": [
[
"script",
"/resources/WebIDLParser.js"
],
[
"script",
"/resources/idlharness.js"
]
]
}
]
],
"serial-allowed-by-feature-policy-attribute-redirect-on-load.https.sub.html": [
"7c3a88dd51f93d74dc86882c12aab6bd2c25afb0",
[
@ -567789,7 +567844,7 @@
]
],
"navigate.py": [
"9426ea089b0f24da8576ac39eab74abe4abe4786",
"d776a1eb84e6899e0cbe4bea74d82f5b80b246a9",
[
null,
{}

View file

@ -0,0 +1,4 @@
[hit-test-floats-005.html]
[Miss clipped float]
expected: FAIL

View file

@ -8,6 +8,9 @@
[[data-expected-height\] 3]
expected: FAIL
[[data-expected-height\] 4]
[[data-expected-height\] 1]
expected: FAIL
[[data-expected-height\] 2]
expected: FAIL

View file

@ -21,6 +21,3 @@
[test the top of layer]
expected: FAIL
[test some point of the element: top left corner]
expected: FAIL

View file

@ -1,4 +0,0 @@
[elementsFromPoint-invalid-cases.html]
[The root element is the last element returned for otherwise empty queries within the viewport]
expected: FAIL

View file

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

View file

@ -11,9 +11,3 @@
[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']
expected: FAIL
[X-Content-Type-Options%3A%0D%0AX-Content-Type-Options%3A%20nosniff]
expected: FAIL

View file

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

View file

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

View file

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

View file

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

View file

@ -1,8 +1,10 @@
[embedded-opener-remove-frame.html]
expected: CRASH
[opener and "removed" embedded documents]
expected: FAIL
[opener of discarded nested browsing context]
expected: FAIL
[opener of discarded auxiliary browsing context]
expected: FAIL

View file

@ -1,5 +1,4 @@
[supported-elements.html]
expected: TIMEOUT
[Contenteditable element should support autofocus]
expected: FAIL
@ -7,14 +6,11 @@
expected: FAIL
[Host element with delegatesFocus including no focusable descendants should be skipped]
expected: NOTRUN
expected: FAIL
[Area element should support autofocus]
expected: NOTRUN
expected: FAIL
[Host element with delegatesFocus should support autofocus]
expected: NOTRUN
[Non-HTMLElement should not support autofocus]
expected: TIMEOUT
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,5 +1,5 @@
[iframe_sandbox_popups_escaping-2.html]
expected: CRASH
expected: TIMEOUT
[Check that popups from a sandboxed iframe escape the sandbox if\n allow-popups-to-escape-sandbox is used]
expected: TIMEOUT

View file

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

View file

@ -0,0 +1,4 @@
[form-double-submit-2.html]
[preventDefault should allow onclick submit() to succeed]
expected: FAIL

View file

@ -9,9 +9,6 @@
[Check that rel=noopener with target=_top does a normal load]
expected: FAIL
[Check that rel=noopener with target=_self does a normal load]
expected: FAIL
[Check that rel=noopener with target=_parent does a normal load]
expected: FAIL

View file

@ -1,4 +0,0 @@
[module-delayed.html]
[async document.write in a module]
expected: FAIL

View file

@ -1,4 +0,0 @@
[module-static-import-delayed.html]
[document.write in an imported module]
expected: FAIL

View file

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

View file

@ -14,3 +14,6 @@
[test_numbers_link]
expected: FAIL
[test_link_open_target_in_new_window]
expected: FAIL

View file

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 KiB

View file

@ -0,0 +1,15 @@
<title>CSS Text Test: Ellipsize overflowing text in RTL cause Chrome to crash</title>
<link rel="help" href="https://crbug.com/1130153">
<style>
.CLASS2 {
text-overflow: ellipsis;
overflow: hidden;
direction: rtl;
}
.CLASS13 {
font-size: 32768em;
}
</style>
<div class="CLASS2">
<abbr class="CLASS13">x AxBxC </abbr>C
</div>

View file

@ -0,0 +1,16 @@
<title>CSS Text Test: Removing collapsible space before a float element cause Chrome to crash</title>
<link rel="help" href="https://crbug.com/1131470">
<!DOCTYPE html>
<style type="text/css">
.CLASS9 {
zoom:1.3%;
padding:8589934592%;
}
.CLASS13 { float:left; }
</style>
<b class="CLASS9">
>
a C
</b>
<input class="CLASS13"/>
c

View file

@ -14,6 +14,9 @@ dictionary FontFaceDescriptors {
CSSOMString featureSettings = "normal";
CSSOMString variationSettings = "normal";
CSSOMString display = "auto";
CSSOMString ascentOverride = "normal";
CSSOMString descentOverride = "normal";
CSSOMString lineGapOverride = "normal";
};
enum FontFaceLoadStatus { "unloaded", "loading", "loaded", "error" };
@ -31,6 +34,9 @@ interface FontFace {
attribute CSSOMString featureSettings;
attribute CSSOMString variationSettings;
attribute CSSOMString display;
attribute CSSOMString ascentOverride;
attribute CSSOMString descentOverride;
attribute CSSOMString lineGapOverride;
readonly attribute FontFaceLoadStatus status;

View file

@ -0,0 +1,57 @@
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: Serial API (https://wicg.github.io/serial/)
[Exposed=Window, SecureContext]
partial interface Navigator {
[SameObject] readonly attribute Serial serial;
};
[Exposed=DedicatedWorker, SecureContext]
partial interface WorkerNavigator {
[SameObject] readonly attribute Serial serial;
};
[Exposed=(DedicatedWorker, Window), SecureContext]
interface Serial : EventTarget {
attribute EventHandler onconnect;
attribute EventHandler ondisconnect;
Promise<sequence<SerialPort>> getPorts();
[Exposed=Window] Promise<SerialPort> requestPort(optional SerialOptions options = {});
};
[Exposed=(DedicatedWorker,Window), SecureContext]
interface SerialPort {
Promise<void> open(optional SerialOptions options = {});
readonly attribute ReadableStream in;
readonly attribute WritableStream out;
SerialPortInfo getInfo();
};
[Exposed=(DedicatedWorker,Window), SecureContext]
interface SerialPortInfo {
maplike<DOMString, DOMString?>;
};
dictionary SerialOptions {
long baudRate = 9600;
octet dataBits = 8;
octet stopBits = 1;
ParityType parity = "none";
long bufferSize = 255;
FlowControlType flowControl = "none";
};
enum ParityType {
"none",
"even",
"odd",
"mark",
"space"
};
enum FlowControlType {
"none",
"hardware"
};

View file

@ -4,9 +4,9 @@
// Source: Scalable Video Coding (SVC) Extension for WebRTC (https://w3c.github.io/webrtc-svc/)
partial dictionary RTCRtpEncodingParameters {
DOMString scalabilityMode;
DOMString scalabilityMode;
};
partial dictionary RTCRtpCodecCapability {
sequence<DOMString> scalabilityModes;
sequence<DOMString> scalabilityModes;
};

View file

@ -85,6 +85,7 @@ CR AT EOL: html/semantics/forms/the-textarea-element/multiline-placeholder-crlf.
CR AT EOL: html/semantics/forms/the-input-element/multiline-placeholder-cr.html
CR AT EOL: html/semantics/forms/the-input-element/multiline-placeholder-crlf.html
CR AT EOL: webvtt/parsing/file-parsing/tests/support/newlines.vtt
CR AT EOL: css/css-text/ellisize-rtl-text-crash.html
# Intentional use of tabs
INDENT TABS: html/semantics/embedded-content/the-canvas-element/size.attributes.parse.whitespace.html

View file

@ -0,0 +1,22 @@
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['serial'],
['html', 'dom'],
idl_array => {
idl_array.add_objects({
Serial: ['navigator.serial'],
// TODO: SerialPort
// TODO: SerialPortInfo
});
if (self.GLOBAL.isWorker()) {
idl_array.add_objects({ WorkerNavigator: ['navigator'] });
} else {
idl_array.add_objects({ Navigator: ['navigator'] });
}
}
);

View file

@ -1,5 +1,6 @@
from tests.support.asserts import assert_success
from tests.support.inline import inline
from tests.support.sync import Poll
def element_click(session, element):
@ -92,7 +93,34 @@ def test_link_hash(session):
""", args=(element,)) is True
def test_link_closes_window(session, url):
def test_link_open_target_in_new_window(session, url):
orig_handles = session.handles
session.url = inline("""
<a href="{}" target="_blank">Open in new window</a>
""".format(inline("<p id=foo")))
element = session.find.css("a", all=False)
response = element_click(session, element)
assert_success(response)
def find_new_handle(session):
new_handles = list(set(session.handles) - set(orig_handles))
if new_handles and len(new_handles) == 1:
return new_handles[0]
return None
wait = Poll(
session,
timeout=5,
message="No new window has been opened")
new_handle = wait.until(find_new_handle)
session.window_handle = new_handle
session.find.css("#foo")
def test_link_closes_window(session):
new_handle = session.new_window()
session.window_handle = new_handle