trusted-types
trusted-types copied to clipboard
Modify the script slot setting algorithms.
The slot value is now set before the IDL attribute setter is called. That will make the 'prepare the script element' HTML algorithm receive the new value, since that algorithm (which does TT checks) now executes immediately after modifying the attribute: https://html.spec.whatwg.org/#script-processing-model:prepare-the-script-element-4