Revision 976e2c1f4b37821272f303aee639b62e1fd085f9 authored by Ian Kilpatrick on 12 April 2018, 12:08:38 UTC, committed by Blink WPT Bot on 12 April 2018, 12:27:52 UTC
There are probably larger changes that need to happen to ensure that the custom-layout and multicol play nicely together, but this removes a DCHECK crash for now. Bug: 823074 Change-Id: I98f4a34bd0c35e8cd3d23501ca64f38b96be9e7d Reviewed-on: https://chromium-review.googlesource.com/990780 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#550148}
1 parent 19a42b9
send-redirect-no-location.htm
<!doctype html>
<html>
<head>
<title>XMLHttpRequest: send() - Redirects (no Location header)</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://xhr.spec.whatwg.org/#infrastructure-for-the-send()-method" data-tested-assertations="following::dl[1]/dt[2]" />
<!--
NOTE: the XHR spec does not really handle this scenario. It's handled in the Fetch spec:
"If response's headers do not contain a header whose name is Location, return response."
-->
</head>
<body>
<div id="log"></div>
<script>
function redirect(code) {
var test = async_test(document.title + " (" + code + ")")
test.step(function() {
var client = new XMLHttpRequest()
client.onreadystatechange = function() {
test.step(function() {
if(client.readyState == 4) {
assert_equals(client.status + "", code)
assert_equals(client.statusText, "ABE ODDYSSEE")
assert_equals(client.responseXML.documentElement.localName, "x")
test.done()
}
})
}
client.open("GET", "resources/status.py?content=<x>x<\/x>&type=text/xml&text=ABE ODDYSSEE&code=" + code)
client.send(null)
})
}
redirect("301")
redirect("302")
redirect("303")
redirect("307")
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...