From 436f92e09b45a0deb389d72b634d3123dcd82e64 Mon Sep 17 00:00:00 2001 From: Henrik Ingo Date: Sun, 4 Mar 2018 14:39:13 +0200 Subject: [PATCH] Another attempt at fixing the race issue in tests for Chrome. Seems like setting iframe.src to a dummy value causes Chrome to trigger the onLoad event when it 404s. --- test/helpers.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/test/helpers.js b/test/helpers.js index a1521cc18..5df30fcaf 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -17,7 +17,6 @@ var loadIframe = function( src, assert, callback ) { fix.innerHTML = [ '\n', '