Closed
Bug 1334989
Opened 9 years ago
Closed 9 years ago
ActorsParent.cpp : Parameters are named differently in declaration vs implementation in AutoSavepoint::Start
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla54
| Tracking | Status | |
|---|---|---|
| firefox54 | --- | fixed |
People
(Reporter: andi, Assigned: dwivediaakar, Mentored)
References
(Blocks 1 open bug)
Details
(Keywords: good-first-bug, Whiteboard: [lang=C++])
Attachments
(1 file, 4 obsolete files)
|
555 bytes,
patch
|
janv
:
review+
janv
:
checkin+
|
Details | Diff | Splinter Review |
A good first bug for a beginner:
here:
https://dxr.mozilla.org/mozilla-central/source/dom/indexedDB/ActorsParent.cpp?q=%2Bfunction%3A%22mozilla%3A%3Adom%3A%3AindexedDB%3A%3A%28anonymous+namespace%29%3A%3ADatabaseConnection%3A%3AAutoSavepoint%3A%3AStart%28const+mozilla%3A%3Adom%3A%3AindexedDB%3A%3A%28anonymous+namespace%29%3A%3ATransactionBase+%2A%29%22&redirect_type=single#11348
The parameter name from the declaration differs from the parameter name from the definition.
| Assignee | ||
Comment 1•9 years ago
|
||
(In reply to Andi-Bogdan Postelnicu from comment #0)
> A good first bug for a beginner:
> here:
>
> https://dxr.mozilla.org/mozilla-central/source/dom/indexedDB/ActorsParent.
> cpp?q=%2Bfunction%3A%22mozilla%3A%3Adom%3A%3AindexedDB%3A%3A%28anonymous+name
> space%29%3A%3ADatabaseConnection%3A%3AAutoSavepoint%3A%3AStart%28const+mozill
> a%3A%3Adom%3A%3AindexedDB%3A%3A%28anonymous+namespace%29%3A%3ATransactionBase
> +%2A%29%22&redirect_type=single#11348
>
> The parameter name from the declaration differs from the parameter name from
> the definition.
Hi,
I modified the code, and the build was successful on my machine.
Is this much enough to check the code.
If yes, then How do I commit the changes to mozilla code base?
If no, then kindly tell me the next steps.
Flags: needinfo?(bpostelnicu)
| Reporter | ||
Comment 2•9 years ago
|
||
Hello,
Great to hear this. You need to attach your patch to this bug and ask for a review from the module owner. A list with the module owners can be found here:
https://wiki.mozilla.org/Modules/All
If the patch is accepted then you need to mark it as checkin-needed.
Flags: needinfo?(bpostelnicu)
| Assignee | ||
Comment 3•9 years ago
|
||
I have changed the definition of the function
``` nsresult
DatabaseConnection::
AutoSavepoint::Start(const TransactionBase* aTransaction) ```
to
```nsresult
DatabaseConnection::
AutoSavepoint::Start(const TransactionBase* aConnection)```
and changed the name inside the function definition block too.
Flags: needinfo?(jvarga)
Attachment #8831736 -
Flags: review?(jvarga)
Attachment #8831736 -
Flags: review?(btseng)
Attachment #8831736 -
Flags: checkin+
Comment 4•9 years ago
|
||
Comment on attachment 8831736 [details] [diff] [review]
ActorsParent.cpp
Several things:
* please provide a diff
* please ask only to a single person, don't need more people for a simple patch
* checkin is not needed
* don't need to needinfo on top of review
Flags: needinfo?(jvarga)
Attachment #8831736 -
Flags: review?(jvarga)
Attachment #8831736 -
Flags: review?(btseng)
Attachment #8831736 -
Flags: checkin+
| Assignee | ||
Comment 5•9 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #4)
> Comment on attachment 8831736 [details] [diff] [review]
> ActorsParent.cpp
>
> Several things:
> * please provide a diff
> * please ask only to a single person, don't need more people for a simple
> patch
> * checkin is not needed
> * don't need to needinfo on top of review
Thank you for the suggestions.
Do i need to submit the patch again?
and
How do i provide a diff?
| Assignee | ||
Comment 6•9 years ago
|
||
Function definition changed.
Attachment #8831736 -
Attachment is obsolete: true
Attachment #8831751 -
Flags: review?(jvarga)
Comment 7•9 years ago
|
||
Comment on attachment 8831751 [details] [diff] [review]
my.diff
Review of attachment 8831751 [details] [diff] [review]:
-----------------------------------------------------------------
I'm sorry, but I think we shouldn't change the definition like this. aTransaction makes perfect sense, so change aConnection to aTransaction in the declaration instead.
Thanks.
Attachment #8831751 -
Flags: review?(jvarga)
| Assignee | ||
Comment 8•9 years ago
|
||
Function declaration changed.
Attachment #8831751 -
Attachment is obsolete: true
Attachment #8831990 -
Flags: review?(jvarga)
Comment 9•9 years ago
|
||
Comment on attachment 8831990 [details] [diff] [review]
my.diff
Review of attachment 8831990 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8831990 -
Flags: review?(jvarga) → review+
| Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8831990 [details] [diff] [review]
my.diff
Check-in needed.
Attachment #8831990 -
Flags: checkin?(jvarga)
| Reporter | ||
Updated•9 years ago
|
Keywords: checkin-needed
| Reporter | ||
Updated•9 years ago
|
Attachment #8831990 -
Flags: checkin?(jvarga) → checkin-
| Reporter | ||
Comment 11•9 years ago
|
||
checkin-needed Must be added to keywords field.
| Assignee | ||
Comment 12•9 years ago
|
||
(In reply to Andi-Bogdan Postelnicu from comment #11)
> checkin-needed Must be added to keywords field.
ohkk
So, only mentors and Module owners can change the keywords right?
| Reporter | ||
Comment 13•9 years ago
|
||
I think you can change keywords as well.
Updated•9 years ago
|
Assignee: nobody → dwivediaakar
Updated•9 years ago
|
Attachment #8831990 -
Attachment is obsolete: true
Updated•9 years ago
|
Attachment #8831990 -
Attachment is obsolete: false
Attachment #8831990 -
Flags: checkin-
Comment 14•9 years ago
|
||
Please attach a patch that includes proper commit information when requesting checkin.
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Keywords: checkin-needed
| Assignee | ||
Comment 15•9 years ago
|
||
Attachment #8831990 -
Attachment is obsolete: true
Attachment #8833604 -
Flags: review?(jvarga)
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 16•9 years ago
|
||
Comment on attachment 8833604 [details] [diff] [review]
Parameter in the declaration of the function made same as the parameter in definition
Review of attachment 8833604 [details] [diff] [review]:
-----------------------------------------------------------------
You need to add reviewer's name or nick, to the commit message, "; r=janv" in this case.
So it should be:
Bug 1334989 - Parameter in the declaration of the function made same as the one in definition of the function; r=janv
Attachment #8833604 -
Flags: review?(jvarga) → review+
| Assignee | ||
Comment 17•9 years ago
|
||
Reviewer added in the commit message.
Attachment #8833604 -
Attachment is obsolete: true
Attachment #8833605 -
Flags: review?(jvarga)
Comment 18•9 years ago
|
||
Comment on attachment 8833605 [details] [diff] [review]
Parameter in the declaration of the function made same as the parameter in definition
Review of attachment 8833605 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks!
Attachment #8833605 -
Flags: review?(jvarga) → review+
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 19•9 years ago
|
||
Comment on attachment 8833605 [details] [diff] [review]
Parameter in the declaration of the function made same as the parameter in definition
checkin-needed
keyword added
Attachment #8833605 -
Flags: checkin?(jvarga)
Comment 20•9 years ago
|
||
Pushed by jvarga@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f39d89313f10
Parameter in the declaration of the function made same as the one in definition of the function; r=janv
Keywords: checkin-needed
Updated•9 years ago
|
Attachment #8833605 -
Flags: checkin?(jvarga) → checkin+
Comment 21•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Updated•7 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•