Bug 185082 - Shutdown WindowServer connections after checking in with launch services
Summary: Shutdown WindowServer connections after checking in with launch services
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Per Arne Vollan
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-04-27 10:30 PDT by Per Arne Vollan
Modified: 2018-05-04 16:42 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.50 KB, patch)
2018-04-27 10:37 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff
Patch (1.50 KB, patch)
2018-04-27 10:38 PDT, Per Arne Vollan
bfulgham: review+
Details | Formatted Diff | Diff
Patch (1.66 KB, patch)
2018-05-04 14:02 PDT, Per Arne Vollan
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from ews206 for win-future (12.73 MB, application/zip)
2018-05-04 16:12 PDT, EWS Watchlist
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 2018-04-27 10:30:48 PDT
When WindowServer access is blocked in the WebContent process, we should shutdown all connections after checking in with launch services.
Comment 1 Per Arne Vollan 2018-04-27 10:31:58 PDT
<rdar://problem/39613173>
Comment 2 Per Arne Vollan 2018-04-27 10:37:15 PDT
Created attachment 339001 [details]
Patch
Comment 3 Per Arne Vollan 2018-04-27 10:38:23 PDT
Created attachment 339002 [details]
Patch
Comment 4 Brent Fulgham 2018-04-27 15:44:44 PDT
Comment on attachment 339002 [details]
Patch

Looks great! r=me.
Comment 5 Per Arne Vollan 2018-05-04 14:02:34 PDT
Created attachment 339592 [details]
Patch
Comment 6 Brent Fulgham 2018-05-04 15:20:53 PDT
Comment on attachment 339592 [details]
Patch

r=me if the EWS bots are happy.
Comment 7 EWS Watchlist 2018-05-04 16:12:46 PDT
Comment on attachment 339592 [details]
Patch

Attachment 339592 [details] did not pass win-ews (win):
Output: http://webkit-queues.webkit.org/results/7569434

New failing tests:
http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.html
Comment 8 EWS Watchlist 2018-05-04 16:12:57 PDT
Created attachment 339605 [details]
Archive of layout-test-results from ews206 for win-future

The attached test failures were seen while running run-webkit-tests on the win-ews.
Bot: ews206  Port: win-future  Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Comment 9 Per Arne Vollan 2018-05-04 16:16:32 PDT
Comment on attachment 339592 [details]
Patch

Thanks for reviewing!
Comment 10 Brent Fulgham 2018-05-04 16:21:12 PDT
Per Arne: Did you see this test failure:

http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.html

Is that related to this change?
Comment 11 Per Arne Vollan 2018-05-04 16:23:06 PDT
(In reply to Brent Fulgham from comment #10)
> Per Arne: Did you see this test failure:
> 
> http/tests/security/canvas-remote-read-remote-video-blocked-no-crossorigin.
> html
> 
> Is that related to this change?

I believe this is a flaky failure from the Windows bots.
Comment 12 WebKit Commit Bot 2018-05-04 16:42:49 PDT
Comment on attachment 339592 [details]
Patch

Clearing flags on attachment: 339592

Committed r231389: <https://trac.webkit.org/changeset/231389>