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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-same-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-same-manual.html
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-same-manual.html b/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-same-manual.html
index a475c18194bb53c1c1a8190f37b95360d1b49c9f..defe9ce54d07eb6b9323d5a7571879452b539a2e 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-same-manual.html
+++ b/third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/element-request-fullscreen-same-manual.html
@@ -16,15 +16,15 @@ async_test(t => {
// doc's fullscreen element, terminate these subsubsteps."
document.onfullscreenchange = t.unreached_func("fullscreenchange event");
- trusted_click(t.step_func(() => {
+ trusted_click(t, () => {
target.requestFullscreen();
// Wait until after the next animation frame.
requestAnimationFrame(t.step_func_done());
- }), target);
+ }, target);
});
document.onfullscreenerror = t.unreached_func("fullscreenerror event");
- trusted_request(target);
+ trusted_request(t, target);
});
</script>

Powered by Google App Engine
This is Rietveld 408576698