Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc

This commit is contained in:
WPT Sync Bot 2019-07-11 10:25:27 +00:00
parent 305312e93b
commit 4499a0fbb6
151 changed files with 4858 additions and 2407 deletions

View file

@ -1,6 +0,0 @@
[
{
"id": "event-definitions-0",
"original_id": "event-definitions-0"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "event-definition",
"original_id": "event-definition"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "security-location",
"original_id": "security-location"
}
]

View file

@ -1,10 +0,0 @@
[
{
"id": "supporting-offline-caching-for-legacy-applications",
"original_id": "supporting-offline-caching-for-legacy-applications"
},
{
"id": "appcacheevents",
"original_id": "appcacheevents"
}
]

View file

@ -1,14 +0,0 @@
[
{
"id": "some-sample-manifests",
"original_id": "some-sample-manifests"
},
{
"id": "writing-cache-manifests",
"original_id": "writing-cache-manifests"
},
{
"id": "parsing-cache-manifests",
"original_id": "parsing-cache-manifests"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "navigating-auxiliary-browsing-contexts-in-the-dom",
"original_id": "navigating-auxiliary-browsing-contexts-in-the-dom"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "navigating-nested-browsing-contexts-in-the-dom",
"original_id": "navigating-nested-browsing-contexts-in-the-dom"
}
]

View file

@ -1,48 +0,0 @@
[
{
"id": "kinds-of-content",
"original_id": "kinds-of-content",
"children": [
{
"id": "metadata-content",
"original_id": "metadata-content"
},
{
"id": "flow-content",
"original_id": "flow-content"
},
{
"id": "sectioning-content",
"original_id": "sectioning-content"
},
{
"id": "heading-content",
"original_id": "heading-content"
},
{
"id": "phrasing-content",
"original_id": "phrasing-content"
},
{
"id": "embedded-content",
"original_id": "embedded-content"
},
{
"id": "interactive-content",
"original_id": "interactive-content"
},
{
"id": "palpable-content",
"original_id": "palpable-content"
}
]
},
{
"id": "transparent-content-models",
"original_id": "transparent-content-models"
},
{
"id": "paragraphs",
"original_id": "paragraphs"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "attributes",
"original_id": "attributes"
}
]

View file

@ -1,38 +0,0 @@
[
{
"id": "the-id-attribute",
"original_id": "the-id-attribute"
},
{
"id": "the-title-attribute",
"original_id": "the-title-attribute"
},
{
"id": "the-lang-and-xml-lang-attributes",
"original_id": "the-lang-and-xml:lang-attributes"
},
{
"id": "the-translate-attribute",
"original_id": "the-translate-attribute"
},
{
"id": "the-xml-base-attribute-xml-only",
"original_id": "the-xml:base-attribute-(xml-only)"
},
{
"id": "the-dir-attribute",
"original_id": "the-dir-attribute"
},
{
"id": "classes",
"original_id": "classes"
},
{
"id": "the-style-attribute",
"original_id": "the-style-attribute"
},
{
"id": "embedding-custom-non-visible-data-with-the-data-attributes",
"original_id": "embedding-custom-non-visible-data-with-the-data-*-attributes"
}
]

View file

@ -1,18 +0,0 @@
[
{
"id": "aria-role-attribute",
"original_id": "aria-role-attribute"
},
{
"id": "state-and-property-attributes",
"original_id": "state-and-property-attributes"
},
{
"id": "sec-strong-native-semantics",
"original_id": "sec-strong-native-semantics"
},
{
"id": "sec-implicit-aria-semantics",
"original_id": "sec-implicit-aria-semantics"
}
]

View file

@ -1,14 +0,0 @@
[
{
"id": "htmlallcollection",
"original_id": "htmlallcollection"
},
{
"id": "htmlformcontrolscollection",
"original_id": "htmlformcontrolscollection"
},
{
"id": "htmloptionscollection",
"original_id": "htmloptionscollection"
}
]

View file

@ -1,42 +0,0 @@
[
{
"id": "months",
"original_id": "months"
},
{
"id": "dates",
"original_id": "dates"
},
{
"id": "yearless-dates",
"original_id": "yearless-dates"
},
{
"id": "times",
"original_id": "times"
},
{
"id": "local-dates-and-times",
"original_id": "local-dates-and-times"
},
{
"id": "time-zones",
"original_id": "time-zones"
},
{
"id": "global-dates-and-times",
"original_id": "global-dates-and-times"
},
{
"id": "weeks",
"original_id": "weeks"
},
{
"id": "durations",
"original_id": "durations"
},
{
"id": "vaguer-moments-in-time",
"original_id": "vaguer-moments-in-time"
}
]

View file

@ -1,26 +0,0 @@
[
{
"id": "signed-integers",
"original_id": "signed-integers"
},
{
"id": "non-negative-integers",
"original_id": "non-negative-integers"
},
{
"id": "floating-point-numbers",
"original_id": "floating-point-numbers"
},
{
"id": "percentages-and-dimensions",
"original_id": "percentages-and-dimensions"
},
{
"id": "lists-of-integers",
"original_id": "lists-of-integers"
},
{
"id": "lists-of-dimensions",
"original_id": "lists-of-dimensions"
}
]

View file

