Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(663)

Issue 2841003002: Disallow Atomics.wait in ServiceWorker, allow in SharedWorker (Closed)

Created:
3 years, 8 months ago by binji
Modified:
3 years, 7 months ago
Reviewers:
Nate Chapin, nhiroki
CC:
blink-reviews, blink-reviews-bindings_chromium.org, blink-worker-reviews_chromium.org, chromium-reviews, falken+watch_chromium.org, horo+watch_chromium.org, kinuko+worker_chromium.org, kinuko+watch, shimazu+worker_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Disallow Atomics.wait in ServiceWorker, allow in SharedWorker Atomics.wait is a blocking call, and is only allowed on certain workers. See the new web platform tests here: https://github.com/w3c/web-platform-tests/pull/5569 BUG=chromium:711809 Review-Url: https://codereview.chromium.org/2841003002 Cr-Commit-Position: refs/heads/master@{#468188} Committed: https://chromium.googlesource.com/chromium/src/+/a82bef3834cf1550ed4e4108ded9795a2f9a4d34

Patch Set 1 #

Total comments: 2

Patch Set 2 : rename to IsAtomicsWaitAllowed #

Messages

Total messages: 22 (15 generated)
binji
This does not have any LayoutTests yet, but does pass the WPT tests here: https://github.com/w3c/web-platform-tests/pull/5569
3 years, 8 months ago (2017-04-26 00:56:31 UTC) #2
nhiroki
lgtm https://codereview.chromium.org/2841003002/diff/1/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h File third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h (right): https://codereview.chromium.org/2841003002/diff/1/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h#newcode91 third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h:91: virtual bool AllowAtomicsWait() { return false; } IsAtomicsWaitAllowed()? ...
3 years, 8 months ago (2017-04-26 01:46:06 UTC) #5
binji
-jochen, +japhet since Jochen is away currently https://codereview.chromium.org/2841003002/diff/1/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h File third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h (right): https://codereview.chromium.org/2841003002/diff/1/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h#newcode91 third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h:91: virtual bool ...
3 years, 8 months ago (2017-04-26 18:13:35 UTC) #9
binji
japhet: ping
3 years, 7 months ago (2017-04-28 21:43:41 UTC) #14
Nate Chapin
lgtm
3 years, 7 months ago (2017-04-28 21:56:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2841003002/20001
3 years, 7 months ago (2017-04-28 21:58:01 UTC) #18
commit-bot: I haz the power
3 years, 7 months ago (2017-04-29 00:15:35 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a82bef3834cf1550ed4e4108ded9...

Powered by Google App Engine
This is Rietveld 408576698