[Webkit-unassigned] [Bug 96368] New: EventSource - unable to use any port other than 80

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 11 02:25:18 PDT 2012


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

           Summary: EventSource - unable to use any port other than 80
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: allan.jardine at sprymedia.co.uk


If I attempt to create an EventSource connection to anything other than port 80 I get a security exception. For example:

new EventSource('http://192.168.1.11:65411/');
> 11550SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent

However, if I try to open a WebSocket on that same port, it works absolutely fine. Additionally, Firefox allows non-port 80 EventSources.

Perhaps there is a reason why only port 80 is allowed for EventSource, but it seems odd that WebSocket is allowed, while EventSource is not.

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