Revision 5d3d98450ed243074ead60b3dd06c94c8608bc77 authored by Chris Nardi on 08 April 2018, 02:03:44 UTC, committed by Chris Nardi on 08 April 2018, 02:03:44 UTC
Many tests in variable-presentation-attribute.html went against their relative specs. For most attributes, this change corrects their default values. This change also removes the default value test for font-family, since the default value is implementation-dependent. This change also removes the tests for `glyph-orientation-horizontal`, `glyph-orientation-vertical`, and `kerning`, as these properties have been removed by Chrome and Firefox as they are obsolete.
1 parent d0d6224
setrequestheader-header-allowed.htm
<!doctype html>
<html>
<head>
<title>XMLHttpRequest: setRequestHeader() - headers that are allowed</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://xhr.spec.whatwg.org/#the-setrequestheader()-method">
</head>
<body>
<div id="log"></div>
<script>
function request(header) {
test(function() {
var client = new XMLHttpRequest()
client.open("POST", "resources/inspect-headers.py?filter_value=t1, t2", false)
client.setRequestHeader(header, "t1")
client.setRequestHeader(header, "t2")
client.send(null)
assert_equals(client.responseText, header + ",")
}, document.title + " (" + header + ")")
}
request("Authorization")
request("Pragma")
request("User-Agent")
request("Content-Transfer-Encoding")
request("Content-Type")
request("Overwrite")
request("If")
request("Status-URI")
request("X-Pink-Unicorn")
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...