author | Lucas Furukawa Gadani <lfg@chromium.org> |
Thu, 31 Jan 2019 18:55:19 +0000 | |
changeset 457988 | fea5433464fdc96281f80c5c79a761354419aa10 |
parent 457987 | 93e8279ba244f9c3ecab9dc2a5c69468b59070fd |
child 457989 | c7ab05b766f0283be490e8f4d80f98be5b618104 |
push id | 35518 |
push user | opoprus@mozilla.com |
push date | Fri, 08 Feb 2019 09:55:14 +0000 |
treeherder | mozilla-central@3a3e393396f4 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | testonly |
bugs | 1517833, 14720, 914109, 1394985, 622737 |
milestone | 67.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
|
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>