<?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>87092</bug_id>
          
          <creation_ts>2012-05-22 00:34:55 -0700</creation_ts>
          <short_desc>[EFL] webintents/web-intents-delivery-reuse.html is failing on EFL port</short_desc>
          <delta_ts>2012-05-23 13:58:09 -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 EFL</component>
          <version>528+ (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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>86868</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Dumez">cdumez</reporter>
          <assigned_to name="Chris Dumez">cdumez</assigned_to>
          <cc>abarth</cc>
    
    <cc>gbillock</cc>
    
    <cc>gyuyoung.kim</cc>
    
    <cc>lucas.de.marchi</cc>
    
    <cc>ojan</cc>
    
    <cc>rakuco</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>630041</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-05-22 00:34:55 -0700</bug_when>
    <thetext>webkitIntent cannot be assigned for some reason and is always null after assignment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631553</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-05-23 05:47:41 -0700</bug_when>
    <thetext>gbillock: In DOMWindowIntents.idl, should the webkitIntent attribute be really marked as readonly? Because of this, the JSC bindings generator does not generate a setter and does not do any shadowing.

As a consequence, the webintents/web-intents-delivery-reuse.html test is failing for us. If I remove the &quot;readonly&quot; for the attribute, then the test is passing just fine. Is it really something that should be fixed in the JSC bindings generator?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631573</commentid>
    <comment_count>2</comment_count>
      <attachid>143551</attachid>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2012-05-23 06:05:03 -0700</bug_when>
    <thetext>Created attachment 143551
Patch

Here is a patch which removes the &quot;readonly&quot; keyword from the webkitIntent attribute so that it becomes truly replaceable with JSC.
The patch also unskips the corresponding test case for EFL port.

Note that in the whole source tree, there is no other IDL attribute which is both readonly and [Replaceable].</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631670</commentid>
    <comment_count>3</comment_count>
    <who name="Greg Billock">gbillock</who>
    <bug_when>2012-05-23 08:06:01 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; gbillock: In DOMWindowIntents.idl, should the webkitIntent attribute be really marked as readonly? Because of this, the JSC bindings generator does not generate a setter and does not do any shadowing.
&gt; 
&gt; As a consequence, the webintents/web-intents-delivery-reuse.html test is failing for us. If I remove the &quot;readonly&quot; for the attribute, then the test is passing just fine. Is it really something that should be fixed in the JSC bindings generator?

Seems fine to me, but Adam is a better person to ask. I put readonly because when the internal object is returned, JS shouldn&apos;t be altering it -- since it is replaceable, they can just write their own. It sounds like JSC uses another mechanism to accomplish that, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>631964</commentid>
    <comment_count>4</comment_count>
      <attachid>143551</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-05-23 13:20:35 -0700</bug_when>
    <thetext>Comment on attachment 143551
Patch

Ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>632021</commentid>
    <comment_count>5</comment_count>
      <attachid>143551</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-23 13:58:04 -0700</bug_when>
    <thetext>Comment on attachment 143551
Patch

Clearing flags on attachment: 143551

Committed r118241: &lt;http://trac.webkit.org/changeset/118241&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>632022</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-05-23 13:58:09 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>143551</attachid>
            <date>2012-05-23 06:05:03 -0700</date>
            <delta_ts>2012-05-23 13:58:04 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>87092_webkitIntent_replaceable.patch</filename>
            <type>text/plain</type>
            <size>2842</size>
            <attacher name="Chris Dumez">cdumez</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL0NoYW5nZUxvZyBiL0xheW91dFRlc3RzL0NoYW5nZUxv
ZwppbmRleCBhMWU3NjQ5Li44ZjUwMTQ2IDEwMDY0NAotLS0gYS9MYXlvdXRUZXN0cy9DaGFuZ2VM
b2cKKysrIGIvTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTItMDUt
MjMgIENocmlzdG9waGUgRHVtZXogIDxjaHJpc3RvcGhlLmR1bWV6QGludGVsLmNvbT4KKworICAg
ICAgICBbRUZMXSB3ZWJpbnRlbnRzL3dlYi1pbnRlbnRzLWRlbGl2ZXJ5LXJldXNlLmh0bWwgaXMg
ZmFpbGluZyBvbiBFRkwgcG9ydAorICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93
X2J1Zy5jZ2k/aWQ9ODcwOTIKKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4K
KworICAgICAgICBSZW1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