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

Unified Diff: tests/html/safe_dom_test.dart

Issue 23189014: Removing more dom_ methods. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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/safe_dom_test.dart
diff --git a/tests/html/safe_dom_test.dart b/tests/html/safe_dom_test.dart
index 686c4e00a74c8d5993de264e64f1799e14e69bca..2dbe5d5fd3f2c0897cfc6acb008513ddafe2535a 100644
--- a/tests/html/safe_dom_test.dart
+++ b/tests/html/safe_dom_test.dart
@@ -70,7 +70,7 @@ DocumentFragment createContextualFragment(String html, [String contextTag]) {
}
if (Range.supportsCreateContextualFragment) {
- var range = doc.$dom_createRange();
+ var range = new Range();
blois 2013/08/27 16:08:10 This test requires that the range be created from
Emily Fortuna 2013/08/27 22:48:43 fixed.
range.selectNode(contextElement);
return range.createContextualFragment(html);
} else {

Powered by Google App Engine
This is Rietveld 408576698