webextensions.api.webNavigation.onCommitted/onCompleted/… - Firefox supports `parentFrameId`
What type of issue is this?
"parentFrameId" is marked as not supported in Firefox.
What information was incorrect, unhelpful, or incomplete?
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onCompleted#browser_compatibility https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onDOMContentLoaded#browser_compatibility https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onErrorOccurred#browser_compatibility https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onHistoryStateUpdated#browser_compatibility https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onReferenceFragmentUpdated#browser_compatibility
Also have marked "parentFrameId" as not supported.
What browsers does this problem apply to, if applicable?
No response
What did you expect to see?
It should say that "parentFrameId" is supported in Firefox.
Did you test this? If so, how?
I tested it with a webextension.
https://searchfox.org/firefox-main/rev/2e66ab5e9ba19722090f298cc1c9c290c985e274/toolkit/components/extensions/parent/ext-webNavigation.js#138
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/webNavigation/onCommitted
MDN metadata
MDN page report details
- Query:
webextensions.api.webNavigation.onCommitted - Report started: 2025-11-30T16:20:55.724Z
The webNavigation schema doesn't mention parentFrameId, but indeed the linked source code suggests that it is supported.
@dotproto or @rebloor Can you confirm?
We made an update in https://github.com/mdn/browser-compat-data/pull/27012 at the beginning of November, which added information on Chrome only properties in webNavigation, including. supports for parentFrameId. This PR was reviewed by @Rob--W & @dotproto with no suggestion that support was provided in Firefox. I can also find no bugzilla items mentioning parentFrameId.
All webNavigation events support parentFrameId since the beginning of time (well before WebExtensions was ready, at https://searchfox.org/firefox-main/diff/1ba4b05dd93edb4fc2e9489827d5459432021723/toolkit/components/extensions/ext-webNavigation.js#34 ).
This logic still exists: https://searchfox.org/firefox-main/rev/ac7d7c131dd65058ad6b7ecfa65dc8f31a0f203e/toolkit/components/extensions/parent/ext-webNavigation.js#138
Oddly, the property is only declared for one event in the API schema, but it should be listed at each event: https://searchfox.org/firefox-main/rev/ac7d7c131dd65058ad6b7ecfa65dc8f31a0f203e/toolkit/components/extensions/schemas/web_navigation.json#215