mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
fe3b7d1fcb
Looks like onload event is not enough, so we still have intermittents. Based on the suggestion in html spec: https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-decode We decode the image in parallel, and only inserting it into the DOM (and thus causing it to be painted) once the decoding process is complete. Because the decode() method attempts to ensure that the decoded image data is available for at least one frame, it can be combined with the requestAnimationFrame() API. This means it can be used with coding styles or frameworks that ensure that all DOM modifications are batched together as animation frame callbacks. Hope this could reduce the occurrence rate of this intermittent. Differential Revision: https://phabricator.services.mozilla.com/D35732 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
awsy | ||
config | ||
crashtest | ||
extensions | ||
firefox-ui | ||
geckodriver | ||
gtest | ||
jsshell | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
raptor | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
webdriver | ||
xpcshell | ||
addtest.py | ||
cppunittest.ini | ||
mach_commands.py | ||
moz.build | ||
parse_build_tests_ccov.py | ||
README.txt | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff