"@google" is not handled when we pass the search string directly to the docshell (due to results being late)
Categories
(Firefox :: Address Bar, defect, P3)
Tracking
()
People
(Reporter: wtds.trabalho, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
When search for something in new page search bar(redirect focus to navbar)
or in urlbar, when paste text em arrow down to Google icon:
The "@google" appears in google search string, shouldn't be ommited?
https://www.google.com/search?client=firefox-b-d&q=%40google+%2Flib64%2Flibnss_files-2.22.so
Example:
https://www.google.com/search?client=firefox-b-d&q=%40google+%2Flib64%2Flibnss_files-2.22.so
Actual results:
Sometimes(I can find precise scenario or action sequence)
The search attached "@google" in query string from navbar search.
Expected results:
Reporting to inform, and make visible if somebody else will have the same problem.
Thanks!
Comment 1•3 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•3 years ago
|
||
Yes, @google should not appear in the search string.
It would be nice to have better detailed steps to reproduce the problem, because I can't reproduce it.
Could you please help us finding at least one reproducible case where this happens?
Reporter | ||
Comment 3•3 years ago
|
||
Hi Marco,
The problem origin is like my others recent bugs, just a slow, versy slow PC.
Please try slowdown your scenario of test or use a limited PC to try reproduce this.
I only can reproduce in moments of high IO disk usage. But there isn't logs or debugs to help find the precise origin of the problem.
Thanks!
Comment 4•3 years ago
•
|
||
I see, I suspect that we cross the UrlbarEventBufferer.jsm 200ms timeout while waiting for the first result, we handle enter directly and just pass the @google something string to the docshell, that can't handle it.
We should add directly handling of @tokens in the fallback code (URIFIxup likely?), and maybe increase the timer a bit.
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Updating qe tracking flags to reflect QA triage decision taken with :mdeboer in QA-Search weekly sync meeting.
Comment 6•3 years ago
|
||
This is similar to Bug 1604927.
Unfortunately, if my theory in comment 4 would be correct, we should land in UrlbarInput::handleCommand and more specifically in UrlbarUtils.getShortcutOrURIAndPostData, that afaict handles token aliases properly. Indeed even with paste & go or escaping the results, I can't reproduce this.
I'm not sure what's up.
Comment 7•3 years ago
|
||
I think this should not happen anymore now that in bug 1636583 I made us always go through a UrlbarResult and not straight to the docshell.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•