[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

abarth at webkit.org abarth at webkit.org
Wed Dec 22 12:58:10 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 6aefe9162d4dc20a62cca589387197ff5849e9b3
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Sep 3 02:16:58 2010 +0000

    2010-09-02  Adam Barth  <abarth at webkit.org>
    
            Reviewed by Eric Seidel.
    
            Actually parse a URL from ParsedURL
            https://bugs.webkit.org/show_bug.cgi?id=45080
    
            This patch only handles standard URLs.  At some point we'll need to
            distinguish between standard URLs and other kinds of URLs.
    
            * wtf/url/api/ParsedURL.cpp:
            (WTF::ParsedURL::ParsedURL):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66706 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 09be966..7cbf7f7 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -2,6 +2,19 @@
 
         Reviewed by Eric Seidel.
 
+        Actually parse a URL from ParsedURL
+        https://bugs.webkit.org/show_bug.cgi?id=45080
+
+        This patch only handles standard URLs.  At some point we'll need to
+        distinguish between standard URLs and other kinds of URLs.
+
+        * wtf/url/api/ParsedURL.cpp:
+        (WTF::ParsedURL::ParsedURL):
+
+2010-09-02  Adam Barth  <abarth at webkit.org>
+
+        Reviewed by Eric Seidel.
+
         Add ParsedURL and URLString to WTFURL API
         https://bugs.webkit.org/show_bug.cgi?id=45078
 
diff --git a/JavaScriptCore/wtf/url/api/ParsedURL.cpp b/JavaScriptCore/wtf/url/api/ParsedURL.cpp
index 0ee5864..abe0061 100644
--- a/JavaScriptCore/wtf/url/api/ParsedURL.cpp
+++ b/JavaScriptCore/wtf/url/api/ParsedURL.cpp
@@ -27,12 +27,17 @@
 #include "ParsedURL.h"
 
 #include "URLComponent.h"
+#include "URLParser.h"
 
 namespace WTF {
 
 ParsedURL::ParsedURL(const URLString& spec)
     : m_spec(spec)
 {
+    // FIXME: Handle non-standard URLs.
+    if (spec.string().isEmpty())
+        return;
+    URLParser<UChar>::parseStandardURL(spec.string().characters(), spec.string().length(), m_segments);
 }
 
 String ParsedURL::scheme() const

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list