<?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>41678</bug_id>
          
          <creation_ts>2010-07-06 03:15:08 -0700</creation_ts>
          <short_desc>[Qt] QtScript should provide an API for accessing the JS environment from slots</short_desc>
          <delta_ts>2011-07-07 07:49:28 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>41664</dependson>
          <blocked>31863</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kent Hansen">kent.hansen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cmarcelo</cc>
    
    <cc>jedrzej.nowacki</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>246982</commentid>
    <comment_count>0</comment_count>
    <who name="Kent Hansen">kent.hansen</who>
    <bug_when>2010-07-06 03:15:08 -0700</bug_when>
    <thetext>See http://doc.trolltech.com/latest/qscriptable.html

This API effectively gives a C++ slot access to the this-object and arguments when the slot is invoked from JS.
It&apos;s most useful for implementing a QObject-based prototype object.
It can also be used to implement slots that can take an arbitrary number of arguments (normally the &quot;extra&quot; arguments would be discarded when calling the slot).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433436</commentid>
    <comment_count>1</comment_count>
    <who name="Jędrzej Nowacki">jedrzej.nowacki</who>
    <bug_when>2011-07-07 07:49:28 -0700</bug_when>
    <thetext>Porting QtScript API over JSC C API will not be continued.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>