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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/Range/range-clone-empty.html

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 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: third_party/WebKit/LayoutTests/fast/dom/Range/range-clone-empty.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/Range/range-clone-empty.html b/third_party/WebKit/LayoutTests/fast/dom/Range/range-clone-empty.html
index 38bbda54d49e38b4311074e80290e22611c632d0..7e790f30545fc9cf82968a8e4bc6c57199984a0e 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/Range/range-clone-empty.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/Range/range-clone-empty.html
@@ -4,6 +4,14 @@
<script src="../../../resources/js-test.js"></script>
</head>
<body>
-<script src="script-tests/range-clone-empty.js"></script>
+<script>
+description(
+"This test checks cloning an empty range returns an empty fragment."
+);
+
+var r = document.createRange();
+shouldBeTrue("r.cloneContents() != undefined");
+shouldBeTrue("r.cloneContents() != null");
+</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698