Fixed a comment (forgot to save the file before the previous commit).
authorap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Apr 2006 17:46:05 +0000 (17:46 +0000)
committerap <ap@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 3 Apr 2006 17:46:05 +0000 (17:46 +0000)
        * xml/xmlhttprequest.cpp:
        (WebCore::XMLHttpRequest::open):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@13653 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/xml/xmlhttprequest.cpp

index 45830abfced7dd147192ae23d007c1f3c6f5b8e2..13abc215cfe052ef37a061fbedde3714961c7834 100644 (file)
@@ -1,3 +1,10 @@
+2006-04-03  Alexey Proskuryakov  <ap@nypop.com>
+
+        Fixed a comment (forgot to save the file before the previous commit).
+
+        * xml/xmlhttprequest.cpp:
+        (WebCore::XMLHttpRequest::open):
+
 2006-04-03  Alexey Proskuryakov  <ap@nypop.com>
 
         Reviewed by Darin.
index 7bc418a87e142e295d8102114fbf5115521b7c40..64b74bf6d34ba1b471791486b445a25b9ccdfda6 100644 (file)
@@ -271,7 +271,7 @@ void XMLHttpRequest::open(const String& method, const KURL& url, bool async, con
     if (!password.isNull())
         m_url.setPass(password.deprecatedString());
 
-    // Methods names are case-sensitive, but Firefox uppercases methods it knows
+    // Method names are case sensitive. But since Firefox uppercases method names it knows, we'll do the same.
     String methodUpper(method.upper());
     if (methodUpper == "CONNECT" || methodUpper == "COPY" || methodUpper == "DELETE" || methodUpper == "GET" || methodUpper == "HEAD"
         || methodUpper == "INDEX" || methodUpper == "LOCK" || methodUpper == "M-POST" || methodUpper == "MKCOL" || methodUpper == "MOVE"