diff --git a/Tests/LibWeb/Text/expected/HTML/HTMLObjectElement-contentWindow.txt b/Tests/LibWeb/Text/expected/HTML/HTMLObjectElement-contentWindow.txt new file mode 100644 index 0000000000..d3f165dc16 --- /dev/null +++ b/Tests/LibWeb/Text/expected/HTML/HTMLObjectElement-contentWindow.txt @@ -0,0 +1,2 @@ +object.contentWindow initial value should be null: true +contentWindow.name should be the same as object.name PASS diff --git a/Tests/LibWeb/Text/input/HTML/HTMLObjectElement-contentWindow.html b/Tests/LibWeb/Text/input/HTML/HTMLObjectElement-contentWindow.html new file mode 100644 index 0000000000..d0ca0ebd67 --- /dev/null +++ b/Tests/LibWeb/Text/input/HTML/HTMLObjectElement-contentWindow.html @@ -0,0 +1,19 @@ + + + diff --git a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl index 02b6d0e16e..aeae525564 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl @@ -14,7 +14,7 @@ interface HTMLObjectElement : HTMLElement { [CEReactions, Reflect] attribute DOMString width; [CEReactions, Reflect] attribute DOMString height; readonly attribute Document? contentDocument; - // FIXME: readonly attribute WindowProxy? contentWindow; + readonly attribute WindowProxy? contentWindow; Document? getSVGDocument(); // FIXME: readonly attribute boolean willValidate;