From b8ccbc57f3167cbf9b9850ccbe8dd01ff7316637 Mon Sep 17 00:00:00 2001 From: yodalee Date: Fri, 6 May 2016 22:54:22 +0800 Subject: [PATCH] use onload in iframe test the iframe test is implemented using setTimeout function Since the iframe already implement load event, replacing timeout function with load event. --- .../tests/mozilla/iframe_contentDocument.html | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/tests/wpt/mozilla/tests/mozilla/iframe_contentDocument.html b/tests/wpt/mozilla/tests/mozilla/iframe_contentDocument.html index 28dd011d2cf..dcbb389fdd6 100644 --- a/tests/wpt/mozilla/tests/mozilla/iframe_contentDocument.html +++ b/tests/wpt/mozilla/tests/mozilla/iframe_contentDocument.html @@ -9,19 +9,11 @@