[Webkit-unassigned] [Bug 41510] Add Base64DecodePolicy option at base64Decode()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 14 08:33:10 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41510


Patrick R. Gansterer <paroga at paroga.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66975|0                           |1
        is obsolete|                            |
  Attachment #67555|                            |review?, commit-queue?
               Flag|                            |




--- Comment #38 from Patrick R. Gansterer <paroga at paroga.com>  2010-09-14 08:33:09 PST ---
Created an attachment (id=67555)
 --> (https://bugs.webkit.org/attachment.cgi?id=67555)
Patch

The only change since the last patch is the following (+ChangeLog):
--- a/WebKit/mac/WebView/WebPreferences.mm
+++ b/WebKit/mac/WebView/WebPreferences.mm
@@ -642,7 +642,8 @@ (-[WebPreferences setUserStyleSheetLocation:])
         locationString = [URL _web_originalDataAsString];
     }

-    [self _setStringValue:locationString forKey: WebKitUserStyleSheetLocationPreferenceKey];
+    if (locationString)
+        [self _setStringValue:locationString forKey: WebKitUserStyleSheetLocationPreferenceKey];
 }

 - (BOOL)shouldPrintBackgrounds

This should avoid the crash:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: WebKitUserStyleSheetLocationPreferenceKey)'

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list