<?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>31863</bug_id>
          
          <creation_ts>2009-11-25 01:41:45 -0800</creation_ts>
          <short_desc>[Qt] Enable access to WebKit&apos;s JavaScript environment with the QtScript API.</short_desc>
          <delta_ts>2011-07-07 07:57:00 -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>All</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>P3</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>32565</dependson>
    
    <dependson>34533</dependson>
    
    <dependson>34575</dependson>
    
    <dependson>34592</dependson>
    
    <dependson>34749</dependson>
    
    <dependson>34793</dependson>
    
    <dependson>34843</dependson>
    
    <dependson>34847</dependson>
    
    <dependson>34850</dependson>
    
    <dependson>35387</dependson>
    
    <dependson>35577</dependson>
    
    <dependson>35578</dependson>
    
    <dependson>35968</dependson>
    
    <dependson>36008</dependson>
    
    <dependson>36123</dependson>
    
    <dependson>36594</dependson>
    
    <dependson>36600</dependson>
    
    <dependson>36603</dependson>
    
    <dependson>36650</dependson>
    
    <dependson>37596</dependson>
    
    <dependson>37598</dependson>
    
    <dependson>37610</dependson>
    
    <dependson>37617</dependson>
    
    <dependson>37729</dependson>
    
    <dependson>37953</dependson>
    
    <dependson>38110</dependson>
    
    <dependson>38112</dependson>
    
    <dependson>39114</dependson>
    
    <dependson>39115</dependson>
    
    <dependson>39356</dependson>
    
    <dependson>40058</dependson>
    
    <dependson>40067</dependson>
    
    <dependson>40110</dependson>
    
    <dependson>40114</dependson>
    
    <dependson>40120</dependson>
    
    <dependson>40412</dependson>
    
    <dependson>40415</dependson>
    
    <dependson>40903</dependson>
    
    <dependson>40911</dependson>
    
    <dependson>41199</dependson>
    
    <dependson>41520</dependson>
    
    <dependson>41598</dependson>
    
    <dependson>41662</dependson>
    
    <dependson>41664</dependson>
    
    <dependson>41665</dependson>
    
    <dependson>41666</dependson>
    
    <dependson>41667</dependson>
    
    <dependson>41668</dependson>
    
    <dependson>41672</dependson>
    
    <dependson>41673</dependson>
    
    <dependson>41674</dependson>
    
    <dependson>41675</dependson>
    
    <dependson>41676</dependson>
    
    <dependson>41677</dependson>
    
    <dependson>41678</dependson>
    
    <dependson>41680</dependson>
    
    <dependson>41681</dependson>
    
    <dependson>41683</dependson>
    
    <dependson>41713</dependson>
    
    <dependson>41769</dependson>
    
    <dependson>41839</dependson>
    
    <dependson>42363</dependson>
    
    <dependson>42364</dependson>
    
    <dependson>42366</dependson>
    
    <dependson>43038</dependson>
    
    <dependson>43115</dependson>
          <blocked>23250</blocked>
    
    <blocked>24102</blocked>
    
    <blocked>30556</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Hausmann">hausmann</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cmarcelo</cc>
    
    <cc>florianlink</cc>
    
    <cc>girish</cc>
    
    <cc>jedrzej.nowacki</cc>
    
    <cc>kent.hansen</cc>
    
    <cc>kimmo.t.kinnunen</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>pvarga</cc>
    
    <cc>yael</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>166384</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-25 01:41:45 -0800</bug_when>
    <thetext>This allows developers to easily expose new JavaScript APIs to WebKit, without having to change WebKit or to use a NPAPI plugin. For example, bindings to an existing C++ library could be made available in WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166385</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-25 01:42:06 -0800</bug_when>
    <thetext>The high-level requirements are tracked at http://bugreports.qt.nokia.com/browse/QTWEBKIT-2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166387</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hausmann">hausmann</who>
    <bug_when>2009-11-25 01:42:30 -0800</bug_when>
    <thetext>*** Bug 29877 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166685</commentid>
    <comment_count>3</comment_count>
    <who name="Jędrzej Nowacki">jedrzej.nowacki</who>
    <bug_when>2009-11-26 01:50:17 -0800</bug_when>
    <thetext>*** Bug 23250 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171847</commentid>
    <comment_count>4</comment_count>
    <who name="Jędrzej Nowacki">jedrzej.nowacki</who>
    <bug_when>2009-12-15 06:59:20 -0800</bug_when>
    <thetext>It is time to start, as it was discussed on dev mailing list (https://lists.webkit.org/pipermail/webkit-dev/2009-August/009610.html), it would be really great to have Qtish API over JSC. We considered all hints and suggestions and we decided to create a new QtScript like API on top of JSC&apos;s __public__ C API. We would like to start developing in the WebKit repository from the very beginning to avoid any confusion and make our development process transparent.

I would like to keep the bug (31863) as a meta-bug. All other development bugs should be connected to this one as a blockers.

Roadmap:
1. Create a small QJavaScript API.
  a) The API should provide enough functionality to be useful (run scripts, call functions, convert basic data...)
  b) The API implementation should be simple, all optimization work should be started after the API review
2. Change the building system - QtJavaScript and JSC should be build as a shared library (bug 27551)
3. Connect the new API to the QtWebkit API
4. Add new features</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>257047</commentid>
    <comment_count>5</comment_count>
    <who name="Jędrzej Nowacki">jedrzej.nowacki</who>
    <bug_when>2010-07-27 23:52:32 -0700</bug_when>
    <thetext>(In reply to comment #4)
Previous comment is a bit outdated. We decided to not create a new API, but instead move the QtScript implementation over JSC C API.

The current roadmap can be found here:
http://bugreports.qt.nokia.com/browse/QTBUG-11464</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>381697</commentid>
    <comment_count>6</comment_count>
    <who name="Caio Marcelo de Oliveira Filho">cmarcelo</who>
    <bug_when>2011-04-07 14:20:35 -0700</bug_when>
    <thetext>This work is &quot;paused&quot; and we are exploring other options, more details in http://developer.qt.nokia.com/wiki/Category:Developing_Qt::Qt_Script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>433455</commentid>
    <comment_count>7</comment_count>
    <who name="Jędrzej Nowacki">jedrzej.nowacki</who>
    <bug_when>2011-07-07 07:57:00 -0700</bug_when>
    <thetext>Porting QtScript API over JSC C API will not be continued.

Bug numeber for code cleanup related work: 64088</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>