Explorar o código

fix "can't access property "length", this.options.worklets is undefined" error (fix #1558)

Gildas hai 1 ano
pai
achega
198bf14069
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/core/content/content.js

+ 1 - 0
src/core/content/content.js

@@ -332,6 +332,7 @@ async function processPage(options) {
 		options.usedFonts = selectedFrame.usedFonts;
 		options.shadowRoots = selectedFrame.shadowRoots;
 		options.adoptedStyleSheets = selectedFrame.adoptedStyleSheets;
+		options.worklets = selectedFrame.worklets;
 	} else {
 		options.doc = document;
 	}