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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/text-selection-focus.html

Issue 2521043003: Replace LayoutTests/paint/invalidation/text-selection-focus.html with a SimTest. (Closed)
Patch Set: copyrights. Created 4 years, 1 month 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/paint/invalidation/text-selection-focus.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/text-selection-focus.html b/third_party/WebKit/LayoutTests/paint/invalidation/text-selection-focus.html
deleted file mode 100644
index 8f220913d87068ceacd26a0d8178417e8d21d0c4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/paint/invalidation/text-selection-focus.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<!doctype HTML>
-<script src="../../resources/run-after-layout-and-paint.js"></script>
-<script src="../selection/resources/selection.js"></script>
-<script src="../../resources/js-test.js"></script>
-<div id="container">
- Selected area
-</div>
-<script>
-var jsTestIsAsync = true;
-onload = function() {
- description('If this test passes, a frame was scheduled when focusing the window.');
-
- selectRange(container, 0, container, 1);
- if (window.internals)
- window.internals.setFocused(false);
-
- if (window.testRunner) {
- window.testRunner.waitUntilDone();
- window.testRunner.dumpAsText();
- runAfterLayoutAndPaint(function() {
- window.internals.setFocused(true);
- window.scheduled = window.testRunner.animationScheduled();
- shouldBe('scheduled', 'true');
- finishJSTest();
- window.testRunner.notifyDone();
-
- });
- }
-
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698