diff options
Diffstat (limited to 'testing/web-platform/tests/html/browsers/the-window-object/open-close/resources/is-popup-barprop.html')
-rw-r--r-- | testing/web-platform/tests/html/browsers/the-window-object/open-close/resources/is-popup-barprop.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/html/browsers/the-window-object/open-close/resources/is-popup-barprop.html b/testing/web-platform/tests/html/browsers/the-window-object/open-close/resources/is-popup-barprop.html new file mode 100644 index 0000000000..5636e29878 --- /dev/null +++ b/testing/web-platform/tests/html/browsers/the-window-object/open-close/resources/is-popup-barprop.html @@ -0,0 +1,15 @@ +<script src="/common/PrefixedPostMessage.js"></script> +<script> +var prefixedMessage = new PrefixedMessageResource(); +function sendBarProps() { + prefixedMessage.postToOpener({ + locationbar: window.locationbar.visible, + menubar: window.menubar.visible, + personalbar: window.personalbar.visible, + scrollbars: window.scrollbars.visible, + statusbar: window.statusbar.visible, + toolbar: window.toolbar.visible, + }); +} +window.addEventListener('load', sendBarProps); +</script> |