Closed
Bug 591026
Opened 14 years ago
Closed 14 years ago
popupnotification element IDs are too generic
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
VERIFIED
FIXED
mozilla2.0b5
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta5+ |
People
(Reporter: Gavin, Assigned: Gavin)
Details
(Whiteboard: [has reviewed patch][doorhanger])
Attachments
(1 file, 5 obsolete files)
(deleted),
patch
|
Dolske
:
review+
|
Details | Diff | Splinter Review |
People use generic words like "geolocation" for notification IDs, without really considering that this gets used as-is for the popupnotification element's ID. I think we should append "-notification" to the ID we use for that to avoid potential ID-conflict issues.
(This won't affect the notification ID itself, just what we use for the ID attribute. So people overriding the popupnotification binding by ID will need to adjust their CSS accordingly.)
Assignee | ||
Comment 1•14 years ago
|
||
Assignee | ||
Comment 2•14 years ago
|
||
blocking2.0: --- → beta5+
Assignee | ||
Comment 3•14 years ago
|
||
Attachment #469584 -
Attachment is obsolete: true
Attachment #469587 -
Flags: review?(dolske)
Attachment #469584 -
Flags: review?(dtownsend)
Comment 4•14 years ago
|
||
Comment on attachment 469587 [details] [diff] [review]
correct patch
r=sdwilsh
Attachment #469587 -
Flags: review?(dolske) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Attachment #469587 -
Attachment is obsolete: true
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•14 years ago
|
||
I forgot that the id is inherited by the icon (as "popupid")... That makes changing this much more troublesome, since it affects all the styling as well. I think WONTFIX :(
https://hg.mozilla.org/mozilla-central/rev/988b28c714ca
Resolution: FIXED → WONTFIX
Comment 8•14 years ago
|
||
(In reply to comment #7)
> I forgot that the id is inherited by the icon (as "popupid")
Adjusting this is trivial, no?
Comment 9•14 years ago
|
||
Attachment #469590 -
Attachment is obsolete: true
Attachment #469839 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 10•14 years ago
|
||
Comment on attachment 469839 [details] [diff] [review]
like this
Hmm, yeah. There are also test changes to make (checkPopup in browser_popupNotification.js needs to use notificationObj.id+"-notification"). With that the tests should pass
Attachment #469839 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Updated•14 years ago
|
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Assignee | ||
Comment 11•14 years ago
|
||
Attachment #469839 -
Attachment is obsolete: true
Assignee | ||
Comment 12•14 years ago
|
||
Attachment #469904 -
Attachment is obsolete: true
Attachment #469924 -
Flags: review?(dolske)
Comment 13•14 years ago
|
||
Comment on attachment 469924 [details] [diff] [review]
with tested test fixes
rs=me. (what, me worry?)
Attachment #469924 -
Flags: review?(dolske) → review+
Updated•14 years ago
|
Whiteboard: [has reviewed patch]
Assignee | ||
Comment 14•14 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla2.0b5
You need to log in
before you can comment on or make changes to this bug.
Description
•