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

Unified Diff: LayoutTests/fast/dom/Window/window-postmessage-user-gesture-expected.txt

Issue 209363002: Keep the user gesture when postMessage() across frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 9 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: LayoutTests/fast/dom/Window/window-postmessage-user-gesture-expected.txt
diff --git a/LayoutTests/fast/dom/Window/window-postmessage-user-gesture-expected.txt b/LayoutTests/fast/dom/Window/window-postmessage-user-gesture-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..ca31767dbd2ab3b005ab492d57972b7cefa497f4
--- /dev/null
+++ b/LayoutTests/fast/dom/Window/window-postmessage-user-gesture-expected.txt
@@ -0,0 +1,10 @@
+Test that user gesture is kept when postMessage() to self or across frames.
+Click me
+
+PASS Stack postMessages on self window and the user gesture is only consumed once
+PASS Bounce postMessages between self and frame window and the user gesture is only consumed once in self window
+PASS Bounce postMessages between self and frame window and the user gesture is only consumed once in frame
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698