Bug 1574019 follow-up: Fix the ESLint error
authorEhsan Akhgari <ehsan@mozilla.com>
Thu, 15 Aug 2019 21:33:40 +0000
changeset 488358 476c9068a66937becf5950a0eb4829e981d6a723
parent 488357 db9aaec44445e5ccfef53a25cd6812107c3df802
child 488359 0dce79612a6d823e56c09724b9c02f1420cb50d3
push id113906
push userncsoregi@mozilla.com
push dateFri, 16 Aug 2019 04:07:24 +0000
treeherdermozilla-inbound@d887276421d3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1574019
milestone70.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 1574019 follow-up: Fix the ESLint error Differential Revision: https://phabricator.services.mozilla.com/D42211
dom/notification/test/mochitest/test_notification_crossorigin_iframe.html
--- a/dom/notification/test/mochitest/test_notification_crossorigin_iframe.html
+++ b/dom/notification/test/mochitest/test_notification_crossorigin_iframe.html
@@ -27,16 +27,17 @@ https://bugzilla.mozilla.org/show_bug.cg
     let iframe = document.createElement("iframe");
     iframe.src = kBlankURL;
     document.body.appendChild(iframe);
     await new Promise(resolve => {
       iframe.onload = resolve;
     });
 
     let checkRequest = async (expectedResponse, msg) => {
+      /* import-globals-from ../../../testing/modules/Assert.jsm */
       let response = await this.content.Notification.requestPermission();
       Assert.equal(response, expectedResponse, msg);
     };
 
     await SpecialPowers.spawn(iframe,
                               ["denied", "Denied permission in cross-origin iframe"],
                               checkRequest);