Typo fix.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Feb 2011 00:18:32 +0000 (00:18 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Feb 2011 00:18:32 +0000 (00:18 +0000)
* html/parser/XSSFilter.cpp:
(WebCore::HTMLNames::containsJavaScriptURL):

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

Source/WebCore/ChangeLog
Source/WebCore/html/parser/XSSFilter.cpp

index dc4e297ecb33a1bf9a49c97aedfd8b3644f96501..4ea1b2011f0e049a4a05926a0381d612d6920842 100644 (file)
@@ -1,3 +1,10 @@
+2011-02-04  Dan Bernstein  <mitz@apple.com>
+
+        Typo fix.
+
+        * html/parser/XSSFilter.cpp:
+        (WebCore::HTMLNames::containsJavaScriptURL):
+
 2011-02-04  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Anders Carlsson.
index c6300c1911fd7ec51f76e5103efc037db033b0ca..a70574f7b2020186746e4a1ed9d922ae5d334dd3 100644 (file)
@@ -96,7 +96,7 @@ bool containsJavaScriptURL(const Vector<UChar, 32>& value)
     static const char javaScriptScheme[] = "javascript:";
     static const size_t lengthOfJavaScriptScheme = sizeof(javaScriptScheme) - 1;
 
-    size_t i;;
+    size_t i;
     for (i = 0; i < value.size(); ++i) {
         if (!isHTMLSpace(value[i]))
             break;