mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 00:17:46 +00:00
LibWeb: Add WindowObject::origin()
This is a convenience getter to retrieve the security origin of a DOM window's document.
This commit is contained in:
parent
618dcbe405
commit
b4a3537716
2 changed files with 8 additions and 0 deletions
|
@ -44,6 +44,8 @@ public:
|
|||
DOM::Window& impl() { return *m_impl; }
|
||||
const DOM::Window& impl() const { return *m_impl; }
|
||||
|
||||
Origin origin() const;
|
||||
|
||||
XMLHttpRequestPrototype* xhr_prototype() { return m_xhr_prototype; }
|
||||
XMLHttpRequestConstructor* xhr_constructor() { return m_xhr_constructor; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue