Closed Bug 1502039 Opened 2 years ago Closed 2 years ago

Move addToUrlbarHistory, getShortcutOrURIAndPostData and getPostDataStream to UrlbarUtils

Categories

(Firefox :: Address Bar, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Whiteboard: [fxsearch])

Attachments

(1 file)

addToUrlbarHistory, getShortcutOrURIAndPostData and getPostDataStream are all global functions that are currently defined on the browser window, but don't interact with elements of the window.

For the new Urlbar, we are accessing these from jsm files. It would seem better to move these to UrlbarUtils, as they don't need to be in the browser window, and it will provide better scoping for them.
Whiteboard: [fx-search]
Whiteboard: [fx-search] → [fxsearch]
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7ba779ebed43
Move addToUrlbarHistory, getShortcutOrURIAndPostData and getPostDataStream to UrlbarUtils. r=mak
https://hg.mozilla.org/mozilla-central/rev/7ba779ebed43
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.