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

Unified Diff: LayoutTests/fast/text/caret-crash.html

Issue 800553002: Disable drawing recorder cache for carets (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleanup Created 6 years 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
« no previous file with comments | « no previous file | LayoutTests/fast/text/caret-crash-expected.txt » ('j') | Source/core/paint/BlockPainter.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/text/caret-crash.html
diff --git a/LayoutTests/fast/text/caret-crash.html b/LayoutTests/fast/text/caret-crash.html
new file mode 100644
index 0000000000000000000000000000000000000000..2e84112dc8dcad233d80d750b9a9fd68a8cc69af
--- /dev/null
+++ b/LayoutTests/fast/text/caret-crash.html
@@ -0,0 +1,17 @@
+<!DOCTYPE HTML>
+<body>
+This test passes if it does not crash.
+<script>
+testRunner.waitUntilDone();
Xianzhu 2014/12/11 23:26:19 if (window.testRunner)...
+testRunner.dumpAsText();
+
+internals.settings.setCaretBrowsingEnabled(false);
+testRunner.displayAsyncThen(function() {
+ internals.settings.setCaretBrowsingEnabled(true);
+ document.body.innerHTML += "PASS";
+ testRunner.displayAsyncThen(function() {
+ testRunner.notifyDone();
+ });
+});
+</script>
+</body>
« no previous file with comments | « no previous file | LayoutTests/fast/text/caret-crash-expected.txt » ('j') | Source/core/paint/BlockPainter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698