Explorar o código

removed obsolete test

Gildas %!s(int64=7) %!d(string=hai) anos
pai
achega
bd7f9125ed
Modificáronse 1 ficheiros con 1 adicións e 5 borrados
  1. 1 5
      lib/browser-polyfill/chrome-browser-polyfill.js

+ 1 - 5
lib/browser-polyfill/chrome-browser-polyfill.js

@@ -18,15 +18,11 @@
  *   along with SingleFile.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-/* global navigator */
-
 (() => {
 
-	const isChrome = navigator.userAgent.includes("Chrome");
-
 	const FEATURE_TESTS = {};
 
-	if (isChrome && !this.browser && this.chrome) {
+	if (!this.browser && this.chrome) {
 		const nativeAPI = this.chrome;
 		this.__defineGetter__("browser", () => ({
 			browserAction: {