<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>182546</bug_id>
          
          <creation_ts>2018-02-06 12:28:20 -0800</creation_ts>
          <short_desc>The WebContent process should not reference NSApp.</short_desc>
          <delta_ts>2018-02-06 13:49:11 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Per Arne Vollan">pvollan</reporter>
          <assigned_to name="Per Arne Vollan">pvollan</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1396893</commentid>
    <comment_count>0</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2018-02-06 12:28:20 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1396927</commentid>
    <comment_count>1</comment_count>
    <who name="Per Arne Vollan">pvollan</who>
    <bug_when>2018-02-06 13:47:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/37287247&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>