summaryrefslogtreecommitdiffstats
path: root/content/test/data
diff options
context:
space:
mode:
authorlazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-04 21:01:55 +0000
committerlazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-04 21:01:55 +0000
commit1eb20dc0d43246cf72314618dcd55f43cce37a47 (patch)
tree37930850e2f17b4aa36fa6a2103dbf6943471cd9 /content/test/data
parent9bf21b9b50fac8bea492145820bab4aeeb7c12ce (diff)
downloadchromium_src-1eb20dc0d43246cf72314618dcd55f43cce37a47.zip
chromium_src-1eb20dc0d43246cf72314618dcd55f43cce37a47.tar.gz
chromium_src-1eb20dc0d43246cf72314618dcd55f43cce37a47.tar.bz2
<browser> Make new implementation the default.
Old implementation will be togglable by a flag kEnableBrowserPluginOldImplementation. There are two js shims to create shadow DOM for two implementations, since we need to handle src differently in new path. This would also fix src attribute setting behavior in apps for the new path. Pending 1. Write tests to verify set src attribute fix for apps in new implementation path. BUG=153629,142379 TESTED=BrowserTest tests pending. Checked with platform app: a. set src initially. b. set src later via js using element.src c. set src later via js using elem.setAttribute('src', ...) Review URL: https://chromiumcodereview.appspot.com/11052019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160225 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/test/data')
-rw-r--r--content/test/data/browser_plugin_embedder.html2
-rw-r--r--content/test/data/browser_plugin_embedder_crash.html2
-rw-r--r--content/test/data/browser_plugin_focus.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/content/test/data/browser_plugin_embedder.html b/content/test/data/browser_plugin_embedder.html
index 5348b72..c2a0b82 100644
--- a/content/test/data/browser_plugin_embedder.html
+++ b/content/test/data/browser_plugin_embedder.html
@@ -34,7 +34,7 @@ document.title = 'embedder';
<object id="plugin"
tabindex="0"
- type="application/new-browser-plugin"
+ type="application/browser-plugin"
width="640"
height="480"
border="0px"></object>
diff --git a/content/test/data/browser_plugin_embedder_crash.html b/content/test/data/browser_plugin_embedder_crash.html
index fd066e5..fa425d4 100644
--- a/content/test/data/browser_plugin_embedder_crash.html
+++ b/content/test/data/browser_plugin_embedder_crash.html
@@ -13,5 +13,5 @@ function SetSize(w, h) {
<!-- The plugin size is same as the browser's size -->
<object id="plugin"
tabindex="0"
- type="application/new-browser-plugin"
+ type="application/browser-plugin"
style="height: 100%; width: 100%; border: 0px"></object>
diff --git a/content/test/data/browser_plugin_focus.html b/content/test/data/browser_plugin_focus.html
index 280de3c..9d47cf3 100644
--- a/content/test/data/browser_plugin_focus.html
+++ b/content/test/data/browser_plugin_focus.html
@@ -12,7 +12,7 @@
<button id="before" tabindex="0">Before</button>
<object id="plugin"
tabindex="0"
- type="application/new-browser-plugin"
+ type="application/browser-plugin"
width="640"
height="480"
border="0px"></object>