Closed Bug 956626 Opened 10 years ago Closed 10 years ago

Button doesn't like add-on IDs with dots

Categories

(Add-on SDK Graveyard :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jryans, Assigned: jryans)

References

Details

Attachments

(1 file)

ui/button/view.js creates a buttonPrefix from the add-on ID, which is then passed into CustomizableUI as the widget ID.  However, "." is not allowed in a widget ID, so these should be converted to "-dot-" as they are in resource paths.
Priority: -- → P1
I just comment the PR: it could be better if we can cover all the scenarios and uniform the code with the toolbar's one.
Updated the PR as suggested.
Attachment #8355987 - Flags: review?(zer0) → review+
Commits pushed to master at https://github.com/mozilla/addon-sdk

https://github.com/mozilla/addon-sdk/commit/f8d0410bae6a0193e6ed882a08121d82538f8602
Bug 956626 - Convert periods to text in widget IDs. r=zer0

https://github.com/mozilla/addon-sdk/commit/b7b11bad726c16a3e906f66a29b4208cc71e03e2
Merge pull request #1333 from jryans/button-view-id

fix Bug 956626 - Convert periods to text in widget IDs r=@ZER0
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: