Closed
Bug 415060
Opened 16 years ago
Closed 16 years ago
menu.appendItem and .insertItemAt should return the new menuitem
Categories
(Toolkit :: XUL Widgets, defect)
Toolkit
XUL Widgets
Tracking
()
RESOLVED
FIXED
People
(Reporter: sevenfurnace, Assigned: sevenfurnace)
References
Details
Attachments
(1 file, 2 obsolete files)
5.35 KB,
patch
|
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008013103 Minefield/3.0b3pre According to nsIDOMXULContainerElement.idl, appendItem and insertItemAt return nsIDOMXULElement, but on latest trunk, these method return nothing. Reproducible: Always
Assignee | ||
Updated•16 years ago
|
Version: unspecified → Trunk
Updated•16 years ago
|
Version: Trunk → unspecified
Updated•16 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Updated•16 years ago
|
Version: unspecified → Trunk
Assignee | ||
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
the patch looks ok
Updated•16 years ago
|
Attachment #300983 -
Flags: review?(neil)
Updated•16 years ago
|
Attachment #300983 -
Flags: review?(neil) → review+
Updated•16 years ago
|
Assignee: nobody → sevenfurnace
Updated•16 years ago
|
Attachment #300983 -
Flags: approval1.9?
Comment 3•16 years ago
|
||
Drivers: this is a simple, no-risk API correctness fix for the patch landed in bug 372552. Surkov: can we get the testcase from bug 372552 (attachment 259102 [details]) landed, and add a test for this bug to it?
Blocks: 372552
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Comment 4•16 years ago
|
||
(In reply to comment #3) > Surkov: can we get the testcase from bug 372552 (attachment 259102 [details]) landed, and > add a test for this bug to it? > I'll put mochitest under content/tests/widgets
Comment 5•16 years ago
|
||
Attachment #301245 -
Flags: review?(neil)
Comment 6•16 years ago
|
||
Comment on attachment 301245 [details] [diff] [review] mochitest Looks good, but use the 'is' function instead of 'ok'. As in: is(menu.itemCount, 2, "blah blah"); Also, use consistent spacing around the parentheses.
Attachment #301245 -
Flags: review?(neil) → review+
Comment 7•16 years ago
|
||
Attachment #300983 -
Attachment is obsolete: true
Attachment #301245 -
Attachment is obsolete: true
Attachment #301269 -
Flags: approval1.9?
Attachment #300983 -
Flags: approval1.9?
Comment 8•16 years ago
|
||
Comment on attachment 301269 [details] [diff] [review] combined patch a1.9+=damons
Attachment #301269 -
Flags: approval1.9? → approval1.9+
Updated•16 years ago
|
Keywords: checkin-needed
Comment 9•16 years ago
|
||
checked in
You need to log in
before you can comment on or make changes to this bug.
Description
•