On 11/26/15 9:24 PM, Robert O'Callahan wrote:
We've always done it, but I can't think of any good reasons.
I've tried to fix this in the past and ran into two problems.
The first problem was that some tests failed as a result. This is
somewhat minor, really.
The second problem, pointed out by the first, is that some tests stopped
testing what they mean to be testing, because all of our reftests and
crashtests assume layout gets flushed onload, so they can test dynamic
behavior by doing stuff after that.
See https://bugzilla.mozilla.org/show_bug.cgi?id=581685 for details. I
haven't had a chance to get back and really figure this out, though we
should.
I seem to recall that one reason was we want onload to be usable to measure
page-load-and-layout time, but that would be a bad reason.
I agree this is a non-reason.
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform