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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/Geolocation/resources/remove-remote-context-in-error-callback-crash-inner.html

Issue 2642873002: Moves mojo.define -> gin.define. (Closed)
Patch Set: rebaseline Created 3 years, 11 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/mojo-helpers.js"></script> 4 <script src="../../../../resources/mojo-helpers.js"></script>
5 <script src="geolocation-mock.js"></script> 5 <script src="geolocation-mock.js"></script>
6 <script> 6 <script>
7 function init() { 7 function init() {
8 if (!window.testRunner || !window.mojo)
9 debug('This test can not run without testRunner or mojo');
10
11 geolocationServiceMock.then(mock => { 8 geolocationServiceMock.then(mock => {
12 mock.setGeolocationPermission(false); 9 mock.setGeolocationPermission(false);
13 window.parent.onIframeReady() 10 window.parent.onIframeReady()
14 }); 11 });
15 } 12 }
16 </script> 13 </script>
17 </head> 14 </head>
18 <body onload="init()"> 15 <body onload="init()">
19 </body> 16 </body>
20 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698