The following error occurs in Resources panel when a connection to an WebSocket server is refused. Chromium's stderr looks like: "Uncaught TypeError: Cannot call method 'split' of undefined," source: chrome://devtools/DevTools.js (8852) "Uncaught TypeError: Cannot call method 'escapeHTML' of undefined," source: chrome://devtools/DevTools.js (30523) How to reproduce: 1. Start HTTP server for layout tests (run-webkit-httpd) but do NOT start the WebSocket server. 2. Start the browser, open Web Inspector, enable resource tracking, and go to <http://localhost:8000/websocket/tests/send.html>. 3. Observe the error. This error occurs because resource.url is not set when an WebSocket is initialized.
Created attachment 71144 [details] Patch
Comment on attachment 71144 [details] Patch LGTM
Comment on attachment 71144 [details] Patch Clearing flags on attachment: 71144 Committed r70043: <http://trac.webkit.org/changeset/70043>
All reviewed patches have been landed. Closing bug.