Index: third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-and-remove-iframe-manual.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-and-remove-iframe-manual.html b/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-and-remove-iframe-manual.html |
index e2149fd60d86fd03b9f6a8216d3fdd7d55639f60..198ae737b662eaad230b1124543c601ce8176e22 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-and-remove-iframe-manual.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-and-remove-iframe-manual.html |
@@ -15,7 +15,7 @@ async_test(t => { |
iframeDocument.onfullscreenchange = t.unreached_func("iframe fullscreenchange event"); |
iframeDocument.onfullscreenerror = t.unreached_func("iframe fullscreenerror event"); |
- trusted_click(t.step_func(() => { |
+ trusted_click(t, () => { |
iframeDocument.body.requestFullscreen(); |
iframe.remove(); |
// No events will be fired, end test after 100ms. |
@@ -23,6 +23,6 @@ async_test(t => { |
assert_equals(document.fullscreenElement, null); |
assert_equals(iframeDocument.fullscreenElement, null); |
}), 100); |
- }), document.body); |
+ }, document.body); |
}); |
</script> |