dom/power/test/test_wakelock_not_exposed.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/power/test/test_wakelock_not_exposed.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +<!--
     1.5 +    https://bugzilla.mozilla.org/show_bug.cgi?id=963366
     1.6 +-->
     1.7 +<!DOCTYPE HTML>
     1.8 +<html>
     1.9 +<head>
    1.10 +  <title>Test navigator.requestWakeLock is not exposed to non-B2G platform</title>
    1.11 +  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    1.12 +  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
    1.13 +</head>
    1.14 +<body>
    1.15 + <script type="application/javascript">
    1.16 +   ok(navigator.requestWakeLock === undefined,
    1.17 +      "navigator.requestWakeLock is not exposed to non-B2G platform");
    1.18 + </script>
    1.19 +</body>
    1.20 +</html>

mercurial