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

Issue 23523003: Address a number of issues related to computation of currentScript and deferred loading. (Closed)

Created:
7 years, 3 months ago by ahe
Modified:
7 years, 3 months ago
Reviewers:
ngeoffray, blois
CC:
reviews_dartlang.org, kustermann, ricow1
Visibility:
Public.

Description

Address a number of issues related to computation of currentScript and deferred loading. * Store currentScript on init, as it is a cross-isolate shared value. * Clean up deferred loading. * Fix deferred loading tests so they inform the test runner about asynchronous operations. BUG=http://dartbug.com/12635 BUG=http://dartbug.com/10622 BUG=http://dartbug.com/9158 R=blois@google.com, ngeoffray@google.com Committed: https://code.google.com/p/dart/source/detail?r=26903

Patch Set 1 #

Total comments: 5

Patch Set 2 : Add tests #

Messages

Total messages: 6 (0 generated)
ahe
7 years, 3 months ago (2013-08-27 17:24:47 UTC) #1
blois
changes lgtm https://codereview.chromium.org/23523003/diff/1/dart/sdk/lib/_internal/lib/async_patch.dart File dart/sdk/lib/_internal/lib/async_patch.dart (right): https://codereview.chromium.org/23523003/diff/1/dart/sdk/lib/_internal/lib/async_patch.dart#newcode55 dart/sdk/lib/_internal/lib/async_patch.dart:55: JS('void', '(new Function(#))()', 'loadRelativeToScript("$uri")'); Where is loadRelativeToScript ...
7 years, 3 months ago (2013-08-27 23:23:13 UTC) #2
ahe
Thanks Pete! https://codereview.chromium.org/23523003/diff/1/dart/sdk/lib/_internal/lib/async_patch.dart File dart/sdk/lib/_internal/lib/async_patch.dart (right): https://codereview.chromium.org/23523003/diff/1/dart/sdk/lib/_internal/lib/async_patch.dart#newcode55 dart/sdk/lib/_internal/lib/async_patch.dart:55: JS('void', '(new Function(#))()', 'loadRelativeToScript("$uri")'); On 2013/08/27 23:23:13, ...
7 years, 3 months ago (2013-08-28 05:33:54 UTC) #3
ngeoffray
LGTM https://codereview.chromium.org/23523003/diff/1/dart/sdk/lib/_internal/lib/isolate_helper.dart File dart/sdk/lib/_internal/lib/isolate_helper.dart (right): https://codereview.chromium.org/23523003/diff/1/dart/sdk/lib/_internal/lib/isolate_helper.dart#newcode430 dart/sdk/lib/_internal/lib/isolate_helper.dart:430: ' && typeof os == "object" && "system" ...
7 years, 3 months ago (2013-08-28 06:36:17 UTC) #4
ahe
Thanks Nicolas. I like your suggestion, but I implemented it differently. https://codereview.chromium.org/23523003/diff/1/dart/sdk/lib/_internal/lib/isolate_helper.dart File dart/sdk/lib/_internal/lib/isolate_helper.dart (right): ...
7 years, 3 months ago (2013-08-28 06:54:01 UTC) #5
ahe
7 years, 3 months ago (2013-08-30 06:57:51 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 manually as r26903 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698