Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Validate Secure Document Public API ( secure-document ) )
- Features built into JavaScript (“intrinsic” features)
- Published, supported features built into the Aura Components programming model.
- Published, supported features built into Lightning Locker SecureObject objects
Prior to Lightning Locker, when you accessed the document global, you could call any function and access any property available. When Lightning Locker is enabled, the document global is “wrapped” by a new SecureDocument object, which controls access to document and its functions and properties. SecureDocument restricts you to using only “safe” features of the document global.