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

Side by Side Diff: LayoutTests/wake_lock/wakelock-defined.html

Issue 1084923002: Wake Lock API implementation (Blink part) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 <body>
4 <script src="../resources/js-test.js"></script>
mlamouri (slow - plz ping) 2015/04/28 08:00:25 Could you use testharness.js?
5 <script>
6 description("Test basic WakeLock API definitions.");
7
8 shouldBeTrue("internals.runtimeFlags.wakeLockEnabled");
9 shouldBeDefined("document.keepScreenAwake");
10 shouldBeTrue("typeof document.keepScreenAwake == 'boolean'");
11 shouldBeTrue("'keepScreenAwake' in document");
mlamouri (slow - plz ping) 2015/04/28 08:00:25 Isn't all of that already tested in wakelock-api.h
12
13 finishJSTest()
14
15 </script>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698