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
SharedWorker: Assign unique names to SharedWorkers to avoid unintentional matching #21857
Conversation
…onal matching This CL assigns unique names to SharedWorkers in WPTs for referrer policy and csp of module shared workers to avoid unintentinal matching. Before this CL, the flakiness is reported for shared-worker-import-csp.html. See #21591 for more detail. Bug: 1051779 Change-Id: Id4f7e02510189320366862499f81a20a01089c76 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055913 Commit-Queue: Eriko Kurimoto <elkurin@google.com> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Cr-Commit-Position: refs/heads/master@{#741849}
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 review process for this patch is being conducted in the Chromium project.
@elkurin It looks like we still see some Firefox flakiness here, although different from #21591. It looks like we're only failing when running FF with chaos mode with restarts. Would you be able to take a look and see if there's a problem with the tests, or if this a FF bug? Thanks Unstable results
::: Running tests in a loop 10 times : PASS |
Thanks for reporting! According to your test results, the test is failing with the assertion: I think this kind of error happens only when promise_test() runs in parallel. I'm not familiar with chaos_mode_flags, but is it a mode to run several promise_test() at the same time? If so, failing makes sense. |
Hi @elkurin . Sorry for the delay on getting back to you. 'Chaos mode' in Firefox is something built into their browser (ChaosMode.h), which alters things like thread scheduling, network scheduling, etc, without (as I understand it) changing the web platform semantics. It sometimes exposes bugs in tests, and sometimes exposes bugs in the Firefox implementation. It should not cause Are you able to own opening a bug with Firefox (https://bugzilla.mozilla.org/)? |
Thanks @stephenmcgruer . Sorry for the delay. |
Certainly, thanks for your efforts looking into this :) |
This CL assigns unique names to SharedWorkers in WPTs for referrer
policy and csp of module shared workers to avoid unintentinal matching.
Before this CL, the flakiness is reported for shared-worker-import-csp.html.
See #21591 for more detail.
Bug: 1051779
Change-Id: Id4f7e02510189320366862499f81a20a01089c76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2055913
Commit-Queue: Eriko Kurimoto <elkurin@google.com>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#741849}