Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2022-07-04 20:43:45 +0300
committerGitHub <noreply@github.com>2022-07-04 20:43:45 +0300
commitecae3ead0294d744b6a5fbd23d2f78a7f1ec1562 (patch)
tree7c5560480c866b6bebb90f70cceea059e73138cf /plugins/API
parent0562dce34dab49e7ba9f287867b09273643e1af6 (diff)
Use browser client hints for detection (#18843)
* inject client hints in js * use client hints for detection * don't use catch, as yui compressor can't parse it * rebuilt js files * use new version of device detector * more code adjustments * updates expected test files * improve js * fix header detection * improve cache key handling * fix tests * use a separate queue to wait for client hints if needed * try to fix js tests * also consider X_HTTP_REQUESTED_WITH header as client hints * updates expected test files * Extend demo detection with client hints * code improvements * use new version of matomo-php-tracker * Adds test case for client hints set through matomo php tracker * apply review feedback * submodule update * fix test
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserName__API.getSuggestedValuesForSegment.xml4
-rw-r--r--plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemName__API.getSuggestedValuesForSegment.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserName__API.getSuggestedValuesForSegment.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserName__API.getSuggestedValuesForSegment.xml
index 0a45edcc89..aea9f9226b 100644
--- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserName__API.getSuggestedValuesForSegment.xml
+++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_browserName__API.getSuggestedValuesForSegment.xml
@@ -10,9 +10,11 @@
<row>xStand</row>
<row>wOSBrowser</row>
<row>vivo Browser</row>
+ <row>vBrowser</row>
<row>t-online.de Browser</row>
<row>surf</row>
<row>mCent</row>
+ <row>iDesktop PC Browser</row>
<row>iCab Mobile</row>
<row>iCab</row>
<row>iBrowser Mini</row>
@@ -28,6 +30,4 @@
<row>Yandex Browser Lite</row>
<row>Yandex Browser</row>
<row>Yahoo! Japan Browser</row>
- <row>Yaani Browser</row>
- <row>Xvast</row>
</result> \ No newline at end of file
diff --git a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemName__API.getSuggestedValuesForSegment.xml b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemName__API.getSuggestedValuesForSegment.xml
index 920b6c6374..d322d5adca 100644
--- a/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemName__API.getSuggestedValuesForSegment.xml
+++ b/plugins/API/tests/System/expected/test_AutoSuggestAPITest_operatingSystemName__API.getSuggestedValuesForSegment.xml
@@ -27,7 +27,7 @@
<row>TmaxOS</row>
<row>Tizen</row>
<row>ThreadX</row>
+ <row>TencentOS</row>
<row>Symbian^3</row>
<row>Symbian OS Series 60</row>
- <row>Symbian OS Series 40</row>
</result> \ No newline at end of file