2 <script src=
"/resources/testharness.js"></script>
3 <script src=
"/resources/testharnessreport.js"></script>
4 <iframe id=
"i" src=
"/common/blank.html"></iframe>
6 promise_test(async t
=> {
7 await
new Promise(resolve
=> window
.onload
= resolve
);
8 i
.contentWindow
.navigation
.oncurrententrychange
= t
.unreached_func("currententrychange should not fire for cross-document navigations");
9 i
.contentWindow
.navigation
.navigate("/common/blank.html?1");
10 await
new Promise(resolve
=> i
.onload
= resolve
);
11 }, "AppHistoryCurrentChangeEvent does not fire for cross-document navigation.navigate()");