isXXX methods added to TrustedTypePolicyFactory
isHTML(), isScript(), isScriptURL() and isURL() added to TrustedTypePolicyFactory class as part of Trusted Types API update to current JS polyfill. The methods require additional code to be fully matched to polyfill expected behaviour. Added a helper private method GetWrapperTypeInfoFromScriptValue. Bug: 739170 Change-Id: I027e43ab6432405c686255a4d0ce24248c59a4dc Reviewed-on: https://chromium-review.googlesource.com/1238433 Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by:Daniel Vogelheim <vogelheim@chromium.org> Cr-Commit-Position: refs/heads/master@{#595527}
Showing
Please register or sign in to comment