Bug 182546
| Summary: | The WebContent process should not reference NSApp. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Per Arne Vollan <pvollan> |
| Component: | WebKit Misc. | Assignee: | Per Arne Vollan <pvollan> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Per Arne Vollan
Since the WebContent process is no longer using the NSApplication run loop, the NSApp object is no longer guaranteed to be non-nil. We are currently calling [NSApplication sharedApplication] in WebProcess::platformInitializeWebProcess which will set NSApp, but we will possibly remove this call in the future. We should identify where we reference NSApp in the WebContent process, and determine how each case should be handled when we are using NSRunLoop.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Per Arne Vollan
<rdar://problem/37287247>