Skip to content
  • commit-queue@webkit.org's avatar
    Add .url attribute alongside .URL in EventSource and WebSocket to comply with... · ac5e5167
    commit-queue@webkit.org authored
    Add .url attribute alongside .URL in EventSource and WebSocket to comply with the specs but not break existing usage.
    https://bugs.webkit.org/show_bug.cgi?id=40899
    
    Patch by Pablo Flouret <pablof@motorola.com> on 2012-01-21
    Reviewed by Adam Barth.
    
    Source/WebCore:
    
    Tests: fast/eventsource/eventsource-url-attribute.html
           http/tests/websocket/tests/hixie76/url-attribute.html
           http/tests/websocket/tests/hybi/url-attribute.html
    
    * page/EventSource.idl:
    * websockets/WebSocket.idl:
    
    LayoutTests:
    
    * fast/eventsource/eventsource-url-attribute-expected.txt: Added.
    * fast/eventsource/eventsource-url-attribute.html: Added.
    * http/tests/websocket/tests/hixie76/url-attribute-expected.txt: Added.
    * http/tests/websocket/tests/hixie76/url-attribute.html: Added.
    * http/tests/websocket/tests/hybi/url-attribute-expected.txt: Added.
    * http/tests/websocket/tests/hybi/url-attribute.html: Added.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ac5e5167