<?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>45677</bug_id>
          
          <creation_ts>2010-09-13 09:14:23 -0700</creation_ts>
          <short_desc>[WebView canMarkAllTextMatches] can crash if called after [WebView close]</short_desc>
          <delta_ts>2010-09-13 09:33:47 -0700</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 API</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</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="John Sullivan">sullivan</reporter>
          <assigned_to name="John Sullivan">sullivan</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>278240</commentid>
    <comment_count>0</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2010-09-13 09:14:23 -0700</bug_when>
    <thetext>This is in Radar as &lt;rdar://problem/8404890&gt;.

[WebView canMarkAllTextMatches] calls through to WebCore frame-traversal code. This can crash if the webView has already been closed. This is the same basic problem as in bug 45175, but I missed this entry point when fixing that bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>278246</commentid>
    <comment_count>1</comment_count>
      <attachid>67415</attachid>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2010-09-13 09:24:01 -0700</bug_when>
    <thetext>Created attachment 67415
One more early bail-out to complete the work that was begun in 45175.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>278248</commentid>
    <comment_count>2</comment_count>
      <attachid>67415</attachid>
    <who name="Adam Roben (:aroben)">aroben</who>
    <bug_when>2010-09-13 09:28:24 -0700</bug_when>
    <thetext>Comment on attachment 67415
One more early bail-out to complete the work that was begun in 45175.

View in context: https://bugs.webkit.org/attachment.cgi?id=67415&amp;action=prettypatch

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>278250</commentid>
    <comment_count>3</comment_count>
    <who name="John Sullivan">sullivan</who>
    <bug_when>2010-09-13 09:33:47 -0700</bug_when>
    <thetext>Fixed in r67393.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>67415</attachid>
            <date>2010-09-13 09:24:01 -0700</date>
            <delta_ts>2010-09-13 09:28:24 -0700</delta_ts>
            <desc>One more early bail-out to complete the work that was begun in 45175.</desc>
            <filename>canMarkAllTextMatches_patch.txt</filename>
            <type>text/plain</type>
            <size>1238</size>
            <attacher name="John Sullivan">sullivan</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYktpdC9tYWMvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYktpdC9tYWMvQ2hh
bmdlTG9nCShyZXZpc2lvbiA2NzM5MCkKKysrIFdlYktpdC9tYWMvQ2hhbmdlTG9nCSh3b3JraW5n
IGNvcHkpCkBAIC0xLDMgKzEsMTcgQEAKKzIwMTAtMDktMTMgIEpvaG4gU3VsbGl2YW4gIDxzdWxs
aXZhbkBhcHBsZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisK
KyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTQ1Njc3Cisg
ICAgICAgIFtXZWJWaW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aWQgPFdlYkRvY3VtZW50Vmlldz4g
dmlldyA9IFtbZnJhbWUgZnJhbWVWaWV3XSBkb2N1bWVudFZpZXddOwo=
</data>
<flag name="review"
          id="56705"
          type_id="1"
          status="+"
          setter="aroben"
    />
          </attachment>
      

    </bug>

</bugzilla>