Description
MDN URL
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onCommitted
What specific section or headline is this issue about?
details
What information was incorrect, unhelpful, or incomplete?
I noticed two issues, one minor and one more important. I'll start with the latter:
While the bottom of the article states that the API is based on Chromium's chrome.webNavigation API, the specs for the details object does not actually match that of Chromium.
In particular, the details object provided to listeners does not include any of the members which were added in Chromium ver 106 (documentId
, documentLifecycle
, etc) yet it is suggested that they should be.
The former, minor issue, is simply that the link inside the "Note" section to chrome.webNavigation has the wrong value for the fragment identifier. It's set to onBeforeNavigate
, rather than onCommitted
.
What did you expect to see?
I would like to see some mention of this discrepancy to some extent, as it is rather confusing. Also, on a somewhat unrelated note, it would be very helpful to have the differences in webNavigation API behavior described more as this is not the only instance.
Do you have any supporting links, references, or citations?
Do you have anything more you want to share?
If desired, I would be happy to throw up a PR for the corresponding markdown file to add information about those members to make it easier for the maintainers.
MDN metadata
Page report details
- Folder:
en-us/mozilla/add-ons/webextensions/api/webnavigation/oncommitted
- MDN URL: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onCommitted
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/mozilla/add-ons/webextensions/api/webnavigation/oncommitted/index.md
- Last commit: 5c5ee35
- Document last modified: 2025-04-13T18:40:30.000Z