forked from mirrors/gecko-dev
		
	 d2c3d705e0
			
		
	
	
		d2c3d705e0
		
	
	
	
	
		
			
			Automatic update from web-platform-tests Geolocation: simplify test (#37130) -- wpt-commits: 9b64e100aaeff5bf140436198a5a51f6eb5e8fdf wpt-pr: 37130
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			404 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // META: script=/resources/WebIDLParser.js
 | |
| // META: script=/resources/idlharness.js
 | |
| // META: script=/resources/testdriver.js
 | |
| // META: script=/resources/testdriver-vendor.js
 | |
| 
 | |
| // https://www.w3.org/TR/geolocation-API/
 | |
| 
 | |
| window.onload = async () => {
 | |
|   idl_test(["geolocation"], ["hr-time", "html"], (idl_array) => {
 | |
|     idl_array.add_objects({
 | |
|       Geolocation: ["navigator.geolocation"],
 | |
|     });
 | |
|   });
 | |
| };
 |