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

Side by Side Diff: chrome/test/webdriver/test/content_setting_test.html

Issue 10828135: Allow popups, mouselock, and https media-stream content by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_tests.py ('k') | chrome/test/webdriver/test/empty.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <script>
2 var g_callback = null;
3 var g_geoDone = false;
4 function waitForGeo(doneCallback) {
5 if (g_geoDone) {
6 doneCallback();
7 } else {
8 g_callback = doneCallback;
9 }
10 }
11
12 function geoDone() {
13 g_geoDone = true;
14 if (g_callback)
15 g_callback();
16 }
17
18 // Don't care whether geo succeeds or fails, just whether it gets past the
19 // infobar.
20 navigator.geolocation.getCurrentPosition(geoDone, geoDone);
21 </script>
OLDNEW
« no previous file with comments | « chrome/test/webdriver/test/chromedriver_tests.py ('k') | chrome/test/webdriver/test/empty.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698