<?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>109219</bug_id>
          
          <creation_ts>2013-02-07 12:41:52 -0800</creation_ts>
          <short_desc>LocalMediaStream wrapped as a MediaStream despite having IDL for the subtype.</short_desc>
          <delta_ts>2013-02-08 02:37:56 -0800</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 Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Thomas Sepez">tsepez</reporter>
          <assigned_to name="Tommy Widenflycht">tommyw</assigned_to>
          <cc>abarth</cc>
    
    <cc>tommyw</cc>
    
    <cc>tsepez</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>827803</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Sepez">tsepez</who>
    <bug_when>2013-02-07 12:41:52 -0800</bug_when>
    <thetext>Spun off from https://bugs.webkit.org/show_bug.cgi?id=109211

LocalMediaStream wrapped as a MediaStream despite having IDL for the subtype.

0x01fca175     [Google Chrome Framework]     + 0x01fa9175]    WebCore::V8MediaStream::createWrapper(WTF::PassRefPtr&lt;WebCore::MediaStream&gt;, v8::Handle&lt;v8::Object&gt;, v8::Isolate*)
0x01eab664     [Google Chrome Framework]     + 0x01e8a664]    WebCore::MediaStreamAudioDestinationNodeV8Internal::streamAttrGetter(v8::Local&lt;v8::String&gt;, v8::AccessorInfo const&amp;)
0x0142e86f     [Google Chrome Framework]     + 0x0140d86f]    v8::internal::JSObject::GetPropertyWithCallback(v8::internal::Object*, v8::internal::Object*, v8::internal::String*)
0x0142e62c     [Google Chrome Framework]     + 0x0140d62c]    v8::internal::Object::GetProperty(v8::internal::Object*, v8::internal::LookupResult*, v8::internal::String*, PropertyAttributes*)
0x013dcc8c     [Google Chrome Framework]     + 0x013bbc8c]    v8::internal::LoadIC::Load(v8::internal::InlineCacheState, v8::internal::Handle&lt;v8::internal::Object&gt;, v8::internal::Handle&lt;v8::internal::String&gt;)
0x013e06e5     [Google Chrome Framework]     + 0x013bf6e5]    v8::internal::LoadIC_Miss(v8::internal::Arguments, v8::internal::Isolate*)

The stop() method in LocalMediaStream.idl won&apos;t be available on a local media stream wrapped in this manner. Need a custom wrapper to check if islocal and wrap accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>828364</commentid>
    <comment_count>1</comment_count>
    <who name="Tommy Widenflycht">tommyw</who>
    <bug_when>2013-02-08 02:37:56 -0800</bug_when>
    <thetext>In this case it won&apos;t be a problem; but the general issue should be sorted out. 

There is some movement in actually throwing away the LocalMediaStream in the standardization WG and I&apos;ll bring it up next week. I will also talk with the WebAudio editor (crogers@google.com) if it is more appropriate for it to have a LocalMediaStream instead. If both are &quot;negative&quot; I&apos;ll add a custom toV8 method.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>