summaryrefslogtreecommitdiffstats
path: root/chrome/test
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 12:16:06 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-13 12:16:06 +0000
commitd5cc9adad67041911e0230de8ef8033464ae3597 (patch)
tree5f63a52018972660ad946baa62f0c2e5047de5ea /chrome/test
parent534a4ecd47a7d0000158241f2d2d28218974e73e (diff)
downloadchromium_src-d5cc9adad67041911e0230de8ef8033464ae3597.zip
chromium_src-d5cc9adad67041911e0230de8ef8033464ae3597.tar.gz
chromium_src-d5cc9adad67041911e0230de8ef8033464ae3597.tar.bz2
Adds a browser test to exercise WebKit::WebGeolocationServiceBridgeImpl::stopUpdating().
(depends on the fix provided by http://trac.webkit.org/changeset/57335). BUG=40660,40478 TEST=GeolocationBrowserTest.InvalidUrlRequest Review URL: http://codereview.chromium.org/1626011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44346 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r--chrome/test/data/geolocation/invalid_request_url.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/chrome/test/data/geolocation/invalid_request_url.html b/chrome/test/data/geolocation/invalid_request_url.html
new file mode 100644
index 0000000..2897a8b
--- /dev/null
+++ b/chrome/test/data/geolocation/invalid_request_url.html
@@ -0,0 +1,18 @@
+<html>
+<head>
+<script>
+function requestGeolocationFromInvalidUrl() {
+ var o = window.open();
+ o.navigator.geolocation;
+ o.close();
+ delete o;
+ return "1";
+}
+function isAlive() {
+ return "1";
+}
+</script>
+</head>
+<body></body>
+</html>
+