LibWeb: Propagate exceptions from setAttribute() in DOMStringMap setter

We were incorrectly assuming that setAttribute() could never fail here,
even when passed an invalid name.

Found by Domato.
This commit is contained in:
Andreas Kling 2024-07-19 14:57:23 +02:00 committed by Andreas Kling
commit 093f1dd805
Notes: github-actions[bot] 2024-07-20 07:32:01 +00:00
3 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1 @@
Setting DOMStringMap with an invalid name key throws? true