Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Oct 11, 2024

Backport of #43473

See that PR for details.

Notes:

  • Added WebFrameMain.detached for frames in an unloading state.
  • Added WebFrameMain.isDestroyed() to determine if a frame has been destroyed.
  • Fixed webFrameMain.fromId(processId, frameId) returning a WebFrameMain instance which doesn't match the given parameters when the frame is unloading.

* feat: add WebFrameMain detached property

fix: throw instead of returning null senderFrame

test: detached frames

fix: ensure IPCs of pending deletion RFHs are dispatched

fix: lookup WFM by FTN ID to dispatch IPCs

feat: add frame.isDestroyed()

return null

fix: return undefined

docs: add null to all frame properties

refactor: option c, return null and emit warning

refactor: add routingId & processId to navigation events

test: null frame property

docs: clarify warning message

better wording

clarify null frame

fix: browserwindow spec

* maybe fix 🤷

* fix: use updated util #43722

* docs: add notice for frame change of behavior

* docs: clarify why frame properties may be null

* lint

* wip

* fix: content::FrameTreeNodeId lookup and converter

* refactor: avoid holey array deoptimization

---------

Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>

Co-authored-by: Sam Maddock <smaddock@slack-corp.com>
@trop trop bot requested review from a team as code owners October 11, 2024 22:34
@trop trop bot requested a review from samuelmaddock October 11, 2024 22:34
@trop trop bot mentioned this pull request Oct 11, 2024
8 tasks
@trop trop bot added 33-x-y backport This is a backport PR backport/requested 🗳 semver/minor backwards-compatible functionality labels Oct 11, 2024
@codebytere codebytere merged commit ae9f2df into 33-x-y Oct 31, 2024
58 checks passed
@codebytere codebytere deleted the trop/33-x-y-bp-feat-add-webframemain-detached-property-1728686038962 branch October 31, 2024 11:07
@release-clerk
Copy link

release-clerk bot commented Oct 31, 2024

Release Notes Persisted

  • Added WebFrameMain.detached for frames in an unloading state.
  • Added WebFrameMain.isDestroyed() to determine if a frame has been destroyed.
  • Fixed webFrameMain.fromId(processId, frameId) returning a WebFrameMain instance which doesn't match the given parameters when the frame is unloading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.