Bug 1517833 [wpt PR 14720] - Portals: Add support for compositing portals., a=testonly
authorLucas Furukawa Gadani <lfg@chromium.org>
Thu, 31 Jan 2019 18:55:19 +0000
changeset 457988 fea5433464fdc96281f80c5c79a761354419aa10
parent 457987 93e8279ba244f9c3ecab9dc2a5c69468b59070fd
child 457989 c7ab05b766f0283be490e8f4d80f98be5b618104
push id35518
push useropoprus@mozilla.com
push dateFri, 08 Feb 2019 09:55:14 +0000
treeherdermozilla-central@3a3e393396f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1517833, 14720, 914109, 1394985, 622737
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1517833 [wpt PR 14720] - Portals: Add support for compositing portals., a=testonly Automatic update from web-platform-tests Portals: Add support for compositing portals. Bug: 914109 Change-Id: I8ebdfe2352f4a914ca1f2541380c4eafa6a03ab2 Reviewed-on: https://chromium-review.googlesource.com/c/1394985 Reviewed-by: Charlie Reis <creis@chromium.org> Reviewed-by: Jeremy Roman <jbroman@chromium.org> Reviewed-by: Ken Buchanan <kenrb@chromium.org> Commit-Queue: Lucas Gadani <lfg@chromium.org> Cr-Commit-Position: refs/heads/master@{#622737} -- wpt-commits: 5c708fbf402a7fb9a2d99293bcc36bebf32bcaec wpt-pr: 14720
testing/web-platform/tests/portals/portals-rendering.html
testing/web-platform/tests/portals/references/portals-rendering.html
testing/web-platform/tests/portals/resources/portals-rendering-portal.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/portals/portals-rendering.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<title>Portals rendering test</title>
+<link rel="match" href="references/portals-rendering.html">
+<body>
+  <portal src="resources/portals-rendering-portal.html" style="background-color: red; width: 100px; height: 100px"></portal>
+  <script>
+    var bc = new BroadcastChannel('portal');
+    bc.onmessage = function(e) {
+      window.requestAnimationFrame(function(ts) {
+        document.documentElement.classList.remove('reftest-wait');
+      });
+      bc.close();
+    }
+  </script>
+</body>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/portals/references/portals-rendering.html
@@ -0,0 +1,5 @@
+<!DOCTYPE html>
+<title>Portals rendering test</title>
+<body>
+  <div style="background-color: green; width: 100px; height: 100px">
+</body>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/portals/resources/portals-rendering-portal.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<body style="background-color: green">
+  <script>
+    window.requestAnimationFrame(function(ts) {
+      var bc = new BroadcastChannel('portal');
+      bc.postMessage('loaded');
+      bc.close();
+    });
+  </script>
+</body>