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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/vibrate_in_cross_origin_iframe_with_user_gesture_allowed-expected.txt

Issue 2642263006: Allow vibrate in cross-origin iframes with user gesture. (Closed)
Patch Set: git cl try 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/http/tests/security/vibrate_in_cross_origin_iframe_with_user_gesture_allowed-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/vibrate_in_cross_origin_iframe_with_user_gesture_allowed-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/vibrate_in_cross_origin_iframe_with_user_gesture_allowed-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..9c2c093b5b978ed1394ae1857485bcd5cec393b5
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/security/vibrate_in_cross_origin_iframe_with_user_gesture_allowed-expected.txt
@@ -0,0 +1,14 @@
+CONSOLE ERROR: line 24: Blocked call to navigator.vibrate inside a cross-origin iframe because the frame has never been activated by the user: https://www.chromestatus.com/feature/5682658461876224.
+This tests that a cross-origin iframe with user gesture can vibrate.
+
+127.0.0.1
+
+
+
+--------
+Frame: '<!--framePath //<!--frame0-->-->'
+--------
+This is a testharness.js-based test.
+PASS Testing vibrate 3 times in a x-origin iframe: 1. blocked before user gesture; 2. succeed during the click event; 3. succeed after user click.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698