1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 08:07:34 +00:00

LibWeb: Remove the NoInstanceWrapper extended IDL attribute

No interfaces require wrappers anymore, so we can just make this the
default mode.
This commit is contained in:
Andreas Kling 2022-09-05 11:41:26 +02:00
parent 1bd4ad8b6d
commit 8f110e0fb1
31 changed files with 32 additions and 35 deletions

View file

@ -1,6 +1,6 @@
#import <CSS/CSSGroupingRule.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSConditionRule : CSSGroupingRule {
attribute CSSOMString conditionText;
};

View file

@ -1,7 +1,7 @@
#import <CSS/CSSRule.idl>
#import <CSS/CSSStyleDeclaration.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSFontFaceRule : CSSRule {
readonly attribute CSSStyleDeclaration style;
};

View file

@ -1,7 +1,7 @@
#import <CSS/CSSRule.idl>
#import <CSS/CSSRuleList.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSGroupingRule : CSSRule {
[SameObject, ImplementedAs=css_rules_for_bindings] readonly attribute CSSRuleList cssRules;
unsigned long insertRule(CSSOMString rule, optional unsigned long index = 0);

View file

@ -2,7 +2,7 @@
#import <CSS/CSSStyleSheet.idl>
#import <CSS/MediaList.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSImportRule : CSSRule {
readonly attribute USVString href;
// [SameObject, PutForwards=mediaText] readonly attribute MediaList media;

View file

@ -1,7 +1,7 @@
#import <CSS/CSSConditionRule.idl>
#import <CSS/MediaList.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSMediaRule : CSSConditionRule {
[SameObject, PutForwards=mediaText] readonly attribute MediaList media;
};

View file

@ -1,6 +1,6 @@
#import <CSS/CSSStyleSheet.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSRule {
attribute CSSOMString cssText;

View file

@ -1,6 +1,6 @@
#import <CSS/CSSRule.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSRuleList {
getter CSSRule? item(unsigned long index);

View file

@ -1,4 +1,4 @@
[NoInstanceWrapper]
[]
interface CSSStyleDeclaration {
readonly attribute unsigned long length;

View file

@ -1,7 +1,7 @@
#import <CSS/CSSRule.idl>
#import <CSS/CSSStyleDeclaration.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSStyleRule : CSSRule {
attribute CSSOMString selectorText;

View file

@ -1,5 +1,5 @@
#import <CSS/CSSConditionRule.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface CSSSupportsRule : CSSConditionRule {
};

View file

@ -1,4 +1,4 @@
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface MediaList {
[LegacyNullToEmptyString] stringifier attribute CSSOMString mediaText;
readonly attribute unsigned long length;

View file

@ -1,6 +1,6 @@
#import <DOM/Event.idl>
[NoInstanceWrapper]
[]
interface MediaQueryListEvent : Event {
constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict = {});

View file

@ -1,6 +1,6 @@
#import <CSS/CSSStyleSheet.idl>
[Exposed=Window, NoInstanceWrapper]
[Exposed=Window]
interface StyleSheetList {
getter CSSStyleSheet? item(unsigned long index);
readonly attribute unsigned long length;