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 469691 0f66c499026a7e92b326847deecd77242795ed2d
parent 469690 2b3d5e8d716d9405ad15a68855d2d66511a937f2
child 469692 638822e29d0d29bccc4c40df41c8b5de5c58e131
push id83291
push userarchaeopteryx@coole-files.de
push dateTue, 16 Apr 2019 14:06:50 +0000
treeherderautoland@0f66c499026a [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();
 });