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

Side by Side Diff: LayoutTests/fast/input/input-device-constructor.html

Issue 1157173003: Impelement InputDevice.firesTouchEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add InputDevice to LayoutTests/webexposed Created 5 years, 6 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 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 </head>
6 <body>
7 <script>
8 description("This tests the constructor for the InputDevice DOM class.");
9
10 shouldBe("new InputDevice().firesTouchEvents", "false");
tkent 2015/06/04 00:00:47 shouldBe -> shouldBeFalse
lanwei 2015/06/04 21:21:35 Done.
11 shouldBe("new InputDevice({ firesTouchEvents: true }).firesTouchEvents", "true") ;
tkent 2015/06/04 00:00:47 shouldBe -> shouldBeTrue
lanwei 2015/06/04 21:21:35 Done.
12
13 </script>
14 </body>
15 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/input/input-device-constructor-expected.txt » ('j') | Source/core/input/InputDevice.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698