From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- testing/web-platform/tests/fullscreen/OWNERS | 2 ++ .../api/document-exit-fullscreen-manual.html | 24 ++++++++++++++++ .../api/document-fullscreen-element-manual.html | 32 ++++++++++++++++++++++ .../api/document-fullscreen-enabled.html | 17 ++++++++++++ .../api/document-onfullscreenchange-manual.html | 15 ++++++++++ .../fullscreen/api/document-onfullscreenerror.html | 13 +++++++++ ...ement-ready-check-containing-iframe-manual.html | 21 ++++++++++++++ ...nt-ready-check-enabled-flag-not-set-manual.html | 19 +++++++++++++ ...dy-check-fullscreen-element-sibling-manual.html | 23 ++++++++++++++++ ...ready-check-fullscreen-iframe-child-manual.html | 28 +++++++++++++++++++ .../element-ready-check-iframe-child-manual.html | 17 ++++++++++++ ...element-ready-check-not-in-document-manual.html | 15 ++++++++++ .../api/element-request-fullscreen-manual.html | 22 +++++++++++++++ .../element-request-fullscreen-non-top-manual.html | 28 +++++++++++++++++++ ...element-request-fullscreen-svg-rect-manual.html | 17 ++++++++++++ .../element-request-fullscreen-svg-svg-manual.html | 17 ++++++++++++ .../api/element-request-fullscreen-top-manual.html | 30 ++++++++++++++++++++ .../fullscreen/model/remove-child-manual.html | 28 +++++++++++++++++++ .../fullscreen/model/remove-first-manual.html | 32 ++++++++++++++++++++++ .../tests/fullscreen/model/remove-last-manual.html | 32 ++++++++++++++++++++++ .../fullscreen/model/remove-parent-manual.html | 26 ++++++++++++++++++ .../fullscreen/model/remove-single-manual.html | 24 ++++++++++++++++ .../web-platform/tests/fullscreen/trusted-click.js | 24 ++++++++++++++++ 23 files changed, 506 insertions(+) create mode 100644 testing/web-platform/tests/fullscreen/OWNERS create mode 100644 testing/web-platform/tests/fullscreen/api/document-exit-fullscreen-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/document-fullscreen-element-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/document-fullscreen-enabled.html create mode 100644 testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/document-onfullscreenerror.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-ready-check-enabled-flag-not-set-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-element-sibling-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-iframe-child-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-ready-check-not-in-document-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-request-fullscreen-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-request-fullscreen-non-top-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-rect-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-svg-manual.html create mode 100644 testing/web-platform/tests/fullscreen/api/element-request-fullscreen-top-manual.html create mode 100644 testing/web-platform/tests/fullscreen/model/remove-child-manual.html create mode 100644 testing/web-platform/tests/fullscreen/model/remove-first-manual.html create mode 100644 testing/web-platform/tests/fullscreen/model/remove-last-manual.html create mode 100644 testing/web-platform/tests/fullscreen/model/remove-parent-manual.html create mode 100644 testing/web-platform/tests/fullscreen/model/remove-single-manual.html create mode 100644 testing/web-platform/tests/fullscreen/trusted-click.js (limited to 'testing/web-platform/tests/fullscreen') diff --git a/testing/web-platform/tests/fullscreen/OWNERS b/testing/web-platform/tests/fullscreen/OWNERS new file mode 100644 index 000000000..dd7cb4169 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/OWNERS @@ -0,0 +1,2 @@ +@foolip +@upsuper diff --git a/testing/web-platform/tests/fullscreen/api/document-exit-fullscreen-manual.html b/testing/web-platform/tests/fullscreen/api/document-exit-fullscreen-manual.html new file mode 100644 index 000000000..3b0d28397 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/document-exit-fullscreen-manual.html @@ -0,0 +1,24 @@ + +Document.exitFullscreen() + + + +
+ diff --git a/testing/web-platform/tests/fullscreen/api/document-fullscreen-element-manual.html b/testing/web-platform/tests/fullscreen/api/document-fullscreen-element-manual.html new file mode 100644 index 000000000..473bdbb0f --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/document-fullscreen-element-manual.html @@ -0,0 +1,32 @@ + +Document.fullscreenElement + + + +
+ diff --git a/testing/web-platform/tests/fullscreen/api/document-fullscreen-enabled.html b/testing/web-platform/tests/fullscreen/api/document-fullscreen-enabled.html new file mode 100644 index 000000000..d45bb1576 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/document-fullscreen-enabled.html @@ -0,0 +1,17 @@ + +Document.fullscreenEnabled + + +
+ + + diff --git a/testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html b/testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html new file mode 100644 index 000000000..d77872ffb --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/document-onfullscreenchange-manual.html @@ -0,0 +1,15 @@ + +Document.onfullscreenchange + + + +
+ diff --git a/testing/web-platform/tests/fullscreen/api/document-onfullscreenerror.html b/testing/web-platform/tests/fullscreen/api/document-onfullscreenerror.html new file mode 100644 index 000000000..f5eaaf441 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/document-onfullscreenerror.html @@ -0,0 +1,13 @@ + +Document.onfullscreenerror + + +
+ diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.html new file mode 100644 index 000000000..a630fe2e8 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-containing-iframe-manual.html @@ -0,0 +1,21 @@ + +Element ready check for containing iframe + + + +
+ + + diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-enabled-flag-not-set-manual.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-enabled-flag-not-set-manual.html new file mode 100644 index 000000000..501767dd6 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-enabled-flag-not-set-manual.html @@ -0,0 +1,19 @@ + +Element ready check with enabled flag not set + + + +
+ + diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-element-sibling-manual.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-element-sibling-manual.html new file mode 100644 index 000000000..82672cbfd --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-element-sibling-manual.html @@ -0,0 +1,23 @@ + +Element ready check for sibling of fullscreen element + + + +
+
+
+ diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-iframe-child-manual.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-iframe-child-manual.html new file mode 100644 index 000000000..598fcfecf --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-fullscreen-iframe-child-manual.html @@ -0,0 +1,28 @@ + +Element ready check for child of a fullscreen iframe + + + +
+ + diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html new file mode 100644 index 000000000..0c1dd29a1 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-iframe-child-manual.html @@ -0,0 +1,17 @@ + +Element ready check for child of iframe + + + +
+ + diff --git a/testing/web-platform/tests/fullscreen/api/element-ready-check-not-in-document-manual.html b/testing/web-platform/tests/fullscreen/api/element-ready-check-not-in-document-manual.html new file mode 100644 index 000000000..904d31990 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-ready-check-not-in-document-manual.html @@ -0,0 +1,15 @@ + +Element ready check for element not in a document + + + +
+ diff --git a/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-manual.html b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-manual.html new file mode 100644 index 000000000..81bd6a05e --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-manual.html @@ -0,0 +1,22 @@ + +Element.requestFullscreen() + + + +
+ diff --git a/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-non-top-manual.html b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-non-top-manual.html new file mode 100644 index 000000000..88eff090a --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-non-top-manual.html @@ -0,0 +1,28 @@ + +Element.requestFullscreen() for non-top element in fullscreen element stack + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-rect-manual.html b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-rect-manual.html new file mode 100644 index 000000000..5661bfef7 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-rect-manual.html @@ -0,0 +1,17 @@ + +Element.requestFullscreen() for SVG rect element + + + +
+ + diff --git a/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-svg-manual.html b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-svg-manual.html new file mode 100644 index 000000000..553785d29 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-svg-svg-manual.html @@ -0,0 +1,17 @@ + +Element.requestFullscreen() for SVG svg element + + + +
+ + diff --git a/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-top-manual.html b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-top-manual.html new file mode 100644 index 000000000..361834440 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/api/element-request-fullscreen-top-manual.html @@ -0,0 +1,30 @@ + +Element.requestFullscreen() for top element in fullscreen element stack + + + +
+
+ diff --git a/testing/web-platform/tests/fullscreen/model/remove-child-manual.html b/testing/web-platform/tests/fullscreen/model/remove-child-manual.html new file mode 100644 index 000000000..63cc727fb --- /dev/null +++ b/testing/web-platform/tests/fullscreen/model/remove-child-manual.html @@ -0,0 +1,28 @@ + +Remove the child of the fullscreen element + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/fullscreen/model/remove-first-manual.html b/testing/web-platform/tests/fullscreen/model/remove-first-manual.html new file mode 100644 index 000000000..5873a1cfc --- /dev/null +++ b/testing/web-platform/tests/fullscreen/model/remove-first-manual.html @@ -0,0 +1,32 @@ + +Remove the first element on the fullscreen element stack + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/fullscreen/model/remove-last-manual.html b/testing/web-platform/tests/fullscreen/model/remove-last-manual.html new file mode 100644 index 000000000..3e5204962 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/model/remove-last-manual.html @@ -0,0 +1,32 @@ + +Remove the last element on the fullscreen element stack + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/fullscreen/model/remove-parent-manual.html b/testing/web-platform/tests/fullscreen/model/remove-parent-manual.html new file mode 100644 index 000000000..74327637e --- /dev/null +++ b/testing/web-platform/tests/fullscreen/model/remove-parent-manual.html @@ -0,0 +1,26 @@ + +Remove the parent of the fullscreen element + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/fullscreen/model/remove-single-manual.html b/testing/web-platform/tests/fullscreen/model/remove-single-manual.html new file mode 100644 index 000000000..53abb5e82 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/model/remove-single-manual.html @@ -0,0 +1,24 @@ + +Remove the single element on the fullscreen element stack + + + +
+
+ diff --git a/testing/web-platform/tests/fullscreen/trusted-click.js b/testing/web-platform/tests/fullscreen/trusted-click.js new file mode 100644 index 000000000..6cd4020f6 --- /dev/null +++ b/testing/web-platform/tests/fullscreen/trusted-click.js @@ -0,0 +1,24 @@ +// Invokes callback from a trusted click event, to satisfy +// https://html.spec.whatwg.org/#triggered-by-user-activation +function trusted_click(callback, container) +{ + var document = container.ownerDocument; + var button = document.createElement("button"); + button.textContent = "click to continue test"; + button.style.display = "block"; + button.style.fontSize = "20px"; + button.style.padding = "10px"; + button.onclick = function() + { + callback(); + container.removeChild(button); + }; + container.appendChild(button); +} + +// Invokes element.requestFullscreen() from a trusted click. +function trusted_request(element, container) +{ + var request = element.requestFullscreen.bind(element); + trusted_click(request, container || element.parentNode); +} -- cgit v1.2.3