Chromium Code Reviews

Unified Diff: LayoutTests/fast/events/mousedown-inside-dragstart-should-not-cause-crash-expected.txt

Issue 488923003: Gracefully handle drag cancellation during drag start. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Expand comment somewhat Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/fast/events/mousedown-inside-dragstart-should-not-cause-crash-expected.txt
diff --git a/LayoutTests/fast/events/mousedown-inside-dragstart-should-not-cause-crash-expected.txt b/LayoutTests/fast/events/mousedown-inside-dragstart-should-not-cause-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..7892340a81b2498d3c13f47c8e9fb8fe028a192a
--- /dev/null
+++ b/LayoutTests/fast/events/mousedown-inside-dragstart-should-not-cause-crash-expected.txt
@@ -0,0 +1,4 @@
+This tests pressing a mouse button down inside a dragstart event.
+This happens when a user sets a breakpoint of a dragstart event handler in Inspector, and clicks somewhere on the page while the script is paused at the breakpoint. WebKit should not crash.
+
+PASS - mouse up and down inside a dragstart did not crash WebKit
« no previous file with comments | « LayoutTests/fast/events/mousedown-inside-dragstart-should-not-cause-crash.html ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine