Bug 119693

Summary: [Mac] security/contentSecurityPolicy/connect-src-websocket-blocked.html is flaky because of connect-src-websocket-allowed.html
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Tools / TestsAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, mkwst
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
proposed fix none

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.