mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
feat(script): add Supports() to htmlscriptelement (#37313)
Add static method `Supports` to `HTMLScriptElement`. Part of #37262 Testing: relative WPT tests should become `PASS` Signed-off-by: Jason Tsai <git@pews.dev>
This commit is contained in:
@@ -32,6 +32,8 @@ interface HTMLScriptElement : HTMLElement {
|
||||
[CEReactions]
|
||||
attribute DOMString referrerPolicy;
|
||||
|
||||
static boolean supports(DOMString type);
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user