Bug 1596099 - Don't expect a window.open() call from a sandboxed iframe to generate notifications saying a tracking cookie was blocked; r=nhnt11
authorEhsan Akhgari <ehsan@mozilla.com>
Fri, 15 Nov 2019 15:31:57 +0000
changeset 502193 3aa81d10fb7e357d4704556aa0adc550ca6d2f60
parent 502192 f1815ce6163ae0d87e38b0690ef659f6d6a10767
child 502194 da61ebbdb3a5d2991c508c610ef112aeb9d72c7f
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnhnt11
bugs1596099, 1558420
milestone72.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 1596099 - Don't expect a window.open() call from a sandboxed iframe to generate notifications saying a tracking cookie was blocked; r=nhnt11 The logic for this change was discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1558420#c24, but this test wasn't updated at the same time because it was disabled by default... Differential Revision: https://phabricator.services.mozilla.com/D53203
toolkit/components/antitracking/test/browser/browser_storageAccessSandboxed.js
--- a/toolkit/components/antitracking/test/browser/browser_storageAccessSandboxed.js
+++ b/toolkit/components/antitracking/test/browser/browser_storageAccessSandboxed.js
@@ -69,17 +69,17 @@ AntiTracking.runTest(
     }
   },
 
   null, // non-blocking callback
   null, // cleanup function
   [["dom.storage_access.enabled", true]], // extra prefs
   false, // no window open test
   false, // no user-interaction test
-  Ci.nsIWebProgressListener.STATE_COOKIES_BLOCKED_TRACKER, // expect blocking notifications
+  0, // no blocking notifications
   false, // run in normal window
   "allow-scripts allow-same-origin allow-popups"
 );
 
 AntiTracking.runTest(
   "Verify that sandboxed contexts with" +
     " allow-storage-access-by-user-activation get the" +
     " saved permission",