From 389faa0daed150ef5b0b7ae3383d54cc7574630c Mon Sep 17 00:00:00 2001 From: Simon Pieters Date: Thu, 3 Sep 2026 16:33:04 +0200 Subject: [PATCH] Navigation API: test same-document back() in an iframe Same-document traversals initiated from an iframe fire the traverse `navigate` event later in "apply the history step" than top-level traversals do. Check that `committed` and `finished` fulfill, that an `intercept()` handler runs, and that `navigatesuccess` fires exactly once. See https://github.com/whatwg/html/pull/12838 --- .../back-same-document-in-iframe.html | 64 +++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 navigation-api/navigation-methods/return-value/back-same-document-in-iframe.html diff --git a/navigation-api/navigation-methods/return-value/back-same-document-in-iframe.html b/navigation-api/navigation-methods/return-value/back-same-document-in-iframe.html new file mode 100644 index 00000000000000..b72106cba96091 --- /dev/null +++ b/navigation-api/navigation-methods/return-value/back-same-document-in-iframe.html @@ -0,0 +1,64 @@ + + + + + + + +