Commit c8cca393 authored by Laurent Wouters's avatar Laurent Wouters
Browse files

Fixing compatiblity with Firefox

parent 9a0719d8a3d1
......@@ -287,6 +287,8 @@ function onHeadersReceived(
details.frameId != 0 || // not the main top-level frame
details.hasOwnProperty("initiator") || // requested initiated by something else
(details.hasOwnProperty("originUrl") &&
(details as any).originUrl != undefined &&
(details as any).originUrl != null &&
(details as any).originUrl != details.url) // not the original URL
)
return {};
......
......@@ -310,9 +310,9 @@ export class TabData {
this.isActive = false;
this.mainSource = NO_DATA;
this.sources = [];
this.clear = this.clear.bind(this);
//this.clear = this.clear.bind(this);
this.primaryTopic = null;
this.selectMain = this.selectMain.bind(this);
//this.selectMain = this.selectMain.bind(this);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment