Trying to reenable test for bug 488417, with a test change to hopefully make the orange go away.
authorBoris Zbarsky <bzbarsky@mit.edu>
Tue, 21 Apr 2009 19:53:13 -0400
changeset 27589 b4dd3013fea637d93f359c11e294519d545c6f9e
parent 27588 83b59076910c431c1a8393a5b9d2caa5aa314ed1
child 27590 6a452e522e0775c1993c41085fb2851acd3aaf5b
push id6633
push userbzbarsky@mozilla.com
push dateTue, 21 Apr 2009 23:53:26 +0000
treeherdermozilla-central@b4dd3013fea6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs488417
milestone1.9.2a1pre
Trying to reenable test for bug 488417, with a test change to hopefully make the orange go away.
layout/generic/test/Makefile.in
layout/generic/test/test_bug488417.html
--- a/layout/generic/test/Makefile.in
+++ b/layout/generic/test/Makefile.in
@@ -70,19 +70,19 @@ include $(topsrcdir)/config/rules.mk
 		test_bug405178.html \
 		test_bug416168.html \
 		test_bug421436.html \
 		test_bug448860.html \
 		test_bug460532.html \
 		test_bug468167.html \
 		test_bug469613.xul \
 		test_bug470212.html \
+		test_bug488417.html \
 		test_movement_by_characters.html \
 		test_movement_by_words.html \
 		test_plugin_clipping.xhtml \
 		test_selection_underline.html \
 		$(NULL)
 # disabled temporarily
 # 		test_plugin_position.xhtml \
-#		test_bug488417.html \
 
 libs:: $(_TEST_FILES)
 	$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
--- a/layout/generic/test/test_bug488417.html
+++ b/layout/generic/test/test_bug488417.html
@@ -41,16 +41,18 @@ SimpleTest.waitForExplicitFinish();
 
 addLoadEvent(function() {
   // Do the test async so we can unsuppress painting
   SimpleTest.executeSoon(function() {
     clickIt($("a"));
     clickIt($("b"));
     clickIt($("a"));
     ok(1, "Got here");
+    // Clean up
+    window.getSelection().removeAllRanges();
     SimpleTest.finish();
   });
 });
 
 
 </script>
 </pre>
 </body>