Closed
Bug 486137
Opened 15 years ago
Closed 15 years ago
less xpconnect stuff in browser.js
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: taras.mozilla, Assigned: taras.mozilla)
References
Details
Attachments
(1 file)
5.23 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
this halves the amount of time spent in resizehandler during fake resizes and otherwise speeds things up.
Attachment #370222 -
Flags: review?(mark.finkle)
Updated•15 years ago
|
Attachment #370222 -
Flags: review?(mark.finkle) → review+
Comment 1•15 years ago
|
||
Comment on attachment 370222 [details] [diff] [review] less .interfaces .classes nonsense and some resize stuff > // Cache the override service the first time we need to check it > if (!this._overrideService) >- this._overrideService = Components.classes["@mozilla.org/security/certoverride;1"] >- .getService(Components.interfaces.nsICertOverrideService); >+ this._overrideService = Cc["@mozilla.org/security/certoverride;1"] >+ .getService(Ci.nsICertOverrideService); put .getService on the same line as the Cc > toggleAllowPopupsForSite: function (aEvent) > { > var currentURI = Browser.selectedBrowser.webNavigation.currentURI; >- var pm = Components.classes["@mozilla.org/permissionmanager;1"] >+ var pm = Cc["@mozilla.org/permissionmanager;1"] > .getService(this._kIPM); put .getService on the same line as the Cc
Comment 2•15 years ago
|
||
did this land?
Comment 3•15 years ago
|
||
yep: http://hg.mozilla.org/mobile-browser/rev/24e8e65471f7
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•15 years ago
|
Assignee: nobody → tglek
You need to log in
before you can comment on or make changes to this bug.
Description
•