[Bug 16917] snapToLines should throw InvalidStateError if the new value is false and "line" is negative or greater than 100

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16917

--- Comment #1 from Simon Pieters <simonp@opera.com> 2012-05-03 11:59:09 UTC ---
Currently this throws:

cue.snapToLines = false;
cue.line = -1; // throws IndexSizeError

but this doesn't throw:

cue.snapToLines = true;
cue.line = -1;
cue.snapToLines = false; // this should not be allowed

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 3 May 2012 11:59:16 UTC