diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 18:42:52 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-16 18:42:52 +0000 |
commit | 2b651cd342f7e93db61a89077ec9ef8fc2b5424a (patch) | |
tree | 59011e23d0c0a374e06bfffd03953edf6f6c0766 /chrome/test | |
parent | 1bbd5e6b05ac6d04e439b944d21274523e7de1d3 (diff) | |
download | chromium_src-2b651cd342f7e93db61a89077ec9ef8fc2b5424a.zip chromium_src-2b651cd342f7e93db61a89077ec9ef8fc2b5424a.tar.gz chromium_src-2b651cd342f7e93db61a89077ec9ef8fc2b5424a.tar.bz2 |
Add a test to verify that creating notifications from
extensions using relative URLs works.
BUG=39216
Review URL: http://codereview.chromium.org/1528040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44800 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
2 files changed, 2 insertions, 6 deletions
diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html b/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html index 546460c..9f96f1b 100644 --- a/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html +++ b/chrome/test/data/extensions/api_test/notifications/has_permission_manifest/background.html @@ -44,9 +44,7 @@ chrome.test.runTests([ showNotification(chrome.extension.getURL("notification.html")); }, function relativeURL() { - // TODO(aa): Relative URLs don't work for some reason. - // BUG: http://crbug.com/39216 - chrome.test.succeed(); + showNotification('notification.html'); } ]); </script> diff --git a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html index 4b43004..d784355 100644 --- a/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html +++ b/chrome/test/data/extensions/api_test/notifications/has_permission_prefs/background.html @@ -29,9 +29,7 @@ chrome.test.runTests([ showNotification(chrome.extension.getURL("notification.html")); }, function relativeURL() { - // TODO(aa): Relative URLs don't work for some reason. - // BUG: http://crbug.com/39216 - chrome.test.succeed(); + showNotification("notification.html"); } ]); </script> |