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"); |
}); |