forked from mirrors/gecko-dev
		
	 19ba3b0322
			
		
	
	
		19ba3b0322
		
	
	
	
	
		
			
			Added @rbarker as a reviewer to check if this will work well within GeckoView for FxR / Android. Added @bzbarsky for test_interfaces.html. -- I'd like to re-land the secure origin requirement for WebVR as part of this patch, as it doesn't help to have UI that can't guarantee the identity of the origin. (This was backed out due to test failures originally, and since been fixed) Differential Revision: https://phabricator.services.mozilla.com/D45951 --HG-- rename : browser/components/privatebrowsing/test/browser/browser_privatebrowsing_geoprompt.js => browser/components/privatebrowsing/test/browser/browser_privatebrowsing_rememberprompt.js extra : moz-landing-system : lando
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			738 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			738 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 | |
| /* This Source Code Form is subject to the terms of the Mozilla Public
 | |
|  * License, v. 2.0. If a copy of the MPL was not distributed with this
 | |
|  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 | |
| 
 | |
| enum VRDisplayEventReason {
 | |
|   "mounted",
 | |
|   "navigation",
 | |
|   "requested",
 | |
|   "unmounted",
 | |
| };
 | |
| 
 | |
| dictionary VRDisplayEventInit : EventInit {
 | |
|   required VRDisplay display;
 | |
|   VRDisplayEventReason reason;
 | |
| };
 | |
| 
 | |
| [Pref="dom.vr.enabled",
 | |
|  SecureContext,
 | |
|  Exposed=Window]
 | |
| interface VRDisplayEvent : Event {
 | |
|   constructor(DOMString type, VRDisplayEventInit eventInitDict);
 | |
| 
 | |
|   readonly attribute VRDisplay display;
 | |
|   readonly attribute VRDisplayEventReason? reason;
 | |
| };
 |