Bug 1501445 - Remove unused netwerk/wifi/tests/wifi_access_point_test.html. r=jdm
authorMark Banner <standard8@mozilla.com>
Fri, 09 Nov 2018 15:29:43 +0000
changeset 501877 393308a8a29c848b93ecc1c5c1cd5970b26bded6
parent 501876 55f917d4f4834353522521fc6b748eab64c4d15d
child 501878 948718214f0b2ec4c9d8b6fca73fbca50c211239
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdm
bugs1501445
milestone65.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1501445 - Remove unused netwerk/wifi/tests/wifi_access_point_test.html. r=jdm Differential Revision: https://phabricator.services.mozilla.com/D11443
.eslintignore
netwerk/wifi/tests/wifi_access_point_test.html
--- a/.eslintignore
+++ b/.eslintignore
@@ -28,18 +28,16 @@ image/**
 layout/**
 memory/replace/dmd/test/**
 modules/**
 netwerk/cookie/test/browser/**
 netwerk/test/browser/**
 netwerk/test/httpserver/**
 netwerk/test/mochitests/**
 netwerk/test/unit*/**
-# Bug 1501445.
-netwerk/wifi/tests/wifi_access_point_test.html
 parser/**
 tools/update-packaging/**
 uriloader/exthandler/**
 uriloader/exthandler/tests/mochitest/**
 widget/headless/tests/**
 widget/tests/**
 
 # We currently have no js files in these directories, so we ignore them by
deleted file mode 100644
--- a/netwerk/wifi/tests/wifi_access_point_test.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<html>
-<head>
-<title>hi</title>
-<script>
-
-var count = 0;
-
-
-function test() {
-}
-
-test.prototype =
-{
-  onChange: function (accessPoints)
-  {
-    netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
-    var d = document.getElementById("d");
-    d.innerHTML = "";
-
-    for (var i=0; i<accessPoints.length; i++) {
-      var a = accessPoints[i];
-      d.innerHTML = d.innerHTML + "<p>" + a.mac + " " + a.ssid + " " + a.signal + "</p>";
-    }
-
-    var c = document.getElementById("c");
-    c.innerHTML = "<p>" + count++ + "</p>";
-
-  },
-
-  onError: function (value) {
-     alert("error: " +value);
-  },
-
-  QueryInterface: function(iid) {
-        netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
-        if (iid.equals(Ci.nsIWifiListener) ||
-            iid.equals(Ci.nsISupports))
-            return this;
-        throw Cr.NS_ERROR_NO_INTERFACE;
-   },
-}
-
-
-  netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
-
-  var listener = new test();
-  var wifi_service = Cc["@mozilla.org/wifi/monitor;1"].getService(Ci.nsIWifiMonitor);
-
-  wifi_service.startWatching(listener);
-
-
-
-</script>
-</head>
-
-<body>
-<div id="d"><p></p></div>
-<div id="c"><p></p></div>
-</body>
-</html>