-
Notifications
You must be signed in to change notification settings - Fork 45
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
Conversation
1573c2f
to
31fd732
Compare
There was a problem hiding this 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)
what is the specific reason for deprecating navigationAborted? I think we can discuss it separately. |
Co-authored-by: Henrik Skupin <[email protected]>
See the details in the referenced comment. That's all what I got. Happy to move it to a follow-up. |
There was a problem hiding this 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
||
1. If |command parameters| [=map/contains=] <code>wait</code> | ||
and |command parameters|[<code>wait</code>] is not "<code>none</code>", | ||
set |wait condition| to |command parameters|[<code>wait</code>]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
set |wait condition| to |command parameters|[<code>wait</code>]. | |
set |wait condition| to |command parameters|[<code>wait</code>]. | |
Note: "<code>none</code>" condition is a synonym for "<code>committed</code>". |
This notifies automation sessions when a navigation results in a new document being loaded. See w3c/webdriver-bidi#788 and w3c/webdriver-bidi#855.
@OrKoN the HTML spec PR got merged. I assume this one is ready as well? |
Implementation tracking on our side GoogleChromeLabs/chromium-bidi#2982 |
If someone plans to look into WPT before we get to it during the implementation, please post on the issue. |
Tests landed via web-platform-tests/wpt#50413. @sadym-chromium are those complete? (I didn't check them yet). Thanks! |
After the PR web-platform-tests/wpt#50419 is merged, I believe the tests are complete. But of course they can be extended with more exotic cases. |
Closes #788
HTML spec: whatwg/html#10910
Preview | Diff