@ -33,6 +33,7 @@ const valid_values = [
[ "1007", "1007px" ],
[ " 00523 ", "523px" ],
[ "200.25", "200.25px" ],
[ "200.7", "200.7px" ],
[ "200.", "200px" ],
[ "+200", "200px" ],
[ "200in", "200px" ],
@ -99,39 +100,60 @@ function newImageInput() {
* Array of tests. Each test consists of the following information:
*
* 1) An element creation function.
* 2) The name of the attribute to set (and CSS property to get).
* 3) A boolean indicating whether 0 is a valid value for the dimension
* 2) The name of the attribute to set
* 3) The name of the CSS property to get.
* 4) A boolean indicating whether 0 is a valid value for the dimension
* attribute.
*/
const tests = [
[ newElem("hr"), "width", true ],
[ newElem("iframe"), "width", true ],
[ newElem("iframe"), "height", true ],
[ newImageInput(), "width", true ],
[ newImageInput(), "height", true ],
[ newElem("marquee"), "width", true ],
[ newElem("marquee"), "height", true ],
[ newElem("video"), "width", true ],
[ newElem("video"), "height", true ],
[ newElem("object"), "width", true ],
[ newElem("object"), "height", true ],
[ newElem("embed"), "width", true ],
[ newElem("embed"), "height", true ],
[ newElem("img"), "width", true ],
[ newElem("img"), "height", true ],
[ newElem("td"), "width", false ],
[ newElem("td"), "height", false ],
[ newElem("hr"), "width", "width", true ],
[ newElem("iframe"), "width", "width", true ],
[ newElem("iframe"), "height", "height", true ],
[ newImageInput(), "width", "width", true ],
[ newImageInput(), "height", "height", true ],
[ newElem("marquee"), "width", "width", true ],
[ newElem("marquee"), "height", "height", true ],
[ newElem("video"), "width", "width", true ],
[ newElem("video"), "height", "height", true ],
[ newElem("object"), "width", "width", true ],
[ newElem("object"), "height", "height", true ],
[ newElem("embed"), "width", "width", true ],
[ newElem("embed"), "height", "height", true ],
[ newElem("img"), "width", "width", true ],
[ newElem("img"), "height", "height", true ],
[ newElem("td"), "width", "width", false ],
[ newElem("td"), "height", "height", false ],
// https://github.com/whatwg/html/issues/4715 tracks the fact that for
// <table width> and <table height> the "0 is valid" boolean should probably
// be true.
[ newElem("table"), "width", false ],
[ newElem("table"), "height", false ],
[ newElem("table"), "width", "width", false ],
[ newElem("table"), "height", "height", false ],
// https://github.com/whatwg/html/issues/4716 tracks the fact that for the
// <tr height> case that "0 is valid" boolean should probably be true.
[ newElem("tr"), "height", false ],
[ newElem("tr"), "height", "height", false ],
// https://github.com/whatwg/html/issues/4717 tracks the fact that for the
// <col width> case that "0 is valid" boolean should probably be true.
[ newElem("col"), "width", false ],
[ newElem("col"), "width", "width", false ],
[ newElem("embed"), "hspace", "marginLeft", true ],
[ newElem("embed"), "hspace", "marginRight", true ],
[ newElem("embed"), "vspace", "marginTop", true ],
[ newElem("embed"), "vspace", "marginBottom", true ],
[ newElem("img"), "hspace", "marginLeft", true ],
[ newElem("img"), "hspace", "marginRight", true ],
[ newElem("img"), "vspace", "marginTop", true ],
[ newElem("img"), "vspace", "marginBottom", true ],
[ newElem("object"), "hspace", "marginLeft", true ],
[ newElem("object"), "hspace", "marginRight", true ],
[ newElem("object"), "vspace", "marginTop", true ],
[ newElem("object"), "vspace", "marginBottom", true ],
[ newImageInput(), "hspace", "marginLeft", true ],
[ newImageInput(), "hspace", "marginRight", true ],
[ newImageInput(), "vspace", "marginTop", true ],
[ newImageInput(), "vspace", "marginBottom", true ],
[ newElem("marquee"), "hspace", "marginLeft", true ],
[ newElem("marquee"), "hspace", "marginRight", true ],
[ newElem("marquee"), "vspace", "marginTop", true ],
[ newElem("marquee"), "vspace", "marginBottom", true ],
];
@ -141,7 +163,7 @@ function style(element) {
const container = document.getElementById("container");
for (let [ctor, attr, zero_allowed] of tests) {
for (let [ctor, attr, prop, zero_allowed] of tests) {
let valid, invalid;
if (zero_allowed) {
valid = valid_values_with_0;
@ -157,13 +179,13 @@ for (let [ctor, attr, zero_allowed] of tests) {
elem.setAttribute(attr, value);
assert_equals(elem.getAttribute(attr), value);
container.appendChild(elem);
assert_equals(style(elem)[attr], result);
}, `<${elem.localName} ${attr}="${value}"> mapping`);
assert_equals(style(elem)[prop], result);
}, `<${elem.localName} ${attr}="${value}"> mapping to ${prop}`);
}
let default_elem = ctor();
container.appendChild(default_elem);
let defaultVal = style(default_elem)[attr];
let defaultVal = style(default_elem)[prop];
default_elem.remove();
for (let value of invalid) {
let elem = ctor();
@ -172,8 +194,8 @@ for (let [ctor, attr, zero_allowed] of tests) {
elem.setAttribute(attr, value);
assert_equals(elem.getAttribute(attr), value);
container.appendChild(elem);
assert_equals(style(elem)[attr], defaultVal);
}, `<${elem.localName} ${attr}="${value}"> mapping`);
assert_equals(style(elem)[prop], defaultVal);
}, `<${elem.localName} ${attr}="${value}"> mapping to ${prop}`);
}
}
</script>

View file

