[Webkit-unassigned] [Bug 27770] New: Workers need to throw an exception when presented with invalid URLs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 28 10:40:49 PDT 2009


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

           Summary: Workers need to throw an exception when presented with
                    invalid URLs
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore JavaScript
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: atwilson at google.com


Currently, if the Worker constructor is passed an invalid URL (i.e. empty
string, absolute URL pointing at a different domain) the spec requires that the
constructor throw an exception.

We are generating an error event instead. We should address this by passing an
ExceptionCode through into WorkerScriptLoader::createResourceRequest().

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