Open natevw opened 2 years ago
As far as the normalization, it's probably best to roll with the likely platform brand names under the new spec and see what the major browsers as far as their own brand names.
Then what do we do with this idea of a list of browser brands rather than the single one we currently attempt?
Given a list like:
Google Chrome
))); DROP TABLE "not a brand"
Chromium
How should e.g. all: [Chromium, not: Chrome]
behave? It seems like:
$not
must be true of every item in the list$any
and $all
may be true only of some item in the listbut I'm struggling to put this in terms of https://en.wikipedia.org/wiki/De_Morgan's_laws or whatever :-)
UPDATE: well there's something, sortof
At least some browser vendors intend to freeze the classic user agent string "soon":
It is to be replaced by something a lot closer to what this library intends to do, but with some key differences:
macOS
instead ofMacintosh
,Google Chrome
andChromium
instead ofChrome
…)Ideally we could help match browsers all the way from the first implementations of JS to this new future.