Skip to content
  • commit-queue@webkit.org's avatar
    WebSocket initialization to use remote inspector · 25ed15c5
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=118678
    
    Patch by Roland Takacs <rtakacs@inf.u-szeged.hu> on 2013-07-23
    Reviewed by Timothy Hatcher.
    
    Add WebSocket initialization and define a 'connect-src' directive in the
    Content-Security-Policy HTTP header to enable the connection.
    
    * UserInterface/InspectorFrontendHostStub.js:
    (.WebInspector.InspectorFrontendHostStub.prototype.sendMessageToBackend):
    * UserInterface/Main.html:
    * UserInterface/Main.js:
    (WebInspector.loaded):
    (WebInspector._initializeWebSocketIfNeeded.createSocket.WebInspector):
    (WebInspector._initializeWebSocketIfNeeded.createSocket):
    (WebInspector._initializeWebSocketIfNeeded):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    25ed15c5