Bug 952453 - Fix test_notification_tag to point to correct location for create_notification.html; r=mattn
authorKyle Machulis <kyle@nonpolynomial.com>
Fri, 05 Jan 2018 13:32:18 -0800
changeset 452596 e0895bd719ee398b0693911d7afa7f737ec59e08
parent 452595 781a6bc83dde7326adbfbae640041cc8a451a565
child 452597 ef1f932198c044df03669bc3e5b703eb3a6946b8
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattn
bugs952453
milestone59.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 952453 - Fix test_notification_tag to point to correct location for create_notification.html; r=mattn MozReview-Commit-ID: 9T3zhihWGvC
dom/notification/test/mochitest/test_notification_tag.html
--- a/dom/notification/test/mochitest/test_notification_tag.html
+++ b/dom/notification/test/mochitest/test_notification_tag.html
@@ -86,22 +86,21 @@ https://bugzilla.mozilla.org/show_bug.cg
     function showNotifications() {
       SpecialPowers.wrap(SpecialPowers.Components).
         manager.QueryInterface(SpecialPowers.Ci.nsIComponentRegistrar).
         registerFactory(MOCK_CID, "alerts service", ALERTS_SERVICE_CONTRACT_ID, mockAlertsService);
 
       // Load two frames with the same origin that create notification with the same tag.
       // Both pages should generate notifications with the same name, and thus the second
       // notification should replace the first.
-      frames["sameDomain"].location.href = "http://test1.example.org:80/tests/dom/tests/mochitest/notification/create_notification.html";
-      frames["anotherSameDomain"].location.href = "http://test1.example.org:80/tests/dom/tests/mochitest/notification/create_notification.html";
-
+      frames["sameDomain"].location.href = "http://test1.example.org:80/tests/dom/notification/test/mochitest/create_notification.html";
+      frames["anotherSameDomain"].location.href = "http://test1.example.org:80/tests/dom/notification/test/mochitest/create_notification.html";
       // Load a frame with a different origin that creates a notification with the same tag.
       // The notification name should be different and thus no notifications should be replaced.
-      frames["crossDomain"].location.href = "http://test2.example.org:80/tests/dom/tests/mochitest/notification/create_notification.html";
+      frames["crossDomain"].location.href = "http://test2.example.org:80/tests/dom/notification/test/mochitest/create_notification.html";
     }
 
     SpecialPowers.pushPrefEnv({'set': [["notification.prompt.testing", true],
                                        ["notification.prompt.testing.allow", true]]},
                               showNotifications);
   } else {
     ok(true, "Notifications are not enabled on the platform.");
   }