Chromium Code Reviews
DescriptionOmnibox Logging - Clear Both Counterfactual Bits on ResetSession() Call
It's weird to have the triggered bit set while the triggered_in_session
bit is not set. This can happen in weird edge conditions. For example,
type something in tab A, type something else in tab B where this
something else triggers the field trial, switch back to tab A and
press enter to navigate without typing anything new. The switching tabs
will cause a ResetSession() call, clearing the triggered_in_session bit.
Yet the triggered bit does not get cleared; it only gets set/reset upon
user typing (i.e., a call to SearchProvider). Thus, we have this
inconsistency.
Really, conceptually if we send ResetSession() calls at the appropriate
times, it should clear all the bits.
BUG=593434
Committed: https://crrev.com/1b55e348738d640be85412d8400e3cb5ef46d52e
Cr-Commit-Position: refs/heads/master@{#382181}
Patch Set 1 #Patch Set 2 : update test #
Messages
Total messages: 18 (8 generated)
|
||||||||||||||||||||||||||||