[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:23:08 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 818ce5dd2c2c2310fa6a784f88b452b85d8f6006
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jan 31 21:09:22 2003 +0000

            Reviewed by Dave.
    
            - fixed 3160442 -- no top image map at ebay, caused by referrer returning null instead of empty string
    
            * khtml/ecma/kjs_html.cpp: (KJS::HTMLDocument::tryGet):
            Return an empty string, not null, when there is no referrer.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3525 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 7f60bba..609d16b 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2003-01-31  Darin Adler  <darin at apple.com>
+
+        Reviewed by Dave.
+
+        - fixed 3160442 -- no top image map at ebay, caused by referrer returning null instead of empty string
+
+        * khtml/ecma/kjs_html.cpp: (KJS::HTMLDocument::tryGet):
+        Return an empty string, not null, when there is no referrer.
+        
 2003-01-31  Chris Blumenberg  <cblu at apple.com>
 
         * kwq/WebCoreBridge.mm: fixed key value
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 7f60bba..609d16b 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2003-01-31  Darin Adler  <darin at apple.com>
+
+        Reviewed by Dave.
+
+        - fixed 3160442 -- no top image map at ebay, caused by referrer returning null instead of empty string
+
+        * khtml/ecma/kjs_html.cpp: (KJS::HTMLDocument::tryGet):
+        Return an empty string, not null, when there is no referrer.
+        
 2003-01-31  Chris Blumenberg  <cblu at apple.com>
 
         * kwq/WebCoreBridge.mm: fixed key value
diff --git a/WebCore/khtml/ecma/kjs_html.cpp b/WebCore/khtml/ecma/kjs_html.cpp
index aac1f71..e6e84e4 100644
--- a/WebCore/khtml/ecma/kjs_html.cpp
+++ b/WebCore/khtml/ecma/kjs_html.cpp
@@ -186,7 +186,7 @@ Value KJS::HTMLDocument::tryGet(ExecState *exec, const Identifier &propertyName)
     case Title:
       return getString(doc.title());
     case Referrer:
-      return getString(doc.referrer());
+      return doc.referrer().isNull() ? String() : getString(doc.referrer());
     case Domain:
       return String(doc.domain());
     case URL:

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list