Click here to download the Blitz Browser!

WPT

wpt / trusted-types / TrustedTypePolicyFactory-getAttributeType.html

Spec: Trusted Types ↗

Runs: Chrome 154.0.8037.0 (wpt@98a70a0c5) | Firefox 157.0a1 (wpt@98a70a0c5) | Safari 251 preview (wpt@5ce815a83) | Ladybird 1.0-28104 (wpt@b1a7025f8) | Servo Servo 0.5 (wpt@2ccd2cbf8) | Blitz dc9e62f29 (wpt@a95401e4e)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total23/2323/2323/2323/2323/23NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
getAttributeType( "DIV", "onclick", "http://www.w3.org/1999/xhtml", "null") == "TrustedScript"PASSPASSPASSPASSPASS
getAttributeType( "g", "ondblclick", "http://www.w3.org/2000/svg", "null") == "TrustedScript"PASSPASSPASSPASSPASS
getAttributeType( "mrow", "onmousedown", "http://www.w3.org/1998/Math/MathML", "null") == "TrustedScript"PASSPASSPASSPASSPASS
getAttributeType( "IFRAME", "srcdoc", "http://www.w3.org/1999/xhtml", "null") == "TrustedHTML"PASSPASSPASSPASSPASS
getAttributeType( "SCRIPT", "src", "http://www.w3.org/1999/xhtml", "null") == "TrustedScriptURL"PASSPASSPASSPASSPASS
getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "null") == "TrustedScriptURL"PASSPASSPASSPASSPASS
getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "http://www.w3.org/1999/xlink") == "TrustedScriptURL"PASSPASSPASSPASSPASS
getAttributeType( "foo", "onmouseup", "https://example.com/namespace", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "DIV", "onclick", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"PASSPASSPASSPASSPASS
getAttributeType( "DIV", "ondoesnotexist", "http://www.w3.org/1999/xhtml", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "DIV", "data-onclick", "http://www.w3.org/1999/xhtml", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "DIV", "srcdoc", "http://www.w3.org/1999/xhtml", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "iframe", "srcdoc", "https://example.com/namespace", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "IFRAME", "srcdoc", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"PASSPASSPASSPASSPASS
getAttributeType( "IFRAME", "data-srcdoc", "http://www.w3.org/1999/xhtml", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "DIV", "src", "http://www.w3.org/1999/xhtml", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "script", "src", "https://example.com/namespace", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "SCRIPT", "src", "http://www.w3.org/1999/xhtml", "https://example.com/namespace") == "null"PASSPASSPASSPASSPASS
getAttributeType( "SCRIPT", "data-src", "http://www.w3.org/1999/xhtml", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "g", "href", "http://www.w3.org/2000/svg", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "SCRIPT", "href", "http://www.w3.org/1999/xhtml", "null") == "null"PASSPASSPASSPASSPASS
getAttributeType( "script", "href", "http://www.w3.org/2000/svg", "https://example.com/namespace") == "null"PASSPASSPASSPASSPASS
getAttributeType( "script", "src", "http://www.w3.org/2000/svg", "null") == "null"PASSPASSPASSPASSPASS