WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
182546
The WebContent process should not reference NSApp.
https://bugs.webkit.org/show_bug.cgi?id=182546
Summary
The WebContent process should not reference NSApp.
Per Arne Vollan
Reported
2018-02-06 12:28:20 PST
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
Comment 1
2018-02-06 13:47:15 PST
<
rdar://problem/37287247
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug