Explorar o código

pass frameId instead of windowId

Former-commit-id: 1486e5b10c64a37ce9d78c668cbf1c425f08c5ab
Gildas %!s(int64=5) %!d(string=hai) anos
pai
achega
f08fcede81
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/single-file/single-file-core.js

+ 2 - 2
lib/single-file/single-file-core.js

@@ -1526,7 +1526,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 								maxResourceSize: options.maxResourceSize,
 								maxResourceSizeEnabled: options.maxResourceSizeEnabled,
 								validateTextContentType: true,
-								frameId: options.windowId
+								frameId: options.frameId
 							});
 							resourceURL = content.resourceURL;
 							content.data = getUpdatedResourceContent(resourceURL, content, options);
@@ -1596,7 +1596,7 @@ this.singlefile.lib.core = this.singlefile.lib.core || (() => {
 					maxResourceSize: options.maxResourceSize,
 					maxResourceSizeEnabled: options.maxResourceSizeEnabled,
 					charset: options.charset,
-					frameId: options.windowId,
+					frameId: options.frameId,
 					validateTextContentType: true
 				});
 				resourceURL = content.resourceURL;