|
|
Fix scripting during NPP_Destroy. Note that if the plugin is making a call to the renderer so this instance is in the callstack, destruction will have to be asynchronous and so scripting still won't work. This change also fixes use of PluginChannel after it's deleted (if this was the last instance).
BUG= 23713, 23706
TEST=added ui test
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=28141
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+236 lines, -124 lines) |
Patch |
 |
M |
chrome/plugin/npobject_stub.h
|
View
|
|
4 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/plugin/npobject_stub.cc
|
View
|
|
5 chunks |
+13 lines, -12 lines |
1 comment
|
Download
|
 |
M |
chrome/plugin/plugin_channel.cc
|
View
|
|
1 chunk |
+10 lines, -3 lines |
1 comment
|
Download
|
 |
M |
chrome/plugin/webplugin_delegate_stub.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/plugin/webplugin_delegate_stub.cc
|
View
|
|
4 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/webplugin_delegate_proxy.h
|
View
|
|
3 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/renderer/webplugin_delegate_proxy.cc
|
View
|
|
5 chunks |
+21 lines, -26 lines |
2 comments
|
Download
|
 |
A |
chrome/test/data/npapi/ensure_scripting_works_in_destroy.html
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/test/data/npapi/ensure_scripting_works_in_destroy_iframe.html
|
View
|
|
1 chunk |
+33 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/ui/npapi_uitest.cc
|
View
|
|
4 chunks |
+50 lines, -35 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/test/plugin_client.cc
|
View
|
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/test/plugin_npobject_lifetime_test.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/test/plugin_test.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
webkit/glue/plugins/test/plugin_test.cc
|
View
|
|
2 chunks |
+29 lines, -18 lines |
2 comments
|
Download
|
 |
MM |
webkit/glue/plugins/test/plugin_windowed_test.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
MM |
webkit/glue/plugins/test/plugin_windowed_test.cc
|
View
|
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
Total messages: 3 (0 generated)
|