Chrome Version: 71.0.3578.98 (Official Build) (64-bit)
OS: gLinux
What steps will reproduce the problem?
(1) Enforce Trusted Types.
(2) var tt = TrustedTypes.createPolicy('tt', {createHTML: (s) => s});
(3) img.setAttribute('src', tt.createHTML('a.jpg'));
What is the expected result?
TrustedHTML shouldn't be assignable to img.src.
What happens instead?
Displays the image.
Comment 1 by jakubvrana@google.com
, Jan 4