gecko/dom/power/test/test_power_basics.html
Kan-Ru Chen dcd32d8e56 Bug 709585 - Part 3, Plug mozPower into navigator object. r=sicking
--HG--
extra : rebase_source : 8382e9c044feca9b2e511e022a3bb4fe64ca0d4b
2012-01-19 22:24:00 -05:00

23 lines
497 B
HTML

<!DOCTYPE HTML>
<html>
<head>
<title>Test for Power API</title>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">
/** Test for Power API **/
ok('mozPower' in navigator, "navigator.mozPower should exist");
</script>
</pre>
</body>
</html>