forked from mirrors/gecko-dev
		
	 4fb45e5b8c
			
		
	
	
		4fb45e5b8c
		
	
	
	
	
		
			
			MozReview-Commit-ID: JqAm9x1XGCM --HG-- extra : rebase_source : e9215288195f1fe683832db53d87dbe77c697b4c
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			720 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			720 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";
 | |
| 
 | |
| add_task(async function installed() {
 | |
|   let addon = await new Promise(
 | |
|     (resolve) => AddonManager.getAddonByID("webcompat@mozilla.org", resolve)
 | |
|   );
 | |
|   isnot(addon, null, "Webcompat addon should exist");
 | |
|   is(addon.name, "Web Compat");
 | |
|   ok(addon.isCompatible, "Webcompat addon is compatible with Firefox");
 | |
|   ok(!addon.appDisabled, "Webcompat addon is not app disabled");
 | |
|   ok(addon.isActive, "Webcompat addon is active");
 | |
|   is(addon.type, "extension", "Webcompat addon is type extension");
 | |
| });
 |