summaryrefslogtreecommitdiffstats
path: root/courgette/adjustment_method_unittest.cc
diff options
context:
space:
mode:
authortommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-18 22:18:39 +0000
committertommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-18 22:18:39 +0000
commit908f687c4eed587612c2d179dcc58c54ee1d2cbf (patch)
tree29269728916ba07cfcd82f711ef9513fe7dc4910 /courgette/adjustment_method_unittest.cc
parent9bf414752683e232429b8d18022bfc43c80cc279 (diff)
downloadchromium_src-908f687c4eed587612c2d179dcc58c54ee1d2cbf.zip
chromium_src-908f687c4eed587612c2d179dcc58c54ee1d2cbf.tar.gz
chromium_src-908f687c4eed587612c2d179dcc58c54ee1d2cbf.tar.bz2
Fix for referrer flakyness. There were two problems:
Grabbing the referrer header when the request is made and not in BeforeNavigate2. The request headers aren't always available in BeforeNavigate2. Mshtml provides these headers in IHttpNegotiate::BeginningTransaction, which is where we now grab them. There was a race in chrome_frame_automation.cc where we use std::string to store the referrer url and then access that string from different threads. This was causing the referrer URL to be missing at some times and at other times be sent over to chrome as bad string (e.g. containing embedded nulls) and subsequently be deemed an invalid URL and dropped. TEST=Fixes referrer header flakyness. BUG=34812 Review URL: http://codereview.chromium.org/646013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'courgette/adjustment_method_unittest.cc')
0 files changed, 0 insertions, 0 deletions