Changeset 73143 in webkit


Ignore:
Timestamp:
Dec 2, 2010 9:39:26 AM (13 years ago)
Author:
sullivan@apple.com
Message:

Slightly speculative fix for:

Reviewed by Adam Roben.

<rdar://problem/8712674>
<https://bugs.webkit.org/show_bug.cgi?id=50393>
setStringValue: sometimes called with nil in [WebAuthenticationPanel setUpForChallenge]

  • Panels/WebAuthenticationPanel.m:

(-[WebAuthenticationPanel setUpForChallenge:]):
If the realm is nil, use @"" instead.

Location:
trunk/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/mac/ChangeLog

    r73088 r73143  
     12010-12-02  John Sullivan  <sullivan@apple.com>
     2
     3        Reviewed by Adam Roben.
     4       
     5        Slightly speculative fix for:
     6
     7        <rdar://problem/8712674>
     8        <https://bugs.webkit.org/show_bug.cgi?id=50393>
     9        setStringValue: sometimes called with nil in [WebAuthenticationPanel setUpForChallenge]       
     10
     11        * Panels/WebAuthenticationPanel.m:
     12        (-[WebAuthenticationPanel setUpForChallenge:]):
     13        If the realm is nil, use @"" instead.
     14
    1152010-12-01  Jia Pu  <jpu@apple.com>
    216
  • trunk/WebKit/mac/Panels/WebAuthenticationPanel.m

    r55470 r73143  
    130130
    131131    NSString *realm = [space realm];
     132    if (!realm)
     133        realm = @"";
    132134    NSString *message;
    133135
Note: See TracChangeset for help on using the changeset viewer.