minor edit

This commit is contained in:
gorhill 2014-07-14 21:47:32 -04:00
parent b563d8bc43
commit bb3e84f911

View file

@ -101,7 +101,7 @@ var onBeforeSendHeaders = function(details) {
// Special handling for root document.
var requestType = details.type;
if ( requestType === 'main_frame' && details.parentFrameId < 0 ) {
if ( requestType === 'main_frame' && details.parentFrameId === -1 ) {
return onBeforeRootDocument(tabId, details);
}