You want to get access to the Sanitizer and call into it. Like we do here: http://mxr.mozilla.org/mozilla-central/source/mobile/android/chrome/content/browser.js#1405
You can see the available "keys" you could pass in in the Sanitizer code itself: http://mxr.mozilla.org/mozilla-central/source/mobile/android/modules/Sanitizer.jsm#64 - Wes ----- Original Message ----- From: "Ravi Inder Singh" <[email protected]> To: "Mark Finkle" <[email protected]> Cc: "Daniel Pupek" <[email protected]>, [email protected] Sent: Friday, July 4, 2014 7:42:43 PM Subject: Cache clear Hi all, I want to clear cache of browser there are 2 mechanism I know 1) From Phone itself open Firefox --> settings --> Privacy --> Clear Private Data --> Cache (clear data). Above one is quite simple. But i want to do by calling a function in Fennec. So which function in Fennec clear a) Cache b) Cookies & active logins c) offline webisite data Thanks, Ravi _______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev _______________________________________________ mobile-firefox-dev mailing list [email protected] https://mail.mozilla.org/listinfo/mobile-firefox-dev

