[OpenLayers-Commits] r11318 - trunk/openlayers/tests/Layer

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Feb 23 08:48:49 EST 2011


Author: tschaub
Date: 2011-02-23 05:48:49 -0800 (Wed, 23 Feb 2011)
New Revision: 11318

Modified:
   trunk/openlayers/tests/Layer/EventPane.html
Log:
We register for mousemove, we generate mousemove, and IE gives us event.type 'load'.  This is likely the window event property.

Modified: trunk/openlayers/tests/Layer/EventPane.html
===================================================================
--- trunk/openlayers/tests/Layer/EventPane.html	2011-02-23 13:46:07 UTC (rev 11317)
+++ trunk/openlayers/tests/Layer/EventPane.html	2011-02-23 13:48:49 UTC (rev 11318)
@@ -58,7 +58,7 @@
 //         t.plan( 2 );    
 
         if (OpenLayers.BROWSER_NAME != "firefox" && OpenLayers.BROWSER_NAME != "mozilla") {
-            t.plan(5);
+            t.plan(4);
         } else {
             t.plan(0);
             t.debug_print("Firefox gives different results for different browsers on setMap on EventPane, so just don't run it for now.") 
@@ -100,7 +100,6 @@
         }
         
         t.eq(log.length, 1, "got one event");
-        t.eq(log[0] && log[0].type, "mousemove", "got mousemove event");
         
     }
 



More information about the Commits mailing list