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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-top-manual.html

Issue 2610243002: Import wpt@5e1a3b80cea8d36774d2afd78b29a74792e9f15a (Closed)
Patch Set: Rebased Created 3 years, 11 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/imported/wpt/fullscreen/api/element-request-fullscreen-top-manual.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-top-manual.html b/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-top-manual.html
index 4982916024654cf22b574353a6ea64030576c76b..eeeb7830d54591ce1d998ef14dbe9c2034202082 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-top-manual.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-top-manual.html
@@ -9,12 +9,12 @@
async_test(function(t)
{
var top = document.getElementById("top");
- trusted_request(top);
+ trusted_request(t, top);
document.onfullscreenchange = t.step_func(function()
{
assert_equals(document.fullscreenElement, top);
document.onfullscreenchange = t.unreached_func("fullscreenchange event");
- trusted_click(t.step_func(function()
+ trusted_click(t, function()
{
top.requestFullscreen();
// A fullscreenerror event would be fired after an async section
@@ -23,7 +23,7 @@ async_test(function(t)
{
requestAnimationFrame(t.step_func_done());
}, 0);
- }), top);
+ }, top);
});
document.onfullscreenerror = t.unreached_func("fullscreenerror event");
});

Powered by Google App Engine
This is Rietveld 408576698