testing/mochitest/redirect.html
author ted.mielczarek@gmail.com
Mon, 16 Jul 2007 14:00:26 -0700
changeset 3527 82217acf2a91b4c8076237352963a60278a6b61a
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 11702 95c177b55957c0c9fddcc1a6318c20ac68ffe8fc
permissions -rw-r--r--
bug 388320 - package crashreporter xpt (+ rename airbag module to crashreporter). r=bsmedberg

<html>
<head>
  <title>redirecting...</title>

  <script type="text/javascript">
  netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");

  const Cc = Components.classes;
  const Ci = Components.interfaces;
    
  var windowMediator = Cc['@mozilla.org/appshell/window-mediator;1'].
                         getService(Ci.nsIWindowMediator);
  var win = windowMediator.getMostRecentWindow("navigator:browser");
  win.getWebNavigation().loadURI("chrome://mochikit/content/harness.xul" +
                                 location.search,
                                 null, null, null, null);
  </script>
</head>
<body>
redirecting...
</body>
</html>