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> |