Remove unused code path

Versions of Firefox 54 and lower are no longer supported.
This commit is contained in:
Raymond Hill 2021-10-13 11:17:21 -04:00
parent e7444883a3
commit b0038eac28
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 0 additions and 10 deletions

View File

@ -410,16 +410,6 @@ vAPI.Tabs = class {
return;
}
// https://github.com/gorhill/uBlock/issues/3053#issuecomment-332276818
// Do not try to lookup uBO's own pages with FF 55 or less.
if (
vAPI.webextFlavor.soup.has('firefox') &&
vAPI.webextFlavor.major < 56
) {
this.create(targetURL, details);
return;
}
// https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/query#Parameters
// "Note that fragment identifiers are not matched."
// Fragment identifiers ARE matched -- we need to remove the fragment.