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
Update service_worker_unregister_and_register() #19613
Conversation
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.
Already reviewed downstream.
3f9505b
to
8e6b06b
Compare
Allows callsites of this helper function to pass RegistrationOptions. It will be useful for testing module service workers. Bug: 824647 Change-Id: Idc9a5c012144da46dfc4d692ce26df9f604a6ea1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1851624 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#704963}
8e6b06b
to
28fe38e
Compare
The followings are unstable results on Chrome Unstable results
|
Pinged author via https://chromium-review.googlesource.com/c/chromium/src/+/1851624 |
…er() The previous CL (crrev.com/c/1851624) seemed to make some tests flaky. I'm not sure the exact reason. This CL attempts to fix flakiness by not using default parameters. Bug: N/A Change-Id: Ia6fae23881704e4eb41e33ebe3e22e89872d7f87 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866093 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Cr-Commit-Position: refs/heads/master@{#707713}
I'm not sure what actual flake is being introduced here. TaskCluster shows Firefox is timing out entirely (probably due to number of tests? - Running locally, using a local tip-of-tree build of Chromium, I was able to reproduce many of the flakes even without the commits in this PR. The diff is:
So only the
I'm not actually convinced that even this is a flake caused by this CL; these tests just seem very flaky in general... |
A second run of without-pr and with-pr shows I also ran before/after with Firefox and saw no difference in flaking. With or without the CLs in this PR, the following tests flaked:
|
Yeah I took a quick look at the patch itself and it should be pretty safe, admin-merging. |
Allows callsites of this helper function to pass RegistrationOptions.
It will be useful for testing module service workers.
Bug: 824647
Change-Id: Idc9a5c012144da46dfc4d692ce26df9f604a6ea1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1851624
Commit-Queue: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#704963}
This PR also includes the following the Chromium CL:
Update service_worker_unregister_and_register()
Allows callsites of this helper function to pass RegistrationOptions.
It will be useful for testing module service workers.
Bug: N/A
Change-Id: Ia6fae23881704e4eb41e33ebe3e22e89872d7f87
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866093
Commit-Queue: Kenichi Ishibashi bashi@chromium.org
Reviewed-by: Hiroki Nakagawa nhiroki@chromium.org
Cr-Commit-Position: refs/heads/master@{#707713}