Firefox code (Gecko) - cache request - how do I get a list of devices?

Referring to nsICacheService ( https://developer.mozilla.org/en/NsICacheService ) and nsICacheVisitor ( https://developer.mozilla.org/en/nsICacheVisitor ):

  • Where can I get an instance of nsICacheVisitor?
  • Where can I get a list of devices so that I can call visitEntry () and visitDevice ()?
+3
source share
1 answer

nsICacheVisitor is the interface you implement and pass the visitEntries method to nsICacheService. See this test file , for example code.

+3
source

Source: https://habr.com/ru/post/1720706/


All Articles