Fix timeout in update-and-send-events-replacment.html
The handling of iframe load events is finicky as indicated in the open WHATWG issue: https://github.com/whatwg/html/issues/490 This patch switches the wait mechanism to one that is well behaved across browsers. The new process arms the listener before inserting the iframe into the document. Bug: 1059963 Change-Id: I372d4fdae3b270699aedf2c5a4de4429e62f42a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2096782Reviewed-by:Yi Gu <yigu@chromium.org> Commit-Queue: Kevin Ellis <kevers@chromium.org> Cr-Commit-Position: refs/heads/master@{#748853}
Showing
Please register or sign in to comment