Backed out changeset 8fc8a1f59578 (bug 1597622) for causing eslint failure at browser/components/newtab/test/unit/asrouter/ASRouter.test.js:2560:1 and build bustage. On a CLOSED TREE
authorDaniel Varga <dvarga@mozilla.com>
Wed, 04 Dec 2019 12:50:25 +0200
changeset 505294 82ae4e73b3baacc7490690c3287c3d2ab13fc7d2
parent 505293 8fc8a1f595788306652351e0971ecaf13880a1fe
child 505295 e58cebce47378165bdb2baffb15a0921ff922ba9
push id36881
push userdvarga@mozilla.com
push dateWed, 04 Dec 2019 16:22:31 +0000
treeherdermozilla-central@13fb375eaf14 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1597622
milestone73.0a1
backs out8fc8a1f595788306652351e0971ecaf13880a1fe
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
Backed out changeset 8fc8a1f59578 (bug 1597622) for causing eslint failure at browser/components/newtab/test/unit/asrouter/ASRouter.test.js:2560:1 and build bustage. On a CLOSED TREE
browser/components/newtab/test/unit/asrouter/ASRouter.test.js
--- a/browser/components/newtab/test/unit/asrouter/ASRouter.test.js
+++ b/browser/components/newtab/test/unit/asrouter/ASRouter.test.js
@@ -2539,30 +2539,16 @@ describe("ASRouter", () => {
       assert.calledOnce(Router.onMessage);
       assert.calledWithExactly(Router.onMessage, {
         target,
         data: { type: "TRIGGER", data: { trigger } },
       });
     });
   });
 
-  describe("_triggerHandler_kiosk", () => {
-    it("should not call #onMessage", () => {
-      const getter = sandbox.stub();
-      getter.returns(true);
-      sandbox.stub(global.BrowserHandler, "kiosk").get(getter);
-      sinon.spy(Router, "onMessage");
-      const target = {};
-      const trigger = { id: "FAKE_TRIGGER", param: "some fake param" };
-      Router._triggerHandler(target, trigger);
-      assert.notCalled(Router.onMessage);
-    });
-  });
-
-
   describe("#UITour", () => {
     let showMenuStub;
     const highlightTarget = { target: "target" };
     beforeEach(() => {
       showMenuStub = sandbox.stub();
       globals.set("UITour", {
         showMenu: showMenuStub,
         getTarget: sandbox