forked from mirrors/gecko-dev
		
	Differential Revision: https://phabricator.services.mozilla.com/D46889 --HG-- extra : moz-landing-system : lando
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			445 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			445 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
/* Any copyright is dedicated to the Public Domain.
 | 
						|
 * http://creativecommons.org/publicdomain/zero/1.0/ */
 | 
						|
 | 
						|
"use strict";
 | 
						|
 | 
						|
add_task(async function test_policy_disable_fxaccounts() {
 | 
						|
  is(gSync.FXA_ENABLED, true, "Sync is enabled before setting the policy.");
 | 
						|
 | 
						|
  await setupPolicyEngineWithJson({
 | 
						|
    policies: {
 | 
						|
      DisableFirefoxAccounts: true,
 | 
						|
    },
 | 
						|
  });
 | 
						|
 | 
						|
  is(gSync.FXA_ENABLED, false, "Sync is disabled after setting the policy.");
 | 
						|
});
 |