@@ -223,7 +223,7 @@ var onBeforeRootFrameRequestHandler = function(details) {
223223 if ( tabId !== httpsb . behindTheSceneTabId ) {
224224 httpsb . cookieHunter . recordPageCookies ( pageStats ) ;
225225 }
226- // quickProfiler.stop('onBeforeRequest' );
226+ // quickProfiler.stop();
227227 return ;
228228 }
229229
@@ -247,7 +247,7 @@ var onBeforeRootFrameRequestHandler = function(details) {
247247 html = html . replace ( / { { now} } / g, String ( Date . now ( ) ) ) ;
248248 var dataURI = 'data:text/html;base64,' + btoa ( html ) ;
249249
250- // quickProfiler.stop('onBeforeRequest' );
250+ // quickProfiler.stop();
251251
252252 return { "redirectUrl" : dataURI } ;
253253} ;
@@ -278,7 +278,7 @@ var onBeforeRequestHandler = function(details) {
278278 return ;
279279 }
280280
281- // quickProfiler.start();
281+ // quickProfiler.start('onBeforeRequest' );
282282
283283 var requestType = details . type ;
284284
@@ -292,7 +292,7 @@ var onBeforeRequestHandler = function(details) {
292292 // https://github.com/gorhill/httpswitchboard/issues/202
293293 if ( requestType === 'xmlhttprequest' ) {
294294 if ( requestURL . slice ( 0 , httpsb . projectServerRoot . length ) === httpsb . projectServerRoot ) {
295- // quickProfiler.stop('onBeforeRequest' );
295+ // quickProfiler.stop();
296296 return ;
297297 }
298298 }
@@ -357,7 +357,7 @@ var onBeforeRequestHandler = function(details) {
357357 // whitelisted?
358358 if ( ! block ) {
359359 // console.debug('onBeforeRequestHandler()> ALLOW "%s": %o', details.url, details);
360- // quickProfiler.stop('onBeforeRequest' );
360+ // quickProfiler.stop();
361361 return ;
362362 }
363363
@@ -373,11 +373,11 @@ var onBeforeRequestHandler = function(details) {
373373 . replace ( / { { fontUrl} } / g, httpsb . fontCSSURL )
374374 . replace ( / { { hostname} } / g, requestHostname )
375375 . replace ( / { { opacity} } / g, httpsb . userSettings . subframeOpacity . toFixed ( 2 ) ) ;
376- // quickProfiler.stop('onBeforeRequest' );
376+ // quickProfiler.stop();
377377 return { 'redirectUrl' : 'data:text/html,' + encodeURIComponent ( html ) } ;
378378 }
379379
380- // quickProfiler.stop('onBeforeRequest' );
380+ // quickProfiler.stop();
381381
382382 return { "cancel" : true } ;
383383} ;
0 commit comments