in src/config/glean-base.js [246:261]
setDefaultsForProbe(store) {
const state = store.getState();
const { probe } = state;
if (!probe.send_in_pings.includes(state.productDimensions.ping_type)) {
// Try not to pick the 'All' option, at first.
const index = probe.send_in_pings.length > 1 ? 1 : 0;
let newPingtype = probe.send_in_pings[index];
if (
!Object.keys(this.dimensions.ping_type.values).includes(newPingtype)
) {
// We don't know about this ping type, default to 'All'.
newPingtype = '*';
}
store.setDimension('ping_type', newPingtype);
}
},