mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444
This commit is contained in:
parent
25e8bf69e6
commit
665817d2a6
35333 changed files with 1818077 additions and 16036 deletions
|
@ -4,7 +4,7 @@
|
|||
<title>XMLHttpRequest: setRequestHeader() - header value with whitespace</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" data-tested-assertations="/following::ol/li[4]/p[contains(@class,'note')] /following::ol/li[6]" />
|
||||
<link rel="help" href="https://xhr.spec.whatwg.org/#the-setrequestheader()-method">
|
||||
</head>
|
||||
<body>
|
||||
<div id="log"></div>
|
||||
|
@ -15,7 +15,7 @@
|
|||
client.open("POST", "resources/inspect-headers.py?filter_name=X-Empty", false)
|
||||
client.setRequestHeader('X-Empty', value)
|
||||
client.send(null)
|
||||
assert_equals(client.responseText, 'x-empty: '+ String(value.trim()).toLowerCase()+'\n' )
|
||||
assert_equals(client.responseText, 'X-Empty: ' + value.trim() + '\n' )
|
||||
}, document.title + " (" + value + ")")
|
||||
}
|
||||
request(" ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue