[Trusted Types] Rework default policy error handling.
This adapts Trusted Types to recently proposed spec changes, where a regular error that occurs during default policy application will simply be passed on to the app, while a return value of null or undefined signals that the default policy does not wish to deal with that value (and hence default policy application failed, in the Trusted Types sense of 'failed'). Change-Id: I41fd23019137e640b1c1b2df7d02c0b8e69932a6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1778485 Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by:Mike West <mkwst@chromium.org> Reviewed-by:
Yuki Shiino <yukishiino@chromium.org> Cr-Commit-Position: refs/heads/master@{#693688}
Showing
Please register or sign in to comment