Skip to content

Commit

Permalink
Bug 1907849: part 3) Enrich documentation of <Element-setAttribute-re…
Browse files Browse the repository at this point in the history
…spects-Elements-node-documents-globals-CSP.html>. r=smaug

Before it was hard to understand.

Differential Revision: https://phabricator.services.mozilla.com/D231919

UltraBlame original commit: 882367ece1887f223f49219aa381aa5df880f9bb
  • Loading branch information
marco-c committed Dec 16, 2024
1 parent 8d46625 commit c1e624e
Showing 1 changed file with 82 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -542,13 +542,94 @@
'
s
global
belongs
should
belong
to
/
/
a
TT
-
realm
.
/
/
Hence
below
calls
to
setAttributeNode
and
setAttributeNS
/
/
should
throw
because
/
/
<
https
:
/
/
github
.
com
/
whatwg
/
dom
/
pull
/
1268
/
files
#
diff
-
30f698d9b4650514daf7a04de5e44eebf8feff1a30e0505f8eeaf06703b2777dR6587
>
/
/
invokes
<
https
:
/
/
www
.
w3
.
org
/
TR
/
trusted
-
types
/
#
validate
-
attribute
-
mutation
>
.
/
/
The
latter
should
throw
when
executing
step
5
.
assert_throws_js
(
sourceFrame
Expand Down

0 comments on commit c1e624e

Please sign in to comment.