Bug 952453 - Fix test_notification_tag to point to correct location for create_notification.html; r=mattn draft
authorKyle Machulis <kyle@nonpolynomial.com>
Fri, 05 Jan 2018 13:32:18 -0800
changeset 716474 6ade2e2343f0a0056190b364ea1f494b00beb758
parent 716473 d86a08b3045e38a606b31250ddde2899ea6512da
child 716475 39c417f119c8ace94ab35a17d51ec04c1bdd278d
push id94457
push userbmo:kyle@nonpolynomial.com
push dateFri, 05 Jan 2018 22:34:19 +0000
reviewersmattn
bugs952453
milestone59.0a1
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.");
   }