Bug 1540546 - fix webconsole tests about grouping of content blocking messages. r=nchevobbe
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 16 Apr 2019 14:04:11 +0000
changeset 469676 0f66c499026a
parent 469675 2b3d5e8d716d
child 469677 638822e29d0d
push id35879
push usernerli@mozilla.com
push dateTue, 16 Apr 2019 22:01:48 +0000
treeherdermozilla-central@12a60898fdc1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnchevobbe
bugs1540546
milestone68.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 1540546 - fix webconsole tests about grouping of content blocking messages. r=nchevobbe Differential Revision: https://phabricator.services.mozilla.com/D27420
devtools/client/webconsole/test/mochitest/browser_webconsole_warning_groups.js
devtools/client/webconsole/test/mochitest/browser_webconsole_warning_groups_outside_console_group.js
--- a/devtools/client/webconsole/test/mochitest/browser_webconsole_warning_groups.js
+++ b/devtools/client/webconsole/test/mochitest/browser_webconsole_warning_groups.js
@@ -4,19 +4,19 @@
 // Test that warning messages can be grouped, per navigation and category, and that
 // interacting with these groups works as expected.
 
 "use strict";
 requestLongerTimeout(2);
 
 const TEST_FILE =
   "browser/devtools/client/webconsole/test/mochitest/test-warning-groups.html";
-const TEST_URI = "http://example.com/" + TEST_FILE;
+const TEST_URI = "http://example.org/" + TEST_FILE;
 
-const TRACKER_URL = "http://tracking.example.org/";
+const TRACKER_URL = "http://tracking.example.com/";
 const BLOCKED_URL = TRACKER_URL +
   "browser/devtools/client/webconsole/test/mochitest/test-image.png";
 
 const {UrlClassifierTestUtils} = ChromeUtils.import("resource://testing-common/UrlClassifierTestUtils.jsm");
 UrlClassifierTestUtils.addTestTrackers();
 registerCleanupFunction(function() {
   UrlClassifierTestUtils.cleanupTestTrackers();
 });
--- a/devtools/client/webconsole/test/mochitest/browser_webconsole_warning_groups_outside_console_group.js
+++ b/devtools/client/webconsole/test/mochitest/browser_webconsole_warning_groups_outside_console_group.js
@@ -3,19 +3,19 @@
 
 // Test that warning groups are not created outside console.group.
 
 "use strict";
 requestLongerTimeout(2);
 
 const TEST_FILE =
   "browser/devtools/client/webconsole/test/mochitest/test-warning-groups.html";
-const TEST_URI = "http://example.com/" + TEST_FILE;
+const TEST_URI = "http://example.org/" + TEST_FILE;
 
-const TRACKER_URL = "http://tracking.example.org/";
+const TRACKER_URL = "http://tracking.example.com/";
 const BLOCKED_URL = TRACKER_URL +
   "browser/devtools/client/webconsole/test/mochitest/test-image.png";
 
 const {UrlClassifierTestUtils} = ChromeUtils.import("resource://testing-common/UrlClassifierTestUtils.jsm");
 UrlClassifierTestUtils.addTestTrackers();
 registerCleanupFunction(function() {
   UrlClassifierTestUtils.cleanupTestTrackers();
 });