Skip to content

Commit

Permalink
Make location.search always expect UTF-8
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Sep 22, 2022
1 parent ebbf1e7 commit 66da7df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
frame.onload = t.step_func(() => {
frame.contentWindow.location.search = "\u00FF";
frame.onload = t.step_func_done(() => {
assert_equals(frame.contentWindow.location.search, expected(actualEncoding));
// location.search always uses UTF-8
assert_equals(frame.contentWindow.location.search, expected("UTF-8"));
});
});
}, "location.search");
Expand Down

0 comments on commit 66da7df

Please sign in to comment.