| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 library jsTest; | 5 library jsTest; |
| 6 | 6 |
| 7 import 'dart:js'; | 7 import 'dart:js'; |
| 8 | 8 |
| 9 // TODO(jmesserly): get tests from package(s) instead. | 9 // TODO(jmesserly): get tests from package(s) instead. |
| 10 import 'dom.dart'; | 10 import 'dom.dart'; |
| (...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 context['o'] = ctx.createImageData(1, 1); | 696 context['o'] = ctx.createImageData(1, 1); |
| 697 var imageDataType = context['ImageData']; | 697 var imageDataType = context['ImageData']; |
| 698 expect(context.callMethod('isPropertyInstanceOf', ['o', imageDataType]), | 698 expect(context.callMethod('isPropertyInstanceOf', ['o', imageDataType]), |
| 699 true); | 699 true); |
| 700 context.deleteProperty('o'); | 700 context.deleteProperty('o'); |
| 701 }); | 701 }); |
| 702 | 702 |
| 703 }); | 703 }); |
| 704 }); | 704 }); |
| 705 } | 705 } |
| OLD | NEW |