Open dway123 opened 3 years ago
Now that https://wicg.github.io/sanitizer-api/ is further along, sanitization might no longer be that hard to actually define?
cc @evilpie @mozfreddyb
@dway123 also, where are the details defined for navigator.clipboard.write()
? Would you allow any arbitrary byte sequence to be tagged as image/svg+xml
or does it have to conform to some set of rules?
I think the current Chromium implementation allows for any arbitrary byte sequence to be tagged as image/svg+xml
(like with HTML/image/text implementations), but then sanitizes the content as if it's SVG. This seems consistent with the navigator.clipboard.write()
spec, which doesn't require item
to conform to some set of rules.
@mkruisselbrink for more comment, as I'm no longer active on Chromium now. (Thanks for all the collaboration and questions on clipboard, @annevk)
Request for Mozilla Position on an Emerging Web Specification
Other information