Closed
Bug 1131026
Opened 10 years ago
Closed 10 years ago
nsITextInputProcessor.init(ForTests) should be renamed to nsITextInputProcessor.beginInputTransaction(ForInit)
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Core
DOM: UI Events & Focus Handling
Tracking
()
RESOLVED
FIXED
mozilla38
Tracking | Status | |
---|---|---|
firefox38 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
Details
(Keywords: dev-doc-complete, inputmethod)
Attachments
(1 file)
(deleted),
patch
|
smaug
:
review+
smaug
:
superreview+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
I agree with your idea. The names are a little bit long, but it's not so problem.
Similarly, "notify-detached" should be renamed to "notify-end-input-transaction".
Attachment #8561377 -
Flags: superreview?(bugs)
Attachment #8561377 -
Flags: review?(bugs)
Comment 2•10 years ago
|
||
Comment on attachment 8561377 [details] [diff] [review]
Patch
>+ * initForTest(), first. See beginInputTransaction() for more detail of this.
s/initForTest/beginInputTransactionForTests/
So it is not clear to me whether we need this, if init() just worked as expected.
But either way.
Attachment #8561377 -
Flags: superreview?(bugs)
Attachment #8561377 -
Flags: superreview+
Attachment #8561377 -
Flags: review?(bugs)
Attachment #8561377 -
Flags: review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Olli Pettay [:smaug] from comment #2)
> Comment on attachment 8561377 [details] [diff] [review]
> Patch
>
> >+ * initForTest(), first. See beginInputTransaction() for more detail of this.
> s/initForTest/beginInputTransactionForTests/
Oops, thanks! (I used replace of my editor but the comment misspelled...)
> So it is not clear to me whether we need this, if init() just worked as
> expected.
> But either way.
The method name, begin input transaction, sounds better to me because:
* the name is clearer what they do.
* the notification name is also clearer, especially the relation between the notification and these methods.
* it's better name to grep the method ;-) (init() is defined by a lot of classes!)
I'll land it, but if you have additional objections, I'll back it out.
Assignee | ||
Comment 4•10 years ago
|
||
Keywords: dev-doc-needed
Comment 5•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox38:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
Assignee | ||
Comment 6•10 years ago
|
||
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsITextInputProcessor
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsITextInputProcessorCallback
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•