Ver Fonte

removed obsolete test

Gildas há 7 anos atrás
pai
commit
bd7f9125ed
1 ficheiros alterados com 1 adições e 5 exclusões
  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: {