Open Bug 1022154 Opened 10 years ago Updated 10 years ago

Use HTTP cache v2 API in unit tests

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: philip.chee, Unassigned)

References

Details

+++ 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
(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.