1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-14 23:12:28 +02:00

minor code review: just in case

This commit is contained in:
gorhill 2015-06-11 15:11:01 -04:00
parent 98af936d3c
commit 0a89e5827a

View File

@ -325,6 +325,11 @@ var onHeadersReceived = function(details) {
return onRootFrameHeadersReceived(details);
}
// Just in case...
if ( details.type !== 'sub_frame' ) {
return;
}
// If we reach this point, we are dealing with a sub_frame
// Lookup the page store associated with this tab id.