|
|
bindings: Use CreateDataProperty() instead of ForceSet()
We use ForceSet() to avoid executing user-provided JS while running
callbacks, but ForceSet() is deprecated because it is difficult to
use properly. Use CreateDataProperty() instead. It is a safer way to
do that.
BUG= 475206
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197156
Total comments: 2
Total comments: 3
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+119 lines, -121 lines) |
Patch |
 |
M |
Source/bindings/core/v8/CustomElementConstructorBuilder.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/ScriptValueSerializer.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+9 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/V8LazyEventListener.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/V8ObjectBuilder.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/WindowProxy.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/inspector/V8InjectedScriptHost.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/modules/v8/V8BindingForModules.cpp
|
View
|
1
2
3
4
5
|
4 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/v8_attributes.py
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/dictionary_v8.cpp
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface.cpp
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/templates/interface_base.cpp
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestDictionary.cpp
|
View
|
1
2
|
1 chunk |
+44 lines, -45 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestDictionaryDerived.cpp
|
View
|
|
1 chunk |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterface.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceCheckSecurity.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceEventInit.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestInterfaceNamedConstructor.cpp
|
View
|
1
2
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
2
3
4
5
|
8 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestPermissiveDictionary.cpp
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/core/V8TestTypedefs.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/modules/V8TestInterface5.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/modules/V8TestInterfacePartial.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/ImageData.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 22 (4 generated)
|