LibWeb: Add some missing [FIXME] IDL attributes

This commit is contained in:
Tim Ledbetter 2024-05-21 16:40:32 +01:00 committed by Andreas Kling
commit c0e504fbdd
Notes: sideshowbarker 2024-07-16 22:11:09 +09:00
5 changed files with 5 additions and 5 deletions

View file

@ -3194,7 +3194,7 @@ void @class_name@::initialize(JS::Realm& realm)
if (!interface.attributes.is_empty() || !interface.functions.is_empty() || interface.has_stringifier) { if (!interface.attributes.is_empty() || !interface.functions.is_empty() || interface.has_stringifier) {
generator.append(R"~~~( generator.append(R"~~~(
static JS::ThrowCompletionOr<@fully_qualified_name@*> impl_from(JS::VM& vm) [[maybe_unused]] static JS::ThrowCompletionOr<@fully_qualified_name@*> impl_from(JS::VM& vm)
{ {
auto this_value = vm.this_value(); auto this_value = vm.this_value();
JS::Object* this_object = nullptr; JS::Object* this_object = nullptr;

View file

@ -2,5 +2,5 @@
[Exposed=(Window,Worker)] [Exposed=(Window,Worker)]
interface CanvasPattern { interface CanvasPattern {
// opaque object // opaque object
// FIXME: undefined setTransform(optional DOMMatrix2DInit transform = {}); [FIXME] undefined setTransform(optional DOMMatrix2DInit transform = {});
}; };

View file

@ -28,7 +28,7 @@ interface HTMLElement : Element {
[LegacyNullToEmptyString, CEReactions] attribute DOMString innerText; [LegacyNullToEmptyString, CEReactions] attribute DOMString innerText;
[LegacyNullToEmptyString, CEReactions] attribute DOMString outerText; [LegacyNullToEmptyString, CEReactions] attribute DOMString outerText;
// FIXME: ElementInternals attachInternals(); [FIXME] ElementInternals attachInternals();
// The popover API // The popover API
[FIXME] undefined showPopover(); [FIXME] undefined showPopover();

View file

@ -46,7 +46,7 @@ interface HTMLMediaElement : HTMLElement {
attribute double currentTime; attribute double currentTime;
undefined fastSeek(double time); undefined fastSeek(double time);
readonly attribute unrestricted double duration; readonly attribute unrestricted double duration;
// FIXME: object getStartDate(); [FIXME] object getStartDate();
readonly attribute boolean paused; readonly attribute boolean paused;
[FIXME] attribute double defaultPlaybackRate; [FIXME] attribute double defaultPlaybackRate;
[FIXME] attribute double playbackRate; [FIXME] attribute double playbackRate;

View file

@ -34,7 +34,7 @@ interface HTMLTextAreaElement : HTMLElement {
readonly attribute NodeList labels; readonly attribute NodeList labels;
// FIXME: undefined select(); [FIXME] undefined select();
attribute unsigned long selectionStart; attribute unsigned long selectionStart;
attribute unsigned long selectionEnd; attribute unsigned long selectionEnd;
[FIXME] attribute DOMString selectionDirection; [FIXME] attribute DOMString selectionDirection;