removing getAllCookieStores() example for now, as it doesnt make much sense

This commit is contained in:
chrisdavidmills
2016-08-01 13:21:25 +01:00
parent 49634fb685
commit 95f74ef447

View File

@@ -65,12 +65,4 @@ reset.onclick = function() {
chrome.cookies.onChanged.addListener(function(changeInfo) {
console.log('Cookie changed:\n* Cookie: ' + JSON.stringify(changeInfo.cookie) + '\n* Cause: ' + changeInfo.cause + '\n* Removed: ' + changeInfo.removed);
})
/* Retrieve information on the browser's cookie stores */
browser.cookies.getAllCookieStores(function(cookieStores) {
for(var i = 0; i < cookieStores.length; i++) {
console.log('Cookie store: ' + cookieStores[i].id + '\n Tab IDs: ' + cookieStores[i].tabIds);
}
})