Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XBL constructor order

0 views
Skip to first unread message

Boris Zbarsky

unread,
Nov 3, 2009, 12:46:46 PM11/3/09
to
Bug 526178 [1] was filed yesterday about the fact that between 3.5 and
3.6b1 XBL constructor behavior changed such that the constructor of an
ancestor is fired after the constructors of the descendants, not before.
The claim is that this breaks various existing code. The change was
inadvertent and was made back in March. The new behavior is in fact
inconsistent as to whether ancestor or descendant gets the constructor
firing first in general (e.g. when display:inline is involved), but for
XUL the descendant's constructor is fired first.

It's pretty simple to restore the 3.5 behavior, but that is of course a
somewhat breaking change from b1...

Where do we go from here, for both m-c and 3.6?

-Boris

P.S. Please follow up to mozilla.dev.tech.xbl

P.P.S. Someone please write some exhaustive XBL tests? :(

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=526178

Boris Zbarsky

unread,
Nov 3, 2009, 6:09:01 PM11/3/09
to
On 11/3/09 12:46 PM, Boris Zbarsky wrote:
> Where do we go from here, for both m-c and 3.6?

Current plan is to restore the 3.5 behavior (including for display:none
nodes, which is a bit of a hassle....)

-Boris

Mike Beltzner

unread,
Nov 3, 2009, 6:46:55 PM11/3/09
to Boris Zbarsky, dev-pl...@lists.mozilla.org

I think that's the right plan; I also think we should get it done
before the next beta refresh.

cheers,
mike

Boris Zbarsky

unread,
Nov 3, 2009, 7:58:41 PM11/3/09
to
On 11/3/09 6:46 PM, Mike Beltzner wrote:
> I think that's the right plan; I also think we should get it done before
> the next beta refresh.

I was thinking in "patch by tomorrow" terms; then review and such. Next
beta refresh is the 18th, right?

-Boris

Mike Beltzner

unread,
Nov 3, 2009, 9:14:07 PM11/3/09
to Boris Zbarsky, dev-pl...@lists.mozilla.org

Tomorrow is great. Next beta refresh may be this Friday.

cheers,
mike

Peter Weilbacher

unread,
Nov 4, 2009, 3:26:50 AM11/4/09
to

So there will be another beta? https://wiki.mozilla.org/Platform/2009-11-03
didn't say anything about that...
Peter.

Peter Weilbacher

unread,
Nov 4, 2009, 3:28:41 AM11/4/09
to
On 04/11/09 09:26, Peter Weilbacher wrote:
> So there will be another beta? https://wiki.mozilla.org/Platform/2009-11-03
> didn't say anything about that...

Ah, wait. I think I just didn't understand
will refresh frequently via the Firefox 3.6 beta update channel,
each update will be versioned "3.6b#" and presented as a "revision"
correctly.
P.

0 new messages