mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision efa05bfb3b338ef988f3ebf4523198512a248a99
This commit is contained in:
parent
26b40afe23
commit
de119adcc2
10 changed files with 445 additions and 5457 deletions
|
@ -15,7 +15,7 @@ function checkRequest(request, ExpectedValuesDict) {
|
|||
for (var attribute in ExpectedValuesDict) {
|
||||
switch(attribute) {
|
||||
case "headers":
|
||||
for (var key of ExpectedValuesDict["headers"].keys()) {
|
||||
for (var key in ExpectedValuesDict["headers"].keys()) {
|
||||
assert_equals(request["headers"].get(key), ExpectedValuesDict["headers"].get(key),
|
||||
"Check headers attribute has " + key + ":" + ExpectedValuesDict["headers"].get(key));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue