Use HTTP cache v2 API in unit tests

NEW
Unassigned

Status

SeaMonkey
Bookmarks & History
4 years ago
4 years ago

People

(Reporter: Philip Chee, Unassigned)

Tracking

(Blocks: 1 bug)

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
+++ This bug was initially created as a clone of Bug #975362 +++

The HTTP cache v2 provides a new API. Calls to the new API are transparently redirected to the old cache while it is still enabled, but also work with the new cache. Calls to the old API fail if the new cache is enabled.

http://mxr.mozilla.org/comm-central/search?string=.nsICacheService&find=%2Fsuite%2F&findi=&filter=^[^\0]*%24&hitlimit=&tree=comm-central

This finds two hits in test_clearHistory_shutdown.js

http://mxr.mozilla.org/comm-central/find?text=&string=test_clearHistory_shutdown.js
Patch from bug 1021728 can be moved here actually.
Depends on: 1021728

Comment 2

4 years ago
(In reply to Honza Bambas from comment #1)
> Patch from bug 1021728 can be moved here actually.

Wrong product?
Blocks: 913828
You need to log in before you can comment on or make changes to this bug.