Index: samples/third_party/dromaeo/tests/dom-traverse.dart |
diff --git a/client/dom/benchmarks/dromaeo/tests/dom-traverse.dart b/samples/third_party/dromaeo/tests/dom-traverse.dart |
similarity index 96% |
rename from client/dom/benchmarks/dromaeo/tests/dom-traverse.dart |
rename to samples/third_party/dromaeo/tests/dom-traverse.dart |
index 0d3cf2259e5ce594ec3654c40ef88989869bed34..6db8d04c07a710bde94880e05d42f1914246c71d 100644 |
--- a/client/dom/benchmarks/dromaeo/tests/dom-traverse.dart |
+++ b/samples/third_party/dromaeo/tests/dom-traverse.dart |
@@ -1,6 +1,6 @@ |
#library("dom-traverse.dart"); |
#import("dart:dom"); |
-#import('../../common/common.dart'); |
+#import('../common/common.dart'); |
#import('runner.dart'); |
@@ -68,7 +68,7 @@ void main() { |
}) |
.test('previousSibling', () { |
for (int i = 0; i < num * 2; i++) { |
- Node cur = document.body.firstChild; |
+ Node cur = document.body.lastChild; |
while (cur !== null) { |
cur = cur.previousSibling; |
} |