IDL: Treat undefined as missing for optional arguments with defaults

For optional arguments with defaults, treat undefined as missing simply
by checking 'info[N].IsUndefined()' instead of 'N <= info.Length()'.

This works since V8's indexing operator returns an undefined value for
all out-of-range indexes.

Changes in behavior that had (or now has) testing coverade matches
Firefox (Nightly), except in the case of WebKitCSSMatrix's constructor,
which Firefox naturally doesn't have.

BUG=335871

Review URL: https://codereview.chromium.org/373043004

git-svn-id: svn://svn.chromium.org/blink/trunk@177857 bbb929c8-8fbe-4397-9dbb-9b2b20218538
30 files changed
tree: 2b68c76020a9d7e1fd7d0ed7347b887f990571f7
  1. third_party/