From 5a49cd06da3f6ff0e3505882c1daac274e3c10d0 Mon Sep 17 00:00:00 2001 From: Dave Tapuska Date: Mon, 18 Feb 2019 19:25:29 +0000 Subject: [PATCH] Bug 1526603 [wpt PR 15234] - Add support for freezing iframes, a=testonly Automatic update from web-platform-tests Add support for freezing iframes Frames that aren't loading are not visible in the viewport will be frozen if --enable-features=FreezeFrames is provided. This will eventually be converted to testing feature policies for frames. BUG=907125 Change-Id: Ib0badb3f92df4ce4921dd4a4cb29c45749f64f47 Reviewed-on: https://chromium-review.googlesource.com/c/1450406 Reviewed-by: Ken Buchanan Reviewed-by: Kentaro Hara Reviewed-by: Alexander Timin Reviewed-by: John Abd-El-Malek Commit-Queue: Dave Tapuska Cr-Commit-Position: refs/heads/master@{#629822} -- wpt-commits: d31a2f38a2c7159a88ca190cde7826b91299c64f wpt-pr: 15234 --- .../child-display-none.tentative.html | 35 +++++++++++++++++++ .../tests/lifecycle/resources/subframe.html | 16 +++++++++ 2 files changed, 51 insertions(+) create mode 100644 testing/web-platform/tests/lifecycle/child-display-none.tentative.html create mode 100644 testing/web-platform/tests/lifecycle/resources/subframe.html diff --git a/testing/web-platform/tests/lifecycle/child-display-none.tentative.html b/testing/web-platform/tests/lifecycle/child-display-none.tentative.html new file mode 100644 index 000000000000..f76b4e7b608d --- /dev/null +++ b/testing/web-platform/tests/lifecycle/child-display-none.tentative.html @@ -0,0 +1,35 @@ + + +Child frame marked as frozen + + + + + diff --git a/testing/web-platform/tests/lifecycle/resources/subframe.html b/testing/web-platform/tests/lifecycle/resources/subframe.html new file mode 100644 index 000000000000..2f1d70a80a79 --- /dev/null +++ b/testing/web-platform/tests/lifecycle/resources/subframe.html @@ -0,0 +1,16 @@ + + +