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

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

Issue 2731953003: [DeviceService] Replace vibration_browsertest.cc with layout tests. (Closed)
Patch Set: 'git cl format --js' for js/html 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 'use strict';
4
5 window.onmessage = msg => {
6 if (msg.data === 'Ready') {
7 navigator.vibrate(1234);
8 }
9 };
10
11 </script>
OLDNEW
« no previous file with comments | « content/test/BUILD.gn ('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