<?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>165875</bug_id>
          
          <creation_ts>2016-12-14 15:06:22 -0800</creation_ts>
          <short_desc>ScriptFunctionCall::call() can return an empty JSValue if the watchdog timer fires, callers should check for this</short_desc>
          <delta_ts>2023-11-14 18:25:15 -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>JavaScriptCore</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Michael Saboff">msaboff</reporter>
          <assigned_to name="Yury Semikhatsky">yurys</assigned_to>
          <cc>webkit-bug-importer</cc>
    
    <cc>yurys</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1259923</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2016-12-14 15:06:22 -0800</bug_when>
    <thetext>Many callers of ScriptFunctionCall::call() assume that it returns a valid, non-empty JSValue.  Most of these callers do not check for this.  They should be fixed as appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1259940</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2016-12-14 15:33:44 -0800</bug_when>
    <thetext>rdar://problem/29671015</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991770</commentid>
    <comment_count>2</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2023-11-10 18:20:29 -0800</bug_when>
    <thetext>We&apos;ve crashes due to an empty value on Windows around this call in particular https://github.com/WebKit/WebKit/blob/020f297aadfe1e55b3d238dfc7922cfa193ceae3/Source/JavaScriptCore/inspector/InjectedScript.cpp#L292 in Playwright.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1991773</commentid>
    <comment_count>3</comment_count>
    <who name="Yury Semikhatsky">yurys</who>
    <bug_when>2023-11-10 18:33:41 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20353</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1992637</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-14 18:25:08 -0800</bug_when>
    <thetext>Committed 270739@main (a4eed62b176c): &lt;https://commits.webkit.org/270739@main&gt;

Reviewed commits have been landed. Closing PR #20353 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>