summaryrefslogtreecommitdiffstats
path: root/sdch
diff options
context:
space:
mode:
authorskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 19:54:56 +0000
committerskyostil@chromium.org <skyostil@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 19:55:59 +0000
commit5d024270823d70d1f773b560634844fd1c9cf0bb (patch)
tree61853d01ebf2616b32ca5a0c3dceb791a6029fb1 /sdch
parent30853fe419fccc6eabdc0a21dc90febe20a2a941 (diff)
downloadchromium_src-5d024270823d70d1f773b560634844fd1c9cf0bb.zip
chromium_src-5d024270823d70d1f773b560634844fd1c9cf0bb.tar.gz
chromium_src-5d024270823d70d1f773b560634844fd1c9cf0bb.tar.bz2
Ensure npapi plugin is loaded before clicking on it
PluginTest.SelfDeletePluginInvokeInSynchronousMouseUp loads a page with a plugin and then simulates a mouse click on the plugin. Because the page load event can fire before the plugin has actually finished loading, the test can fail when the mouse event ends up getting sent too soon. This patch improves the test by ensuring the plugin has been loaded. As <embed> does not support a generic onload listener (each plugin needs to implement one separately), we instead set a dummy property on the object, which, as a side effect, forces the plugin to load synchronously. BUG=391005 Review URL: https://codereview.chromium.org/487863002 Cr-Commit-Position: refs/heads/master@{#290637} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290637 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
0 files changed, 0 insertions, 0 deletions