mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 10:36:02 +00:00
LibWeb: Add some missing [FIXME]
IDL attributes
This commit is contained in:
parent
58bb5e1f7a
commit
c0e504fbdd
Notes:
sideshowbarker
2024-07-16 22:11:09 +09:00
Author: https://github.com/tcl3
Commit: c0e504fbdd
Pull-request: https://github.com/SerenityOS/serenity/pull/24404
5 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||||
|
|
|
@ -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 = {});
|
||||||
};
|
};
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue