[Editorial review] BiDi - Add pages for browsingContext module, part 1: context lifecycle commands#44121
Conversation
Preview URLs (14 pages)
Flaws (31)Note! 4 documents with no flaws that don't need to be listed. 🎉 Found an unexpected or unresolvable flaw? Please report it here. URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
URL:
(comment last updated: 2026-06-02 21:23:43) |
juliandescottes
left a comment
There was a problem hiding this comment.
Still need to finish the review, but I spotted a potential spec & implementation issue with userContext in the return value for browsingContext.create so I'll submit comments while I'm filing the spec & implementation bugs.
juliandescottes
left a comment
There was a problem hiding this comment.
Thanks! We should remove references to UUIDs when talking about context or user context ids.
Beyond that there's the open question about the optional userContext property for browsingContext create. The easiest might be to wait until w3c/webdriver-bidi#1071 before documenting this property?
|
This pull request has merge conflicts that must be resolved before it can be merged. |
656963a to
5e433ef
Compare
juliandescottes
left a comment
There was a problem hiding this comment.
Thanks for the update @dipikabh ! This looks good to me 👍
|
Thanks for the review, @juliandescottes! I'll submit it for an editorial review now |
There was a problem hiding this comment.
Looks good! Thank you 🙂
A few questions/suggestions below:
Parameters order
I noticed that the parameter order differs between the BiDi reference pages:
- It’s alphabetical, no matter if required or optional
- In
session.subscriberequired go first, optional follow alphabetically
I like the “required first, optional alphabetically” order, actually. It’s user-friendly. I wonder if we should consistently apply it everywhere.
If not, I would at least make session.subscribe’s parameters alphabetical.
UUID
It might be out of the scope of this PR, but there are a few more UUIDs that you’re removing in this PR.
A string that contains the ID ([UUID](/en-US/docs/Glossary/UUID))
- input/performActions
- input/releaseActions
- input/setFiles
- input/fileDialogOpened
I wonder if they also need to be updated.
|
Thanks for the review, @pepelsbey! I've fixed your comments.
|
|
I'll merge this now and send a follow-up PR |
Description
This PR adds the first set of pages related to the context life cycle:
browsingContext.createbrowsingContext.closebrowsingContext.activateIn addition:
Spec links
Related issue
Doc issue: mdn/mdn#339