Skip to content

Update runtime.onInvalidated with unload reason and isolated world restriction#975

Merged
Rob--W merged 1 commit into
w3c:mainfrom
carlosjeurissen:oninvalidated-changes
May 7, 2026
Merged

Update runtime.onInvalidated with unload reason and isolated world restriction#975
Rob--W merged 1 commit into
w3c:mainfrom
carlosjeurissen:oninvalidated-changes

Conversation

@carlosjeurissen
Copy link
Copy Markdown
Member

During the 2026 London F2F triage we talked about making some changes to the runtime.onInvalidated event.

Specifically:

  • unload reason
  • specifically mention this should only be exposed in isolated content script worlds

Comment thread proposals/runtime_on_invalidated.md Outdated
@carlosjeurissen
Copy link
Copy Markdown
Member Author

@Rob--W updated the pr to mention the need for browsers to keep the content script context alive.

Copy link
Copy Markdown
Member

@Rob--W Rob--W left a comment

Choose a reason for hiding this comment

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

Thanks!

Comment thread proposals/runtime_on_invalidated.md Outdated
Copy link
Copy Markdown
Member

@oliverdunk oliverdunk left a comment

Choose a reason for hiding this comment

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

LGTM - thanks!

@Rob--W Rob--W merged commit f372641 into w3c:main May 7, 2026
4 checks passed
github-actions Bot added a commit that referenced this pull request May 7, 2026
SHA: f372641
Reason: push, by Rob--W

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions Bot added a commit that referenced this pull request May 7, 2026
SHA: f372641
Reason: push, by Rob--W

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@carlosjeurissen carlosjeurissen deleted the oninvalidated-changes branch May 8, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants