Home
last modified time | relevance | path

Searched refs:userAgent (Results 1 – 25 of 33) sorted by relevance

12

/third_party/typescript/tests/baselines/reference/
DfixSignatureCaching.js370 impl.findMatch = function(rules, userAgent) { argument
373 if (rules[key].test(userAgent)) {
388 impl.findMatches = function(rules, userAgent) { argument
392 if (rules[key].test(userAgent)) {
408 impl.getVersionStr = function (propertyName, userAgent) { argument
414 match = patterns[i].exec(userAgent);
432 impl.getVersion = function (propertyName, userAgent) { argument
433 var version = impl.getVersionStr(propertyName, userAgent);
459 impl.isMobileFallback = function (userAgent) { argument
460 return impl.detectMobileBrowsers.fullPattern.test(userAgent) ||
[all …]
DfixSignatureCaching.symbols1019 * Test userAgent string against a set of rules and find the first matched key.
1021 * @param {String} userAgent the navigator.userAgent (or HTTP-Header 'User-Agent').
1025 impl.findMatch = function(rules, userAgent) {
1028 >userAgent : Symbol(userAgent, Decl(fixSignatureCaching.ts, 368, 36))
1041 if (rules[key].test(userAgent)) {
1044 >userAgent : Symbol(userAgent, Decl(fixSignatureCaching.ts, 368, 36))
1055 * Test userAgent string against a set of rules and return an array of matched keys.
1057 * @param {String} userAgent the navigator.userAgent (or HTTP-Header 'User-Agent').
1061 impl.findMatches = function(rules, userAgent) {
1064 >userAgent : Symbol(userAgent, Decl(fixSignatureCaching.ts, 386, 38))
[all …]
DfixSignatureCaching.errors.txt439 * Test userAgent string against a set of rules and find the first matched key.
441 * @param {String} userAgent the navigator.userAgent (or HTTP-Header 'User-Agent').
445 impl.findMatch = function(rules, userAgent) {
450 if (rules[key].test(userAgent)) {
459 * Test userAgent string against a set of rules and return an array of matched keys.
461 * @param {String} userAgent the navigator.userAgent (or HTTP-Header 'User-Agent').
465 impl.findMatches = function(rules, userAgent) {
471 if (rules[key].test(userAgent)) {
483 * @param {String} userAgent
487 impl.getVersionStr = function (propertyName, userAgent) {
[all …]
DfixSignatureCaching.types5userAgent string against a set of rules and find the first matched key. * @param {Object} rule…
6userAgent string against a set of rules and find the first matched key. * @param {Object} rule…
7userAgent string against a set of rules and find the first matched key. * @param {Object} rule…
12userAgent string against a set of rules and find the first matched key. * @param {Object} rule…
14userAgent string against a set of rules and find the first matched key. * @param {Object} rule…
1468 * Test userAgent string against a set of rules and find the first matched key.
1470 * @param {String} userAgent the navigator.userAgent (or HTTP-Header 'User-Agent').
1474 impl.findMatch = function(rules, userAgent) {
1475userAgent) { for (var key in rules) { if (hasOwnProp.call(rules, key)) { …
1479userAgent) { for (var key in rules) { if (hasOwnProp.call(rules, key)) { …
[all …]
/third_party/typescript/tests/cases/conformance/
DfixSignatureCaching.ts369 impl.findMatch = function(rules, userAgent) {
372 if (rules[key].test(userAgent)) {
387 impl.findMatches = function(rules, userAgent) {
391 if (rules[key].test(userAgent)) {
407 impl.getVersionStr = function (propertyName, userAgent) {
413 match = patterns[i].exec(userAgent);
431 impl.getVersion = function (propertyName, userAgent) {
432 var version = impl.getVersionStr(propertyName, userAgent);
458 impl.isMobileFallback = function (userAgent) {
459 return impl.detectMobileBrowsers.fullPattern.test(userAgent) ||
[all …]
/third_party/node/deps/npm/node_modules/debug/src/
Dbrowser.js124 …if (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().m…
135 …(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().matc…
137 …(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().matc…
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-demos/mount-origin/
Dtest.js42 this.version = this.searchVersion(navigator.userAgent)
68 string: navigator.userAgent,
72 { string: navigator.userAgent,
99 string: navigator.userAgent,
109 string: navigator.userAgent,
114 string: navigator.userAgent,
120 string: navigator.userAgent,
126 string: navigator.userAgent,
144 string: navigator.userAgent,
/third_party/libwebsockets/test-apps/
Dtest.js42 this.version = this.searchVersion(navigator.userAgent)
68 string: navigator.userAgent,
72 { string: navigator.userAgent,
99 string: navigator.userAgent,
109 string: navigator.userAgent,
114 string: navigator.userAgent,
120 string: navigator.userAgent,
126 string: navigator.userAgent,
144 string: navigator.userAgent,
/third_party/node/test/parallel/
Dtest-http2-https-fallback-http-server-options.js27 userAgent: request.getUserAgent() property
79 const { alpnProtocol, httpVersion, userAgent } = JSON.parse(raw);
82 assert.strictEqual(userAgent, 'node-test');
/third_party/node/deps/npm/node_modules/npm-registry-fetch/lib/
Ddefault-opts.js9 userAgent: `${pkg.name property
Dindex.js213 'user-agent': opts.userAgent,
/third_party/node/deps/npm/node_modules/supports-color/
Dbrowser.js11 if (/\b(Chrome|Chromium)\//.test(navigator.userAgent)) {
/third_party/node/deps/npm/node_modules/chalk/source/vendor/supports-color/
Dbrowser.js11 if (/\b(Chrome|Chromium)\//.test(navigator.userAgent)) {
/third_party/node/test/fixtures/wpt/resources/
Daccesskey.js16 let isMacOSX = navigator.userAgent.indexOf("Mac") != -1;
/third_party/protobuf/js/compatibility_tests/v3.1.0/
Dmaps_test.js234 if (goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(10)) {
Dmessage_test.js423 !goog.userAgent.IE || goog.userAgent.isVersionOrHigher('10');
465 !goog.userAgent.IE || goog.userAgent.isVersionOrHigher('10');
/third_party/node/deps/npm/node_modules/pacote/lib/
Dremote.js65 'user-agent': this.opts.userAgent ||
Dregistry.js65 'user-agent': this.opts.userAgent ||
/third_party/vk-gl-cts/framework/delibs/coding_guidelines/
Dprettify.js1 function H(){var x=navigator&&navigator.userAgent&&/\bMSIE 6\./.test(navigator.userAgent);H=functio…
/third_party/protobuf/js/
Dmaps_test.js252 if (goog.userAgent.IE && !goog.userAgent.isDocumentModeOrHigher(10)) {
Dmessage_test.js457 !goog.userAgent.IE || goog.userAgent.isVersionOrHigher('10');
511 !goog.userAgent.IE || goog.userAgent.isVersionOrHigher('10');
/third_party/protobuf/js/compatibility_tests/v3.0.0/
Dmessage_test.js467 !goog.userAgent.IE || goog.userAgent.isVersionOrHigher('10');
509 !goog.userAgent.IE || goog.userAgent.isVersionOrHigher('10');
/third_party/node/deps/npm/node_modules/@npmcli/config/lib/definitions/
Ddefinitions.js2230 flatOptions.userAgent =
2246 process.env.npm_config_user_agent = flatOptions.userAgent
/third_party/node/test/fixtures/wpt/interfaces/
Dhtml.idl2025 readonly attribute DOMString userAgent;
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs3799 …if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().m…
3805 …ator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1,…
3806 …typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match…
5646 …if (typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().m…
5652 …ator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/) && parseInt(RegExp.$1,…
5653 …typeof navigator !== "undefined" && navigator.userAgent && navigator.userAgent.toLowerCase().match…

12