Commit fe5b761e authored by Kent Tamura's avatar Kent Tamura Committed by Commit Bot

Import some skipped tests in wpt/html/browsers/browsing-the-web/navigating-across-documents/.

We'd like to fix the root cause of these failing tests. They are still skipped
because we know they will time out.

This CL has no behavior changes.

NOEXPORT=true
TBR=kochi@chromium.org

Bug: 749492
Change-Id: I4431045838e7ba1252db3a35ca3364fd6cb5e6e9
Reviewed-on: https://chromium-review.googlesource.com/593379
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: default avatarTakayoshi Kochi <kochi@chromium.org>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#490720}
parent 3372217a
......@@ -783,6 +783,9 @@ crbug.com/699347 virtual/mojo-loading/http/tests/security/setDomainRelaxationFor
# expectation files. The following tests with [ Failure ] don't have failure
# expectation files because they contain local path names.
# Use crbug.com/490511 for untriaged failures.
crbug.com/749492 external/wpt/html/browsers/browsing-the-web/navigating-across-documents/008.html [ Skip ]
crbug.com/749492 external/wpt/html/browsers/browsing-the-web/navigating-across-documents/009.html [ Skip ]
crbug.com/749492 external/wpt/html/browsers/browsing-the-web/navigating-across-documents/010.html [ Skip ]
crbug.com/490511 external/wpt/html/browsers/offline/application-cache-api/api_update.html [ Failure Pass ]
crbug.com/490511 [ Linux Win ] external/wpt/html/rendering/bindings/the-input-element-as-a-text-entry-widget/unrecognized-type-should-fallback-as-text-type.html [ Failure ]
crbug.com/108417 external/wpt/html/rendering/non-replaced-elements/tables/table-border-1.html [ Failure ]
......
......@@ -645,9 +645,6 @@ external/wpt/css/css-writing-modes-3/text-combine-upright-value-digits4-002.html
external/wpt/css/css-writing-modes-3/text-combine-upright-value-digits4-003.html [ Skip ]
# Untriaged: Tests don't complete.
external/wpt/html/browsers/browsing-the-web/navigating-across-documents/008.html [ Skip ]
external/wpt/html/browsers/browsing-the-web/navigating-across-documents/009.html [ Skip ]
external/wpt/html/browsers/browsing-the-web/navigating-across-documents/010.html [ Skip ]
external/wpt/html/browsers/browsing-the-web/unloading-documents/unload/006.html [ Skip ]
external/wpt/html/browsers/history/the-history-interface/001.html [ Skip ]
external/wpt/html/browsers/history/the-history-interface/002.html [ Skip ]
......
<!doctype html>
<title>Link with onclick form submit to javascript url and href navigation </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<iframe id="test" name="test"></iframe>
<form target="test" action="javascript:'<script>parent.postMessage(&quot;click&quot;, &quot;*&quot;)</script>'"></form>
<a target="test" onclick="document.forms[0].submit()" href="href.html">Test</a>
<script>
var t = async_test();
t.step(function() {document.getElementsByTagName("a")[0].click()});
onmessage = t.step_func(
function(e) {
assert_equals(e.data, "href");
t.done();
});
</script>
<!doctype html>
<title>Link with onclick form submit to javascript url with document.write and href navigation </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<iframe id="test" name="test"></iframe>
<form target="test" action="javascript:(function() {document.write('<script>parent.postMessage(&quot;write&quot;, &quot;*&quot;)</script>'); return '<script>parent.postMessage(&quot;click&quot;, &quot;*&quot;)</script>'})()"></form>
<a target="test" onclick="document.forms[0].submit()" href="href.html">Test</a>
<script>
var t = async_test();
var events = [];
t.step(function() {
document.getElementsByTagName("a")[0].click()});
onmessage = t.step_func(
function(e) {
events.push(e.data);
if (events.length === 2) {
assert_array_equals(events, ["write", "href"]);
t.done();
}
});
</script>
<!doctype html>
<title>Link with onclick form submit to javascript url with delayed document.write and href navigation </title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<iframe id="test" name="test"></iframe>
<form target="test" action="javascript:(function() {var x = new XMLHttpRequest(); x.open('GET', 'blank.html?pipe=trickle(d2)', false); x.send(); document.write('<script>parent.postMessage(&quot;write&quot;, &quot;*&quot;)</script>'); return '<script>parent.postMessage(&quot;click&quot;, &quot;*&quot;)</script>'})()"></form>
<a target="test" onclick="document.forms[0].submit()" href="href.html">Test</a>
<script>
var t = async_test(undefined, {timeout:4000});
t.step(function() {document.getElementsByTagName("a")[0].click()});
onmessage = t.step_func(
function(e) {
assert_equals(e.data, "href");
t.done();
});
</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