[Trusted Types] Implement new <script> handling for Trusted Types.
This follows the proposal at https://github.com/w3c/webappsec-trusted-types/pull/236 and effectively reverts crrev.com/c/1547746. This replaces the (arguably rather invasive) changes in node.cc and element.cc with more elaborate logic in html_script_element.cc. (I.e., it pushes complexity from the super-classes into a specific subclass, at the expense of making the sub-class do more work.) Bug: 1026549 Change-Id: I929e9e669db7f9e6b8de5a3d0d0df661f109b644 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1924523 Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by:Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#723017}
Showing
This diff is collapsed.
Please register or sign in to comment