Commit 03ccd4e9 authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

html: Move autofocus tests to html/interaction/focus/the-autofocus-attribute/

Change-Id: I6cfddfb6be9a4b23c767b50e920b9b3a758c8130
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1826749
Commit-Queue: Kent Tamura <tkent@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Reviewed-by: default avatarDomenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#700584}
parent 9d512317
......@@ -990,6 +990,7 @@ crbug.com/lpz external/wpt/html/infrastructure/urls/resolving-urls/query-encodin
crbug.com/lpz external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/location.sub.html?encoding=x-cp1251 [ Failure ]
crbug.com/lpz external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/utf-16be.html [ Failure ]
crbug.com/lpz external/wpt/html/infrastructure/urls/resolving-urls/query-encoding/utf-16le.html [ Failure ]
crbug.com/lpz external/wpt/html/interaction/focus/the-autofocus-attribute/first-when-later-but-before.html [ Failure ]
crbug.com/lpz external/wpt/html/rendering/dimension-attributes.html [ Failure ]
crbug.com/lpz external/wpt/html/rendering/non-replaced-elements/form-controls/button-style.html [ Failure ]
crbug.com/lpz external/wpt/html/rendering/non-replaced-elements/tables/hidden-attr.html [ Failure ]
......@@ -1085,7 +1086,6 @@ crbug.com/lpz external/wpt/html/semantics/embedded-content/the-object-element/ob
crbug.com/lpz external/wpt/html/semantics/embedded-content/the-object-element/object-setcustomvalidity.html [ Failure ]
crbug.com/lpz external/wpt/html/semantics/embedded-content/the-object-element/usemap-casing.html [ Failure ]
crbug.com/lpz external/wpt/html/semantics/embedded-content/the-video-element/intrinsic_sizes.htm [ Failure ]
crbug.com/lpz external/wpt/html/semantics/forms/autofocus/first-when-later-but-before.html [ Failure ]
crbug.com/lpz external/wpt/html/semantics/forms/constraints/form-validation-validity-valueMissing.html [ Failure ]
crbug.com/lpz external/wpt/html/semantics/forms/form-submission-0/getactionurl.html [ Failure ]
crbug.com/lpz external/wpt/html/semantics/forms/form-submission-target/rel-base-target.html [ Failure ]
......
......@@ -37,7 +37,7 @@
}
}));
document.getElementById("child").src =
get_host_info().HTTP_REMOTE_ORIGIN + "/html/semantics/forms/autofocus/resources/child-autofocus.html";
get_host_info().HTTP_REMOTE_ORIGIN + "/html/interaction/focus/the-autofocus-attribute/resources/child-autofocus.html";
}, "Autofocus shouldn't work in cross-origin iframe");
</script>
</body>
......
......@@ -4,7 +4,7 @@
<script>
iframe.src =
get_host_info().ORIGIN + "/html/semantics/forms/autofocus/resources/grand-child-autofocus.html";
get_host_info().ORIGIN + "/html/interaction/focus/the-autofocus-attribute/resources/grand-child-autofocus.html";
window.addEventListener("message", event => {
if (event.data == "grand_child_loaded") {
parent.postMessage("ready", "*");
......
......@@ -39,7 +39,7 @@
}
}));
document.getElementById("child").src =
get_host_info().HTTP_NOTSAMESITE_ORIGIN + "/html/semantics/forms/autofocus/resources/child-iframe.html";
get_host_info().HTTP_NOTSAMESITE_ORIGIN + "/html/interaction/focus/the-autofocus-attribute/resources/child-iframe.html";
}, "Autofocus should work in the same origin grand child iframe");
</script>
</body>
......
......@@ -7,7 +7,7 @@
</metadata>
<h:script src="/resources/testharness.js"/>
<h:script src="/resources/testharnessreport.js"/>
<h:script src="/html/semantics/forms/autofocus/resources/utils.js"/>
<h:script src="/html/interaction/focus/the-autofocus-attribute/resources/utils.js"/>
<script><![CDATA[
const SVG_NS = 'http://www.w3.org/2000/svg';
......
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/html/semantics/forms/autofocus/resources/utils.js"></script>
<script src="/html/interaction/focus/the-autofocus-attribute/resources/utils.js"></script>
<body>
<script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment