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

Unified Diff: third_party/WebKit/LayoutTests/vibration/resources/vibrate-from-iframe.html

Issue 2755363002: [DeviceService] Port VibrationManager to be hosted in Device Service (Closed)
Patch Set: Rebase only Created 3 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: third_party/WebKit/LayoutTests/vibration/resources/vibrate-from-iframe.html
diff --git a/third_party/WebKit/LayoutTests/vibration/resources/vibrate-from-iframe.html b/third_party/WebKit/LayoutTests/vibration/resources/vibrate-from-iframe.html
index 419270ff7a896f4762ea593a4c7ac6c113dbc06c..4bcf5f5895993c96940a697cc217f09086e45317 100644
--- a/third_party/WebKit/LayoutTests/vibration/resources/vibrate-from-iframe.html
+++ b/third_party/WebKit/LayoutTests/vibration/resources/vibrate-from-iframe.html
@@ -2,10 +2,6 @@
<script>
'use strict';
-window.onmessage = msg => {
- if (msg.data === 'Ready') {
- navigator.vibrate(1234);
- }
-};
+navigator.vibrate(1234);
</script>
« no previous file with comments | « services/device/manifest.json ('k') | third_party/WebKit/LayoutTests/vibration/resources/vibration-helpers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698