RESOLVED FIXED 119693
[Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is flaky because of connect-src-websocket-allowed.html
https://bugs.webkit.org/show_bug.cgi?id=119693
Summary [Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is fl...
Alexey Proskuryakov
Reported 2013-08-12 11:23:46 PDT
The previous test leaks output
Attachments
proposed fix (1.75 KB, patch)
2013-08-12 14:05 PDT, Alexey Proskuryakov
no flags
Alexey Proskuryakov
Comment 1 2013-08-12 12:34:11 PDT
The reason why this doesn't work is that we try to load a blank document between tests, but only start a provisional load that is immediately canceled. This stops all subresource loads, but doesn't stop ActiveDOMObjects such as WebSocket.
Alexey Proskuryakov
Comment 2 2013-08-12 14:05:32 PDT
Created attachment 208558 [details] proposed fix
WebKit Commit Bot
Comment 3 2013-08-12 16:41:20 PDT
Comment on attachment 208558 [details] proposed fix Clearing flags on attachment: 208558 Committed r153964: <http://trac.webkit.org/changeset/153964>
WebKit Commit Bot
Comment 4 2013-08-12 16:41:22 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.