Salesforce Lightning Locker Tools
Lightning Locker tools help you develop more secure code that is compatible and runs efficiently with Lightning Locker. Lightning Locker API Viewer Locker API Viewer shows Lightning Locker’s support of the standard DOM APIs in the Window, Document, and Element objects. The SecureWindow, SecureDocument, and SecureElement wrappers prevent the use of APIs that are labeled Not Supported. Locker Console Overview Use Locker Console to check your JavaScript code’s compatibility with Lightning Locker, and compare how it runs with Lightning Locker enabled and disabled. MIME Types Permitted - MIME Types Permitted | Lightning Aura Components Developer Guide | Salesforce Developers Lightning Locker analyzes the MIME types used in Blob objects. Locker permits some MIME types, sanitizes some MIME types, and blocks the rest. Lightning Locker allows these MIME types. application/octet-stream — Default value for binary files application/json — JSON format application/pdf — Portable Document Format (.p...