Bug 1775917 Comment 23 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

I think it's because the Persist Search tip is appearing. Kind of strange that it only popped up recently.

Here is the log when I get a test failure on TH:
```
[task 2023-05-29T12:26:31.940Z] 12:26:31     INFO - GECKO(20387) | console.log: Result: {"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"url":null,"postData":null,"type":7,"source":5,"heuristic":false,"autofill":false,"image":"chrome://global/skin/icons/lightbulb.svg","title":"","tags":[],"displayed":{"title":"Searching just got simpler. Try making your search more specific here in the address bar. To show the URL instead, visit Search, in settings.","action":"","url":"","typeIcon":"none"},"element":{"action":{},"row":{"_elements":{},"_buttons":{},"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"_content":{}},"separator":{},"title":{"_tooltip":""},"url":{"_tooltip":""}}}
```
I'll submit a patch which disables the search tip for this test. Perhaps though we might want a more long term solution and disable it on all search tests in the search directory.
I think it's because the Persist Search tip is appearing. Kind of strange that it only popped up recently.

Here is the log of the results of the urlbar from `getFirstSuggestionIndex` when I get a test failure on TH:
```
[task 2023-05-29T12:26:31.940Z] 12:26:31     INFO - GECKO(20387) | console.log: Result: {"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"url":null,"postData":null,"type":7,"source":5,"heuristic":false,"autofill":false,"image":"chrome://global/skin/icons/lightbulb.svg","title":"","tags":[],"displayed":{"title":"Searching just got simpler. Try making your search more specific here in the address bar. To show the URL instead, visit Search, in settings.","action":"","url":"","typeIcon":"none"},"element":{"action":{},"row":{"_elements":{},"_buttons":{},"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"_content":{}},"separator":{},"title":{"_tooltip":""},"url":{"_tooltip":""}}}
```
I'll submit a patch which disables the search tip from appearing in this test.
I think it's because the Persist Search tip is appearing. Kind of strange that it only popped up recently.

Here is the log of the results of the urlbar from `getFirstSuggestionIndex` when I get a test failure on TH:
```
[task 2023-05-29T12:26:31.940Z] 12:26:31     INFO - GECKO(20387) | console.log: Result: {"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"url":null,"postData":null,"type":7,"source":5,"heuristic":false,"autofill":false,"image":"chrome://global/skin/icons/lightbulb.svg","title":"","tags":[],"displayed":{"title":"Searching just got simpler. Try making your search more specific here in the address bar. To show the URL instead, visit Search, in settings.","action":"","url":"","typeIcon":"none"},"element":{"action":{},"row":{"_elements":{},"_buttons":{},"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"_content":{}},"separator":{},"title":{"_tooltip":""},"url":{"_tooltip":""}}}
```
It's strange that it's appearing in this situation when we haven't hit a search page yet.
I think it's because the Persist Search tip is appearing. Kind of strange that it only popped up recently.

Here is the log of the results of the urlbar from `getFirstSuggestionIndex` when I get a test failure on TH:
```
[task 2023-05-29T12:26:31.940Z] 12:26:31     INFO - GECKO(20387) | console.log: Result: {"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"url":null,"postData":null,"type":7,"source":5,"heuristic":false,"autofill":false,"image":"chrome://global/skin/icons/lightbulb.svg","title":"","tags":[],"displayed":{"title":"Searching just got simpler. Try making your search more specific here in the address bar. To show the URL instead, visit Search, in settings.","action":"","url":"","typeIcon":"none"},"element":{"action":{},"row":{"_elements":{},"_buttons":{},"result":{"type":7,"source":5,"rowIndex":0,"heuristic":false,"exposureResultType":"","exposureResultHidden":false,"payload":{"type":"searchTip_persist","buttons":[{"l10n":{"id":"urlbar-search-tips-confirm-short"}}],"icon":"chrome://global/skin/icons/lightbulb.svg","titleL10n":{"id":"urlbar-search-tips-persist"}},"payloadHighlights":{"type":[],"buttons":[],"icon":[]},"providerName":"UrlbarProviderSearchTips","providerType":2},"_content":{}},"separator":{},"title":{"_tooltip":""},"url":{"_tooltip":""}}}
```
It's strange that it's appearing in this situation when we haven't hit a search page yet.

Will continue investigating.

Back to Bug 1775917 Comment 23