Nathaniel Jayme wrote:
> I have a chrome application with two buttons each
> assigning different url to an iframe.
> 
> The iframe can only render the first url assignment
> but successive assignments to the src attribute have
> no effect.
> 
> I am sure that the corrent Url have been assigned as I
> do a dump message to the console.
> 
> The same is true with xulrunner 1.9x (dec 05 release)

Assignments to src attribute don't have immediate effect. Your 
application needs to release UI thread (do a return;), and then wait for 
iframe to load the new URL.

You may use nsIWebProgressListener to watch for load completion.

--
Sergey Yanovich
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to