Minor code review

Related commit:
- 6df32675b1
This commit is contained in:
Raymond Hill 2020-12-12 14:38:44 -05:00
parent b779f1f7c9
commit 18e6f30c1c
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 3 additions and 3 deletions

View File

@ -358,7 +358,7 @@ const onBeforeBehindTheSceneRequest = function(fctxt) {
// way to know for sure which exact page triggered a tabless network // way to know for sure which exact page triggered a tabless network
// request. // request.
onBeforeBehindTheSceneRequest.journalAddRequest = (( ) => { {
let hostname = ''; let hostname = '';
let pageStores = new Set(); let pageStores = new Set();
let pageStoresToken = 0; let pageStoresToken = 0;
@ -376,7 +376,7 @@ onBeforeBehindTheSceneRequest.journalAddRequest = (( ) => {
gcTimer = vAPI.setTimeout(gc, 30011); gcTimer = vAPI.setTimeout(gc, 30011);
}; };
return function(fctxt, result) { onBeforeBehindTheSceneRequest.journalAddRequest = (fctxt, result) => {
const { docHostname } = fctxt; const { docHostname } = fctxt;
if ( if (
docHostname !== hostname || docHostname !== hostname ||
@ -398,7 +398,7 @@ onBeforeBehindTheSceneRequest.journalAddRequest = (( ) => {
pageStore.journalAddRequest(fctxt.hostname, result); pageStore.journalAddRequest(fctxt.hostname, result);
} }
}; };
})(); }
/******************************************************************************/ /******************************************************************************/