|
Overload resolution: ignore extra arguments
2.5 year old bug, now an easy fix.
Implement this step of the algorithm:
2. Initialize argcount to be min(maxarg, n).
This should be safe: it just allows looser calls (JS-style), and does not
change any existing correct calls.
R=haraken, jsbell
BUG= 102925
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174181
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+81 lines, -84 lines) |
Patch |
 |
M |
LayoutTests/fast/canvas/canvas-overloads-drawImage-expected.txt
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/canvas-overloads-setFillColor-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/canvas-overloads-setShadow-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/canvas-overloads-setStrokeColor-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/script-tests/canvas-overloads-drawImage.js
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/script-tests/canvas-overloads-setFillColor.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/script-tests/canvas-overloads-setShadow.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/canvas/script-tests/canvas-overloads-setStrokeColor.js
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/js/resources/select-options-remove.js
|
View
|
1
|
3 chunks |
+19 lines, -20 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/js/select-options-remove-expected.txt
|
View
|
1
|
2 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/vibration/vibration-exceptions.html
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/vibration/vibration-exceptions-expected.txt
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface.cpp
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/methods.cpp
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceConstructor.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
1
|
19 chunks |
+19 lines, -19 lines |
0 comments
|
Download
|
Total messages: 13 (0 generated)
|