dojox/gfx: utils (test_utils.html) failure on toSvg() test (IE8)
Error: test timeout in ../../dojox/gfx/tests/test_utils.html::GFX: Utils Tests::toSvg ERROR IN: function(){
var d = new doh.Deferred();
var def= dojox.gfx.utils.toSvg(drawing);
def.addCallback(function(svg){
try{
doh.assertTrue(svg != null, "Checking that non-null was returned.");
ta.value = svg;
doh.assertTrue(svg.length > 0, "Checking that svg length > 0");
var low = svg.toLowerCase();
doh.assertTrue(low.indexOf("<svg") === 0, "Checking that the string starts with SVG open tag.");
doh.assertTrue(low.indexOf("xmlns:xlink=\"http://www.w3.org/1999/xlink\"") !== -1, "Checking the xmlns:xlink attribute.");
doh.assertFalse(/\s+href\s*=/g.test(low), "Checking there's no href attributes.");
doh.assertTrue(low.indexOf("xlink:href=") !== -1, "Checking the xlink:href attribute.");
doh.assertTrue(svg.indexOf("__gfxObject__") === -1, "Checking __gfxObject__ attribute cleanup.");
d.callback(true);
}catch(e){
d.errback(e);
}
});
def.addErrback(function(e){
d.errback(e);
});
return d;
} FAILED test: ../../dojox/gfx/tests/test_utils.html::GFX: Utils Tests::toSvg 10016 ms
Change History (4)
Owner: |
changed from Eugene Lazutkin to Patrick Ruzand
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
In [28902]: