From b4e289360d062d337cf8456eba5510f99526bf01 Mon Sep 17 00:00:00 2001 From: deepak1556 Date: Tue, 13 Jul 2021 04:43:53 -0700 Subject: [PATCH] chore: remove focus workaround --- spec-main/webview-spec.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec-main/webview-spec.ts b/spec-main/webview-spec.ts index e488f1088305b..f9715340092b6 100644 --- a/spec-main/webview-spec.ts +++ b/spec-main/webview-spec.ts @@ -758,11 +758,6 @@ describe(' tag', function () { src: `file://${fixtures}/pages/content.html` }); const [, webViewContents] = await emittedOnce(app, 'web-contents-created'); - // TODO(deepak1556): With https://codereview.chromium.org/2836973002 - // focus of the webContents is required when triggering the api. - // Remove this workaround after determining the cause for - // incorrect focus. - webViewContents.focus(); const activeMatchOrdinal = []; let isFirstRequest = true;