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

Unified Diff: LayoutTests/dart/inspector/evaluate-in-console.html

Issue 18169002: Improve Dart Debugger performance and robustness by creating Dart wrappers using the standard SetNa… (Closed) Base URL: svn://svn.chromium.org/multivm/trunk/webkit
Patch Set: Code review fixes Created 7 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/dart/inspector/evaluate-in-console.html
diff --git a/LayoutTests/dart/inspector/evaluate-in-console.html b/LayoutTests/dart/inspector/evaluate-in-console.html
index 407c51b4ab8e7d1869d5b8f4b06141e55c718ef4..b565e02280645e26b4c5691024199930006f0774 100644
--- a/LayoutTests/dart/inspector/evaluate-in-console.html
+++ b/LayoutTests/dart/inspector/evaluate-in-console.html
@@ -35,9 +35,10 @@ function test()
function evaluate(expression)
{
- InspectorTest.evaluateInConsoleAndDump(expression, didEvaluateInConsole);
+ InspectorTest.evaluateInConsole(expression, didEvaluateInConsole);
function didEvaluateInConsole(result)
{
+ InspectorTest.addResult(expression + " = " + result.replace(/\(dart:[^)]*\)/g, "(SOURCE_LOCATION)"));
if (expressions.length)
evaluate(expressions.shift());
else
@@ -61,7 +62,8 @@ function test()
// Global fields and functions.
'globalField',
'calculateSquareRoot(25)',
- 'document.$dom_createElement("div").tagName',
+ 'new Element.tag("div").outerHtml',
+ 'new Element.tag("div").tagName',
];
evaluate(expressions.shift());
}
« no previous file with comments | « LayoutTests/dart/dom/Console-expected.txt ('k') | LayoutTests/dart/inspector/evaluate-in-console-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698