summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/shim/test/test_service_appinfo.html
blob: bc659cb4223da3db995b0e0969882526e6d1dc0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1265802
-->
<head>
  <title>Test for Bug 1265802 - replace Services.appinfo</title>
  <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css"
        href="chrome://mochikit/content/tests/SimpleTest/test.css">

  <script type="application/javascript;version=1.8">
  "use strict";
  var exports = {}
  var module = {exports};
  </script>

  <script type="application/javascript;version=1.8"
	  src="resource://devtools/client/shared/shim/Services.js"></script>
</head>
<body>
<script type="application/javascript;version=1.8">
"use strict";

is(Services.appinfo.OS, SpecialPowers.Services.appinfo.OS,
   "check that Services.appinfo.OS shim matches platform");
</script>
</body>