https://bugzilla.wikimedia.org/show_bug.cgi?id=50746

--- Comment #6 from Brad Jorsch <[email protected]> ---
@Krinkle: This is the issue from bug 47457 again. The fix we put in place then
only avoided the problem for modules in the bottom queue, and now ULS is doing
things in the top queue (i.e. ext.uls.init calls mw.loader.using and also has
CSS) to trigger it from there.

The basic problem is that document.write cannot be safely called from inside a
setTimeout's callback, no matter when in the document it fires. Bug 47872
comment 2 has details. It's also unsafe from <script async>, of course, but
modern browsers check for that and raise an error instead of replacing the
document. When called synchronously, document.write is safe even at the very
end of the document.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to