|
Remove leak of objects between isolated worlds on custom events, message events, and pop state events.
This stops both a security leak between isolated worlds as well as a memory leak.
This includes updates to the code generator as well to generalize this fix to the three different event types.
BUG= 85158
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153701
Total comments: 30
Total comments: 11
Total comments: 7
Total comments: 16
Total comments: 28
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+257 lines, -85 lines) |
Patch |
 |
M |
LayoutTests/fast/events/constructors/custom-event-constructor.html
|
View
|
1
2
3
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/events/constructors/custom-event-constructor-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/events/event-isolated-world.html
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/events/event-isolated-world-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/events/event-properties-gc.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/events/event-properties-gc-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/CodeGeneratorV8.pm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+19 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestEventConstructor.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/Dictionary.h
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/Dictionary.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8HiddenPropertyName.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8CustomEventCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+35 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8MessageEventCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
4 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8PopStateEventCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomEvent.h
|
View
|
1
4
5
6
7
|
2 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomEvent.cpp
|
View
|
1
4
5
6
7
|
3 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/CustomEvent.idl
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/MessageEvent.h
|
View
|
1
4
5
6
7
|
7 chunks |
+4 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/MessageEvent.cpp
|
View
|
1
4
5
6
7
|
4 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/PopStateEvent.h
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+1 line, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/PopStateEvent.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 31 (0 generated)
|