@ -1,11 +1,18 @@
<!doctype html>
<meta charset=utf-8>
<!-- Creating iframes is slow in browsers -->
<meta name=timeout content=long>
<title>Test handling of attributes that map to pixel length properties</title>
<link rel="help"
href="https://html.spec.whatwg.org/multipage/rendering.html#maps-to-the-pixel-length-property">
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<body>
<div id="container" style="display: none">
<img id="defaultImg">
<object id="defaultObject"></object>
<input type="image" id="defaultInput"></input>
</div>
<script>
/*
* This test tests
@ -69,13 +76,53 @@ const tests = [
[ createFrame, "marginwidth", "marginRight", document.body ],
[ createFrame, "marginheight", "marginTop", document.body ],
[ createFrame, "marginheight", "marginBottom", document.body ],
[ createBody, "marginwidth", "marginLeft", document.body ],
[ createBody, "marginwidth", "marginRight", document.body ],
[ createBody, "leftmargin", "marginLeft", document.body ],
[ createBody, "rightmargin", "marginRight", document.body ],
[ createBody, "marginheight", "marginTop", document.body ],
[ createBody, "marginheight", "marginBottom", document.body ],
[ createBody, "topmargin", "marginTop", document.body ],
[ createBody, "bottommargin", "marginBottom", document.body ],
[ newElem("img"), "border", "borderTopWidth", defaultImg ],
[ newElem("img"), "border", "borderRightWidth", defaultImg ],
[ newElem("img"), "border", "borderBottomWidth", defaultImg ],
[ newElem("img"), "border", "borderLeftWidth", defaultImg ],
[ newElem("object"), "border", "borderTopWidth", defaultObject ],
[ newElem("object"), "border", "borderRightWidth", defaultObject ],
[ newElem("object"), "border", "borderBottomWidth", defaultObject ],
[ newElem("object"), "border", "borderLeftWidth", defaultObject ],
[ newImageInput, "border", "borderTopWidth", defaultInput ],
[ newImageInput, "border", "borderRightWidth", defaultInput ],
[ newImageInput, "border", "borderBottomWidth", defaultInput ],
[ newImageInput, "border", "borderLeftWidth", defaultInput ],
];
function newElem(name) {
return () => {
var elem = document.createElement(name);
document.getElementById("container").appendChild(elem);
return [ elem, elem, () => elem.remove() ];
}
}
function newImageInput() {
var elem = document.createElement("input");
elem.type = "image";
document.getElementById("container").appendChild(elem);
return [ elem, elem, () => elem.remove() ];
}
function createIframe() {
let ifr = document.createElement("iframe");
document.body.appendChild(ifr);
return [ ifr, ifr.contentDocument.body, () => ifr.remove() ];
}
function createBody() {
let ifr = document.createElement("iframe");
document.body.appendChild(ifr);
return [ ifr.contentDocument.body, ifr.contentDocument.body, () => ifr.remove() ];
}
function createFrame() {

View file

@ -0,0 +1,91 @@
<!doctype html>
<meta charset=utf-8>
<title>Test handling of attributes that should not be mapped into style, but
incorrectly were in some browsers</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<body>
<div id="container" style="display: none"></div>
<iframe></iframe>
<script>
/*
* We wand to test both quirks and standards mode. We can use the fact that
* our document is in standards mode and the about:blank iframe we have is in
* quirks mode.
*/
test(() => {
assert_equals(document.compatMode, "CSS1Compat")
}, "We should be in standards mode");
const container = document.getElementById("container");
const frameDoc = document.querySelector("iframe").contentDocument;
test(() => {
assert_equals(frameDoc.compatMode, "BackCompat")
}, "Subframe should be in quirks mode");
const frameContainer = frameDoc.createElement("div");
frameContainer.style.display = "none";
frameDoc.body.appendChild(frameContainer);
function newElem(name) {
return (parent) =>
parent.appendChild(parent.ownerDocument.createElement(name));
}
/*
* Array of tests. Each test consists of the following information:
*
* 1) An element creation function, which takes a parent element as an
* argument.
* 2) The name of the attribute to set
* 3) The name of the CSS property to get.
*/
const tests = [
[ newElem("table"), "hspace", "marginLeft" ],
[ newElem("table"), "hspace", "marginRight" ],
[ newElem("table"), "vspace", "marginTop" ],
[ newElem("table"), "vspace", "marginBottom" ],
[ newElem("embed"), "border", "borderTopWidth" ],
[ newElem("embed"), "border", "borderRightWidth" ],
[ newElem("embed"), "border", "borderBottomWidth" ],
[ newElem("embed"), "border", "borderLeftWidth" ],
[ newElem("iframe"), "border", "borderTopWidth" ],
[ newElem("iframe"), "border", "borderRightWidth" ],
[ newElem("iframe"), "border", "borderBottomWidth" ],
[ newElem("iframe"), "border", "borderLeftWidth" ],
[ newElem("marquee"), "border", "borderTopWidth" ],
[ newElem("marquee"), "border", "borderRightWidth" ],
[ newElem("marquee"), "border", "borderBottomWidth" ],
[ newElem("marquee"), "border", "borderLeftWidth" ],
// Non-image input
[ newElem("input"), "border", "borderTopWidth" ],
[ newElem("input"), "border", "borderRightWidth" ],
[ newElem("input"), "border", "borderBottomWidth" ],
[ newElem("input"), "border", "borderLeftWidth" ],
[ newElem("input"), "width", "width" ],
[ newElem("input"), "height", "height" ],
[ newElem("input"), "hspace", "marginLeft" ],
[ newElem("input"), "hspace", "marginRight" ],
[ newElem("input"), "vspace", "marginTop" ],
[ newElem("input"), "vspace", "marginBottom" ],
];
function style(element) {
return element.ownerDocument.defaultView.getComputedStyle(element);
}
for (let [ctor, attr, prop] of tests) {
for (let parent of [container, frameContainer]) {
let elem = ctor(parent);
test(function() {
let default_elem = ctor(parent);
this.add_cleanup(() => {
elem.remove();
default_elem.remove();
});
elem.setAttribute(attr, "200");
assert_equals(elem.getAttribute(attr), "200");
assert_equals(style(elem)[prop], style(default_elem)[prop]);
}, `<${elem.localName} ${attr}> should not be mapped to style ${prop} in ${parent.ownerDocument.compatMode} mode`);
}
}
</script>

View file

@ -1,22 +0,0 @@
[
{
"id": "standard-metadata-names",
"original_id": "standard-metadata-names"
},
{
"id": "other-metadata-names",
"original_id": "other-metadata-names"
},
{
"id": "pragma-directives",
"original_id": "pragma-directives"
},
{
"id": "other-pragma-directives",
"original_id": "other-pragma-directives"
},
{
"id": "charset",
"original_id": "charset"
}
]

View file

@ -1,10 +0,0 @@
[
{
"id": "authoring",
"original_id": "authoring"
},
{
"id": "image-map-processing-model",
"original_id": "image-map-processing-model"
}
]

View file

