diff options
author | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-09 20:58:41 +0000 |
---|---|---|
committer | fsamuel@chromium.org <fsamuel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-09 20:58:41 +0000 |
commit | fa4d91939c2e7df3e1667dfe2e01f61719543eb0 (patch) | |
tree | 8f8102c283ea573acd2d8afa8f3c828f659d95f5 /chrome/chrome_renderer.gypi | |
parent | 138f97e92ef1b23b7788616605a74e1840cf44d9 (diff) | |
download | chromium_src-fa4d91939c2e7df3e1667dfe2e01f61719543eb0.zip chromium_src-fa4d91939c2e7df3e1667dfe2e01f61719543eb0.tar.gz chromium_src-fa4d91939c2e7df3e1667dfe2e01f61719543eb0.tar.bz2 |
<webview>: Cleanup WebRequest event listeners when embedder destroyed
<webivew> WebRequest event listeners should survive reparenting of the <webview> within the same embedder WebContents. Currently, event listeners are lost when the <webview> is removed from the DOM. This CL solves this problem.
Note that there is still a problem where custom elements break if the original page that created the element is closed. I have written a test that exercises this problem and I've left the test disabled until we fix the problem.
BUG=281551
Test=WebViewTest.Shim_TestWebRequestListenerSurvivesReparenting
Review URL: https://chromiumcodereview.appspot.com/23514016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222090 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_renderer.gypi')
-rw-r--r-- | chrome/chrome_renderer.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_renderer.gypi b/chrome/chrome_renderer.gypi index a4949ee..eb47168 100644 --- a/chrome/chrome_renderer.gypi +++ b/chrome/chrome_renderer.gypi @@ -157,6 +157,8 @@ 'renderer/extensions/web_request_custom_bindings.h', 'renderer/extensions/webstore_bindings.cc', 'renderer/extensions/webstore_bindings.h', + 'renderer/extensions/webview_custom_bindings.cc', + 'renderer/extensions/webview_custom_bindings.h', 'renderer/frame_sniffer.cc', 'renderer/frame_sniffer.h', 'renderer/isolated_world_ids.h', |