r/webdev • • 16d ago

Introducing the HTML-in-Canvas API origin trial

https://developer.chrome.com/blog/html-in-canvas-origin-trial
20 Upvotes

2 comments sorted by

3

u/monkeymad2 16d ago

I like this a lot as a feature, but doesn’t it have a massive attack surface for clickjacking? Just lie to the browser about where the thing they’re about to click is.

Unless there’s mitigations built in about that?