summaryrefslogtreecommitdiffstats
path: root/webkit/glue
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 18:42:21 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-27 18:42:21 +0000
commit5b0ae24406c5cf0e587b05592256629e5aae31f2 (patch)
treee4329e9467359c593bfe3898141be19a2b2d4796 /webkit/glue
parentd538c88b79c25e77f1449091238a7065bf2bf6a8 (diff)
downloadchromium_src-5b0ae24406c5cf0e587b05592256629e5aae31f2.zip
chromium_src-5b0ae24406c5cf0e587b05592256629e5aae31f2.tar.gz
chromium_src-5b0ae24406c5cf0e587b05592256629e5aae31f2.tar.bz2
Fix renderer hang caused when a synchronous XHR is disallowed for security
reasons (via ShouldServiceReqeuest). BUG=8401 R=jam Review URL: http://codereview.chromium.org/56016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r--webkit/glue/resource_loader_bridge.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/glue/resource_loader_bridge.cc b/webkit/glue/resource_loader_bridge.cc
index 266b518..882f892 100644
--- a/webkit/glue/resource_loader_bridge.cc
+++ b/webkit/glue/resource_loader_bridge.cc
@@ -12,6 +12,7 @@
namespace webkit_glue {
ResourceLoaderBridge::ResponseInfo::ResponseInfo() {
+ content_length = -1;
#if defined(OS_WIN)
response_data_file = base::kInvalidPlatformFileValue;
#elif defined(OS_POSIX)