Skip to content

Remove exception reporting from declarative shadow dom#10552

Merged
domenic merged 4 commits intowhatwg:mainfrom
mfreed7:declarative_exceptions
Aug 14, 2024
Merged

Remove exception reporting from declarative shadow dom#10552
domenic merged 4 commits intowhatwg:mainfrom
mfreed7:declarative_exceptions

Conversation

@mfreed7
Copy link
Collaborator

@mfreed7 mfreed7 commented Aug 9, 2024

See #10527 for context, but no browser currently reports exceptions for this case, and doing so might pose an XSS risk. Correct the spec text accordingly.

Closes #10527


/parsing.html ( diff )

See whatwg#10527 for context, but no browser currently reports exceptions for this case, and doing so might pose an XSS risk. Correct the spec text accordingly.

Closes whatwg#10527
@annevk
Copy link
Member

annevk commented Aug 12, 2024

Since this is a normative change could you please not omit the PR template?

@annevk annevk added topic: shadow Relates to shadow trees (as defined in DOM) topic: parser normative change labels Aug 12, 2024
@mfreed7
Copy link
Collaborator Author

mfreed7 commented Aug 13, 2024

Since this is a normative change could you please not omit the PR template?

Done.

Copy link
Member

@domenic domenic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed a tweak to nest the reporting under the "catch", since I didn't want to make us do too much more back-and-forth for this. Thanks very much!

@domenic domenic merged commit aef1078 into whatwg:main Aug 14, 2024
@mfreed7
Copy link
Collaborator Author

mfreed7 commented Aug 14, 2024

I pushed a tweak to nest the reporting under the "catch", since I didn't want to make us do too much more back-and-forth for this. Thanks very much!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

normative change topic: parser topic: shadow Relates to shadow trees (as defined in DOM)

Development

Successfully merging this pull request may close these issues.

Errors when attaching a declarative shadow root

5 participants