Closed Bug 63370 Opened 24 years ago Closed 5 years ago

ensure bottom-up (anonymous content first) construction of xbl objects

Categories

(Core :: XBL, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX
mozilla1.1alpha

People

(Reporter: jag+mozbugs, Unassigned)

Details

(Whiteboard: [XBL1.0])

Attachments

(1 file)

966 bytes, application/xhtml+xml
Details
<binding> <content> <xul:stringbundle sbattr="foo" src="..."/> <content> <handlers> <handler event="bindingattached"> <![CDATA[ var bundle = this.getElementByAttribute("sbattr", "foo"); dump(bundle.getString("bar")+"\n"); ]]> </handler> </handlers> <implementation> // ... implement getElementByAttribute </implementation> <binding> This will give a JS error along the lines of getString not being implemented on bundle.
->moz0.9/p3
Priority: -- → P3
Target Milestone: --- → mozilla0.9
->future
Target Milestone: mozilla0.9 → Future
Status: NEW → ASSIGNED
Whiteboard: [XBL1.0]
Target Milestone: Future → mozilla1.1
Summary: ensure bottom-up bindingattached firing → ensure bottom-up (anonymous content first) construction of xbl objects
Jag, is this still an issue? We should be firing the attached handlers for anonymous content before firing the attached handler for the binding itself, last I checked....
Attached file testcase
You need to download the testcase locally to get it working. This works for me, but it also works in Mozilla1.0.2, so maybe this testcase isn't testing the right thing?
Because there is some code in Mozilla that works around this bug, but if it isn't a bug anymore, those workarounds should be removed: http://lxr.mozilla.org/seamonkey/search?string=bug+63370
QA Contact: jrgmorrison → xbl
Assignee: hyatt → nobody
This is a mass change. Every comment has "assigned-to-new" in it. I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW

XBL is now disabled in Firefox (Bug 1583314) and is in the process of being removed from Gecko (Bug 1566221), so closing bugs requesting changes to its implementation as wontfix.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: