Description<browser> Disable browser plugin in content_shell by default.
This means I had to move the flag that forcefully enables browser plugin everywhere from chrome/ to content/.
Reasoning for the change:
Enabling browser plugin in regular pages (other than apps), breaks same origin policy: The embedder is allowed to inject javascript: URLs into the browser plugin, and it will soon be able to call executeScript. That means the embedder can do whatever it wants with the guest.
The concern is also true for content_shell, since anyone who embeds Chrome is facing a similar risk if they don't disable the browser plugin.
BUG=154360
TEST=Tested with content_shell, by default browser plugin doesn't load anymore. content_browsertests would also not run, made the change to enable them.
Ran Tests:
content_browsertests:BrowserPluginHostTest*
content_browsertests:BrowserPluginTest*
browser_tests:BrowserTag*
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161142
Patch Set 1 #Patch Set 2 : Sort one include and arg in a list. #
Total comments: 4
Patch Set 3 : Address comments from creis@ #Patch Set 4 : Sync @tott + fix one include order. #Messages
Total messages: 8 (0 generated)
|