blob: 09546020f75be91ce3e1897f3f00fe5260c46c84 [file] [log] [blame]
<!doctype html>
<title>Set location.pathname to ?</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<div id=log></div>
<iframe src=/common/blank.html></iframe>
<script>
async_test((t) => {
onload = t.step_func(() => {
self[0].frameElement.onload = t.step_func_done(() => {
assert_equals(self[0].location.pathname, "/%3F")
})
self[0].location.pathname = "?"
})
})
</script>