@ -1,132 +0,0 @@
[
{
"id": "error-codes",
"original_id": "error-codes"
},
{
"id": "location-of-the-media-resource",
"original_id": "location-of-the-media-resource"
},
{
"id": "mime-types",
"original_id": "mime-types"
},
{
"id": "network-states",
"original_id": "network-states"
},
{
"id": "loading-the-media-resource",
"original_id": "loading-the-media-resource"
},
{
"id": "offsets-into-the-media-resource",
"original_id": "offsets-into-the-media-resource"
},
{
"id": "ready-states",
"original_id": "ready-states"
},
{
"id": "playing-the-media-resource",
"original_id": "playing-the-media-resource"
},
{
"id": "seeking",
"original_id": "seeking"
},
{
"id": "media-resources-with-multiple-media-tracks",
"original_id": "media-resources-with-multiple-media-tracks",
"children": [
{
"id": "audiotracklist-and-videotracklist-objects",
"original_id": "audiotracklist-and-videotracklist-objects"
},
{
"id": "selecting-specific-audio-and-video-tracks-declaratively",
"original_id": "selecting-specific-audio-and-video-tracks-declaratively"
}
]
},
{
"id": "synchronising-multiple-media-elements",
"original_id": "synchronising-multiple-media-elements",
"children": [
{
"id": "introduction-0",
"original_id": "introduction-0"
},
{
"id": "media-controllers",
"original_id": "media-controllers"
},
{
"id": "assigning-a-media-controller-declaratively",
"original_id": "assigning-a-media-controller-declaratively"
}
]
},
{
"id": "timed-text-tracks",
"original_id": "timed-text-tracks",
"children": [
{
"id": "text-track-model",
"original_id": "text-track-model"
},
{
"id": "sourcing-in-band-text-tracks",
"original_id": "sourcing-in-band-text-tracks"
},
{
"id": "sourcing-out-of-band-text-tracks",
"original_id": "sourcing-out-of-band-text-tracks"
},
{
"id": "guidelines-for-exposing-cues-in-various-formats-as-text-track-cues",
"original_id": "guidelines-for-exposing-cues-in-various-formats-as-text-track-cues"
},
{
"id": "text-track-api",
"original_id": "text-track-api"
},
{
"id": "text-tracks-describing-chapters",
"original_id": "text-tracks-describing-chapters"
},
{
"id": "cue-events",
"original_id": "cue-events"
}
]
},
{
"id": "user-interface",
"original_id": "user-interface"
},
{
"id": "time-ranges",
"original_id": "time-ranges"
},
{
"id": "event-definitions",
"original_id": "event-definitions"
},
{
"id": "mediaevents",
"original_id": "mediaevents"
},
{
"id": "security-and-privacy-considerations",
"original_id": "security-and-privacy-considerations"
},
{
"id": "best-practices-for-authors-using-media-elements",
"original_id": "best-practices-for-authors-using-media-elements"
},
{
"id": "best-practices-for-implementors-of-media-elements",
"original_id": "best-practices-for-implementors-of-media-elements"
}
]

View file

@ -1,10 +0,0 @@
[
{
"id": "color-spaces-and-color-correction",
"original_id": "color-spaces-and-color-correction"
},
{
"id": "security-with-canvas-elements",
"original_id": "security-with-canvas-elements"
}
]

View file

@ -1,60 +0,0 @@
[
{
"id": "alt",
"original_id": "alt",
"children": [
{
"id": "general-guidelines",
"original_id": "general-guidelines"
},
{
"id": "a-link-or-button-containing-nothing-but-the-image",
"original_id": "a-link-or-button-containing-nothing-but-the-image"
},
{
"id": "a-phrase-or-paragraph-with-an-alternative-graphical-representation-charts-diagrams-graphs-maps-illustrations",
"original_id": "a-phrase-or-paragraph-with-an-alternative-graphical-representation:-charts,-diagrams,-graphs,-maps,-illustrations"
},
{
"id": "a-short-phrase-or-label-with-an-alternative-graphical-representation-icons-logos",
"original_id": "a-short-phrase-or-label-with-an-alternative-graphical-representation:-icons,-logos"
},
{
"id": "text-that-has-been-rendered-to-a-graphic-for-typographical-effect",
"original_id": "text-that-has-been-rendered-to-a-graphic-for-typographical-effect"
},
{
"id": "a-graphical-representation-of-some-of-the-surrounding-text",
"original_id": "a-graphical-representation-of-some-of-the-surrounding-text"
},
{
"id": "a-purely-decorative-image-that-doesn-t-add-any-information",
"original_id": "a-purely-decorative-image-that-doesn't-add-any-information"
},
{
"id": "a-group-of-images-that-form-a-single-larger-picture-with-no-links",
"original_id": "a-group-of-images-that-form-a-single-larger-picture-with-no-links"
},
{
"id": "a-group-of-images-that-form-a-single-larger-picture-with-links",
"original_id": "a-group-of-images-that-form-a-single-larger-picture-with-links"
},
{
"id": "a-key-part-of-the-content",
"original_id": "a-key-part-of-the-content"
},
{
"id": "an-image-not-intended-for-the-user",
"original_id": "an-image-not-intended-for-the-user"
},
{
"id": "guidance-for-markup-generators",
"original_id": "guidance-for-markup-generators"
},
{
"id": "guidance-for-conformance-checkers",
"original_id": "guidance-for-conformance-checkers"
}
]
}
]

View file

@ -1,38 +0,0 @@
[
{
"id": "naming-form-controls-the-name-attribute",
"original_id": "naming-form-controls:-the-name-attribute"
},
{
"id": "submitting-element-directionality-the-dirname-attribute",
"original_id": "submitting-element-directionality:-the-dirname-attribute"
},
{
"id": "limiting-user-input-length-the-maxlength-attribute",
"original_id": "limiting-user-input-length:-the-maxlength-attribute"
},
{
"id": "enabling-and-disabling-form-controls-the-disabled-attribute",
"original_id": "enabling-and-disabling-form-controls:-the-disabled-attribute"
},
{
"id": "form-submission",
"original_id": "form-submission"
},
{
"id": "autofocusing-a-form-control-the-autofocus-attribute",
"original_id": "autofocusing-a-form-control:-the-autofocus-attribute"
},
{
"id": "input-modalities-the-enterkeyhint-attribute",
"original_id": "input-modalities:-the-enterkeyhint-attribute"
},
{
"id": "input-modalities-the-inputmode-attribute",
"original_id": "input-modalities:-the-inputmode-attribute"
},
{
"id": "autofilling-form-controls-the-autocomplete-attribute",
"original_id": "autofilling-form-controls:-the-autocomplete-attribute"
}
]

View file

@ -1,18 +0,0 @@
[
{
"id": "definitions",
"original_id": "definitions"
},
{
"id": "constraint-validation",
"original_id": "constraint-validation"
},
{
"id": "the-constraint-validation-api",
"original_id": "the-constraint-validation-api"
},
{
"id": "security-forms",
"original_id": "security-forms"
}
]

View file

@ -1,14 +0,0 @@
[
{
"id": "a-form-control-s-value",
"original_id": "a-form-control's-value"
},
{
"id": "mutability",
"original_id": "mutability"
},
{
"id": "association-of-controls-and-forms",
"original_id": "association-of-controls-and-forms"
}
]

View file

