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

Side by Side Diff: LayoutTests/dart/inspector/debugger-eval-on-call-frame.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 'dart:math' as math;
4
5 var globalVar = 14;
6
7 main() {
8 window.onMessage.listen(handleMessage);
9 }
10
11 handleMessage(event) {
12 if (event.data == 'fromJS') {
13 var test = new Test();
14 test.closure();
15 window.postMessage('fromDart', '*');
16 }
17 }
18
19 class Base {
20 int baseField = 0;
21 }
22
23 class Test extends Base {
24 static var staticField = 42;
25 var foo = 13;
26 var closure;
27
28 Test() {
29 createClosure();
30 }
31
32 Test create(String string) => new Test();
33
34 createClosure() {
35 closure = () {
36 var z = 10;
37 z = z * 2;
38 return z;
39 };
40 }
41 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698