Closed Bug 1500320 Opened 7 years ago Closed 7 years ago

browser.omnibox doesn't support special characters, specifically forward slash (/) in keyword like Chrome does.

Categories

(WebExtensions :: General, defect, P3)

62 Branch
defect

Tracking

(firefox65 verified)

VERIFIED FIXED
mozilla65
Tracking Status
firefox65 --- verified

People

(Reporter: sean.thomas.burke, Assigned: sean.thomas.burke, Mentored)

Details

(Keywords: good-first-bug)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:62.0) Gecko/20100101 Firefox/62.0 Steps to reproduce: I added the keyword "go/" to the "browser.omnibox" value in the manifest.json. Actual results: Firefox throws an error when trying to load the manifest file. "There was an error during installation: Extension is invalid" Expected results: I would expect the keyword "go/" to compile in the manifest.json without errors, and for Firefox to trigger omnibox search when this keyword is entered. This currently works in Chrome, but does not work in Firefox.
Priority: -- → P3
If this is your first contribution, please see https://wiki.mozilla.org/WebExtensions/Contribution_Onramp for how to get started. Mentor: Rob Wu
Mentor: rob
Hi Rob, I would like to take on this bug.
Hey Sean! I just assigned you to this bug. Feel free to needinfo Rob if you need any help!
Assignee: nobody → sean.thomas.burke
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Previously the omnibox keyword would not allow trailing slashes, such as go/ Chrome allows this keyword, and Firefox should allow this too.
Keywords: checkin-needed
Pushed by nbeleuzu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3417713c053 Updating the omnibox keyword regex to allow trailing slashes r=robwu,aswan
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Thanks for the patch, Sean! Your contribution has been added to our recognition wiki: https://wiki.mozilla.org/Add-ons/Contribute/Recognition Would you be interested in creating a profile on mozillians.org? I'd be happy to vouch for you!
Attached image Bug1500320.png
I was able to reproduce this issue on Firefox 63.0.3(20181114214635) under Win 7 64-bit and Mac OS X 10.13.6. This issue is verified as fixed on Firefox 65.0a1(20181205102000) under Win 7 64-bit and Mac OS X 10.13.6. Please see the attached screenshot.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: