forked from mirrors/gecko-dev
		
	 c5ab717192
			
		
	
	
		c5ab717192
		
	
	
	
	
		
			
			This patch also includes the addition of the Module Registry, which has been done by Julian Descottes <jdescottes@mozilla.com>. Differential Revision: https://phabricator.services.mozilla.com/D122018
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			516 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			516 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /* 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/. */
 | |
| 
 | |
| "use strict";
 | |
| 
 | |
| const EXPORTED_SYMBOLS = ["command"];
 | |
| 
 | |
| const { Module } = ChromeUtils.import(
 | |
|   "chrome://remote/content/shared/messagehandler/Module.jsm"
 | |
| );
 | |
| 
 | |
| class Command extends Module {
 | |
|   destroy() {}
 | |
| 
 | |
|   /**
 | |
|    * Commands
 | |
|    */
 | |
| 
 | |
|   testRootModule() {
 | |
|     return "root-value";
 | |
|   }
 | |
| }
 | |
| 
 | |
| const command = Command;
 |