Skip to content

Commit

Permalink
chore: remove focus workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Jul 13, 2021
1 parent c99f545 commit b4e2893
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions spec-main/webview-spec.ts
Expand Up @@ -758,11 +758,6 @@ describe('<webview> 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;

Expand Down

0 comments on commit b4e2893

Please sign in to comment.