Created attachment 261039 [details] [diff] [review]
The current code we have to implement output mediatype in the trunk won't work on the branches. Per comment in bug 376817, we probably shouldn't change the anonymous content's DOM while the XBL is attaching which is what we are currently doing for output with mediatype.
Testcase to verify the fix is listed in URL and here: https://bugzilla.mozilla.org/attachment.cgi?id=232362
This patch uses a setTimeout call to set the value of the underlying anonymous content.
Comment on attachment 261039 [details] [diff] [review]
>+ // FF 1.5 or FF 2. Wo we'll wait a tick before changing it here.
s/Wo/So when you check in please :)
Created attachment 261054 [details] [diff] [review]
fixes Doron's nit
checked into trunk
checked into 1.8 branch on 2007-04-12
checked into 1.8.0 branch on 2007-04-16