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:
parent
98af936d3c
commit
0a89e5827a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user