mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 21:12:08 +02:00
LibWeb: Add customElements.getName
This commit is contained in:
committed by
Andrew Kaster
parent
51f5da00d7
commit
8d593bcfeb
Notes:
sideshowbarker
2024-07-17 05:00:08 +09:00
Author: https://github.com/keithamus 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/8d593bcfeb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/458 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/tcl3
@@ -26,6 +26,7 @@ public:
|
||||
|
||||
JS::ThrowCompletionOr<void> define(String const& name, WebIDL::CallbackType* constructor, ElementDefinitionOptions options);
|
||||
Variant<JS::Handle<WebIDL::CallbackType>, JS::Value> get(String const& name) const;
|
||||
Optional<String> get_name(JS::Handle<WebIDL::CallbackType> const& constructor) const;
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<JS::Promise>> when_defined(String const& name);
|
||||
void upgrade(JS::NonnullGCPtr<DOM::Node> root) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user