Browse Source

minor code review

pull/2/head
gorhill 9 years ago
parent
commit
8d8f4b22d4
  1. 5
      platform/firefox/vapi-background.js

5
platform/firefox/vapi-background.js

@ -1765,10 +1765,7 @@ var httpObserver = {
var URI = channel.URI; var URI = channel.URI;
var channelData; var channelData;
if (
topic === 'http-on-examine-response' ||
topic === 'http-on-examine-cached-response'
) {
if ( topic.lastIndexOf('http-on-examine-', 0) === 0 ) {
channelData = this.channelDataFromChannel(channel); channelData = this.channelDataFromChannel(channel);
if ( channelData === null ) { if ( channelData === null ) {
return; return;

Loading…
Cancel
Save