Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using SecurityPolicyViolationEvent.sourceFile a USVString #674

Open
emilio opened this issue Jul 31, 2024 · 1 comment
Open

Consider using SecurityPolicyViolationEvent.sourceFile a USVString #674

emilio opened this issue Jul 31, 2024 · 1 comment

Comments

@emilio
Copy link

emilio commented Jul 31, 2024

It's a path and generally USVString is used for those. WebKit already does this FWIW.

This is I think only observable if you create a custom event with an unpaired surrogate in the init dictionary (in which case you'd start getting a replacement character rather than the unpaired surrogate).

cc @smaug----

@emilio
Copy link
Author

emilio commented Jul 31, 2024

Same for the URI members too I guess

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant