LocalMediaStream wrapped as a MediaStream despite having IDL that knows better. 0x01fca175 [Google Chrome Framework] + 0x01fa9175] WebCore::V8MediaStream::createWrapper(WTF::PassRefPtr<WebCore::MediaStream>, v8::Handle<v8::Object>, v8::Isolate*) 0x01eab664 [Google Chrome Framework] + 0x01e8a664] WebCore::MediaStreamAudioDestinationNodeV8Internal::streamAttrGetter(v8::Local<v8::String>, v8::AccessorInfo const&) 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<v8::internal::Object>, v8::internal::Handle<v8::internal::String>) 0x013e06e5 [Google Chrome Framework] + 0x013bf6e5] v8::internal::LoadIC_Miss(v8::internal::Arguments, v8::internal::Isolate*) Suppress check for now, but there's an underlying bug that the stop() method in LocalMediaStream.idl won't be available on a local media stream wrapped in this manner. Need a custom wrapper to check if islocal and wrap accordingly.
@tommyw: We need to make the toV8 function for MediaStream smarter so that it can create a LocalMediaStream wrapper when appropriate.
Created attachment 187144 [details] A Patch.
Comment on attachment 187144 [details] A Patch. Do we have a LayoutTest for this case? Also, we should open a bug for fixing the custom wrapping dispatch.
(In reply to comment #3) > (From update of attachment 187144 [details]) > Do we have a LayoutTest for this case? Also, we should open a bug for fixing the custom wrapping dispatch. No, I don't have a layouttest; the page in the wild which reproduced this was complex. Followup bug is https://bugs.webkit.org/show_bug.cgi?id=109219
Comment on attachment 187144 [details] A Patch. Clearing flags on attachment: 187144 Committed r142177: <http://trac.webkit.org/changeset/142177>
All reviewed patches have been landed. Closing bug.