1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:17:34 +00:00

LibWeb: Implement document.domain getter

The document.domain setter is currently stubbed as that is a doozy to
implement, given how much restrictions there are in place to try and
prevent use of it and potential multi-process implications.

This was the only thing preventing us from being able to start
displaying ads delivered via Google Syndication.
This commit is contained in:
Luke Wilde 2022-09-14 15:50:47 +01:00 committed by Andreas Kling
parent 6290a25224
commit 6a4934a030
4 changed files with 37 additions and 0 deletions

View file

@ -27,6 +27,7 @@ interface Document : Node {
// FIXME: These attributes currently don't do anything.
[PutForwards=href, LegacyUnforgeable] readonly attribute Location? location;
attribute USVString domain;
readonly attribute DOMImplementation implementation;