@ -1,30 +0,0 @@
[
{
"id": "introduction-2",
"original_id": "introduction-2"
},
{
"id": "implicit-submission",
"original_id": "implicit-submission"
},
{
"id": "form-submission-algorithm",
"original_id": "form-submission-algorithm"
},
{
"id": "constructing-form-data-set",
"original_id": "constructing-form-data-set"
},
{
"id": "url-encoded-form-data",
"original_id": "url-encoded-form-data"
},
{
"id": "multipart-form-data",
"original_id": "multipart-form-data"
},
{
"id": "plain-text-form-data",
"original_id": "plain-text-form-data"
}
]

View file

@ -1,34 +0,0 @@
[
{
"id": "writing-a-form-s-user-interface",
"original_id": "writing-a-form's-user-interface"
},
{
"id": "implementing-the-server-side-processing-for-a-form",
"original_id": "implementing-the-server-side-processing-for-a-form"
},
{
"id": "configuring-a-form-to-communicate-with-a-server",
"original_id": "configuring-a-form-to-communicate-with-a-server"
},
{
"id": "client-side-form-validation",
"original_id": "client-side-form-validation"
},
{
"id": "enabling-client-side-automatic-filling-of-form-controls",
"original_id": "enabling-client-side-automatic-filling-of-form-controls"
},
{
"id": "improving-the-user-experience-on-mobile-devices",
"original_id": "improving-the-user-experience-on-mobile-devices"
},
{
"id": "the-difference-between-the-field-type-the-autofill-field-name-and-the-input-modality",
"original_id": "the-difference-between-the-field-type,-the-autofill-field-name,-and-the-input-modality"
},
{
"id": "input-author-notes",
"original_id": "input-author-notes"
}
]

View file

@ -1,154 +0,0 @@
[
{
"id": "states-of-the-type-attribute",
"original_id": "states-of-the-type-attribute",
"children": [
{
"id": "hidden-state-type-hidden",
"original_id": "hidden-state-(type=hidden)"
},
{
"id": "text-type-text-state-and-search-state-type-search",
"original_id": "text-(type=text)-state-and-search-state-(type=search)"
},
{
"id": "telephone-state-type-tel",
"original_id": "telephone-state-(type=tel)"
},
{
"id": "url-state-type-url",
"original_id": "url-state-(type=url)"
},
{
"id": "e-mail-state-type-email",
"original_id": "e-mail-state-(type=email)"
},
{
"id": "password-state-type-password",
"original_id": "password-state-(type=password)"
},
{
"id": "date-and-time-state-type-datetime",
"original_id": "date-and-time-state-(type=datetime)"
},
{
"id": "date-state-type-date",
"original_id": "date-state-(type=date)"
},
{
"id": "month-state-type-month",
"original_id": "month-state-(type=month)"
},
{
"id": "week-state-type-week",
"original_id": "week-state-(type=week)"
},
{
"id": "time-state-type-time",
"original_id": "time-state-(type=time)"
},
{
"id": "local-date-and-time-state-type-datetime-local",
"original_id": "local-date-and-time-state-(type=datetime-local)"
},
{
"id": "number-state-type-number",
"original_id": "number-state-(type=number)"
},
{
"id": "range-state-type-range",
"original_id": "range-state-(type=range)"
},
{
"id": "color-state-type-color",
"original_id": "color-state-(type=color)"
},
{
"id": "checkbox-state-type-checkbox",
"original_id": "checkbox-state-(type=checkbox)"
},
{
"id": "radio-button-state-type-radio",
"original_id": "radio-button-state-(type=radio)"
},
{
"id": "file-upload-state-type-file",
"original_id": "file-upload-state-(type=file)"
},
{
"id": "submit-button-state-type-submit",
"original_id": "submit-button-state-(type=submit)"
},
{
"id": "image-button-state-type-image",
"original_id": "image-button-state-(type=image)"
},
{
"id": "reset-button-state-type-reset",
"original_id": "reset-button-state-(type=reset)"
},
{
"id": "button-state-type-button",
"original_id": "button-state-(type=button)"
}
]
},
{
"id": "input-impl-notes",
"original_id": "input-impl-notes"
},
{
"id": "common-input-element-attributes",
"original_id": "common-input-element-attributes",
"children": [
{
"id": "the-maxlength-attribute",
"original_id": "the-maxlength-attribute"
},
{
"id": "the-size-attribute",
"original_id": "the-size-attribute"
},
{
"id": "the-readonly-attribute",
"original_id": "the-readonly-attribute"
},
{
"id": "the-required-attribute",
"original_id": "the-required-attribute"
},
{
"id": "the-multiple-attribute",
"original_id": "the-multiple-attribute"
},
{
"id": "the-pattern-attribute",
"original_id": "the-pattern-attribute"
},
{
"id": "the-min-and-max-attributes",
"original_id": "the-min-and-max-attributes"
},
{
"id": "the-step-attribute",
"original_id": "the-step-attribute"
},
{
"id": "the-list-attribute",
"original_id": "the-list-attribute"
},
{
"id": "the-placeholder-attribute",
"original_id": "the-placeholder-attribute"
}
]
},
{
"id": "common-input-element-apis",
"original_id": "common-input-element-apis"
},
{
"id": "common-event-behaviors",
"original_id": "common-event-behaviors"
}
]

View file

@ -1,38 +0,0 @@
[
{
"id": "using-the-a-element-to-define-a-command",
"original_id": "using-the-a-element-to-define-a-command"
},
{
"id": "using-the-button-element-to-define-a-command",
"original_id": "using-the-button-element-to-define-a-command"
},
{
"id": "using-the-input-element-to-define-a-command",
"original_id": "using-the-input-element-to-define-a-command"
},
{
"id": "using-the-option-element-to-define-a-command",
"original_id": "using-the-option-element-to-define-a-command"
},
{
"id": "using-the-command-element-to-define-a-command",
"original_id": "using-the-command-element-to-define-a-command"
},
{
"id": "using-the-command-attribute-on-command-elements-to-define-a-command-indirectly",
"original_id": "using-the-command-attribute-on-command-elements-to-define-a-command-indirectly"
},
{
"id": "using-the-accesskey-attribute-on-a-label-element-to-define-a-command",
"original_id": "using-the-accesskey-attribute-on-a-label-element-to-define-a-command"
},
{
"id": "using-the-accesskey-attribute-on-a-legend-element-to-define-a-command",
"original_id": "using-the-accesskey-attribute-on-a-legend-element-to-define-a-command"
},
{
"id": "using-the-accesskey-attribute-to-define-a-command-on-other-elements",
"original_id": "using-the-accesskey-attribute-to-define-a-command-on-other-elements"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "anchor-points",
"original_id": "anchor-points"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "hyperlink-auditing",
"original_id": "hyperlink-auditing"
}
]

