summaryrefslogtreecommitdiffstats
path: root/dom/power/test/test_wakelock_not_exposed.html
blob: 1f88993b41c2d34536cfd70aa29bb2d8a61c3f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!--
    https://bugzilla.mozilla.org/show_bug.cgi?id=963366
-->
<!DOCTYPE HTML>
<html>
<head>
  <title>Test navigator.requestWakeLock is not exposed to non-B2G platform</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
 <script type="application/javascript">
   ok(navigator.requestWakeLock === undefined,
      "navigator.requestWakeLock is not exposed to non-B2G platform");
 </script>
</body>
</html>