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

Issue 11864016: Support web workers in dart2js. (Closed)

Created:
7 years, 11 months ago by ngeoffray
Modified:
7 years, 11 months ago
Reviewers:
erikcorry, floitsch, kasperl
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Support web workers in dart2js. Committed: https://code.google.com/p/dart/source/detail?r=17078

Patch Set 1 : #

Total comments: 8

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+87 lines, -44 lines) Patch
M sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart View 1 9 chunks +80 lines, -44 lines 1 comment Download
M tests/isolate/count_test.dart View 1 1 chunk +6 lines, -0 lines 0 comments Download
M tests/isolate/isolate.status View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
ngeoffray
Lots of ad-hoc fixes to get Timers to work somehow OK with web workers. Let ...
7 years, 11 months ago (2013-01-15 12:04:06 UTC) #1
kasperl
LGTM.
7 years, 11 months ago (2013-01-15 14:23:07 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/11864016/diff/4001/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart File sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right): https://codereview.chromium.org/11864016/diff/4001/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart#newcode254 sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart:254: int numberOfTimers = 0; I prefer activeTimerCount https://codereview.chromium.org/11864016/diff/4001/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart#newcode271 ...
7 years, 11 months ago (2013-01-15 14:25:17 UTC) #3
ngeoffray
Thanks Kasper and Florian. https://codereview.chromium.org/11864016/diff/4001/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart File sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right): https://codereview.chromium.org/11864016/diff/4001/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart#newcode254 sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart:254: int numberOfTimers = 0; On ...
7 years, 11 months ago (2013-01-15 15:12:41 UTC) #4
erikcorry
7 years, 11 months ago (2013-01-16 09:09:58 UTC) #5
Message was sent while issue was closed.
https://codereview.chromium.org/11864016/diff/9001/sdk/lib/_internal/compiler...
File sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart (right):

https://codereview.chromium.org/11864016/diff/9001/sdk/lib/_internal/compiler...
sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart:274: &&
_globalState.isolates.containsKey(_globalState.rootContext.id)
Style guide prefers && at the end of a line so this edit seems gratuitous.

Powered by Google App Engine
This is Rietveld 408576698