2 <script src=
"/resources/testharness.js"></script>
3 <script src=
"/resources/testharnessreport.js"></script>
7 navigation
.addEventListener("navigate", e
=> {
8 e
.transitionWhile(Promise
.reject(new Error("oh no!")));
11 window
.onunhandledrejection
= t
.unreached_func("unhandledrejection must not fire");
15 // Make sure to trigger the getter to ensure the promise materializes!
16 navigation
.transition
.finished
;
18 t
.step_timeout(() => t
.done(), 10);
19 }, "navigation.transition.finished must not trigger unhandled rejections");