View file

@ -1,68 +0,0 @@
[
{
"id": "rel-alternate",
"original_id": "rel-alternate"
},
{
"id": "link-type-author",
"original_id": "link-type-author"
},
{
"id": "link-type-bookmark",
"original_id": "link-type-bookmark"
},
{
"id": "link-type-help",
"original_id": "link-type-help"
},
{
"id": "rel-icon",
"original_id": "rel-icon"
},
{
"id": "link-type-license",
"original_id": "link-type-license"
},
{
"id": "link-type-nofollow",
"original_id": "link-type-nofollow"
},
{
"id": "link-type-noreferrer",
"original_id": "link-type-noreferrer"
},
{
"id": "link-type-prefetch",
"original_id": "link-type-prefetch"
},
{
"id": "link-type-search",
"original_id": "link-type-search"
},
{
"id": "link-type-stylesheet",
"original_id": "link-type-stylesheet"
},
{
"id": "link-type-tag",
"original_id": "link-type-tag"
},
{
"id": "sequential-link-types",
"original_id": "sequential-link-types",
"children": [
{
"id": "link-type-next",
"original_id": "link-type-next"
},
{
"id": "link-type-prev",
"original_id": "link-type-prev"
}
]
},
{
"id": "other-link-types",
"original_id": "other-link-types"
}
]

View file

@ -1,18 +0,0 @@
[
{
"id": "scriptinglanguages",
"original_id": "scriptingLanguages"
},
{
"id": "restrictions-for-contents-of-script-elements",
"original_id": "restrictions-for-contents-of-script-elements"
},
{
"id": "inline-documentation-for-external-scripts",
"original_id": "inline-documentation-for-external-scripts"
},
{
"id": "scripttagxslt",
"original_id": "scriptTagXSLT"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "outlines",
"original_id": "outlines"
}
]

View file

@ -1,10 +0,0 @@
[
{
"id": "forming-a-table",
"original_id": "forming-a-table"
},
{
"id": "header-and-data-cell-semantics",
"original_id": "header-and-data-cell-semantics"
}
]

View file

@ -1,10 +0,0 @@
[
{
"id": "table-descriptions-techniques",
"original_id": "table-descriptions-techniques"
},
{
"id": "table-layout-techniques",
"original_id": "table-layout-techniques"
}
]

View file

