On 7/10/2014 12:20 PM, Felipe Gomes wrote:
Hey, could I get a starter or bug 1009760? What are these plugins? Do I need to
do something special to compile and use them? How do I get one to test it
crashing? Thanks
(ps.: I'll be in airports all day today, working offline)
I expect the hard part of this is going to be associating the crash with
the DOM window. The code which should notice that the GMP plugin stopped
is
http://mxr.mozilla.org/mozilla-central/source/content/media/gmp/GMPParent.cpp#244
ekr said in https://bugzilla.mozilla.org/show_bug.cgi?id=1009764#c1 that
we should be able to associate that with a webrtc JS context, and from
there it should be easy to get the DOM window and fire a DOM event at
it. But I don't know how all that is hooked up.
After that it should be straightforward to listen for the DOM event at
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser.js#764
and handle it at
http://mxr.mozilla.org/mozilla-central/source/browser/base/content/browser-plugins.js#309
I hope.
--BDS
_______________________________________________
dev-media mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-media