mirror of
https://github.com/c9fe/22120.git
synced 2024-11-14 23:12:30 +01:00
"Working on it"
This commit is contained in:
parent
0ed96e938b
commit
d7d87cfb8c
@ -588,12 +588,14 @@ export default Archivist;
|
||||
} else {
|
||||
let saveIt = false;
|
||||
if ( Mode == 'select' ) {
|
||||
const frameDescendsFromBookmarkedURLFrame = BMarks.has(getRootFrameURL(frameId));
|
||||
const rootFrameURL = getRootFrameURL(frameId);
|
||||
const frameDescendsFromBookmarkedURLFrame = BMarks.has(rootFrameURL);
|
||||
saveIt = frameDescendsFromBookmarkedURLFrame;
|
||||
DEBUG && console.log({rootFrameURL, frameId, saveIt});
|
||||
} else if ( Mode == 'save' ) {
|
||||
saveIt = true;
|
||||
}
|
||||
console.log(saveIt);
|
||||
console.log({mode, saveIt});
|
||||
if ( saveIt ) {
|
||||
const response = {key, responseCode: responseStatusCode, responseHeaders};
|
||||
const resp = await getBody({requestId, responseStatusCode});
|
||||
@ -626,7 +628,9 @@ export default Archivist;
|
||||
},
|
||||
);
|
||||
}
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
try {
|
||||
await send("Fetch.continueRequest", {
|
||||
requestId,
|
||||
@ -637,8 +641,6 @@ export default Archivist;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function getBody({requestId, responseStatusCode}) {
|
||||
let resp;
|
||||
@ -1376,6 +1378,7 @@ export default Archivist;
|
||||
|
||||
function addFrameNode(observedFrame) {
|
||||
const {frameId, parentFrameId} = observedFrame;
|
||||
console.log({observedFrame});
|
||||
const node = {
|
||||
id: frameId,
|
||||
parentId: parentFrameId,
|
||||
@ -1396,6 +1399,7 @@ export default Archivist;
|
||||
*/
|
||||
}
|
||||
} = frameNavigated;
|
||||
console.log({frameNavigated});
|
||||
const url = urlFragment?.startsWith(rawUrl.slice(0,4)) ? urlFragment : rawUrl;
|
||||
let frameNode = State.FrameNodes.get(frameId);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user