mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:47:35 +00:00
LibWeb: Expose the location object via Document.location
Both Window.location and Document.location use the same instance of the Location object. Some sites use it via Window, some via Document.
This commit is contained in:
parent
ee5bac0891
commit
678dd2d180
6 changed files with 34 additions and 1 deletions
|
@ -2,6 +2,9 @@ interface Document : Node {
|
|||
|
||||
constructor();
|
||||
|
||||
// FIXME: These attributes currently don't do anything.
|
||||
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
|
||||
|
||||
readonly attribute DOMImplementation implementation;
|
||||
|
||||
readonly attribute DOMString characterSet;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue