mbille46 / scriptno

Automatically exported from code.google.com/p/scriptno
0 stars 0 forks source link

SVG xlink:href error common.js #214

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a webpage with an SVG-image.
2. Create a link in the svg-image example: "<a 
xlink:href='link/to/my/page.html'>"

What is the expected output? What do you see instead?
I expect no errors in the chrome log but it creates one like this:

"Uncaught TypeError: Object #<SVGAnimatedString> has no method 'toLowerCase'"

What version of the product are you using? On what operating system?
1.0.6.13

Please provide any additional information below.
The error occures when the function "thirdParty" is called in common.js (line 
22).

You might check if the attribute is "href" or "xlink:href" befor calling 
"toLowerCase".

Original issue reported on code.google.com by s.lundm...@gmail.com on 27 May 2013 at 1:38