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

Side by Side Diff: third_party/WebKit/LayoutTests/geolocation-api/resources/callback-to-remote-context-inner.html

Issue 2671933003: Move Geolocation out from fast/dom. (Closed)
Patch Set: . Created 3 years, 10 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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 <script src="../../../../resources/mojo-helpers.js"></script> 5 <script src="../../resources/mojo-helpers.js"></script>
6 <script src="geolocation-mock.js"></script> 6 <script src="geolocation-mock.js"></script>
7 <script> 7 <script>
8 function init() { 8 function init() {
9 geolocationServiceMock.then(mock => { 9 geolocationServiceMock.then(mock => {
10 mock.setGeolocationPermission(true); 10 mock.setGeolocationPermission(true);
11 mock.setGeolocationPosition(51.478, -0.166, 100); 11 mock.setGeolocationPosition(51.478, -0.166, 100);
12 window.parent.onIframeReady() 12 window.parent.onIframeReady()
13 }); 13 });
14 } 14 }
15 </script> 15 </script>
16 </head> 16 </head>
17 <body onload="init()"> 17 <body onload="init()">
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698