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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/model/remove-parent.html

Issue 2466333002: Automate Fullscreen web-platform-tests using wpt_automation (Closed)
Patch Set: update line numbers Created 4 years, 1 month 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/model/remove-parent.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/model/remove-parent.html b/third_party/WebKit/LayoutTests/fullscreen/model/remove-parent.html
deleted file mode 100644
index 540fae607106c1b2f6f0a436fbb1129c1f6bd653..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fullscreen/model/remove-parent.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<title>Remove the parent of the fullscreen element</title>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-<script src="../trusted-event.js"></script>
-<div id="log"></div>
-<div>
- <div id="child"></div>
-</div>
-<script>
-async_test(function(t)
-{
- var child = document.getElementById("child");
- trusted_request(child);
- document.onfullscreenchange = t.step_func(function()
- {
- assert_equals(document.fullscreenElement, child);
- child.parentNode.remove();
- document.onfullscreenchange = t.step_func(function()
- {
- assert_equals(document.fullscreenElement, null);
- t.done();
- });
- });
-});
-</script>

Powered by Google App Engine
This is Rietveld 408576698