|
Make length property return useful values for DOM bindings functions
The length property of JavaScript functions (and constructors) from DOM bindings
was always returning 0. This patch makes Blink return useful values instead and
matches the behavior of both Safari/JSC and Firefox.
BUG= 231469
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=148663
Total comments: 5
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+277 lines, -125 lines) |
Patch |
|
M |
LayoutTests/fast/js/constructor-length.html
|
View
|
1
|
2 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/js/constructor-length-expected.txt
|
View
|
1
|
1 chunk |
+36 lines, -36 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/function-length.html
|
View
|
1
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/js/function-length-expected.txt
|
View
|
1
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/CodeGeneratorV8.pm
|
View
|
1
2
3
|
3 chunks |
+29 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/IDLParser.pm
|
View
|
1
2
3
|
6 chunks |
+30 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8Float64Array.cpp
|
View
|
1
2
3
|
3 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestActiveDOMObject.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestCallback.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestCustomNamedGetter.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestEventConstructor.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestEventTarget.cpp
|
View
|
1
2
3
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestException.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
1
2
3
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestMediaQueryListListener.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestNamedConstructor.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestNode.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObj.cpp
|
View
|
1
2
3
|
3 chunks |
+49 lines, -47 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestOverloadedConstructors.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8DOMConfiguration.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8DOMConfiguration.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/MutationObserver.idl
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/fileapi/Blob.idl
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/DOMFormData.idl
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/ArrayBuffer.idl
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/canvas/DataView.idl
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/page/DOMPoint.idl
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/xml/XMLHttpRequest.idl
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 32 (0 generated)
|