mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:27:45 +00:00
LibWeb: Add stubs for document.write and document.writeln
ACID3 test page throws exception about document.write. Let's at least get rid of it by defining these stubs. I added document.writeln too because it is similar.
This commit is contained in:
parent
deba345ca7
commit
ed33ea13ab
3 changed files with 19 additions and 0 deletions
|
@ -16,6 +16,9 @@ interface Document : Node {
|
|||
|
||||
readonly attribute Window? defaultView;
|
||||
|
||||
undefined write(DOMString... text);
|
||||
undefined writeln(DOMString... text);
|
||||
|
||||
attribute DOMString cookie;
|
||||
|
||||
readonly attribute USVString referrer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue