From e8322fa0ba051862c678896ee7eaff64a64a9b82 Mon Sep 17 00:00:00 2001 From: Edgar Chen Date: Thu, 13 Feb 2020 21:44:07 +0000 Subject: [PATCH] Bug 1609180 - Add test for requesting fullscreen from parent window; r=smaug Differential Revision: https://phabricator.services.mozilla.com/D62669 --HG-- extra : moz-landing-system : lando --- dom/html/test/file_fullscreen-sub-iframe.html | 53 +++++++++++++++++++ dom/html/test/mochitest.ini | 1 + dom/html/test/test_fullscreen-api.html | 1 + 3 files changed, 55 insertions(+) create mode 100644 dom/html/test/file_fullscreen-sub-iframe.html diff --git a/dom/html/test/file_fullscreen-sub-iframe.html b/dom/html/test/file_fullscreen-sub-iframe.html new file mode 100644 index 000000000000..28b0235c87ce --- /dev/null +++ b/dom/html/test/file_fullscreen-sub-iframe.html @@ -0,0 +1,53 @@ + +Test for Bug 1609180 + + + + + + + diff --git a/dom/html/test/mochitest.ini b/dom/html/test/mochitest.ini index b844cf7b20b3..e9cba85ec3d5 100644 --- a/dom/html/test/mochitest.ini +++ b/dom/html/test/mochitest.ini @@ -464,6 +464,7 @@ support-files = file_fullscreen-scrollbar.html file_fullscreen-selector.html file_fullscreen-shadowdom.html + file_fullscreen-sub-iframe.html file_fullscreen-svg-element.html file_fullscreen-table.html file_fullscreen-top-layer.html diff --git a/dom/html/test/test_fullscreen-api.html b/dom/html/test/test_fullscreen-api.html index 13c99e706289..c7f9c3b68f00 100644 --- a/dom/html/test/test_fullscreen-api.html +++ b/dom/html/test/test_fullscreen-api.html @@ -53,6 +53,7 @@ var gTestWindows = [ ["dom.security.featurePolicy.header.enabled", true], ["dom.security.featurePolicy.webidl.enabled", true]] }, { test: "file_fullscreen-async.html" }, + { test: "file_fullscreen-sub-iframe.html" }, ]; var testWindow = null;