[Trusted Types] Fix eval handling in workers.
The current code only enables/disables eval (& Function constructors) in workers wholesale, and never registers a callback. This means that the functionality that relies on the callback doesn't work in workers. This patch registers the callback, and removes two assertions that are now no longer true. Bug: 1126472 Change-Id: I3996431acd97fd6f62e8e09ed44732e8eaa438f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2426645Reviewed-by:Mike West <mkwst@chromium.org> Commit-Queue: Daniel Vogelheim <vogelheim@chromium.org> Cr-Commit-Position: refs/heads/master@{#811633}
Showing
Please register or sign in to comment