[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kupu-checkins
Subject:    [kupu-checkins] r14611 - kupu/trunk/ecmaunit
From:       guido () codespeak ! net
Date:       2005-07-13 9:14:40
Message-ID: 20050713091440.7617827B5E () code1 ! codespeak ! net
[Download RAW message or body]

Author: guido
Date: Wed Jul 13 11:14:38 2005
New Revision: 14611

Modified:
   kupu/trunk/ecmaunit/ecmaunit.js
Log:
Added toString() call before a .split() on exception, fix for problem with
Opera.


Modified: kupu/trunk/ecmaunit/ecmaunit.js
==============================================================================
--- kupu/trunk/ecmaunit/ecmaunit.js	(original)
+++ kupu/trunk/ecmaunit/ecmaunit.js	Wed Jul 13 11:14:38 2005
@@ -366,7 +366,7 @@
                 var exception = exceptions[i][2].toString();
                 var raw = exceptions[i][3];
                 var div = this.document.createElement('div');
-                var lines = exception.split('\n');
+                var lines = exception.toString().split('\n');
                 var text = this.document.createTextNode(
                     testcase + '.' + attr + ', exception ');
                 div.appendChild(text);

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic