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:
parent
1bd4ad8b6d
commit
8f110e0fb1
31 changed files with 32 additions and 35 deletions
|
@ -1,6 +1,6 @@
|
|||
#import <CSS/CSSGroupingRule.idl>
|
||||
|
||||
[Exposed=Window, NoInstanceWrapper]
|
||||
[Exposed=Window]
|
||||
interface CSSConditionRule : CSSGroupingRule {
|
||||
attribute CSSOMString conditionText;
|
||||
};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
#import <CSS/CSSStyleDeclaration.idl>
|
||||
|
||||
[Exposed=Window, NoInstanceWrapper]
|
||||
[Exposed=Window]
|
||||
interface CSSFontFaceRule : CSSRule {
|
||||
readonly attribute CSSStyleDeclaration style;
|
||||
};
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <CSS/CSSStyleSheet.idl>
|
||||
|
||||
[Exposed=Window, NoInstanceWrapper]
|
||||
[Exposed=Window]
|
||||
interface CSSRule {
|
||||
|
||||
attribute CSSOMString cssText;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
|
||||
[Exposed=Window, NoInstanceWrapper]
|
||||
[Exposed=Window]
|
||||
interface CSSRuleList {
|
||||
|
||||
getter CSSRule? item(unsigned long index);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[NoInstanceWrapper]
|
||||
[]
|
||||
interface CSSStyleDeclaration {
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#import <CSS/CSSRule.idl>
|
||||
#import <CSS/CSSStyleDeclaration.idl>
|
||||
|
||||
[Exposed=Window, NoInstanceWrapper]
|
||||
[Exposed=Window]
|
||||
interface CSSStyleRule : CSSRule {
|
||||
|
||||
attribute CSSOMString selectorText;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#import <CSS/CSSConditionRule.idl>
|
||||
|
||||
[Exposed=Window, NoInstanceWrapper]
|
||||
[Exposed=Window]
|
||||
interface CSSSupportsRule : CSSConditionRule {
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[Exposed=Window, NoInstanceWrapper]
|
||||
[Exposed=Window]
|
||||
interface MediaList {
|
||||
[LegacyNullToEmptyString] stringifier attribute CSSOMString mediaText;
|
||||
readonly attribute unsigned long length;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#import <DOM/Event.idl>
|
||||
|
||||
[NoInstanceWrapper]
|
||||
[]
|
||||
interface MediaQueryListEvent : Event {
|
||||
constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict = {});
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue