bug 912204 - properly clear HSTS state in browser_bug627234_perwindowpb.js r=cviecco
authorDavid Keeler <dkeeler@mozilla.com>
Tue, 03 Sep 2013 13:43:07 -0700
changeset 145466 a79c01a10fcb6a40a9784cbc2c4fc397462e2e41
parent 145465 2eec82741eb88be718fdd642df7bbd90c3ec88b8
child 145467 48952adc1a955e189aa7586a3242f3c4785ef564
push id25213
push userkwierso@gmail.com
push dateWed, 04 Sep 2013 23:18:26 +0000
treeherdermozilla-central@dffedf20a02d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscviecco
bugs912204
milestone26.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 912204 - properly clear HSTS state in browser_bug627234_perwindowpb.js r=cviecco
security/manager/ssl/tests/mochitest/browser/browser_bug627234_perwindowpb.js
--- a/security/manager/ssl/tests/mochitest/browser/browser_bug627234_perwindowpb.js
+++ b/security/manager/ssl/tests/mochitest/browser/browser_bug627234_perwindowpb.js
@@ -43,18 +43,17 @@ function test() {
   };
 
    // this function is called after calling finish() on the test.
   registerCleanupFunction(function() {
     windowsToClose.forEach(function(aWin) {
       aWin.close();
     });
     uri = Services.io.newURI("http://localhost", null, null);
-    gSSService.removeState(Ci.nsISiteSecurityService.HEADER_HSTS, uri,
-                           privacyFlags(true));
+    gSSService.removeState(Ci.nsISiteSecurityService.HEADER_HSTS, uri, 0);
   });
 
   // test first when on private mode
   testOnWindow({private: true}, function(aWin) {
     doTest(true, aWin, function() {
       //test when not on private mode
       testOnWindow({}, function(aWin) {
         doTest(false, aWin, function() {