48 new-log-viewer: Add UrlContextProvider to provide URL parameters and use them in the StateContextProvider.
It was found that when logEventNum is specified in the web application URL, a redundant loadPage request is sent to the main service worker after an initial loadFile request.
Debug prints which show a redundant loadPage request is sent after loadFile
Description
new-log-viewer: Avoid redundant loadPage after loadFile when logEventNum is specified in the URL.
Validation performed
Referred to the validation steps in #46 to start the debug server.
References
new-log-viewer series: #45 #46 #48 #51 #52 #53
48
new-log-viewer: Add UrlContextProvider to provide URL parameters and use them in the StateContextProvider.
It was found that when
logEventNum
is specified in the web application URL, a redundantloadPage
request is sent to the main service worker after an initialloadFile
request.Debug prints which show a redundant
loadPage
request is sent afterloadFile
Description
loadPage
afterloadFile
whenlogEventNum
is specified in the URL.Validation performed
loadPage
request is sent afterloadFile
. Screenshot showing noloadPage
request is sent afterloadFile