Skip to content

Conversation

@chrisdavidmills
Copy link
Contributor

@chrisdavidmills chrisdavidmills commented Nov 12, 2025

Description

The Navigation.navigate() method now disallows javascript: URLs for security purposes. See whatwg/html#11533.

This PR:

  • Corrects the related info on the ref page (it was already there but inaccurate).
  • Adds another missing exception to the page and makes some additions and minor cleanup.
  • Adds a rel note mentioning it to the Fx144 rel notes (which is when Firefox implemented this; see https://bugzilla.mozilla.org/show_bug.cgi?id=1981104)

Motivation

Additional details

Related issues and pull requests

Fixes #40806

@chrisdavidmills chrisdavidmills requested a review from a team as a code owner November 12, 2025 13:52
@chrisdavidmills chrisdavidmills requested review from sideshowbarker and removed request for a team November 12, 2025 13:52
@github-actions github-actions bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Nov 12, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 12, 2025

Preview URLs

Flaws (8)

Note! 1 document with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Mozilla/Firefox/Releases/144
Title: Firefox 144 release notes for developers
Flaw count: 8

  • macros:
    • Macro produces link /en-US/docs/Web/CSS/:active-view-transition which is a redirect
    • Macro produces link /en-US/docs/Web/CSS/view-transition-class which is a redirect
    • Macro produces link /en-US/docs/Web/CSS/view-transition-name which is a redirect
    • Macro produces link /en-US/docs/Web/CSS/::view-transition which is a redirect
    • Macro produces link /en-US/docs/Web/CSS/::view-transition-group which is a redirect
    • and 3 more flaws omitted
External URLs (1)

URL: /en-US/docs/Mozilla/Firefox/Releases/144
Title: Firefox 144 release notes for developers

(comment last updated: 2025-11-12 14:03:22)

@chrisdavidmills chrisdavidmills requested a review from a team as a code owner November 12, 2025 14:01
@chrisdavidmills chrisdavidmills requested review from pransh15 and removed request for a team November 12, 2025 14:01
@github-actions github-actions bot added the Content:Firefox Content in the Mozilla/Firefox subtree label Nov 12, 2025
@sideshowbarker sideshowbarker removed their request for review November 22, 2025 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:Firefox Content in the Mozilla/Firefox subtree Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

navigation.navigate() with a javascript: protocol is now unsupported

1 participant