Luke Warlow
Luke Warlow
Would the mechanism being internal fix those issues though? I'm not quite sure how proxies come into the picture?
Wouldn't it be setting a context object and using that instead of default policy in the fallback method, rather than messing with elements directly?
Okay I can change it the concept is the same though code where the call site is inaccessible. Could be registering a custom element that does Dom manipulation as an...
see https://github.com/web-platform-tests/wpt/pull/44861
This feels like it shouldn't be allowed? But if we reject unamed policies that might be a compat risk?
Based on #384 I'm removing the proposed-removal label
@koto what are your thoughts on this? Is it likely to cause any compat issues if people are passing through a tag name incorrectly cased and we no longer lowercase...
https://github.com/web-platform-tests/wpt/pull/44266 - PR to add coverage for setHTMLUnsafe and parseHTMLUnsafe
@mbrodesser-Igalia do you think you'd be able to give this a review?
@koto (and @annevk because you raised one of these related issues) what do you think of this?