Bug 119693 - [Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is flaky because of connect-src-websocket-allowed.html
Summary: [Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is fl...
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Alexey Proskuryakov
Depends on:
Reported: 2013-08-12 11:23 PDT by Alexey Proskuryakov
Modified: 2013-08-12 16:41 PDT (History)
2 users (show)

See Also:

proposed fix (1.75 KB, patch)
2013-08-12 14:05 PDT, Alexey Proskuryakov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Proskuryakov 2013-08-12 11:23:46 PDT
The previous test leaks output
Comment 1 Alexey Proskuryakov 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.
Comment 2 Alexey Proskuryakov 2013-08-12 14:05:32 PDT
Created attachment 208558 [details]
proposed fix
Comment 3 WebKit Commit Bot 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>
Comment 4 WebKit Commit Bot 2013-08-12 16:41:22 PDT
All reviewed patches have been landed.  Closing bug.