|
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
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177920
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+174 lines, -69 lines) |
Patch |
|
M |
LayoutTests/fast/css/shorthand-setProperty-important.html
|
View
|
1
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css/shorthand-setProperty-important-expected.txt
|
View
|
1
2
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/Comment/comment-constructor.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/Comment/comment-constructor-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/DOMImplementation/createHTMLDocument-optional-title-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value.html
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/HTMLDialogElement/dialog-return-value-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/NodeIterator/NodeIterator-basic.html
|
View
|
1
|
2 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/NodeIterator/NodeIterator-basic-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/Text/text-constructor.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/Text/text-constructor-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/TreeWalker/TreeWalker-basic.html
|
View
|
1
|
2 chunks |
+16 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/TreeWalker/TreeWalker-basic-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/Window/alert-undefined-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/Window/custom-constructors-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/encoding/api/basics.html
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/forms/resources/common-setrangetext.js
|
View
|
1
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/forms/search/search-setrangetext-expected.txt
|
View
|
1
2
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/forms/setrangetext-expected.txt
|
View
|
1
|
5 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/forms/textarea/textarea-setrangetext-expected.txt
|
View
|
1
2
|
2 chunks |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/js/custom-constructors-expected.txt
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/js/script-tests/custom-constructors.js
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/workers/resources/shared-worker-name.js
|
View
|
|
6 chunks |
+15 lines, -32 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/workers/shared-worker-name-expected.txt
|
View
|
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/media/encrypted-media/encrypted-media-istypesupported.html
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/templates/methods.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
1
2
3
|
10 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|