@lvce-editor/renderer-process 10.37.0 → 10.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6626,7 +6626,7 @@ const waitForFrameToLoad = $Frame => {
|
|
|
6626
6626
|
};
|
|
6627
6627
|
|
|
6628
6628
|
// TODO could use browser view when running in electron
|
|
6629
|
-
const create$w = async (uid, src, sandbox, csp, credentialless, permissionPolicy) => {
|
|
6629
|
+
const create$w = async (uid, src, sandbox, csp, credentialless, permissionPolicy, title) => {
|
|
6630
6630
|
const $Iframe = document.createElement('iframe');
|
|
6631
6631
|
setIframeCredentialless($Iframe, credentialless);
|
|
6632
6632
|
setIframeCsp($Iframe, csp);
|
|
@@ -6635,6 +6635,9 @@ const create$w = async (uid, src, sandbox, csp, credentialless, permissionPolicy
|
|
|
6635
6635
|
set($Iframe, permissionPolicy);
|
|
6636
6636
|
// TODO set classname from iframe worker
|
|
6637
6637
|
$Iframe.className = 'E2eTestIframe WebViewIframe';
|
|
6638
|
+
if (title) {
|
|
6639
|
+
$Iframe.title = title;
|
|
6640
|
+
}
|
|
6638
6641
|
set$2(uid, $Iframe);
|
|
6639
6642
|
// TODO make make waitForFrameToLoad a separate command
|
|
6640
6643
|
};
|