Re: Relaxing SVGList* item object equality in Blink/Chromium

On 12/12/13 2:34 PM, Dirk Schulze wrote:
> [1]


Most of the animVal failures I see here are due to the tests expecting 
an exception with == 'NO_MODIFICATION_ALLOWED_ERR'.

The exceptions Gecko throws in this case have == 
NoModificationAllowedError and e.code == 

Chrome also has == NoModificationAllowedError.

And the reason for that is that the DOM spec explicitly calls for that 
behavior.  If you look at the 
error name is "NoModificationAllowedError".

If I fix the test bug so the tests test for the right string, Gecko 
passes the most of the animval tests in question.  The remainder are 
ones like gradientTransformAnimValSetSkewY which actually seem to be 
testing that animated values _can_ be modified.  Which they can't, so 
those tests get exceptions when they try to do it.


Received on Thursday, 12 December 2013 20:01:57 UTC