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

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

Issue 1164073005: Allow script to request durable storage permission (chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix conflicts after midi constant permission landed 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/durable/durability-window2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/durable/durability-window1.html
diff --git a/chrome/test/data/durable/durability-window1.html b/chrome/test/data/durable/durability-window1.html
new file mode 100644
index 0000000000000000000000000000000000000000..55c3f5d0aaf31e7af846267a9e9a8e60ba58990c
--- /dev/null
+++ b/chrome/test/data/durable/durability-window1.html
@@ -0,0 +1,10 @@
+<!DOCTYPE HTML>
+<script>
+
+function checkPermission() {
+ navigator.storage.persistentPermission().then(function(permission) {
+ window.domAutomationController.send(permission);
+ });
+}
+
+</script>
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/test/data/durable/durability-window2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698