| 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());
|
| }
|
|
|