Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Issue 12224094: Browser Plugin: Navigating to the same URL after crash should load a new guest (Closed)

Created:
7 years, 10 months ago by Fady Samuel
Modified:
7 years, 10 months ago
Reviewers:
sadrul, lazyboy
CC:
chromium-reviews, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, jam, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Browser Plugin: Navigating to the same URL after crash should load a new guest This patch contains a few other small changes in behavior: 1. Removing the src attribute after navigation in <webview> will immediately restore it. 2. browserPlugin.terminate() will not issue an IPC as long as the BrowserPlugin is in a crashed state. 3. WebViewTest.Shim was misbehaving because it had lingering <webview>s in the DOM all in the same partition and so terminating one webview terminated them all, and caused multiple exit listeners to fire. This was fixed. 4. Fixed a potential infinite loop that could happen if the src attribute is modified while in a crashed state. BUG=175206 Test=WebViewTest.Shim: webViewAssignSrcAfterCrash, webViewRemoveSrcAttribute Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182278

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixed test + bug #

Total comments: 1

Patch Set 3 : Fixed nits + Merged with ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -21 lines) Patch
M chrome/renderer/resources/extensions/web_view.js View 1 2 1 chunk +11 lines, -2 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/web_view/shim/main.js View 1 13 chunks +54 lines, -14 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin.cc View 1 2 4 chunks +8 lines, -4 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_bindings.cc View 2 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Fady Samuel
7 years, 10 months ago (2013-02-11 16:50:30 UTC) #1
lazyboy
One question about the test. https://codereview.chromium.org/12224094/diff/1/chrome/test/data/extensions/platform_apps/web_view/shim/main.js File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): https://codereview.chromium.org/12224094/diff/1/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode84 chrome/test/data/extensions/platform_apps/web_view/shim/main.js:84: webview.parentNode.removeChild(webview); Instead of doing ...
7 years, 10 months ago (2013-02-11 18:23:18 UTC) #2
Fady Samuel
PTAL https://codereview.chromium.org/12224094/diff/1/chrome/test/data/extensions/platform_apps/web_view/shim/main.js File chrome/test/data/extensions/platform_apps/web_view/shim/main.js (right): https://codereview.chromium.org/12224094/diff/1/chrome/test/data/extensions/platform_apps/web_view/shim/main.js#newcode84 chrome/test/data/extensions/platform_apps/web_view/shim/main.js:84: webview.parentNode.removeChild(webview); On 2013/02/11 18:23:18, lazyboy wrote: > Instead ...
7 years, 10 months ago (2013-02-12 20:44:40 UTC) #3
lazyboy
lgtm https://chromiumcodereview.appspot.com/12224094/diff/7/chrome/renderer/resources/extensions/web_view.js File chrome/renderer/resources/extensions/web_view.js (right): https://chromiumcodereview.appspot.com/12224094/diff/7/chrome/renderer/resources/extensions/web_view.js#newcode161 chrome/renderer/resources/extensions/web_view.js:161: if (newValue != oldValue) Needs {} around if ...
7 years, 10 months ago (2013-02-12 21:50:37 UTC) #4
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
7 years, 10 months ago (2013-02-13 15:59:34 UTC) #5
Fady Samuel
+sadrul for committer rubberstamp.
7 years, 10 months ago (2013-02-13 16:03:42 UTC) #6
sadrul
LGTM
7 years, 10 months ago (2013-02-13 16:13:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/12224094/11001
7 years, 10 months ago (2013-02-13 16:13:58 UTC) #8
commit-bot: I haz the power
7 years, 10 months ago (2013-02-13 19:10:59 UTC) #9
Message was sent while issue was closed.
Change committed as 182278

Powered by Google App Engine
This is Rietveld 408576698