@ -1,490 +0,0 @@
[
{
"id": "overview-of-the-parsing-model",
"original_id": "overview-of-the-parsing-model"
},
{
"id": "the-input-byte-stream",
"original_id": "the-input-byte-stream",
"children": [
{
"id": "determining-the-character-encoding",
"original_id": "determining-the-character-encoding"
},
{
"id": "character-encodings-0",
"original_id": "character-encodings-0"
},
{
"id": "changing-the-encoding-while-parsing",
"original_id": "changing-the-encoding-while-parsing"
},
{
"id": "preprocessing-the-input-stream",
"original_id": "preprocessing-the-input-stream"
}
]
},
{
"id": "parse-state",
"original_id": "parse-state",
"children": [
{
"id": "the-insertion-mode",
"original_id": "the-insertion-mode"
},
{
"id": "the-stack-of-open-elements",
"original_id": "the-stack-of-open-elements"
},
{
"id": "the-list-of-active-formatting-elements",
"original_id": "the-list-of-active-formatting-elements"
},
{
"id": "the-element-pointers",
"original_id": "the-element-pointers"
},
{
"id": "other-parsing-state-flags",
"original_id": "other-parsing-state-flags"
}
]
},
{
"id": "tokenization",
"original_id": "tokenization",
"children": [
{
"id": "data-state",
"original_id": "data-state"
},
{
"id": "character-reference-in-data-state",
"original_id": "character-reference-in-data-state"
},
{
"id": "rcdata-state",
"original_id": "rcdata-state"
},
{
"id": "character-reference-in-rcdata-state",
"original_id": "character-reference-in-rcdata-state"
},
{
"id": "rawtext-state",
"original_id": "rawtext-state"
},
{
"id": "script-data-state",
"original_id": "script-data-state"
},
{
"id": "plaintext-state",
"original_id": "plaintext-state"
},
{
"id": "tag-open-state",
"original_id": "tag-open-state"
},
{
"id": "end-tag-open-state",
"original_id": "end-tag-open-state"
},
{
"id": "tag-name-state",
"original_id": "tag-name-state"
},
{
"id": "rcdata-less-than-sign-state",
"original_id": "rcdata-less-than-sign-state"
},
{
"id": "rcdata-end-tag-open-state",
"original_id": "rcdata-end-tag-open-state"
},
{
"id": "rcdata-end-tag-name-state",
"original_id": "rcdata-end-tag-name-state"
},
{
"id": "rawtext-less-than-sign-state",
"original_id": "rawtext-less-than-sign-state"
},
{
"id": "rawtext-end-tag-open-state",
"original_id": "rawtext-end-tag-open-state"
},
{
"id": "rawtext-end-tag-name-state",
"original_id": "rawtext-end-tag-name-state"
},
{
"id": "script-data-less-than-sign-state",
"original_id": "script-data-less-than-sign-state"
},
{
"id": "script-data-end-tag-open-state",
"original_id": "script-data-end-tag-open-state"
},
{
"id": "script-data-end-tag-name-state",
"original_id": "script-data-end-tag-name-state"
},
{
"id": "script-data-escape-start-state",
"original_id": "script-data-escape-start-state"
},
{
"id": "script-data-escape-start-dash-state",
"original_id": "script-data-escape-start-dash-state"
},
{
"id": "script-data-escaped-state",
"original_id": "script-data-escaped-state"
},
{
"id": "script-data-escaped-dash-state",
"original_id": "script-data-escaped-dash-state"
},
{
"id": "script-data-escaped-dash-dash-state",
"original_id": "script-data-escaped-dash-dash-state"
},
{
"id": "script-data-escaped-less-than-sign-state",
"original_id": "script-data-escaped-less-than-sign-state"
},
{
"id": "script-data-escaped-end-tag-open-state",
"original_id": "script-data-escaped-end-tag-open-state"
},
{
"id": "script-data-escaped-end-tag-name-state",
"original_id": "script-data-escaped-end-tag-name-state"
},
{
"id": "script-data-double-escape-start-state",
"original_id": "script-data-double-escape-start-state"
},
{
"id": "script-data-double-escaped-state",
"original_id": "script-data-double-escaped-state"
},
{
"id": "script-data-double-escaped-dash-state",
"original_id": "script-data-double-escaped-dash-state"
},
{
"id": "script-data-double-escaped-dash-dash-state",
"original_id": "script-data-double-escaped-dash-dash-state"
},
{
"id": "script-data-double-escaped-less-than-sign-state",
"original_id": "script-data-double-escaped-less-than-sign-state"
},
{
"id": "script-data-double-escape-end-state",
"original_id": "script-data-double-escape-end-state"
},
{
"id": "before-attribute-name-state",
"original_id": "before-attribute-name-state"
},
{
"id": "attribute-name-state",
"original_id": "attribute-name-state"
},
{
"id": "after-attribute-name-state",
"original_id": "after-attribute-name-state"
},
{
"id": "before-attribute-value-state",
"original_id": "before-attribute-value-state"
},
{
"id": "attribute-value-double-quoted-state",
"original_id": "attribute-value-(double-quoted)-state"
},
{
"id": "attribute-value-single-quoted-state",
"original_id": "attribute-value-(single-quoted)-state"
},
{
"id": "attribute-value-unquoted-state",
"original_id": "attribute-value-(unquoted)-state"
},
{
"id": "character-reference-in-attribute-value-state",
"original_id": "character-reference-in-attribute-value-state"
},
{
"id": "after-attribute-value-quoted-state",
"original_id": "after-attribute-value-(quoted)-state"
},
{
"id": "self-closing-start-tag-state",
"original_id": "self-closing-start-tag-state"
},
{
"id": "bogus-comment-state",
"original_id": "bogus-comment-state"
},
{
"id": "markup-declaration-open-state",
"original_id": "markup-declaration-open-state"
},
{
"id": "comment-start-state",
"original_id": "comment-start-state"
},
{
"id": "comment-start-dash-state",
"original_id": "comment-start-dash-state"
},
{
"id": "comment-state",
"original_id": "comment-state"
},
{
"id": "comment-end-dash-state",
"original_id": "comment-end-dash-state"
},
{
"id": "comment-end-state",
"original_id": "comment-end-state"
},
{
"id": "comment-end-bang-state",
"original_id": "comment-end-bang-state"
},
{
"id": "doctype-state",
"original_id": "doctype-state"
},
{
"id": "before-doctype-name-state",
"original_id": "before-doctype-name-state"
},
{
"id": "doctype-name-state",
"original_id": "doctype-name-state"
},
{
"id": "after-doctype-name-state",
"original_id": "after-doctype-name-state"
},
{
"id": "after-doctype-public-keyword-state",
"original_id": "after-doctype-public-keyword-state"
},
{
"id": "before-doctype-public-identifier-state",
"original_id": "before-doctype-public-identifier-state"
},
{
"id": "doctype-public-identifier-double-quoted-state",
"original_id": "doctype-public-identifier-(double-quoted)-state"
},
{
"id": "doctype-public-identifier-single-quoted-state",
"original_id": "doctype-public-identifier-(single-quoted)-state"
},
{
"id": "after-doctype-public-identifier-state",
"original_id": "after-doctype-public-identifier-state"
},
{
"id": "between-doctype-public-and-system-identifiers-state",
"original_id": "between-doctype-public-and-system-identifiers-state"
},
{
"id": "after-doctype-system-keyword-state",
"original_id": "after-doctype-system-keyword-state"
},
{
"id": "before-doctype-system-identifier-state",
"original_id": "before-doctype-system-identifier-state"
},
{
"id": "doctype-system-identifier-double-quoted-state",
"original_id": "doctype-system-identifier-(double-quoted)-state"
},
{
"id": "doctype-system-identifier-single-quoted-state",
"original_id": "doctype-system-identifier-(single-quoted)-state"
},
{
"id": "after-doctype-system-identifier-state",
"original_id": "after-doctype-system-identifier-state"
},
{
"id": "bogus-doctype-state",
"original_id": "bogus-doctype-state"
},
{
"id": "cdata-section-state",
"original_id": "cdata-section-state"
},
{
"id": "tokenizing-character-references",
"original_id": "tokenizing-character-references"
}
]
},
{
"id": "tree-construction",
"original_id": "tree-construction",
"children": [
{
"id": "creating-and-inserting-elements",
"original_id": "creating-and-inserting-elements"
},
{
"id": "closing-elements-that-have-implied-end-tags",
"original_id": "closing-elements-that-have-implied-end-tags"
},
{
"id": "foster-parenting",
"original_id": "foster-parenting"
},
{
"id": "parsing-main-inhtml",
"original_id": "parsing-main-inhtml",
"children": [
{
"id": "the-initial-insertion-mode",
"original_id": "the-initial-insertion-mode"
},
{
"id": "the-before-html-insertion-mode",
"original_id": "the-before-html-insertion-mode"
},
{
"id": "the-before-head-insertion-mode",
"original_id": "the-before-head-insertion-mode"
},
{
"id": "parsing-main-inhead",
"original_id": "parsing-main-inhead"
},
{
"id": "parsing-main-inheadnoscript",
"original_id": "parsing-main-inheadnoscript"
},
{
"id": "the-after-head-insertion-mode",
"original_id": "the-after-head-insertion-mode"
},
{
"id": "parsing-main-inbody",
"original_id": "parsing-main-inbody"
},
{
"id": "parsing-main-incdata",
"original_id": "parsing-main-incdata"
},
{
"id": "parsing-main-intable",
"original_id": "parsing-main-intable"
},
{
"id": "parsing-main-intabletext",
"original_id": "parsing-main-intabletext"
},
{
"id": "parsing-main-incaption",
"original_id": "parsing-main-incaption"
},
{
"id": "parsing-main-incolgroup",
"original_id": "parsing-main-incolgroup"
},
{
"id": "parsing-main-intbody",
"original_id": "parsing-main-intbody"
},
{
"id": "parsing-main-intr",
"original_id": "parsing-main-intr"
},
{
"id": "parsing-main-intd",
"original_id": "parsing-main-intd"
},
{
"id": "parsing-main-inselect",
"original_id": "parsing-main-inselect"
},
{
"id": "parsing-main-inselectintable",
"original_id": "parsing-main-inselectintable"
},
{
"id": "parsing-main-afterbody",
"original_id": "parsing-main-afterbody"
},
{
"id": "parsing-main-inframeset",
"original_id": "parsing-main-inframeset"
},
{
"id": "parsing-main-afterframeset",
"original_id": "parsing-main-afterframeset"
},
{
"id": "the-after-after-body-insertion-mode",
"original_id": "the-after-after-body-insertion-mode"
},
{
"id": "the-after-after-frameset-insertion-mode",
"original_id": "the-after-after-frameset-insertion-mode"
}
]
},
{
"id": "parsing-main-inforeign",
"original_id": "parsing-main-inforeign"
}
]
},
{
"id": "the-end",
"original_id": "the-end"
},
{
"id": "coercing-an-html-dom-into-an-infoset",
"original_id": "coercing-an-html-dom-into-an-infoset"
},
{
"id": "an-introduction-to-error-handling-and-strange-cases-in-the-parser",
"original_id": "an-introduction-to-error-handling-and-strange-cases-in-the-parser",
"children": [
{
"id": "misnested-tags-b-i-b-i",
"original_id": "misnested-tags:-b-i-/b-/i"
},
{
"id": "misnested-tags-b-p-b-p",
"original_id": "misnested-tags:-b-p-/b-/p"
},
{
"id": "unexpected-markup-in-tables",
"original_id": "unexpected-markup-in-tables"
},
{
"id": "scripts-that-modify-the-page-as-it-is-being-parsed",
"original_id": "scripts-that-modify-the-page-as-it-is-being-parsed"
},
{
"id": "the-execution-of-scripts-that-are-moving-across-multiple-documents",
"original_id": "the-execution-of-scripts-that-are-moving-across-multiple-documents"
},
{
"id": "unclosed-formatting-elements",
"original_id": "unclosed-formatting-elements"
}
]
}
]

