mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
minor code review: just in case
This commit is contained in:
parent
98af936d3c
commit
0a89e5827a
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue