diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-04-15 11:51:43 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-04-15 11:51:43 +0200 |
commit | bdd013826b8acbdef0ae43233d7a6a32e1161966 (patch) | |
tree | 83904a8337bfb28e1fa059afe5bc088a8b454688 /dom/tests/mochitest/fetch/test_headers_common.js | |
parent | fca67bb95d4cda5046365e124e79ec583c336697 (diff) | |
parent | 8a95c03dcd2a7f2c6d64b6ee917f6cb363e9ca60 (diff) | |
download | UXP-bdd013826b8acbdef0ae43233d7a6a32e1161966.tar UXP-bdd013826b8acbdef0ae43233d7a6a32e1161966.tar.gz UXP-bdd013826b8acbdef0ae43233d7a6a32e1161966.tar.lz UXP-bdd013826b8acbdef0ae43233d7a6a32e1161966.tar.xz UXP-bdd013826b8acbdef0ae43233d7a6a32e1161966.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'dom/tests/mochitest/fetch/test_headers_common.js')
-rw-r--r-- | dom/tests/mochitest/fetch/test_headers_common.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dom/tests/mochitest/fetch/test_headers_common.js b/dom/tests/mochitest/fetch/test_headers_common.js index fe792b25b..8b17b6b12 100644 --- a/dom/tests/mochitest/fetch/test_headers_common.js +++ b/dom/tests/mochitest/fetch/test_headers_common.js @@ -213,12 +213,12 @@ function TestHeadersIterator() { var value_iter = headers.values(); var entries_iter = headers.entries(); - arrayEquals(iterate(key_iter), ["foo", "foo", "foo2"], "Correct key iterator"); - arrayEquals(iterate(value_iter), ["bar", ehsanInflated, "baz2"], "Correct value iterator"); - arrayEquals(iterate(entries_iter), [["foo", "bar"], ["foo", ehsanInflated], ["foo2", "baz2"]], "Correct entries iterator"); + arrayEquals(iterate(key_iter), ["foo", "foo2"], "Correct key iterator"); + arrayEquals(iterate(value_iter), ["bar, " + ehsanInflated, "baz2"], "Correct value iterator"); + arrayEquals(iterate(entries_iter), [["foo", "bar, " + ehsanInflated], ["foo2", "baz2"]], "Correct entries iterator"); - arrayEquals(iterateForOf(headers), [["foo", "bar"], ["foo", ehsanInflated], ["foo2", "baz2"]], "Correct entries iterator"); - arrayEquals(iterateForOf(new Headers(headers)), [["foo", "bar"], ["foo", ehsanInflated], ["foo2", "baz2"]], "Correct entries iterator"); + arrayEquals(iterateForOf(headers), [["foo", "bar, " + ehsanInflated], ["foo2", "baz2"]], "Correct entries iterator"); + arrayEquals(iterateForOf(new Headers(headers)), [["foo", "bar, " + ehsanInflated], ["foo2", "baz2"]], "Correct entries iterator"); } function runTest() { |