Page MenuHomePhabricator

TypeError: navigatorData.userAgentData.getHighEntropyValues is not a function
Closed, InvalidPublicPRODUCTION ERROR

Description

What is the problem?

Found in logstash. 15 in the last week:

TypeError: navigatorData.userAgentData.getHighEntropyValues is not a function
at collectClientHintsData  https://uz.wikipedia.org/w/load.php?lang=uz&modules=ext.checkUser.clientHints&skin=vector-2022&version=1gpp1:3:91
at collectAndSendClientHintsData  https://uz.wikipedia.org/w/load.php?lang=uz&modules=ext.checkUser.clientHints&skin=vector-2022&version=1gpp1:2:761
at eval  https://uz.wikipedia.org/w/load.php?lang=uz&modules=ext.checkUser.clientHints&skin=vector-2022&version=1gpp1:3:337
at Object.fire  https://uz.wikipedia.org/w/load.php?lang=uz&modules=mediawiki.base&skin=vector-2022&version=wdmds:4:754
at Object.fireHook  https://uz.wikipedia.org/w/load.php?lang=uz&modules=mediawiki.action.view.postEdit&skin=vector-2022&version=491hr:2:219
at init  https://uz.wikipedia.org/w/load.php?lang=uz&modules=mediawiki.action.view.postEdit&skin=vector-2022&version=491hr:1:1173
at eval  https://uz.wikipedia.org/w/load.php?lang=uz&modules=mediawiki.action.view.postEdit&skin=vector-2022&version=491hr:2:529
at mediawiki.action.view.postEdit.js  https://uz.wikipedia.org/w/load.php?lang=uz&modules=mediawiki.action.view.postEdit&skin=vector-2022&version=491hr:2:537
at runScript  https://uz.wikipedia.org/w/load.php?lang=uz&modules=startup&only=scripts&raw=1&skin=vector-2022:11:748
at execute  https://uz.wikipedia.org/w/load.php?lang=uz&modules=startup&only=scripts&raw=1&skin=vector-2022:13:1

https://logstash.wikimedia.org/goto/b3f3386d740578e39ff1581caaa5e44b

Event Timeline

Restricted Application changed the subtype of this task from "Bug Report" to "Production Error". · View Herald TranscriptJun 12 2025, 11:56 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This error is no longer occuring in Logstash. Additionally, it seems impossible for it to occur in any standards-conforming environment, as we check for existence of getHighEntropyValues (and we did so in June, when the task was created).

Without access to the logs, it's hard to tell what exactly caused these errors, but they disappeared without an intervention from our side, so the cause might have been lying outside of CheckUser.