@@ -144,6 +144,7 @@ async function saveContent(message, tab) {
options.shadowRoots = message.shadowRoots;
options.referrer = message.referrer;
options.updatedResources = message.updatedResources;
+ options.adoptedStyleSheets = message.adoptedStyleSheets;
options.visitDate = new Date(message.visitDate);
options.backgroundTab = true;
options.autoSave = true;
@@ -212,6 +212,7 @@ function savePage(docData, frames, { autoSaveUnload, autoSaveDiscard, autoSaveRe
shadowRoots: docData.shadowRoots,
videos: docData.videos,
referrer: docData.referrer,
+ adoptedStyleSheets: docData.adoptedStyleSheets,
frames: frames,
url: location.href,
updatedResources,
@@ -225,6 +225,7 @@ async function processPage(options) {
options.videos = selectedFrame.videos;
options.usedFonts = selectedFrame.usedFonts;
options.shadowRoots = selectedFrame.shadowRoots;
+ options.adoptedStyleSheets = selectedFrame.adoptedStyleSheets;
} else {
options.doc = document;
}