mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb/HTML: Implement the Origin interface
See: https://github.com/whatwg/html/commit/68909b2
This commit is contained in:
committed by
Jelle Raaijmakers
parent
2c11e03582
commit
f9a996650b
Notes:
github-actions[bot]
2025-12-30 11:41:25 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/f9a996650b9 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7047 Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/trflynn89
@@ -41,6 +41,8 @@ public:
|
||||
GC::Ref<JS::Object> ports() const;
|
||||
Variant<GC::Root<WindowProxy>, GC::Root<MessagePort>, Empty> source() const;
|
||||
|
||||
virtual Optional<URL::Origin> extract_an_origin() const override;
|
||||
|
||||
void init_message_event(String const& type, bool bubbles, bool cancelable, JS::Value data, String const& origin, String const& last_event_id, Optional<MessageEventSource> source, Vector<GC::Root<MessagePort>> const& ports);
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user