-
Fredrik Söderquist authored
In external/wpt/svg/geometry/svg-image-intrinsic-size-with-cssstyle-auto.html an image could have finished loading before we attached the 'load' handler to it, which would've cause the test to time out. Wait for the window 'load' event instead (for all the images) to close this race window. Minor touch ups (var->const, < -> <, indentation, trailing comma) were applied as well. Bug: 1364327 Change-Id: Ie1eb46d6d8bdb7b24d66293908555b3f7db417d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3900016 Auto-Submit: Fredrik Söderquist <fs@opera.com> Reviewed-by:
Philip Rogers <pdr@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1048026}
Fredrik Söderquist authoredIn external/wpt/svg/geometry/svg-image-intrinsic-size-with-cssstyle-auto.html an image could have finished loading before we attached the 'load' handler to it, which would've cause the test to time out. Wait for the window 'load' event instead (for all the images) to close this race window. Minor touch ups (var->const, < -> <, indentation, trailing comma) were applied as well. Bug: 1364327 Change-Id: Ie1eb46d6d8bdb7b24d66293908555b3f7db417d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3900016 Auto-Submit: Fredrik Söderquist <fs@opera.com> Reviewed-by:
Philip Rogers <pdr@chromium.org> Commit-Queue: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1048026}
Loading