Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-remove.html

Issue 2855843002: Reland "Sync requestFullscreen() and exitFullscreen() algorithms with the spec" (Closed)
Patch Set: Reland "Sync requestFullscreen() and exitFullscreen() algorithms with the spec" Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-remove.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-remove.html b/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-remove.html
deleted file mode 100644
index 85adefabad64d0dd86098771ef60a9a7af9a5256..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-remove.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<title>Element#requestFullscreen() followed by removing the element</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="../trusted-click.js"></script>
-<div id="log"></div>
-<div id="target"></div>
-<script>
-// Adapted from https://github.com/w3c/web-platform-tests/pull/4250
-// TODO(foolip): Remove this test when the above is imported and passing.
-async_test(t => {
- const target = document.getElementById("target");
-
- document.onfullscreenchange = t.step_func_done(() => {
- assert_equals(document.fullscreenElement, null);
- });
- document.onfullscreenerror = t.unreached_func("fullscreenchange event");
-
- trusted_click(t, () => {
- target.requestFullscreen();
- target.remove();
- }, document.body);
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698