diff options
author | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 19:59:38 +0000 |
---|---|---|
committer | rogerta@chromium.org <rogerta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-19 19:59:38 +0000 |
commit | d843cd31b00d652198d49b099074db6db940833d (patch) | |
tree | 50ecb9d11882ff7f48ac50cc8d94826d8b0fa98f /o3d/DEPS | |
parent | 5e073c78e35b9553e0c85b5634a902915b04b756 (diff) | |
download | chromium_src-d843cd31b00d652198d49b099074db6db940833d.zip chromium_src-d843cd31b00d652198d49b099074db6db940833d.tar.gz chromium_src-d843cd31b00d652198d49b099074db6db940833d.tar.bz2 |
The FF CEEE does not inject content scripts into the content window
at initial start up if the page loaded contains iframes.
The problem is that a hash map was being used to track the scripts to run,
and the window object was used as a key. The window of iframes was mapping
to the same entry in the map as the top level window, causing some scripts
to be lost and not run.
The code now puts all scripts to run in an array. As it runs each one, it
sees if the scripts have already been run in the given window. If so, they
are not run again.
BUG=0
TEST=make sure that content scripts are run for the first page loaded into
chrome frame.
Review URL: http://codereview.chromium.org/5188007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66797 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/DEPS')
0 files changed, 0 insertions, 0 deletions