Closed Bug 967862 Opened 11 years ago Closed 11 years ago

HTTP cache v2: fix xpcshell tests to be independent on difference between use-new-cache in CacheObserver and in preferences

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: mayhemer, Assigned: mayhemer)

References

Details

Attachments

(1 file)

Attached patch v1 [extrememly simple] (deleted) — Splinter Review
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+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: