1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-07 03:12:33 +01:00

fixed using uninitialized var

This commit is contained in:
gorhill 2015-03-31 09:07:14 -04:00
parent 12fc8faf3a
commit 3d38285100

View File

@ -176,6 +176,8 @@ var onBeforeRequest = function(details) {
/******************************************************************************/
var onBeforeRootFrameRequest = function(details) {
var requestURL = details.url;
mostRecentRootDocURL = requestURL;
mostRecentRootDocURLTimestamp = Date.now();
@ -184,7 +186,6 @@ var onBeforeRootFrameRequest = function(details) {
// This must be executed regardless of whether the request is
// behind-the-scene
var µb = µBlock;
var requestURL = details.url;
var requestHostname = details.hostname;
var requestDomain = µb.URI.domainFromHostname(requestHostname);
var context = {