[Webkit-unassigned] [Bug 38346] New: Better error message for canceled resource loading due to cross-domain policy

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 29 14:08:43 PDT 2010


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

           Summary: Better error message for canceled resource loading due
                    to cross-domain policy
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: josh.schumacher at gmail.com


If you perform a cross-domain AJAX request to a non-allowed domain, the
Activity Window simply says 'canceled' and the debug console says, "Failed to
load resource: cancelled".

A more user-friendly error message would be appreciated stating that the
request was canceled because it was a non-allowed cross-domain request.

Sample code that should generate more a useful error message (utilizes jQuery
for brevity):

$('#test').load('http://google.com');

-- 
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