Revision: 10354
Author:   [email protected]
Date:     Mon Jun 20 09:21:01 2011
Log: Disabling test for null on getBrowserById for DOM elements without DTD when running on Chrome 11 and beyond

Review at http://gwt-code-reviews.appspot.com/1462805

http://code.google.com/p/google-web-toolkit/source/detail?r=10354

Modified:
 /trunk/user/test/com/google/gwt/xml/client/XMLTest.java

=======================================
--- /trunk/user/test/com/google/gwt/xml/client/XMLTest.java Mon May 9 11:41:57 2011 +++ /trunk/user/test/com/google/gwt/xml/client/XMLTest.java Mon Jun 20 09:21:01 2011
@@ -217,8 +217,8 @@

     // we didn't define a dtd, so no id for us
     Element e1NodeDirect = d.getElementById("e1Id");
-    // Chrome 11 and 12 fail to implement this behavior
-    if (!Window.Navigator.getUserAgent().matches(".*Chrome/1[12]\\..*")) {
+    // Chrome 11 and up fail to implement this behavior
+ if (!Window.Navigator.getUserAgent().matches(".*Chrome/(1[1-9]| [2-9][0-9])\\..*")) {
       assertNull(e1NodeDirect);
     }

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to