Closed Bug 304933 Opened 19 years ago Closed 17 years ago

When binding is changed then previous implementation and handlers aren't removed from bound element

Categories

(Core :: XBL, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: surkov, Unassigned)

References

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; ru-RU; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 (ax) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b3) Gecko/20050719 SeaMonkey/1.0a I change binding on some element but when binding is changed then implementation and handlers of previous binding is not removed. Reproducible: Always
Attached file bindings (deleted) —
Attached file binding css (deleted) —
Attached file testcase (deleted) —
This is a known issue. The only feasible solution, given xbl:implements, is to disallow removal of bindings which install an implementation (removal of presentation-only bindings is ok, of course). We plan to do just that sometime in the near future, hopefully, and there are bugs on it.
Whiteboard: DUPEME
Progressmeter is one xbl object that in the current code changes it's binding based on state. It never gets deleted. This uncovered bug 352260.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whoops, that was supposed to be bug 363163
Fixed in bug 398135 and bug 403162.
Status: NEW → RESOLVED
Closed: 17 years ago
Depends on: 398135, 403162
Resolution: --- → FIXED
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: