UNPKG

@locker/eslint-plugin-locker

Version:
13 lines (8 loc) 344 B
# Prevent access to certain HTMLIFrameElement properties (distorted-html-iframe-element-blocked-properties) For security the following `HTMLIFrameElement` properties are prohibited when Lightning Web Security is enabled: - srcdoc ## Rule Details Example of **incorrect** code: ```js document.getElementsByTagName('iframe')[0].srcdoc; ```