Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1288)

Unified Diff: webkit/glue/resource_loader_bridge.cc

Issue 56016: Fix renderer hang caused when a synchronous XHR is disallowed for security... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/sync_xmlhttprequest_disallowed.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/resource_loader_bridge.cc
===================================================================
--- webkit/glue/resource_loader_bridge.cc (revision 12654)
+++ webkit/glue/resource_loader_bridge.cc (working copy)
@@ -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)
« no previous file with comments | « chrome/test/data/sync_xmlhttprequest_disallowed.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698