Closed Bug 1502039 Opened 2 years ago Closed 2 years ago
To Urlbar History, get Shortcut Or URIAnd Post Data and get Post Data Stream to Urlbar Utils
Bug 1502039 - Move addToUrlbarHistory, getShortcutOrURIAndPostData and getPostDataStream to UrlbarUtils. r?mak
46 bytes, text/x-phabricator-request
|Details | Review|
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.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/7ba779ebed43 Move addToUrlbarHistory, getShortcutOrURIAndPostData and getPostDataStream to UrlbarUtils. r=mak
You need to log in before you can comment on or make changes to this bug.