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

Side by Side Diff: runtime/observatory/tests/ui/inspector.dart

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 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
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // See inspector.txt for expected behavior. 5 // See inspector.txt for expected behavior.
6 6
7 library manual_inspector_test; 7 library manual_inspector_test;
8 8
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:mirrors'; 10 import 'dart:mirrors';
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 var stringTrebleClef; 69 var stringTrebleClef;
70 var theFalse; 70 var theFalse;
71 var theNull; 71 var theNull;
72 var theTrue; 72 var theTrue;
73 var type; 73 var type;
74 var typeParameter; 74 var typeParameter;
75 var typedData; 75 var typedData;
76 var userTag; 76 var userTag;
77 var weakProperty; 77 var weakProperty;
78 78
79 genStacktrace() { 79 genStackTrace() {
80 try { 80 try {
81 num.parse(','); 81 num.parse(',');
82 } catch (e, s) { 82 } catch (e, s) {
83 return s; 83 return s;
84 } 84 }
85 } 85 }
86 86
87 genCleanBlock() { 87 genCleanBlock() {
88 block(x) => x; 88 block(x) => x;
89 return block; 89 return block;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 map.remove("removed-key"); 155 map.remove("removed-key");
156 mint = 1 << 32; 156 mint = 1 << 32;
157 mirrorClass = reflectClass(Object); 157 mirrorClass = reflectClass(Object);
158 mirrorClosure = reflect(blockFull); 158 mirrorClosure = reflect(blockFull);
159 mirrorInstance = reflect("a reflectee"); 159 mirrorInstance = reflect("a reflectee");
160 mirrorReference = extractPrivateField(mirrorClass, '_reflectee'); 160 mirrorReference = extractPrivateField(mirrorClass, '_reflectee');
161 portReceive = new RawReceivePort(); 161 portReceive = new RawReceivePort();
162 portSend = portReceive.sendPort; 162 portSend = portReceive.sendPort;
163 regex = new RegExp("a*b+c"); 163 regex = new RegExp("a*b+c");
164 smi = 7; 164 smi = 7;
165 stacktrace = genStacktrace(); 165 stacktrace = genStackTrace();
166 string = "Hello $smi ${smi.runtimeType}"; 166 string = "Hello $smi ${smi.runtimeType}";
167 stringLatin1 = "blåbærgrød"; 167 stringLatin1 = "blåbærgrød";
168 stringSnowflake = "❄"; 168 stringSnowflake = "❄";
169 stringUnicode = "Îñţérñåţîöñåļîžåţîờñ"; 169 stringUnicode = "Îñţérñåţîöñåļîžåţîờñ";
170 stringHebrew = "שלום רב שובך צפורה נחמדת"; // An example of Right-to-Left. 170 stringHebrew = "שלום רב שובך צפורה נחמדת"; // An example of Right-to-Left.
171 stringTrebleClef = "𝄞"; // An example of a surrogate pair. 171 stringTrebleClef = "𝄞"; // An example of a surrogate pair.
172 theFalse = false; 172 theFalse = false;
173 theNull = null; 173 theNull = null;
174 theTrue = true; 174 theTrue = true;
175 type = String; 175 type = String;
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 typed = new Typed(); 249 typed = new Typed();
250 node = new Node(); 250 node = new Node();
251 Node.staticMain(); 251 Node.staticMain();
252 } 252 }
253 253
254 class C { 254 class C {
255 static doPrint() { 255 static doPrint() {
256 print("Original"); 256 print("Original");
257 } 257 }
258 } 258 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/nav/notify_exception.dart ('k') | runtime/tests/vm/vm.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698