Opened 10 years ago

Closed 10 years ago

#15472 closed defect (fixed)

dojox/gfx: utils (test_utils.html) failure on toSvg() test (IE8)

Reported by: bill Owned by: Patrick Ruzand
Priority: undecided Milestone: 1.8
Component: DojoX GFX Version: 1.7.2
Keywords: dohfail Cc:
Blocked By: Blocking:


    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);
									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=\"\"") !== -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.");
							return d;
						} FAILED test: ../../dojox/gfx/tests/test_utils.html::GFX: Utils Tests::toSvg 10016 ms

Change History (4)

comment:1 Changed 10 years ago by bill

Keywords: dohfail added

comment:2 Changed 10 years ago by Patrick Ruzand

Owner: changed from Eugene Lazutkin to Patrick Ruzand
Status: newassigned

comment:3 Changed 10 years ago by Patrick Ruzand

Milestone: tbd1.8

comment:4 Changed 10 years ago by Patrick Ruzand

Resolution: fixed
Status: assignedclosed

In [28902]:

fix toSvg() crash under ie7/8. Fix <image> svg serialization. fixes #15472 !strict

Note: See TracTickets for help on using tickets.