mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-02 10:24:59 +12:00
fix obsolete comment
This commit is contained in:
parent
b71eed544f
commit
0f7c82a2d9
|
@ -127,10 +127,7 @@ var onBeforeRequestHandler = function(details) {
|
||||||
specificity = 0;
|
specificity = 0;
|
||||||
|
|
||||||
if ( docURL !== undefined ) {
|
if ( docURL !== undefined ) {
|
||||||
// https://github.com/gorhill/uMatrix/issues/995
|
// Extract context from initiator for behind-the-scene requests.
|
||||||
// For now we will not reclassify behind-the-scene contexts which
|
|
||||||
// are not network-based URIs. Once the logger is able to provide
|
|
||||||
// context information, the reclassification will be allowed.
|
|
||||||
if ( tabId < 0 ) {
|
if ( tabId < 0 ) {
|
||||||
srcHn = µmuri.hostnameFromURI(µm.normalizePageURL(0, docURL));
|
srcHn = µmuri.hostnameFromURI(µm.normalizePageURL(0, docURL));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue