mediawiki-extensions-Popups/tests/node-qunit
Piotr Miazga d07441ec7f getPreviewCountBucket should return unknown when no bucket is found
Under some unknown circumstances getPreviewCountBucket() is called
with a value that is not a -1 or a natural number. When that happens
function returns 'undefined bucket' which causes eventLogging to
fail. I wasn't able to reproduce the issue, it might be specific
to browser/os. The safest way is to return 'unknown' for any other
case.

Bug: T168371
Change-Id: I374bb629762a86ac06a18e775d3c1a14682c9f55
2017-08-15 16:12:26 +02:00
..
changeListeners Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
gateway Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
instrumentation Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
integrations Hygiene: make integrations/mwpopups pure 2017-08-09 16:07:08 +02:00
preview Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
reducers Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
ui Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
actions.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
changeListener.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
container.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
counts.test.js getPreviewCountBucket should return unknown when no bucket is found 2017-08-15 16:12:26 +02:00
experiments.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
formatter.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
integration.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
isEnabled.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
previewBehavior.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
run.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
stubs.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
title.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
userSettings.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00
wait.test.js Use EcmaScript modules instead of common.js modules 2017-07-31 23:05:44 +00:00