Closed
Bug 1462285
Opened 7 years ago
Closed 7 years ago
Remove const nsIChannel in XULBrowserWindow.onStateChange
Categories
(Firefox :: Tabbed Browser, enhancement, P3)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 62
Tracking | Status | |
---|---|---|
firefox62 | --- | fixed |
People
(Reporter: dao, Assigned: lucas05, Mentored)
Details
(Keywords: good-first-bug, Whiteboard: [lang=js])
Attachments
(1 file)
1.19 KB,
patch
|
dao
:
review+
|
Details | Diff | Splinter Review |
The nsIChannel constant is used only once, and we should just use Ci.nsIChannel directly there:
https://searchfox.org/mozilla-central/rev/d4b9e50875ad7e5d20f2fee6a53418315f6dfcc0/browser/base/content/browser.js#4702,4735
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to lucas05 from comment #1)
> Hi, can I work on this?
> It will be my first bug :)
Sure! Do you have the source code? Have you built Firefox yet? Let me know if you have questions.
Assignee: nobody → lucas05
Hi Dão (nice name for a developer :)
I've built firefox, and I've made the change. What should i do for pushing my code?
Reporter | ||
Comment 4•7 years ago
|
||
You can attach the patch as a file to this bug: https://bugzilla.mozilla.org/attachment.cgi?bugid=1462285&action=enter
Or you can push to MozReview: https://mozilla-version-control-tools.readthedocs.io/en/latest/mozreview-user.html
I want to attach the patch to the bug for now, cause the MozReview process is time consuming.
I've to commit my changes first right? Do I need to create a branch first?
Reporter | ||
Comment 6•7 years ago
|
||
You can use hg export after committing, or you could use hg diff without committing first.
I've made the change in the browser.js file. But when I use hg diff or hg status, I have no output.
Do you know why?
Reporter | ||
Comment 8•7 years ago
|
||
(In reply to lucas05 from comment #7)
> I've made the change in the browser.js file. But when I use hg diff or hg
> status, I have no output.
> Do you know why?
Likely because you committed. What does hg export give you?
Reporter | ||
Comment 10•7 years ago
|
||
(In reply to lucas05 from comment #9)
> It shows the change I've made :)
You can save it to a patch file like this:
hg export > /path/to/patch.diff
Assignee | ||
Comment 11•7 years ago
|
||
Reporter | ||
Comment 12•7 years ago
|
||
Comment on attachment 8981777 [details] [diff] [review]
patch.diff
Looks good, thanks!
Attachment #8981777 -
Flags: review+
Comment 13•7 years ago
|
||
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/efd5c0553e73
Remove const nsIChannel in XULBrowserWindow.onStateChange. r=dao
Comment 14•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 62
You need to log in
before you can comment on or make changes to this bug.
Description
•