Skip to content

Refine crossOriginIsolated implementation for workers#25748

Merged
stephenmcgruer merged 1 commit intomasterfrom
chromium-export-cl-2416428
Sep 24, 2020
Merged

Refine crossOriginIsolated implementation for workers#25748
stephenmcgruer merged 1 commit intomasterfrom
chromium-export-cl-2416428

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Sep 24, 2020

Bug: 1115379, 1018680, 1131403, 1131404
Change-Id: I2afcb01403f67a11fd06aefde1238aba16b68f36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416428
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810130}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a 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.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2416428 branch 2 times, most recently from 56ac316 to 415af5a Compare September 24, 2020 08:29
@yutakahirano
Copy link
Contributor

@domenic do you have any advice on this? Based on what I saw in #24600 I suspect the flakiness is pre-existing...

 - Fix WindowOrWorketGlobalScope.crossOriginIsolated behavior for
   workers.
   - For SharedWorkers and ServiceWorkers it always return false. See
     https://crbug.com/1131403 and https://crbug.com/1131404.
 - Rename ExecutionContext::IsCrossOriginIsolated to
   CrossOriginCapability. This is aligned with
   https://html.spec.whatwg.org/C/#concept-settings-object-cross-origin-isolated-capability.
 - Fix wpt/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/blob-data.https.html.
   I originally planned to do that in
   #24600 but I couldn't
   do that due to some flakiness.
 - Add more tests for workers in
   wpt/html/cross-origin-embedder-policy/cross-origin-isolated-permission.https.html.

Bug: 1115379, 1018680, 1131403, 1131404
Change-Id: I2afcb01403f67a11fd06aefde1238aba16b68f36
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2416428
Commit-Queue: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#810130}
@domenic
Copy link
Member

domenic commented Sep 24, 2020

Yes, the changes here don't seem likely to cause flakiness. @annevk as an FYI/maybe he can confirm this is a known Firefox issue, and @stephenmcgruer to help force-merge.

@stephenmcgruer
Copy link
Contributor

Looking at the history view on https://wpt.fyi/results/html/infrastructure/safe-passing-of-structured-data/shared-array-buffers/blob-data.https.html?label=master&label=experimental&aligned&q=html%2Finfrastructure%2Fsafe-passing-of-structured-data%2Fshared-array-buffers%2Fblob-data.https.html, this test looks very flaky on all platforms - many subtests fail every few runs, and Firefox times out (whilst passing most of the subtests!) about a third of the runs.

So I'd call this preexisting yes, and am happy to admin merge :)

@stephenmcgruer stephenmcgruer merged commit ce281cc into master Sep 24, 2020
@stephenmcgruer stephenmcgruer deleted the chromium-export-cl-2416428 branch September 24, 2020 16:38
@yutakahirano
Copy link
Contributor

Thank you very much!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants