Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize entire browsing context tree for contextDestroyed events #578

Merged
merged 1 commit into from
Oct 25, 2023

Conversation

jgraham
Copy link
Member

@jgraham jgraham commented Oct 24, 2023

When multiple navigables / contexts are destroyed at once we only emit a single event. To ensure that that the client gets information about every context that's destroyed, send the whole context tree in that event, rather than just the topmost context.

Closes #573


Preview | Diff

When multiple navigables / contexts are destroyed at once we only emit
a single event. To ensure that that the client gets information about
every context that's destroyed, send the whole context tree in that
event, rather than just the topmost context.
Copy link
Contributor

@lutien lutien left a comment

Choose a reason for hiding this comment

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

Closes #573

@thiagowfx
Copy link
Member

thiagowfx commented Oct 24, 2023

Closes #573

I believe this only takes effect if it's in the first comment. At least, a tooltip only shows up for it when it is in the first comment.

@whimboo
Copy link
Contributor

whimboo commented Oct 25, 2023

@lutien would you mind to update the tests while implementing it on our side? We have https://bugzilla.mozilla.org/show_bug.cgi?id=1860955 for it.

@whimboo whimboo added enhancement New feature or request module-browsingContext Browsing Context module labels Oct 25, 2023
@whimboo whimboo merged commit 38ba606 into main Oct 25, 2023
3 checks passed
@whimboo whimboo deleted the browsing_context_destroy branch October 25, 2023 06:58
github-actions bot added a commit that referenced this pull request Oct 25, 2023
)

SHA: 38ba606
Reason: push, by whimboo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module-browsingContext Browsing Context module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should browsingContext.contextDestroyed event payload maybe also contain children?
5 participants