1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:07:36 +00:00

LibWeb/HTML: Add missing SecurityError checks to Location

This commit is contained in:
Linus Groh 2023-03-04 22:37:12 +00:00
parent 0b8ebfb618
commit bfe0df5677
2 changed files with 49 additions and 15 deletions

View file

@ -71,7 +71,7 @@ private:
virtual JS::ThrowCompletionOr<void> initialize(JS::Realm&) override;
virtual void visit_edges(Cell::Visitor&) override;
DOM::Document const* relevant_document() const;
JS::GCPtr<DOM::Document> relevant_document() const;
AK::URL url() const;
// [[CrossOriginPropertyDescriptorMap]], https://html.spec.whatwg.org/multipage/browsers.html#crossoriginpropertydescriptormap