mirror of
https://github.com/servo/servo.git
synced 2025-06-18 13:24:29 +00: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:
parent
352e4bfcf1
commit
47f9fbd8c7
4 changed files with 10 additions and 21 deletions
|
@ -32,6 +32,8 @@ interface HTMLScriptElement : HTMLElement {
|
|||
[CEReactions]
|
||||
attribute DOMString referrerPolicy;
|
||||
|
||||
static boolean supports(DOMString type);
|
||||
|
||||
// also has obsolete members
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue