Bug 1309699 - Spell the preference name correctly so it works a=me
☠☠ backed out by 47f70e2af768 ☠ ☠
authorWes Kocher <wkocher@mozilla.com>
Thu, 13 Oct 2016 12:04:59 -0700
changeset 356116 1f5f0d39b41a9e073a0841eb3d92cd23df504b29
parent 356115 5e6651e32d271d35974a5eca2e898e7c354b8ea4
child 356117 3a7f992a6cd5d26635acfaf0e1d9cb5bac1ac09e
push id6570
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:26:13 +0000
treeherdermozilla-beta@f455459b2ae5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1309699
milestone51.0a2
Bug 1309699 - Spell the preference name correctly so it works a=me
toolkit/components/thumbnails/test/browser_thumbnails_bg_no_cookies_stored.js
--- a/toolkit/components/thumbnails/test/browser_thumbnails_bg_no_cookies_stored.js
+++ b/toolkit/components/thumbnails/test/browser_thumbnails_bg_no_cookies_stored.js
@@ -1,16 +1,16 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
 // check that if a page captured in the background attempts to set a cookie,
 // that cookie is not saved for subsequent requests.
 function* runTests() {
   yield SpecialPowers.pushPrefEnv({
-    set: [["privacy.about_newtab_segragation.enabled", true]]
+    set: [["privacy.about_newtab_segregation.enabled", true]]
   });
 
   let url = bgTestPageURL({
     setRedCookie: true,
     iframe: bgTestPageURL({ setRedCookie: true}),
     xhr: bgTestPageURL({ setRedCookie: true})
   });
   ok(!thumbnailExists(url), "Thumbnail file should not exist before capture.");