Index: chrome/test/data/extensions/api_test/clear/one_at_a_time/background.html |
diff --git a/chrome/test/data/extensions/api_test/clear/one_at_a_time/background.html b/chrome/test/data/extensions/api_test/clear/one_at_a_time/background.html |
index cbe2811e90b5e6bf47ff16162ab07d381f0d8345..e1d40afaf62a875828d38aa77352899eaf7c65f2 100644 |
--- a/chrome/test/data/extensions/api_test/clear/one_at_a_time/background.html |
+++ b/chrome/test/data/extensions/api_test/clear/one_at_a_time/background.html |
@@ -1,11 +1,16 @@ |
<script> |
var allTypes = { |
+ appcache: true, |
cache: true, |
cookies: true, |
downloads: true, |
+ fileSystems: true, |
formData: true, |
history: true, |
- passwords: true |
+ indexedDB: true, |
+ lsoData: true, |
+ passwords: true, |
+ webSQL: true |
}; |
chrome.test.runTests([ |
function testEverything() { |
@@ -13,6 +18,11 @@ |
chrome.test.callbackFail( |
'Only one \'clear\' API call can run at a time.')); |
}, |
+ function testClearAppcache() { |
+ chrome.experimental.clear.appcache("everything", |
+ chrome.test.callbackFail( |
+ 'Only one \'clear\' API call can run at a time.')); |
+ }, |
function testClearCache() { |
chrome.experimental.clear.cache("everything", |
chrome.test.callbackFail( |
@@ -23,23 +33,43 @@ |
chrome.test.callbackFail( |
'Only one \'clear\' API call can run at a time.')); |
}, |
+ function testClearFileSystem() { |
+ chrome.experimental.clear.fileSystems("everything", |
+ chrome.test.callbackFail( |
+ 'Only one \'clear\' API call can run at a time.')); |
+ }, |
+ function testClearFormData() { |
+ chrome.experimental.clear.formData("everything", |
+ chrome.test.callbackFail( |
+ 'Only one \'clear\' API call can run at a time.')); |
+ }, |
function testClearHistory() { |
chrome.experimental.clear.history("everything", |
chrome.test.callbackFail( |
'Only one \'clear\' API call can run at a time.')); |
}, |
- function testClearPasswords() { |
- chrome.experimental.clear.passwords("everything", |
+ function testClearIndexedDB() { |
+ chrome.experimental.clear.indexedDB("everything", |
chrome.test.callbackFail( |
'Only one \'clear\' API call can run at a time.')); |
}, |
- function testClearDownloads() { |
- chrome.experimental.clear.downloads("everything", |
+ function testClearLocalStorage() { |
+ chrome.experimental.clear.localStorage("everything", |
chrome.test.callbackFail( |
'Only one \'clear\' API call can run at a time.')); |
}, |
- function testClearFormData() { |
- chrome.experimental.clear.formData("everything", |
+ function testClearLSOData() { |
+ chrome.experimental.clear.lsoData("everything", |
+ chrome.test.callbackFail( |
+ 'Only one \'clear\' API call can run at a time.')); |
+ }, |
+ function testClearPasswords() { |
+ chrome.experimental.clear.passwords("everything", |
+ chrome.test.callbackFail( |
+ 'Only one \'clear\' API call can run at a time.')); |
+ }, |
+ function testClearWebSQL() { |
+ chrome.experimental.clear.webSQL("everything", |
chrome.test.callbackFail( |
'Only one \'clear\' API call can run at a time.')); |
} |