From c658c872ec8d2740629edde137241693e9418beb Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 18 Sep 2012 23:24:27 -0400 Subject: [PATCH] Bug 789856. Fire error events on - diff --git a/content/base/test/test_bug789856.html b/content/base/test/test_bug789856.html new file mode 100644 index 00000000000..6cf30a7a42b --- /dev/null +++ b/content/base/test/test_bug789856.html @@ -0,0 +1,42 @@ + + + + + + Test for Bug 789856 + + + + +Mozilla Bug 789856 +

+ +
+
+
+ + diff --git a/content/html/content/test/test_bug371375.html b/content/html/content/test/test_bug371375.html index 3214fb49404..e0e48656c3c 100644 --- a/content/html/content/test/test_bug371375.html +++ b/content/html/content/test/test_bug371375.html @@ -39,7 +39,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=371375 SimpleTest.waitForExplicitFinish(); addLoadEvent(function() { is(load1Called, false, "Load handler should not be called"); - is(error1Called, false, "Error handler should not be called"); + is(error1Called, true, "Error handler should be called"); is(load2Called, true, "Load handler for valid script should be called"); is(error2Called, false, "Error handler for valid script should not be called");