Closed Bug 967862 Opened 9 years ago Closed 9 years ago
HTTP cache v2: fix xpcshell tests to be independent on difference between use-new-cache in Cache
Observer and in preferences
When kDefaultUseNewCache in CacheObserver has value different from what is set in prefs.js, head_cache2.js!newCacheBackEndUsed() returns different value before and after do_get_profile() call. Tests first must do_get_profile() (if needed) before checking which cache version is used.
Attachment #8370358 - Flags: review?(michal.novotny)
Attachment #8370358 - Flags: review?(michal.novotny) → review+
Comment on attachment 8370358 [details] [diff] [review] v1 [extrememly simple] https://hg.mozilla.org/integration/mozilla-inbound/rev/4706d1967ebc
Attachment #8370358 - Flags: checkin+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.