summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/user_script_idle_scheduler.h
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 22:18:48 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 22:18:48 +0000
commit9503ca35d3f9ecd86f4766baf4ad9216fef70527 (patch)
treeaa63670ef4778ca470139b066a98dcaf14218949 /chrome/renderer/user_script_idle_scheduler.h
parentac8d3cddcd7edecf01b2b9d3f4e4b34160f7fc44 (diff)
downloadchromium_src-9503ca35d3f9ecd86f4766baf4ad9216fef70527.zip
chromium_src-9503ca35d3f9ecd86f4766baf4ad9216fef70527.tar.gz
chromium_src-9503ca35d3f9ecd86f4766baf4ad9216fef70527.tar.bz2
Render crash in FormManager::FindCachedFormElement()
To address the vulnerability of stale WebFrame pointers in the FormManager's cache this CL changes the cache from a map (with the WebFrame pointer as "key") to a flat vector of simplified "FormElement*" items. To avoid leaking memory, we need to still observe |frameDetached|, and use that as a signal to reap any associated WebFormElements or WebFormControlElements. BUG=48857 TEST=FormMananagerTest.*, and manual test of regular form filling, form filling a form with sub-iframes, and form filling a form with sub-frames. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60949 Review URL: http://codereview.chromium.org/3492015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60999 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/user_script_idle_scheduler.h')
0 files changed, 0 insertions, 0 deletions