mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests
[wpt][fullscreen] Upstream {ref,crash}tests that use testdriver
As of https://github.com/web-platform-tests/wpt/pull/48486, the
WebDriver-based testdriver infrastructure now supports {ref,crash}tests.
Revert most of https://crrev.com/c/5972758 to move the tests back. In
Chromium CQ, moving the tests out of `wpt_internal/` also has the effect
of running the tests with `headless_shell` + `chromedriver`, which
passes these tests.
Bug: None
Change-Id: I396053ab5a7ab2a27558fa1de71af614107a8f02
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6088404
Reviewed-by: Mike Wasserman <[email protected]>
Commit-Queue: Mike Wasserman <[email protected]>
Auto-Submit: Jonathan Lee <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1396271}
--
wpt-commits: 70e5fd98c0eed8d024c7743fb476386a36c8b8d0
wpt-pr: 49690
23 lines
640 B
HTML
23 lines
640 B
HTML
<!DOCTYPE html>
|
|
<html class=reftest-wait>
|
|
<title>::backdrop for a fullscreen iframe element</title>
|
|
<link rel=match href="backdrop-green-ref.html">
|
|
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/6939">
|
|
<script src="/resources/testdriver.js"></script>
|
|
<script src="/resources/testdriver-vendor.js"></script>
|
|
|
|
<style>
|
|
iframe::backdrop {
|
|
background: green;
|
|
}
|
|
</style>
|
|
<iframe></iframe>
|
|
<script>
|
|
document.addEventListener('fullscreenchange', () => {
|
|
document.documentElement.classList.remove('reftest-wait');
|
|
});
|
|
test_driver.bless('fullscreen', () => {
|
|
document.querySelector('iframe').requestFullscreen();
|
|
});
|
|
</script>
|