Closed
Bug 1440247
Opened 6 years ago
Closed 6 years ago
Move gIdentityHandler into its own file
Categories
(Firefox :: Site Identity, enhancement, P3)
Tracking
()
RESOLVED
FIXED
Firefox 61
People
(Reporter: johannh, Assigned: prathiksha)
References
Details
Attachments
(1 file)
gIdentityHandler occupies over a 1000 lines of browser.js, it should really be in its own browser-identity.js file.
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → prathikshaprasadsuman
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Comment 2•6 years ago
|
||
"identity" is a bit overloaded. browser-siteIdentity.js maybe? Also, please use hg copy to create that new file.
Reporter | ||
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8962722 [details] Bug 1440247 - Move gIdentityHandler into its own file (browser-siteIdentity.js). https://reviewboard.mozilla.org/r/231592/#review237610 I concur with dao, browser-siteidentity.js seems like a better name. I also agree that it would be better to hg cp browser.js browser-siteidentity.js and then just remove the non-gIdentityHandler code (this way we preserve blame and it's easier to review). Thanks! ::: browser/base/content/global-scripts.inc:16 (Diff revision 1) > Components.utils.import("resource://gre/modules/Services.jsm"); > > for (let script of [ > "chrome://browser/content/browser.js", > > + "chrome://browser/content/browser-identity.js", Please put this in the correct alphabetic position. ::: browser/base/jar.mn:50 (Diff revision 1) > content/browser/aboutTabCrashed.js (content/aboutTabCrashed.js) > content/browser/aboutTabCrashed.xhtml (content/aboutTabCrashed.xhtml) > * content/browser/browser.css (content/browser.css) > content/browser/browser.js (content/browser.js) > * content/browser/browser.xul (content/browser.xul) > + content/browser/browser-identity.js (content/browser-identity.js) Please put this in the correct alphabetic position.
Attachment #8962722 -
Flags: review?(jhofmann)
Reporter | ||
Comment 4•6 years ago
|
||
err, or siteIdentity, I don't really care about the case there :)
Comment hidden (mozreview-request) |
Reporter | ||
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8962722 [details] Bug 1440247 - Move gIdentityHandler into its own file (browser-siteIdentity.js). https://reviewboard.mozilla.org/r/231592/#review238754 Thanks!
Attachment #8962722 -
Flags: review?(jhofmann) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by prathikshaprasadsuman@gmail.com: https://hg.mozilla.org/integration/autoland/rev/01a947310989 Move gIdentityHandler into its own file (browser-siteIdentity.js). r=johannh
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/01a947310989
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•