Nika Layzell wrote on 09.08.19 19:33:

>    Wait for document loads to complete before trying to run code inside the
>    target window, as a process switch may occur after the frame or browser is
>    created. For frames in content, this usually means waiting for the load
>    event.

While working to get the new screenshot API into Marionette I noticed a
couple of problems, which were all related to page load events inside
OOP iframes.

The underlying reason is that the top-browsing context doesn't wait yet,
until all the documents of OOP frames have been finished loading. See
bug 1559841.

Please be aware of that if you run into intermittent failures.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to