<?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>93095</bug_id>
          
          <creation_ts>2012-08-03 05:21:33 -0700</creation_ts>
          <short_desc>[V8] meta: Refactor V8 bindings</short_desc>
          <delta_ts>2013-09-01 10:49:20 -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>WebCore JavaScript</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          <dependson>75793</dependson>
    
    <dependson>85330</dependson>
    
    <dependson>93093</dependson>
    
    <dependson>93211</dependson>
    
    <dependson>93215</dependson>
    
    <dependson>93217</dependson>
    
    <dependson>93218</dependson>
    
    <dependson>93220</dependson>
    
    <dependson>93223</dependson>
    
    <dependson>93226</dependson>
    
    <dependson>93239</dependson>
    
    <dependson>93254</dependson>
    
    <dependson>93312</dependson>
    
    <dependson>93318</dependson>
    
    <dependson>93326</dependson>
    
    <dependson>93333</dependson>
    
    <dependson>93334</dependson>
    
    <dependson>93342</dependson>
    
    <dependson>93343</dependson>
    
    <dependson>93592</dependson>
    
    <dependson>93595</dependson>
    
    <dependson>93598</dependson>
    
    <dependson>93615</dependson>
    
    <dependson>93803</dependson>
    
    <dependson>93805</dependson>
    
    <dependson>93807</dependson>
    
    <dependson>93810</dependson>
    
    <dependson>93818</dependson>
    
    <dependson>93821</dependson>
    
    <dependson>93822</dependson>
    
    <dependson>93824</dependson>
    
    <dependson>93835</dependson>
    
    <dependson>93836</dependson>
    
    <dependson>93839</dependson>
    
    <dependson>94436</dependson>
    
    <dependson>94571</dependson>
    
    <dependson>94573</dependson>
    
    <dependson>94574</dependson>
    
    <dependson>94588</dependson>
    
    <dependson>94710</dependson>
    
    <dependson>97057</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kentaro Hara">haraken</reporter>
          <assigned_to name="Kentaro Hara">haraken</assigned_to>
          <cc>abarth</cc>
    
    <cc>andersca</cc>
    
    <cc>dglazkov</cc>
    
    <cc>japhet</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>686591</commentid>
    <comment_count>0</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-08-03 05:21:33 -0700</bug_when>
    <thetext>I&apos;m planning to refactor V8 bindings, blocking this meta bug. Let&apos;s discuss high-level stuff here.

Examples:
- Remove v8::Undefined(), v8::Handle&lt;v8::Value&gt;(), ...etc and use v8Undefined() everywhere.
- Clean up V8Binding.h and document what each method does (just like v8.h).
- Rename classes and files for clarification and consistency (e.g. SharedPersistent =&gt; OwnPersistent, WindowShell =&gt; WindowProxy, V8BindingsPerIsolateData =&gt; V8PerIsolateData, etc)
- Remove hand-written ref()/deref() and Persistent::New()/Dispose().
- Fix a bunch of incorrect use of v8::TryCatch().
- Simplify V8Parameter and V8ParameterBase.
- ...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>686849</commentid>
    <comment_count>1</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-08-03 09:46:34 -0700</bug_when>
    <thetext>That all sounds great.  Can I add one thing?  We should break V8Binding.h down into a bunch of smaller headers.  At the moment, it&apos;s a bit of a dumping ground for random functions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>686857</commentid>
    <comment_count>2</comment_count>
    <who name="Kentaro Hara">haraken</who>
    <bug_when>2012-08-03 09:49:46 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; That all sounds great.  Can I add one thing?  We should break V8Binding.h down into a bunch of smaller headers.  At the moment, it&apos;s a bit of a dumping ground for random functions.

I do agree. At least I&apos;d like to split out &quot;V8 Binding APIs&quot; from V8Binding.h to another header with a good documentation in each method (just like v8.h).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923525</commentid>
    <comment_count>3</comment_count>
    <who name="Anders Carlsson">andersca</who>
    <bug_when>2013-09-01 10:49:20 -0700</bug_when>
    <thetext>V8 is gone.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>