Bug 1510620 - Migrate browser_dbg_listaddons.js to use webextensions;r=davidwalsh
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 30 Nov 2018 16:32:50 +0000
changeset 505441 a9a926fcd4b2d0a40a18e315b7de9fd97b903891
parent 505440 911cad5eea69459f2fa6f7354476d196f614348e
child 505442 3644693a32c89e9cc05ca27527968b4558a87c4d
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)
reviewersdavidwalsh
bugs1510620
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 1510620 - Migrate browser_dbg_listaddons.js to use webextensions;r=davidwalsh Depends on D13255 Differential Revision: https://phabricator.services.mozilla.com/D13256
devtools/client/shared/test/addon1.xpi
devtools/client/shared/test/addon2.xpi
devtools/client/shared/test/addons/test-addon-1/manifest.json
devtools/client/shared/test/addons/test-addon-2/manifest.json
devtools/client/shared/test/browser.ini
devtools/client/shared/test/browser_dbg_listaddons.js
deleted file mode 100644
index 689689ebe8a87bb743257fbe4d93512ba93f98df..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
deleted file mode 100644
index 8f6ec6dc16722fd3c3d07de677473636ff071fa4..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
GIT binary patch
literal 0
Hc$@<O00001
new file mode 100644
--- /dev/null
+++ b/devtools/client/shared/test/addons/test-addon-1/manifest.json
@@ -0,0 +1,10 @@
+{
+  "manifest_version": 2,
+  "name": "test-addon-1",
+  "version": "1.0",
+  "applications": {
+    "gecko": {
+      "id": "test-addon-1@mozilla.org"
+    }
+  }
+}
new file mode 100644
--- /dev/null
+++ b/devtools/client/shared/test/addons/test-addon-2/manifest.json
@@ -0,0 +1,10 @@
+{
+  "manifest_version": 2,
+  "name": "test-addon-2",
+  "version": "1.0",
+  "applications": {
+    "gecko": {
+      "id": "test-addon-2@mozilla.org"
+    }
+  }
+}
--- a/devtools/client/shared/test/browser.ini
+++ b/devtools/client/shared/test/browser.ini
@@ -1,14 +1,13 @@
 [DEFAULT]
 tags = devtools
 subsuite = devtools
 support-files =
-  addon1.xpi
-  addon2.xpi
+  addons/*
   addon4.xpi
   browser_devices.json
   code_listworkers-worker1.js
   code_listworkers-worker2.js
   code_WorkerTargetActor.attach-worker1.js
   code_WorkerTargetActor.attach-worker2.js
   code_WorkerTargetActor.attachThread-worker.js
   code_frame-script.js
--- a/devtools/client/shared/test/browser_dbg_listaddons.js
+++ b/devtools/client/shared/test/browser_dbg_listaddons.js
@@ -11,20 +11,20 @@ Services.scriptloader.loadSubScript(
   this);
 
 var { DebuggerServer } = require("devtools/server/main");
 var { DebuggerClient } = require("devtools/shared/client/debugger-client");
 
 /**
  * Make sure the listAddons request works as specified.
  */
-const ADDON1_ID = "jid1-oBAwBoE5rSecNg@jetpack";
-const ADDON1_PATH = "addon1.xpi";
-const ADDON2_ID = "jid1-qjtzNGV8xw5h2A@jetpack";
-const ADDON2_PATH = "addon2.xpi";
+const ADDON1_ID = "test-addon-1@mozilla.org";
+const ADDON1_PATH = "addons/test-addon-1/";
+const ADDON2_ID = "test-addon-2@mozilla.org";
+const ADDON2_PATH = "addons/test-addon-2/";
 
 var gAddon1, gAddon1Front, gAddon2, gClient;
 
 function test() {
   DebuggerServer.init();
   DebuggerServer.registerAllActors();
 
   const transport = DebuggerServer.connectPipe();