2 <script src=
"/resources/testharness.js"></script>
3 <script src=
"/resources/testharnessreport.js"></script>
4 <iframe id=
"i" src=
"resources/page-with-base-url-common.html"></iframe>
7 window
.onload
= t
.step_func(() => {
8 const startingURL
= new URL(i
.src
);
9 i
.contentWindow
.navigation
.reload();
10 i
.onload
= t
.step_func_done(() => {
11 const iframeURL
= new URL(i
.contentWindow
.navigation
.currentEntry
.url
);
12 assert_equals(iframeURL
.pathname
, startingURL
.pathname
);
15 }, "reload() must ignore the AppHistory object's base URL");