Closed Bug 910899 Opened 11 years ago Closed 11 years ago

Inconsistent references to plugin placeholder elements

Categories

(Toolkit :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla26

People

(Reporter: neil, Assigned: neil)

References

Details

Attachments

(1 file)

Some of the plugin placeholder elements are accessed by class name and some by anonid. We should be consistent and access everything by anonid. This bug is to cover the first step of adding anonid to the elements that need it but don't yet have it. Then each application can switch their front-end code from class name to anonid.
Attached patch Proposed patchSplinter Review
I guess the other alternative would be to switch everyone over to using the existing class names and remove all of the anonids. We even have the helper function getPluginUI for this, although we don't use it everywhere for some reason.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #797489 - Flags: review?(jaws)
Can you update the references to the class names to point to the new anonid's?
(In reply to Jared Wein from comment #2)
> Can you update the references to the class names to point to the new
> anonid's?

I wanted to do that in followup bugs (one for each application).
Attachment #797489 - Flags: review?(jaws) → review+
https://hg.mozilla.org/mozilla-central/rev/af2e93b2f712
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Blocks: 914609
Blocks: 914610
Blocks: 914611
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: