summaryrefslogtreecommitdiffstats
path: root/devtools/client/shared/shim/test/test_service_wm.html
blob: 4db602f7e4541f635ee9207563e6d93e0246bf00 (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
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1310279
-->
<head>
  <title>Test for Bug 1310279 - replace Services.wm</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";

  function hurray(window) {
    ok(true, "window loaded");
    SimpleTest.finish();
  }

  SimpleTest.waitForExplicitFinish();
  Services.wm.getMostRecentWindow().openUILinkIn("file_service_wm.html");

</script>
</body>