Changeset 150585 in webkit


Ignore:
Timestamp:
May 23, 2013 7:14:52 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[BlackBerry] Properly fill the ResourceError in FrameLoaderClientBlackBerry::cannotShowURLError
https://bugs.webkit.org/show_bug.cgi?id=116603

Patch by Rob Buis <rbuis@rim.com> on 2013-05-23
Reviewed by Xan Lopez.

PR 119789
Internally reviewed by Yong Li.

Provide a domain value for this ResourceError instance. Note that
this does not change behavior.

  • WebCoreSupport/FrameLoaderClientBlackBerry.cpp:

(WebCore::FrameLoaderClientBlackBerry::didRestoreFromPageCache):

Location:
trunk/Source/WebKit/blackberry
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/blackberry/ChangeLog

    r150434 r150585  
     12013-05-23  Rob Buis  <rbuis@rim.com>
     2
     3        [BlackBerry] Properly fill the ResourceError in FrameLoaderClientBlackBerry::cannotShowURLError
     4        https://bugs.webkit.org/show_bug.cgi?id=116603
     5
     6        Reviewed by Xan Lopez.
     7
     8        PR 119789
     9        Internally reviewed by Yong Li.
     10
     11        Provide a domain value for this ResourceError instance. Note that
     12        this does not change behavior.
     13
     14        * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
     15        (WebCore::FrameLoaderClientBlackBerry::didRestoreFromPageCache):
     16
    1172013-05-21  Carlos Garcia Campos  <cgarcia@igalia.com>
    218
  • trunk/Source/WebKit/blackberry/WebCoreSupport/FrameLoaderClientBlackBerry.cpp

    r150361 r150585  
    13081308ResourceError FrameLoaderClientBlackBerry::cannotShowURLError(const ResourceRequest& request)
    13091309{
    1310     // FIXME: Why are we not passing the domain to the ResourceError? See PR #119789.
    1311     return ResourceError(String(), WebKitErrorCannotShowURL, request.url().string(), String());
     1310    return ResourceError("WebKitErrorDomain", WebKitErrorCannotShowURL, request.url().string(), String());
    13121311}
    13131312
Note: See TracChangeset for help on using the changeset viewer.