- From: 張俊芝 <notifications@github.com>
- Date: Sat, 06 Apr 2024 01:35:21 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 6 April 2024 08:35:25 UTC
I think I had missed something before posting this issue: The spec explicitly says the `navigate` ["will not fire for location bar-initiated navigations"](https://html.spec.whatwg.org/multipage/nav-history-apis.html#navigateevent). I totally understand firing a `navigate` event for cross-document navigation for location bar-initiated navigation is unacceptable for security reasons. But it's not necessary to cut it all, I think it's reasonable to fire a `navigate` event for same-document navigation. Or is there any reason why it is necessary to disallow `navigate` events for same-document navigations? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1275#issuecomment-2041017823 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1275/2041017823@github.com>
Received on Saturday, 6 April 2024 08:35:25 UTC