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

LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString

NewAKString is effectively the default for any new IDL interface, so
let's mark this as the default behavior. It also makes it much easier to
figure out whatever interfaces are still left to port over to new AK
String.
This commit is contained in:
Shannon Booth 2023-09-03 02:00:01 +12:00 committed by Sam Atkins
parent 198591cc20
commit d4a890080d
146 changed files with 157 additions and 158 deletions

View file

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

View file

@ -1,6 +1,6 @@
#import <CSS/CSSRule.idl>
[Exposed=Window, UseNewAKString]
[Exposed=Window]
interface CSSKeyframeRule : CSSRule {
attribute CSSOMString keyText;
[SameObject, PutForwards=cssText] readonly attribute CSSStyleDeclaration style;

View file

@ -1,6 +1,6 @@
#import <CSS/CSSRule.idl>
[Exposed=Window, UseNewAKString]
[Exposed=Window]
interface CSSKeyframesRule : CSSRule {
attribute CSSOMString name;
readonly attribute unsigned long length;

View file

@ -1,5 +1,5 @@
// https://drafts.csswg.org/cssom/#cssstyledeclaration
[Exposed=Window]
[Exposed=Window, UseDeprecatedAKString]
interface CSSStyleDeclaration {
[CEReactions] attribute CSSOMString cssText;

View file

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

View file

@ -1,7 +1,7 @@
#import <DOM/Event.idl>
// https://w3c.github.io/csswg-drafts/cssom-view-1/#mediaquerylistevent
[Exposed=Window, UseNewAKString]
[Exposed=Window]
interface MediaQueryListEvent : Event {
constructor(CSSOMString type, optional MediaQueryListEventInit eventInitDict = {});

View file

@ -3,7 +3,7 @@
#import <DOM/Element.idl>
// https://drafts.csswg.org/cssom/#stylesheet
[Exposed=Window]
[Exposed=Window, UseDeprecatedAKString]
interface StyleSheet {
readonly attribute Element? ownerNode;