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

Side by Side Diff: third_party/WebKit/WebCore/xml/XMLHttpRequest.cpp

Issue 63088: Fix for calendar issue, applying webkit patch (sans test cases)... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org> 3 * Copyright (C) 2005-2007 Alexey Proskuryakov <ap@webkit.org>
4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org> 4 * Copyright (C) 2007, 2008 Julien Chaffraix <jchaffraix@webkit.org>
5 * Copyright (C) 2008 David Levin <levin@chromium.org> 5 * Copyright (C) 2008 David Levin <levin@chromium.org>
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public 8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 }; 59 };
60 60
61 XMLHttpRequestStaticData::XMLHttpRequestStaticData() 61 XMLHttpRequestStaticData::XMLHttpRequestStaticData()
62 : m_proxyHeaderPrefix("proxy-") 62 : m_proxyHeaderPrefix("proxy-")
63 , m_secHeaderPrefix("sec-") 63 , m_secHeaderPrefix("sec-")
64 { 64 {
65 m_forbiddenRequestHeaders.add("accept-charset"); 65 m_forbiddenRequestHeaders.add("accept-charset");
66 m_forbiddenRequestHeaders.add("accept-encoding"); 66 m_forbiddenRequestHeaders.add("accept-encoding");
67 m_forbiddenRequestHeaders.add("access-control-request-headers"); 67 m_forbiddenRequestHeaders.add("access-control-request-headers");
68 m_forbiddenRequestHeaders.add("access-control-request-method"); 68 m_forbiddenRequestHeaders.add("access-control-request-method");
69 m_forbiddenRequestHeaders.add("authorization");
70 m_forbiddenRequestHeaders.add("connection"); 69 m_forbiddenRequestHeaders.add("connection");
71 m_forbiddenRequestHeaders.add("content-length"); 70 m_forbiddenRequestHeaders.add("content-length");
72 m_forbiddenRequestHeaders.add("content-transfer-encoding"); 71 m_forbiddenRequestHeaders.add("content-transfer-encoding");
73 m_forbiddenRequestHeaders.add("cookie"); 72 m_forbiddenRequestHeaders.add("cookie");
74 m_forbiddenRequestHeaders.add("cookie2"); 73 m_forbiddenRequestHeaders.add("cookie2");
75 m_forbiddenRequestHeaders.add("date"); 74 m_forbiddenRequestHeaders.add("date");
76 m_forbiddenRequestHeaders.add("expect"); 75 m_forbiddenRequestHeaders.add("expect");
77 m_forbiddenRequestHeaders.add("host"); 76 m_forbiddenRequestHeaders.add("host");
78 m_forbiddenRequestHeaders.add("keep-alive"); 77 m_forbiddenRequestHeaders.add("keep-alive");
79 m_forbiddenRequestHeaders.add("origin"); 78 m_forbiddenRequestHeaders.add("origin");
(...skipping 1108 matching lines...) Expand 10 before | Expand all | Expand 10 after
1188 ASSERT(!m_loader); 1187 ASSERT(!m_loader);
1189 ActiveDOMObject::contextDestroyed(); 1188 ActiveDOMObject::contextDestroyed();
1190 } 1189 }
1191 1190
1192 ScriptExecutionContext* XMLHttpRequest::scriptExecutionContext() const 1191 ScriptExecutionContext* XMLHttpRequest::scriptExecutionContext() const
1193 { 1192 {
1194 return ActiveDOMObject::scriptExecutionContext(); 1193 return ActiveDOMObject::scriptExecutionContext();
1195 } 1194 }
1196 1195
1197 } // namespace WebCore 1196 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698