Closed Bug 1462285 Opened 7 years ago Closed 7 years ago

Remove const nsIChannel in XULBrowserWindow.onStateChange

Categories

(Firefox :: Tabbed Browser, enhancement, P3)

enhancement

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)

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
Hi, can I work on this? It will be my first bug :)
(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?
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?
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?
(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?
It shows the change I've made :)
(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
Attached patch patch.diffSplinter Review
Comment on attachment 8981777 [details] [diff] [review] patch.diff Looks good, thanks!
Attachment #8981777 - Flags: review+
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/efd5c0553e73 Remove const nsIChannel in XULBrowserWindow.onStateChange. r=dao
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.

Attachment

General

Creator:
Created:
Updated:
Size: