Bug 131367 - Add API to let the UI process kill the web process despite not using a network process.
Summary: Add API to let the UI process kill the web process despite not using a networ...
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andreas Kling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 10:10 PDT by Andreas Kling
Modified: 2014-04-08 10:39 PDT (History)
2 users (show)

See Also:


Attachments
Patch (5.77 KB, patch)
2014-04-08 10:13 PDT, Andreas Kling
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Kling 2014-04-08 10:10:12 PDT
<rdar://problem/16506241>
Comment 1 Andreas Kling 2014-04-08 10:13:55 PDT
Created attachment 228849 [details]
Patch
Comment 2 Alexey Proskuryakov 2014-04-08 10:36:35 PDT
Comment on attachment 228849 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=228849&action=review

> Source/WebKit2/ChangeLog:8
> +        There are some cases where we'd want to run a web process with in-process networking,
> +        but don't need to preserve session state when closing the last page in that process.

Can we just destroy WebContext in this case?
Comment 3 Andreas Kling 2014-04-08 10:38:47 PDT
(In reply to comment #2)
> (From update of attachment 228849 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=228849&action=review
> 
> > Source/WebKit2/ChangeLog:8
> > +        There are some cases where we'd want to run a web process with in-process networking,
> > +        but don't need to preserve session state when closing the last page in that process.
> 
> Can we just destroy WebContext in this case?

Yeah, let's do that instead.