From 3b7577c2d5c81ad5bf0aff0e979c5ed9989fbf58 Mon Sep 17 00:00:00 2001 From: Simon Montagu Date: Tue, 10 Mar 2009 14:07:33 -0700 Subject: [PATCH] Use onload instead of setTimeout to reduce random test failures. Bug 482455, r=bz --- intl/uconv/tests/test_unicode_noncharacterescapes.html | 5 ++--- intl/uconv/tests/test_unicode_noncharacters_gb18030.html | 5 ++--- intl/uconv/tests/test_unicode_noncharacters_utf8.html | 5 ++--- intl/uconv/tests/test_utf8_overconsumption.html | 2 +- 4 files changed, 7 insertions(+), 10 deletions(-) diff --git a/intl/uconv/tests/test_unicode_noncharacterescapes.html b/intl/uconv/tests/test_unicode_noncharacterescapes.html index c0005e6a420..4b14f7d661d 100644 --- a/intl/uconv/tests/test_unicode_noncharacterescapes.html +++ b/intl/uconv/tests/test_unicode_noncharacterescapes.html @@ -10,14 +10,14 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=445886 - +
 
 
diff --git a/intl/uconv/tests/test_unicode_noncharacters_gb18030.html b/intl/uconv/tests/test_unicode_noncharacters_gb18030.html index bbbbf374739..9e44d35e9e8 100644 --- a/intl/uconv/tests/test_unicode_noncharacters_gb18030.html +++ b/intl/uconv/tests/test_unicode_noncharacters_gb18030.html @@ -11,13 +11,13 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=445886 - +

 
diff --git a/intl/uconv/tests/test_unicode_noncharacters_utf8.html b/intl/uconv/tests/test_unicode_noncharacters_utf8.html index 07dc0f4e19a..6a9a04e9fb4 100644 --- a/intl/uconv/tests/test_unicode_noncharacters_utf8.html +++ b/intl/uconv/tests/test_unicode_noncharacters_utf8.html @@ -10,14 +10,14 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=445886 - +
 
 
diff --git a/intl/uconv/tests/test_utf8_overconsumption.html b/intl/uconv/tests/test_utf8_overconsumption.html index db9ede2ecf7..a79496efb7a 100644 --- a/intl/uconv/tests/test_utf8_overconsumption.html +++ b/intl/uconv/tests/test_utf8_overconsumption.html @@ -23,7 +23,7 @@ function Inject() /** test that UTF-8 decoding resynchronizes after incomplete sequences */ function test() { - ok($("display").innerHTML == "All good.", "No overconsumption"); + is($("display").innerHTML, "All good.", "No overconsumption"); SimpleTest.finish(); }