1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Add iframe allow to initial load (#2005)

* Add iframe allow to initial load

Chrome seems to balk at this attribute being added after the fact. It
may be a race condition or an intentional block, but adding to the
template fixes our missing allow attribute problem.

* Update jslib
This commit is contained in:
Matt Gibson
2021-08-13 10:23:36 -04:00
committed by GitHub
parent a61598253c
commit 4890ca3c51
2 changed files with 2 additions and 2 deletions

2
jslib

Submodule jslib updated: c70c8ecc24...1f0127966e

View File

@@ -60,7 +60,7 @@
</div>
</ng-container>
<ng-container *ngIf="selectedProviderType === providerType.WebAuthn && !webAuthnNewTab">
<div id="web-authn-frame"><iframe id="webauthn_iframe"></iframe></div>
<div id="web-authn-frame"><iframe id="webauthn_iframe" [allow]="webAuthnAllow"></iframe></div>
<div class="box">
<div class="box-content">
<div class="box-content-row box-content-row-checkbox" appBoxRow>