<?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>94869</bug_id>
          
          <creation_ts>2012-08-23 15:40:42 -0700</creation_ts>
          <short_desc>REGRESSION (r124815): PDF in frame does not display any more</short_desc>
          <delta_ts>2012-08-23 15:50:13 -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>WebKit2</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>All</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="Brady Eidson">beidson</reporter>
          <assigned_to name="Brady Eidson">beidson</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>703475</commentid>
    <comment_count>0</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-08-23 15:40:42 -0700</bug_when>
    <thetext>REGRESSION (r124815): PDF in frame does not display any more.

BuiltinPDFView needs to notify the plugincontroller that it initialized.

In radar as &lt;rdar://problem/12063306&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>703477</commentid>
    <comment_count>1</comment_count>
      <attachid>160267</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-08-23 15:42:17 -0700</bug_when>
    <thetext>Created attachment 160267
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>703479</commentid>
    <comment_count>2</comment_count>
      <attachid>160267</attachid>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-08-23 15:44:43 -0700</bug_when>
    <thetext>Comment on attachment 160267
Patch

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

No test?.. &lt;:-|

&gt; Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.mm:345
&gt; +    controller()-&gt;didInitializePlugin();

I&apos;m wondering if this should be made async to match regular code path. Probably not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>703481</commentid>
    <comment_count>3</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-08-23 15:47:40 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; (From update of attachment 160267 [details])
&gt; 
&gt; &gt; Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.mm:345
&gt; &gt; +    controller()-&gt;didInitializePlugin();
&gt; 
&gt; I&apos;m wondering if this should be made async to match regular code path. Probably not.

Probably not indeed.  The regular synchronous code path for netscape plugins already has to do this, for example.

Thanks for the review!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>703485</commentid>
    <comment_count>4</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-08-23 15:49:21 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; (From update of attachment 160267 [details] [details])
&gt; &gt; 
&gt; &gt; &gt; Source/WebKit2/WebProcess/Plugins/PDF/BuiltInPDFView.mm:345
&gt; &gt; &gt; +    controller()-&gt;didInitializePlugin();
&gt; &gt; 
&gt; &gt; I&apos;m wondering if this should be made async to match regular code path. Probably not.
&gt; 
And also, the async design is largely centered around out-of-process plugins.  We&apos;ll need BuiltinPDFView to be out of process first.  :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>703488</commentid>
    <comment_count>5</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2012-08-23 15:50:13 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/126490</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>160267</attachid>
            <date>2012-08-23 15:42:17 -0700</date>
            <delta_ts>2012-08-23 15:44:43 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1340</size>
            <attacher name="Brady Eidson">beidson</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJLaXQyL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJLaXQyL0No
YW5nZUxvZwppbmRleCBhOGQ4YjMyLi5iNWRmYzIyIDEwMDY0NAotLS0gYS9Tb3VyY2UvV2ViS2l0
Mi9DaGFuZ2VMb2cKKysrIGIvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTMg
QEAKKzIwMTItMDgtMjMgIEJyYWR5IEVpZHNvbiAgPGJlaWRzb25AYXBwbGUuY29tPgorCisgICAg
ICAgIFJFR1JFU1NJT04gKHIxMjQ4MTUpOiBQREYgaW4gZnJhbWUgZG9lcyBub3QgZGlzcGxheSBh
bnkgbW9yZQorICAgICAgICA8cmRhcjovL3Byb2JsZW0vMTIwNjMzMDY+IGFuZCBodHRwczovL2J1
Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9OTQ4NjkKKworICAgICAgICBSZXZpZXdlZCBi
eSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICAqIFdlYlByb2Nlc3MvUGx1Z2lucy9QREYvQnVp
bHRJblBERlZpZXcubW06CisgICAgICAgIChXZWJLaXQ6OkJ1aWx0SW5QREZWaWV3Ojppbml0aWFs
aXplKTogVGVsbCB0aGUgY29udHJvbGxlciB0aGF0IGluaXRpYWxpemF0aW9uIHdhcyBzdWNjZXNz
ZnVsLgorCiAyMDEyLTA4LTIzICBDaHJpc3RvcGhlIER1bWV6ICA8Y2hyaXN0b3BoZS5kdW1lekBp
bnRlbC5jb20+CiAKICAgICAgICAgW0VGTF1bV0syXSBGcmVlIGV3ayBjb250ZXh0IGRhdGEgb24g
cHJvZ3JhbSBleGl0LgpkaWZmIC0tZ2l0IGEvU291cmNlL1dlYktpdDIvV2ViUHJvY2Vzcy9QbHVn
aW5zL1BERi9CdWlsdEluUERGVmlldy5tbSBiL1NvdXJjZS9XZWJLaXQyL1dlYlByb2Nlc3MvUGx1
Z2lucy9QREYvQnVpbHRJblBERlZpZXcubW0KaW5kZXggNjFkYjU1My4uZmU3ZjI1OCAxMDA2NDQK
LS0tIGEvU291cmNlL1dlYktpdDIvV2ViUHJvY2Vzcy9QbHVnaW5zL1BERi9CdWlsdEluUERGVmll
dy5tbQorKysgYi9Tb3VyY2UvV2ViS2l0Mi9XZWJQcm9jZXNzL1BsdWdpbnMvUERGL0J1aWx0SW5Q
REZWaWV3Lm1tCkBAIC0zNDIsNiArMzQyLDcgQEAgYm9vbCBCdWlsdEluUERGVmlldzo6aW5pdGlh
bGl6ZShjb25zdCBQYXJhbWV0ZXJzJiBwYXJhbWV0ZXJzKQogICAgIGlmICghcGFyYW1ldGVycy5z
aG91bGRVc2VNYW51YWxMb2FkZXIgJiYgIXBhcmFtZXRlcnMudXJsLmlzRW1wdHkoKSkKICAgICAg
ICAgY29udHJvbGxlcigpLT5sb2FkVVJMKHBkZkRvY3VtZW50UmVxdWVzdElELCAiR0VUIiwgcGFy
YW1ldGVycy51cmwuc3RyaW5nKCksIFN0cmluZygpLCBIVFRQSGVhZGVyTWFwKCksIFZlY3Rvcjx1
aW50OF90PigpLCBmYWxzZSk7CiAKKyAgICBjb250cm9sbGVyKCktPmRpZEluaXRpYWxpemVQbHVn
aW4oKTsKICAgICByZXR1cm4gdHJ1ZTsKIH0KIAo=
</data>
<flag name="review"
          id="170804"
          type_id="1"
          status="+"
          setter="ap"
    />
          </attachment>
      

    </bug>

</bugzilla>