mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibWeb: Implement HTMLIFrameElement.sandbox
This commit is contained in:
parent
a4b43cae9a
commit
634823d5b4
Notes:
github-actions[bot]
2024-11-17 21:13:47 +00:00
Author: https://github.com/shannonbooth
Commit: 634823d5b4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2404
5 changed files with 19 additions and 4 deletions
|
@ -31,6 +31,8 @@ public:
|
|||
Optional<HighResolutionTime::DOMHighResTimeStamp> const& pending_resource_start_time() const { return m_pending_resource_start_time; }
|
||||
void set_pending_resource_start_time(Optional<HighResolutionTime::DOMHighResTimeStamp> time) { m_pending_resource_start_time = time; }
|
||||
|
||||
GC::Ref<DOM::DOMTokenList> sandbox();
|
||||
|
||||
virtual void visit_edges(Cell::Visitor&) override;
|
||||
|
||||
private:
|
||||
|
@ -55,6 +57,8 @@ private:
|
|||
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#iframe-pending-resource-timing-start-time
|
||||
Optional<HighResolutionTime::DOMHighResTimeStamp> m_pending_resource_start_time = {};
|
||||
|
||||
GC::Ptr<DOM::DOMTokenList> m_sandbox;
|
||||
};
|
||||
|
||||
void run_iframe_load_event_steps(HTML::HTMLIFrameElement&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue