What Does LockerService Affect?

Find out what’s affected and what’s not affected by LockerService.
LockerService enforces security and best practices for custom Lightning components you use in:
  • Lightning Experience
  • Salesforce1
  • Lightning Communities
  • Standalone apps that you create (for example, myApp.app)
  • Any other app where you can add a custom Lightning component, such as Salesforce Console in Lightning Experience
  • Lightning Out
LockerService doesn’t affect the following except for usage of Lightning components in Visualforce in these contexts:
  • Salesforce Classic
  • Visualforce-based communities
  • Any apps for Salesforce Classic, such as Salesforce Console in Salesforce Classic