commit | 95336cb92b1337d4ad5d2a7fcc7409ec25b4a8ee | [log] [tgz] |
---|---|---|
author | arthursonzogni <arthursonzogni@chromium.org> | Fri May 11 08:34:35 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 11 08:34:35 2018 |
tree | b441a59920d73bb2699127e8eaa43b143ecd4849 | |
parent | 0cda8752adfae2775fb1d046556d1ae6438159f4 [diff] |
Fix test: back-to-redirect-with-frame.php In this test, the following lines looks legitimate, but they are not: ~~~ window.onload = setTimeout(function() { window.location = "resources/go-back.html" }, 10); ~~~ The issue is that setTimeout is executed immediately instead of on load. This CL wraps it into a function. It also reduces the timeout from 10ms to 0ms. Bug: 831155 Change-Id: I7e35fcaeedf918a29fa12ae1f8292d07e08ac213 Reviewed-on: https://chromium-review.googlesource.com/1051908 Reviewed-by: Nate Chapin <japhet@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/master@{#557816}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .