
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.
10 lines
249 B
Text
10 lines
249 B
Text
#import <DOM/CharacterData.idl>
|
|
|
|
// https://dom.spec.whatwg.org/#text
|
|
[Exposed=Window, UseDeprecatedAKString]
|
|
interface Text : CharacterData {
|
|
constructor(optional DOMString data = "");
|
|
|
|
[NewObject] Text splitText(unsigned long offset);
|
|
|
|
};
|