From 4322c49c55e822b1bb18c8a94c7b22db2a70c5f6 Mon Sep 17 00:00:00 2001 From: Faisal Salman Date: Tue, 10 Sep 2024 20:22:07 +0700 Subject: [PATCH] Backport - Remove Viera from list of browsers (cherry picked from commit 1fa3d02594f46ae5c4e96a5b3b6508cc4d9246e0) --- src/ua-parser.js | 1 - test/browser-test.json | 10 ---------- 2 files changed, 11 deletions(-) diff --git a/src/ua-parser.js b/src/ua-parser.js index 0a9889b..06f26a7 100755 --- a/src/ua-parser.js +++ b/src/ua-parser.js @@ -353,7 +353,6 @@ /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, // Polaris/Lynx/Dillo/iCab/Doris/Amaya/w3m/NetSurf/Obigo/Mosaic/Go/ICE/UP.Browser /(links) \(([\w\.]+)/i, // Links - /panasonic;(viera)/i // Panasonic Viera ], [NAME, VERSION], [ /(cobalt)\/([\w\.]+)/i // Cobalt diff --git a/test/browser-test.json b/test/browser-test.json index 6b448d2..fe6c188 100644 --- a/test/browser-test.json +++ b/test/browser-test.json @@ -1679,16 +1679,6 @@ "major" : "16" } }, - { - "desc" : "Viera", - "ua" : "HbbTV/1.2.1 (;Panasonic;VIERA 2015;3.014;a001-003 4000-0000;)", - "expect" : - { - "name" : "VIERA", - "version" : "undefined", - "major" : "undefined" - } - }, { "desc" : "w3m", "ua" : "w3m/0.5.1",