diff options
author | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 23:48:32 +0000 |
---|---|---|
committer | scherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-12 23:48:32 +0000 |
commit | 4ff02f753fefef3430438c3c5f0f3ba6a5271ddb (patch) | |
tree | 1364a64d5d29b2511349bfadeca30b7d40b1337a /chrome/test/data/notifications/notifications_request_function.html | |
parent | e40c87f893cbe182dcd83ee2e01c341ba2a7e680 (diff) | |
download | chromium_src-4ff02f753fefef3430438c3c5f0f3ba6a5271ddb.zip chromium_src-4ff02f753fefef3430438c3c5f0f3ba6a5271ddb.tar.gz chromium_src-4ff02f753fefef3430438c3c5f0f3ba6a5271ddb.tar.bz2 |
Revert 31839 - Notifications permission infobar should only be shown in response to a user gesture, not arbitrary script.
Includes UI test which verify the infobar is shown from a gesture, and not shown from raw script.
BUG=27215
TEST=included
Review URL: http://codereview.chromium.org/387011
TBR=johnnyg@chromium.org
Review URL: http://codereview.chromium.org/385080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/notifications/notifications_request_function.html')
-rwxr-xr-x | chrome/test/data/notifications/notifications_request_function.html | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/chrome/test/data/notifications/notifications_request_function.html b/chrome/test/data/notifications/notifications_request_function.html deleted file mode 100755 index 55b6a86..0000000 --- a/chrome/test/data/notifications/notifications_request_function.html +++ /dev/null @@ -1,13 +0,0 @@ -<html> -<head> -<script> -function request() { - window.webkitNotifications.requestPermission(); - return true; -} -</script> -</head> -<body> -Standing by to request permission... -</body> -</html>
\ No newline at end of file |