Skip to content

Bug 1891478 Implement documentId in extension APIs#29853

Merged
rebloor merged 3 commits into
mdn:mainfrom
rebloor:Bug-1891478-Implement-documentId-in-extension-APIs
Jun 18, 2026
Merged

Bug 1891478 Implement documentId in extension APIs#29853
rebloor merged 3 commits into
mdn:mainfrom
rebloor:Bug-1891478-Implement-documentId-in-extension-APIs

Conversation

@rebloor

@rebloor rebloor commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

This change addresses the dev-doc-needed requirements of Bug 1891478 "Implement documentId in extension APIs"

In addition, it includes details of:

  • support in Chrome, derived from the Chrome API docs
  • support in Safari as identified from the 18.4 release note

No chromium issues were identified for the implementation of features not supported in Chrome.

Related issues

Related MDN document changes in mdn/content#44491

@rebloor rebloor requested a review from Rob--W June 15, 2026 23:10
@rebloor rebloor self-assigned this Jun 15, 2026
@rebloor rebloor added the data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions label Jun 15, 2026
@github-actions github-actions Bot added the size:l [PR only] 101-1000 LoC changed label Jun 15, 2026
@github-actions

github-actions Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

Comment thread webextensions/api/runtime.json Outdated
Comment thread webextensions/api/runtime.json Outdated
Comment thread webextensions/api/runtime.json Outdated
Comment thread webextensions/api/scripting.json Outdated
Comment thread webextensions/api/webNavigation.json Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"version_added": "153"

onHistoryStateUpdated also supports parentDocumentId. Not sure why you added documentId but not parentDocumentId, but with so many documentId/parentDocumentId entries I can see that happening easily.

FYI I found the missing item by looking through the preview at https://jsbin.com/subipeyibo/edit?output and pasting https://github.com/rebloor/browser-compat-data/raw/refs/heads/Bug-1891478-Implement-documentId-in-extension-APIs/webextensions/api/webNavigation.json

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread webextensions/api/webNavigation.json Outdated
Comment thread webextensions/api/scripting.json Outdated
@rebloor rebloor requested a review from Rob--W June 17, 2026 23:51
@rebloor rebloor merged commit 423840c into mdn:main Jun 18, 2026
10 checks passed
@rebloor rebloor deleted the Bug-1891478-Implement-documentId-in-extension-APIs branch June 18, 2026 16:35
@mdn-bot mdn-bot mentioned this pull request Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:webext Compat data for Browser Extensions. https://developer.mozilla.org/Add-ons/WebExtensions size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants