Per my previous comment, and what is currently spec'd in HTML5, I would expect this to not throw either; making it an invalid test. Oddly, Chrome's behavior is at odds with both HTML5 and WebIDL in this case: they seem to coerce the number into a date as if:
input.valueAsDate = new Date(123);
Implementation bug, I think.