View file

@ -1,26 +0,0 @@
[
{
"id": "start-tags",
"original_id": "start-tags"
},
{
"id": "end-tags",
"original_id": "end-tags"
},
{
"id": "attributes-0",
"original_id": "attributes-0"
},
{
"id": "optional-tags",
"original_id": "optional-tags"
},
{
"id": "element-restrictions",
"original_id": "element-restrictions"
},
{
"id": "cdata-rcdata-restrictions",
"original_id": "cdata-rcdata-restrictions"
}
]

View file

@ -1,6 +0,0 @@
[
{
"id": "newlines",
"original_id": "newlines"
}
]

View file

@ -1,14 +0,0 @@
[
{
"id": "definitions-1",
"original_id": "definitions-1"
},
{
"id": "processing-model-3",
"original_id": "processing-model-3"
},
{
"id": "generic-task-sources",
"original_id": "generic-task-sources"
}
]

View file

@ -1,18 +0,0 @@
[
{
"id": "event-handler-attributes",
"original_id": "event-handler-attributes"
},
{
"id": "event-handlers-on-elements-document-objects-and-window-objects",
"original_id": "event-handlers-on-elements,-document-objects,-and-window-objects"
},
{
"id": "event-firing",
"original_id": "event-firing"
},
{
"id": "events-and-the-window-object",
"original_id": "events-and-the-window-object"
}
]

View file

@ -1,28 +0,0 @@
[
{
"id": "definitions-0",
"original_id": "definitions-0"
},
{
"id": "calling-scripts",
"original_id": "calling-scripts"
},
{
"id": "creating-scripts",
"original_id": "creating-scripts"
},
{
"id": "killing-scripts",
"original_id": "killing-scripts"
},
{
"id": "runtime-script-errors",
"original_id": "runtime-script-errors",
"children": [
{
"id": "runtime-script-errors-in-documents",
"original_id": "runtime-script-errors-in-documents"
}
]
}
]

View file

@ -1,13 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>[[CanBlock]] in a dedicated worker agent</title>
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#dedicated-worker-agent">
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
"use strict";
fetch_tests_from_worker(new Worker("worker-that-requires-success.js"));
</script>

View file

@ -1,14 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>[[CanBlock]] in a service worker agent</title>
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#service-worker-agent">
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/service-workers/service-worker/resources/test-helpers.sub.js"></script>
<script>
"use strict";
service_worker_test("worker-that-requires-failure.js", "Service worker test setup");
</script>

View file

@ -1,13 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>[[CanBlock]] in a shared worker agent</title>
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#shared-worker-agent">
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
"use strict";
fetch_tests_from_worker(new SharedWorker("worker-that-requires-success.js"));
</script>

View file

@ -1,21 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>[[CanBlock]] in a similar-origin window agent</title>
<link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me">
<link rel="help" href="https://html.spec.whatwg.org/multipage/#similar-origin-window-agent">
<link rel="help" href="https://tc39.github.io/ecma262/#sec-agentcansuspend">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
"use strict";
const sab = new SharedArrayBuffer(16);
const ta = new Int32Array(sab);
assert_throws(new TypeError(), () => {
Atomics.wait(ta, 0, 0, 10);
}, "Atomics.wait must throw in a window context");
done();
</script>

View file

@ -1,5 +1,4 @@
"use strict";
importScripts("/resources/testharness.js");
// META: global=!default,window,serviceworker
test(() => {
const sab = new SharedArrayBuffer(16);
@ -9,5 +8,3 @@ test(() => {
Atomics.wait(ta, 0, 0, 10);
});
}, `[[CanBlock]] in a ${self.constructor.name}`);
done();

View file

@ -1,5 +1,4 @@
"use strict";
importScripts("/resources/testharness.js");
// META: global=!default,dedicatedworker,sharedworker
test(() => {
const sab = new SharedArrayBuffer(16);
@ -7,5 +6,3 @@ test(() => {
assert_equals(Atomics.wait(ta, 0, 0, 10), "timed-out");
}, `[[CanBlock]] in a ${self.constructor.name}`);
done();

View file

@ -1,22 +0,0 @@
[
{
"id": "client-identification",
"original_id": "client-identification"
},
{
"id": "custom-handlers",
"original_id": "custom-handlers"
},
{
"id": "security-and-privacy",
"original_id": "security-and-privacy"
},
{
"id": "sample-handler-impl",
"original_id": "sample-handler-impl"
},
{
"id": "manually-releasing-the-storage-mutex",
"original_id": "manually-releasing-the-storage-mutex"
}
]