From b1ca242d896860420c336c3bda5aea59c1eace88 Mon Sep 17 00:00:00 2001 From: Karl Seguin Date: Thu, 12 Jun 2025 16:26:27 +0800 Subject: [PATCH] Terminate execution on internal navigation Currently, if there's an internal navigation event, we continue to process the page normally. This has negative performance implication, and can result in user-scripts producing unexpected results. For example, imagine a page with a script that does. ```js if (x) { form.submit(); } reloadProduct(); ``` The call to `form.submit()` should stop the script from executing. And, if the page has 10 other