Move descriptionForTrustedType to Blink
Now the description for Trusted Type objects is generated in Blink rather than in V8 what makes it simpler and safer. The description will be generated from the original toString() method, avoiding calling into potential redefinitions of toString() by the user. Corresponding V8 CL: https://chromium-review.googlesource.com/c/v8/v8/+/2502342 Follow-up V8 CL: https://chromium-review.googlesource.com/c/v8/v8/+/2502869 Screenshot: https://i.imgur.com/tDZoRtv.png Bug: chromium:1048143 Change-Id: I3254e97f0cdc967e51a6d06b2460cc140066be08 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2502589 Commit-Queue: Alfonso Castaño <alcastano@google.com> Reviewed-by:Yang Guo <yangguo@chromium.org> Reviewed-by:
Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by:
Sigurd Schneider <sigurds@chromium.org> Cr-Commit-Position: refs/heads/master@{#822615}
Showing
Please register or sign in to comment