| 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 6c249f30a71c5f3dbf1827fe6010eff1dc06ca6c..0d0514ddb85455ffdbd04534d922e1ee9bf62029 100644
|
| --- a/LayoutTests/dart/inspector/evaluate-in-console.html
|
| +++ b/LayoutTests/dart/inspector/evaluate-in-console.html
|
| @@ -75,19 +75,24 @@ function test()
|
| 'globalField',
|
| 'calculateSquareRoot(25)',
|
| 'new Element.tag("div").outerHtml',
|
| + '(new Element.tag("div")..append(new Element.tag("h1"))).outerHtml',
|
| 'new Element.tag("div").tagName',
|
| 'intList.toString()',
|
| - 'intList.__proto__.someMethodThatDoesNotExist()',
|
| - 'intList.__proto__.toString()',
|
| - // Verify that making a Dart object the prototype of a JS
|
| - // object behaves correctly. Dart methods always act as if
|
| - // they are bound to the Dart object they are associated
|
| - // with unlike JS methods.
|
| - 'a=new List()',
|
| - 'jsObject={}',
|
| - 'jsObject.__proto__=a',
|
| - 'jsObject.add(7)',
|
| - 'a.toString()'
|
| + '(LinkedList).toString()',
|
| + '$var.a=new List<int>()..add(4)..add(42)',
|
| + '$var.a.toString()',
|
| + '$var.variables()',
|
| + '$var.f = (x) => x*42',
|
| + '$var.f(2)',
|
| + '[] is List',
|
| + '{} is List',
|
| + '"This should be an int: ${10000000000000000000000 - 1}"',
|
| + '10000000000000000000000 is int',
|
| + '1.0 is int',
|
| + '1.0 is double',
|
| + '((x) => x * 2)(21)',
|
| + '((x) { var z = x * 4; return z; })(21)',
|
| + 'print("Hello $window")',
|
| ];
|
| evaluate(expressions.shift());
|
| }
|
|
|