Skip to content
  • koz@chromium.org's avatar
    2011-05-30 James Kozianski <koz@chromium.org> · 71edcee9
    koz@chromium.org authored
            Reviewed by Kent Tamura.
    
            [Chromium] Make isValidProtocol() accept protocols with '+'.
            https://bugs.webkit.org/show_bug.cgi?id=61759
    
            * platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt: Added.
            * platform/chromium/fast/dom/register-protocol-handler-expected.txt: Added.
    2011-05-30  James Kozianski  <koz@chromium.org>
    
            Reviewed by Kent Tamura.
    
            [Chromium] Make isValidProtocol() accept protocols with '+'.
            https://bugs.webkit.org/show_bug.cgi?id=61759
    
            Also, detect syntax errors before security errors; some syntax errors
            will also trigger a security error, but it's more helpful to the
            programmer to know if they have a syntax error, which are well-defined
            in the spec, rather than a security error, which aren't.
    
            * page/Navigator.cpp:
            (WebCore::Navigator::registerProtocolHandler):
            Detect syntax errors before security errors.
            * platform/KURLGoogle.cpp:
            (WebCore::isSchemeChar):
            Include '+' in the list of valid characters.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@87713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    71edcee9