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

Side by Side Diff: LayoutTests/dart/inspector/deferred-import.dart

Issue 1532413002: Added Dartium changes onto 45.0.2454.104 (Closed) Base URL: http://src.chromium.org/blink/branches/chromium/2454
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 import 'dart:collection';
2 import 'dart:html';
3 import 'deferred-import-library.dart' deferred as deferred_import;
4
5 main() {
6 window.onMessage.listen(handleMessage);
7 }
8
9 handleMessage(event) {
10 if (event.data == 'fromJS') {
11 deferred_import.loadLibrary().then((_) {
12 querySelector("#sample_text_id").text =
13 'value = ${deferred_import.calculate()}';
14 window.postMessage('fromDart', '*');
15 });
16 }
17 }
OLDNEW
« no previous file with comments | « LayoutTests/dart/inspector/debugger-expected.txt ('k') | LayoutTests/dart/inspector/deferred-import.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698