gecko-dev/testing/web-platform/tests/portals/portals-host-null.html
Adithya Srinivasan 524a6fc345 Bug 1517622 [wpt PR 14704] - Portals: Add window.portalHost, a=testonly
Automatic update from web-platform-tests
Portals: Add window.portalHost

Adds IDL files for PortalHost and window.portalHost, and has a simple
layout test for window.portalHost.

Bug: 914117
Change-Id: Iccaae8992e7cf2794a26e171cebffc94deca8e1d
Reviewed-on: https://chromium-review.googlesource.com/c/1393438
Reviewed-by: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: Lucas Gadani <lfg@chromium.org>
Commit-Queue: Adithya Srinivasan <adithyas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#619757}

--

wpt-commits: 62b2cb7f79ceb204f0c8fb52ce86756bba03d358
wpt-pr: 14704
2019-02-07 21:49:42 +00:00

10 lines
256 B
HTML

<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
test(t => {
assert_equals(window.portalHost, null, "window.portalHost should be null");
});
</script>
</body>