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

Add browsingContext.navigationCommitted event and wait for it when no wait condition is provided #855

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

OrKoN
Copy link
Contributor

@OrKoN OrKoN commented Jan 13, 2025

Closes #788
HTML spec: whatwg/html#10910


Preview | Diff

@OrKoN OrKoN force-pushed the orkon/navigation-committed branch from 1573c2f to 31fd732 Compare January 13, 2025 13:07
@OrKoN OrKoN requested a review from sadym-chromium January 13, 2025 13:07
@OrKoN OrKoN changed the title Handle navigation committed event Specify navigation committed event Jan 13, 2025
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
Copy link
Contributor

@whimboo whimboo left a comment

Choose a reason for hiding this comment

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

What should we do with the browsingContext.navigationAborted event? Should we deprecate it? See #788 (comment)

index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@OrKoN
Copy link
Contributor Author

OrKoN commented Jan 15, 2025

What should we do with the browsingContext.navigationAborted event? Should we deprecate it? See #788 (comment)

what is the specific reason for deprecating navigationAborted? I think we can discuss it separately.

Co-authored-by: Henrik Skupin <[email protected]>
@OrKoN OrKoN requested a review from jgraham January 15, 2025 08:08
@whimboo
Copy link
Contributor

whimboo commented Jan 15, 2025

What should we do with the browsingContext.navigationAborted event? Should we deprecate it? See #788 (comment)

what is the specific reason for deprecating navigationAborted? I think we can discuss it separately.

See the details in the referenced comment. That's all what I got. Happy to move it to a follow-up.

@OrKoN OrKoN changed the title Specify navigation committed event Add browsingContext.navigationCommitted event and wait for it when no wait condition is provided Jan 15, 2025
Copy link
Member

@jgraham jgraham left a comment

Choose a reason for hiding this comment

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

The API change seem good. It would be nice to make sure we have clarity at least amongst the WebDriver folks on the HTML side of the change before landing this.

Copy link
Contributor

@whimboo whimboo left a comment

Choose a reason for hiding this comment

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

Thanks!

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

Successfully merging this pull request may close these issues.

Request for a navigationCommitted event to inform immediately about the navigation status
4 participants