Skip to content

network: miscellaneous changes #764

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

Merged
merged 2 commits into from
May 26, 2023
Merged

network: miscellaneous changes #764

merged 2 commits into from
May 26, 2023

Conversation

thiagowfx
Copy link
Contributor

@thiagowfx thiagowfx commented May 23, 2023

See commit history for changes.

Bug: #765
Spec: https://w3c.github.io/webdriver-bidi/#module-network

@thiagowfx thiagowfx self-assigned this May 23, 2023
@thiagowfx thiagowfx force-pushed the thiagowfx/network branch 19 times, most recently from 0737f64 to e616703 Compare May 23, 2023 19:06
@thiagowfx thiagowfx requested a review from sadym-chromium May 23, 2023 19:16
@thiagowfx thiagowfx force-pushed the thiagowfx/network branch from e616703 to bf2faf0 Compare May 23, 2023 19:20
@thiagowfx thiagowfx marked this pull request as ready for review May 23, 2023 19:20
@thiagowfx
Copy link
Contributor Author

thiagowfx commented May 24, 2023

Will regenerate WPT expectations.

@thiagowfx thiagowfx force-pushed the thiagowfx/network branch 4 times, most recently from 26c0df9 to a33174a Compare May 24, 2023 21:32
@thiagowfx thiagowfx closed this May 25, 2023
@thiagowfx thiagowfx reopened this May 25, 2023
@thiagowfx
Copy link
Contributor Author

I believe there's a race condition in the current implementation.

@thiagowfx thiagowfx force-pushed the thiagowfx/network branch 2 times, most recently from 1782c67 to 61f8cad Compare May 25, 2023 14:06
@thiagowfx thiagowfx enabled auto-merge (squash) May 25, 2023 14:24
@thiagowfx thiagowfx closed this May 25, 2023
auto-merge was automatically disabled May 25, 2023 14:37

Pull request was closed

@thiagowfx thiagowfx reopened this May 25, 2023
@thiagowfx thiagowfx enabled auto-merge (squash) May 25, 2023 14:37
@thiagowfx thiagowfx disabled auto-merge May 25, 2023 14:37
@thiagowfx thiagowfx enabled auto-merge (squash) May 25, 2023 14:37
@thiagowfx thiagowfx requested a review from OrKoN May 25, 2023 15:08
Verified it matches the CDP/DevTools implementation:

  cached(): boolean {
    return (Boolean(this.#fromMemoryCache) || Boolean(this.#fromDiskCache)) && !this.#transferSizeInternal;
  }
@thiagowfx thiagowfx force-pushed the thiagowfx/network branch from 6f37172 to def16a2 Compare May 25, 2023 21:03
@thiagowfx thiagowfx force-pushed the thiagowfx/network branch from def16a2 to eefa77c Compare May 25, 2023 21:08
@thiagowfx thiagowfx disabled auto-merge May 26, 2023 11:31
@thiagowfx thiagowfx merged commit 7085b2d into main May 26, 2023
@thiagowfx thiagowfx deleted the thiagowfx/network branch May 26, 2023 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants