Skip to content

Conversation

@jgraham
Copy link
Member

@jgraham jgraham commented Nov 18, 2022


Preview | Diff

@jgraham jgraham force-pushed the webdriver_request_logging branch from fff0efb to 7884a67 Compare December 20, 2022 09:43
@jgraham jgraham force-pushed the webdriver_request_logging branch from 7884a67 to 4fa3194 Compare January 20, 2023 14:28
jgraham added a commit to w3c/webdriver-bidi that referenced this pull request Mar 8, 2023
jgraham added a commit to w3c/webdriver-bidi that referenced this pull request Mar 8, 2023
jgraham added a commit to w3c/webdriver-bidi that referenced this pull request Mar 29, 2023
jgraham added a commit to w3c/webdriver-bidi that referenced this pull request Mar 29, 2023
jgraham added a commit to w3c/webdriver-bidi that referenced this pull request Mar 30, 2023
@jgraham jgraham closed this May 15, 2023
@jgraham jgraham reopened this May 15, 2023
@jgraham jgraham force-pushed the webdriver_request_logging branch 2 times, most recently from 4eb1c56 to 968dea4 Compare May 19, 2023 08:37
@jgraham jgraham marked this pull request as ready for review May 19, 2023 08:40
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Thanks for tackling this. Looks reasonable overall, but I found some issues.

@jgraham jgraham force-pushed the webdriver_request_logging branch from 968dea4 to 5df348c Compare May 22, 2023 12:53
dontcallmedom added a commit to tobie/specref that referenced this pull request May 22, 2023
* Add WebDriver BIDI

needed for whatwg/fetch#1540 (comment)

* Update refs/biblio.json

Co-authored-by: François Daoust <[email protected]>

---------

Co-authored-by: François Daoust <[email protected]>
@jgraham jgraham force-pushed the webdriver_request_logging branch from 5df348c to f010d62 Compare July 21, 2023 09:18
@jgraham jgraham requested a review from annevk July 21, 2023 09:18
@jgraham jgraham force-pushed the webdriver_request_logging branch from f010d62 to e5bc282 Compare July 21, 2023 09:24
@jgraham jgraham closed this Jul 27, 2023
@jgraham jgraham reopened this Jul 27, 2023
@jgraham jgraham force-pushed the webdriver_request_logging branch 2 times, most recently from 34edf7e to 2998bd1 Compare July 27, 2023 15:38
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

@jgraham apologies for the delay. Please resolve existing comment threads and maybe ping me if you haven't seen an update in a while.

I was wondering if there was a high-level description available somewhere so I can verify the various calls happen at the right time. Also happy to trust you, but it might help to have some additional review?

@jgraham jgraham force-pushed the webdriver_request_logging branch 3 times, most recently from 2747ae7 to d0c7b8a Compare January 4, 2024 12:35
@jgraham jgraham requested a review from annevk January 5, 2024 12:25
Copy link
Member

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Question about the overview still stands. Looks good otherwise.

fetch.bs Outdated
<a for=request>body</a>.
<a for=request>body</a> and <a for=request>id</a>.

<li><p>Set <var>newRequest</var>'s <a for=request>id</a> to a new unique string.
Copy link
Member

Choose a reason for hiding this comment

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

Is this a UUID in practice? Do we just want to settle on that?

Copy link
Member Author

Choose a reason for hiding this comment

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

It doesn't seem to be at the moment. I'd happily require a UUID here, but I feel like we don't quite have consensus on UUIDs everywhere yet.

Copy link

Choose a reason for hiding this comment

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

@annevk would you mind taking another look at this PR? Thanks!

@jgraham jgraham force-pushed the webdriver_request_logging branch from d0c7b8a to a808110 Compare April 9, 2024 11:43
@jgraham jgraham requested a review from annevk April 9, 2024 11:43
@whimboo
Copy link

whimboo commented May 23, 2024

@annevk gently ping for review. Thanks.

@annevk
Copy link
Member

annevk commented Jun 12, 2024

Hey @whimboo @jgraham did my question about some kind of overview get lost?

I also wonder if @noamr perhaps wants to take a look.

I have a number of nits in mind looking at the text now, but I can push a commit for that once the higher level concern is resolved.

@jgraham
Copy link
Member Author

jgraham commented Jun 12, 2024

w3c/webdriver-bidi#204 has a brief overview in the description. I don't know if you wanted more detail than that.

I think we know at this point there are some problems e.g. w3c/webdriver-bidi#722 which covers what happens with auth requests (technically specified, but probably not in a way that's easy to use).

@annevk
Copy link
Member

annevk commented Jun 12, 2024

Thanks, that helps a lot! I left some questions in the authentication issue. I think we should probably try to solve for the model we want first. At least it doesn't make much sense to me to land something we don't feel confident about.


<!-- After this point the request is not further modified before being either
retrieved from the cache or sent -->
<li><p>Run the <a>WebDriver BiDi before request sent</a> steps with <var>request</var>.
Copy link
Contributor

Choose a reason for hiding this comment

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

@jgraham does it intentionally use request instead of httpRequest?


<li><p>If <var>response</var> is a <a>network error</a>, run
the <a>WebDriver BiDi fetch error</a> steps with <var>request</var>. Otherwise
run the <a>WebDriver BiDi response completed</a> steps with
Copy link

Choose a reason for hiding this comment

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

I failed to find a conclusive answer so far so posting a question here: do we expect this to be called if the client never reads the response body (e.g., void fetch('...'))? As far as I see, this is used as a flush algorithm for a stream pipe and it looks like it might not get called if the body is not read by the client until the browser decides to clean up the stream. cc @jgraham @sadym-chromium @juliandescottes

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

Labels

None yet