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

mjs mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:20:19 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 0a04d8f2fa5bb2b6d45d7cd863102200f28eb2bd
Author: mjs <mjs at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sat Jan 18 23:11:11 2003 +0000

            Reviewed by John.
    
    	- fixed 3123041 - VIP: Spewage at bottom of oregonlive.com and other similar pages
    
            * WebView.subproj/WebUserAgentSpoofTable.gperf: Added nj.com to spoof list
    	below oregonlive.com (which was already in there). Added comment explaining the
    	need to spoof a bit more.
            * WebView.subproj/WebUserAgentSpoofTable.c:
            (hash):
            (_web_findSpoofTableEntry): Regenerated.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3354 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 2217e41..cd798e7 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,16 @@
+2003-01-18  Maciej Stachowiak  <mjs at apple.com>
+
+        Reviewed by John.
+
+	- fixed 3123041 - VIP: Spewage at bottom of oregonlive.com and other similar pages
+
+        * WebView.subproj/WebUserAgentSpoofTable.gperf: Added nj.com to spoof list
+	below oregonlive.com (which was already in there). Added comment explaining the
+	need to spoof a bit more.
+        * WebView.subproj/WebUserAgentSpoofTable.c:
+        (hash):
+        (_web_findSpoofTableEntry): Regenerated.
+
 2003-01-17  Chris Blumenberg  <cblu at apple.com>
 
 	Fixed: 3143656 - crash in MIMETypeForFile when a large QT movie is dragged over window
diff --git a/WebKit/WebView.subproj/WebUserAgentSpoofTable.c b/WebKit/WebView.subproj/WebUserAgentSpoofTable.c
index 2a2420b..c9a5e3a 100644
--- a/WebKit/WebView.subproj/WebUserAgentSpoofTable.c
+++ b/WebKit/WebView.subproj/WebUserAgentSpoofTable.c
@@ -25,7 +25,7 @@ hash (register const char *str, register unsigned int len)
       27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
       27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
       27, 27, 27, 27, 27, 27, 27,  0,  0,  0,
-       0,  0, 10,  0,  0,  0,  5, 27,  0,  0,
+       0,  0, 10,  0,  0,  0, 14, 27,  0,  0,
        0,  0,  0, 27,  0,  0,  0,  0,  5,  0,
       27,  5, 27, 27, 27, 27, 27, 27, 27, 27,
       27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
@@ -96,8 +96,8 @@ _web_findSpoofTableEntry (register const char *str, register unsigned int len)
 {
   enum
     {
-      TOTAL_KEYWORDS = 13,
-      MIN_WORD_LENGTH = 9,
+      TOTAL_KEYWORDS = 14,
+      MIN_WORD_LENGTH = 6,
       MAX_WORD_LENGTH = 18,
       MIN_HASH_VALUE = 9,
       MAX_HASH_VALUE = 26
@@ -113,16 +113,17 @@ _web_findSpoofTableEntry (register const char *str, register unsigned int len)
       {"",0},
       {"hondacars.com", MacIE},
       {"abcnews.go.com", WinIE},
-      {"jaguar.com", MacIE},
+      {"",0},
       {"olympic.org", MacIE},
       {"",0},
       {"hondaredriders.com", MacIE},
       {"oregonlive.com", MacIE},
-      {"",0},
+      {"nj.com", MacIE},
       {"freebsd.org", MacIE},
       {"firstusa.com", MacIE},
       {"microsoft.com", MacIE},
-      {"",0}, {"",0},
+      {"jaguar.com", MacIE},
+      {"",0},
       {"bang-olufsen.com", MacIE}
     };
 
diff --git a/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf b/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf
index 688e32b..1bd75c1 100644
--- a/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf
+++ b/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf
@@ -27,7 +27,9 @@ battle.net, MacIE
 freebsd.org, MacIE
 #
 # pretend to be Mac IE to work around bug and avoid "spewage" at the bottom of some pages
+# the problems is that if the site thinks we are netscape, it tries to use layers
 oregonlive.com, MacIE
+nj.com, MacIE
 #
 # pretend to be Win IE to get the smaller font sizes the site gives for Windows
 abcnews.go.com, WinIE

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list