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

Unified Diff: tests/html/js_test.dart

Issue 1380963003: Preserve identity of Dart wrappers on DOM objects (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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: tests/html/js_test.dart
diff --git a/tests/html/js_test.dart b/tests/html/js_test.dart
index 081ab0270576c4bd3a86d22885eae90a21c73fba..ab83a5c7e171bc53d4ba86cbcc9035062bed426f 100644
--- a/tests/html/js_test.dart
+++ b/tests/html/js_test.dart
@@ -11,7 +11,7 @@ import 'dart:indexed_db' show IdbFactory, KeyRange;
import 'dart:js';
import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
+import 'package:unittest/html_individual_config.dart';
_injectJs() {
final script = new ScriptElement();
@@ -230,7 +230,7 @@ class Callable {
main() {
_injectJs();
- useHtmlConfiguration();
+ useHtmlIndividualConfiguration();
group('identity', () {
@@ -552,7 +552,7 @@ main() {
array.length = 3;
expect(array, [1, 2, null]);
});
-
+
test('add', () {
var array = new JsArray();
array.add('a');

Powered by Google App Engine
This is Rietveld 408576698