sensitive_attributes.js 510 B

123456789101112131415161718192021222324
  1. "use strict";
  2. /**
  3. * @license
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. Object.defineProperty(exports, "__esModule", { value: true });
  7. exports.SECURITY_SENSITIVE_ATTRIBUTES = void 0;
  8. // AUTOGENERATED. DO NOT EDIT.
  9. /**
  10. * Security sensitive attribute names that should not be set through
  11. * `setAttribute` or similar functions.
  12. */
  13. exports.SECURITY_SENSITIVE_ATTRIBUTES = [
  14. 'href',
  15. 'rel',
  16. 'src',
  17. 'srcdoc',
  18. 'action',
  19. 'formaction',
  20. 'sandbox',
  21. 'cite',
  22. 'poster',
  23. 'icon',
  24. ];