Dan Korostelev před 11 roky
rodič
revize
2626907aa6
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      tests/unit/src/unit/issues/Issue3480.hx

+ 2 - 1
tests/unit/src/unit/issues/Issue3480.hx

@@ -3,7 +3,8 @@ package unit.issues;
 class Issue3480 extends Test {
     function test() {
         #if js
-        eq("{\n\ttoString : 1\n}", Std.string({toString: 1}));
+        if (!js.Browser.supported || js.Browser.navigator.userAgent.indexOf('MSIE 8') == -1) // IE8 doesn't like toString fields at all
+            eq("{\n\ttoString : 1\n}", Std.string({toString: 1}));
         #end
     }
 }