Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6477)

Unified Diff: chrome/test/data/durable/durability-permissions.html

Issue 1294913009: Durable Storage: Add "deny" test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: change permission to is_persistent Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/durable/durability-permissions.html
diff --git a/chrome/test/data/durable/durability-window1.html b/chrome/test/data/durable/durability-permissions.html
similarity index 54%
rename from chrome/test/data/durable/durability-window1.html
rename to chrome/test/data/durable/durability-permissions.html
index 55c3f5d0aaf31e7af846267a9e9a8e60ba58990c..8db22a4d675554c54f7c94605209a74985b33de2 100644
--- a/chrome/test/data/durable/durability-window1.html
+++ b/chrome/test/data/durable/durability-permissions.html
@@ -7,4 +7,9 @@ function checkPermission() {
});
}
+function requestPermission() {
+ navigator.storage.requestPersistent().then(function(is_persistent) {
+ window.domAutomationController.send(is_persistent);
+ });
+}
</script>
« no previous file with comments | « chrome/browser/storage/durable_storage_browsertest.cc ('k') | chrome/test/data/durable/durability-window1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698