Closed
Bug 1489765
Opened 6 years ago
Closed 6 years ago
Remove getBoolPref function from utilityOverlay.js
Categories
(Firefox :: General, enhancement, P3)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: dao, Assigned: preeti, Mentored)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file, 1 obsolete file)
+++ This bug was initially created as a clone of Bug #1482200 +++ Now that Services.prefs.getBoolPref takes a default value, we should be able to call that instead of the getBoolPref function from utilityOverlay.js: https://searchfox.org/mozilla-central/search?q=+getBoolPref&case=true&path=browser%2Fbase
Assignee | ||
Comment 1•6 years ago
|
||
Hello! May I please work on this bug if no one else is working on it? To solve this bug, precisely: 1. I need to delete the function named "getBoolPref(prefname, def)" in browser/base/content/utilityOverlay.js 2. Replace all occurences of getBoolPref by Services.prefs.getBoolPref in browser/base/content/utilityOverlay.js and browser/base/content/browser.js Thanks in advance!
Reporter | ||
Comment 2•6 years ago
|
||
(In reply to Preeti[:preeti] from comment #1) > Hello! May I please work on this bug if no one else is working on it? > To solve this bug, precisely: > 1. I need to delete the function named "getBoolPref(prefname, def)" in > browser/base/content/utilityOverlay.js > 2. Replace all occurences of getBoolPref by Services.prefs.getBoolPref in > browser/base/content/utilityOverlay.js and browser/base/content/browser.js > > Thanks in advance! Yep, exactly. :)
Assignee: nobody → preetimukherjee98
Assignee | ||
Comment 3•6 years ago
|
||
MozReview-Commit-ID: 2PBUG8yQIXY Bug#1489765-Remove getBoolPref function from utilityOverlay.js;r?dao
Assignee | ||
Comment 4•6 years ago
|
||
I have submitted a patch for this bug, please do tell me if I need to incorporate some further changes!
Reporter | ||
Comment 5•6 years ago
|
||
There's some more code to remove in browser/base/content/test/contextMenu/browser_utilityOverlay.js. Also, your patch contains unrelated changes in devtools/.
Assignee | ||
Comment 6•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #5) > There's some more code to remove in > browser/base/content/test/contextMenu/browser_utilityOverlay.js. But I do not have this file in the cloned repository : preeti@preeti-Inspiron-5577:~/mozilla-central/browser/base/content/test/contextMenu$ ls browser_contextmenu_linkopen.js subtst_contextmenu_webext.html browser_contextmenu_touch.js test_contextmenu_links.html browser.ini Please help.
Reporter | ||
Comment 7•6 years ago
|
||
browser_utilityOverlay.js was only added a few weeks ago. Is your repository clone up to date?
Assignee | ||
Comment 8•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #7) > browser_utilityOverlay.js was only added a few weeks ago. Is your repository > clone up to date? I tried to up to date my repository, but I am still getting the following output: preeti@preeti-Inspiron-5577:~/mozilla-central$ hg pull https://hg.mozilla.org/mozilla-central pulling from https://hg.mozilla.org/mozilla-central applying clone bundle from https://hg.cdn.mozilla.net/mozilla-central/4df1ba9c741f1cb6661d9f205ad0fedf91d31925.zstd-max.hg adding changesets adding manifests adding file changes added 435325 changesets with 2751623 changes to 461877 files finished applying clone bundle searching for changes no changes found preeti@preeti-Inspiron-5577:~/mozilla-central$ cd browser/base/content/test/contextMenu/ preeti@preeti-Inspiron-5577:~/mozilla-central/browser/base/content/test/contextMenu$ ls browser_contextmenu_linkopen.js subtst_contextmenu_webext.html browser_contextmenu_touch.js test_contextmenu_links.html browser.ini Please do let me know on how to proceed.
Reporter | ||
Comment 9•6 years ago
|
||
Not sure what's going on, maybe make a fresh mozilla-central clone?
Assignee | ||
Comment 10•6 years ago
|
||
Remove getBoolPref function from utilityOverlay.js
Assignee | ||
Comment 11•6 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #9) > Not sure what's going on, maybe make a fresh mozilla-central clone? I have sumitted a new patch as per your suggestion. Please do review and tell me for further improvements!
Assignee | ||
Comment 12•6 years ago
|
||
I have submitted another patch with the required changes earlier today. Please do let me know if I need to incorporate any further changes!
Reporter | ||
Updated•6 years ago
|
Attachment #9007461 -
Attachment is obsolete: true
Reporter | ||
Comment 13•6 years ago
|
||
Comment on attachment 9007847 [details] Bug#1489765-Remove getBoolPref function from utilityOverlay.js;r?dao Dão Gottwald [::dao] has approved the revision.
Attachment #9007847 -
Flags: review+
Reporter | ||
Comment 14•6 years ago
|
||
I pushed this to the try server to run the mochitest-browser-chrome testsuite: https://treeherder.mozilla.org/#/jobs?repo=try&revision=75b050f2b0db4795e452e3bf45ef472ab26e0bbf All green, no failures. Good job!
Comment 15•6 years ago
|
||
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/3cdb4bb1282f Remove getBoolPref function from utilityOverlay.js. r=dao
Comment 16•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3cdb4bb1282f
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Updated•6 years ago
|
Attachment #9007461 -
Attachment is obsolete: false
Updated•6 years ago
|
Attachment #9007461 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #9007847 -
Attachment is obsolete: true
Reporter | ||
Updated•6 years ago
|
Attachment #9007847 -
Attachment is obsolete: false
You need to log in
before you can comment on or make changes to this bug.
Description
•