Bug 1045500 - Allow differentiating GMP PluginCrashed events from others. r=jesup, a=sledru
authorGeorg Fritzsche <georg.fritzsche@googlemail.com>
Tue, 29 Jul 2014 16:46:16 +0200
changeset 217322 f6c2062afda0393a8c22c723431ceb44ffe5df4a
parent 217321 b32f17c988ad8eaf90cf48ca33f592870c10223a
child 217323 82a8d3181fa97d3d1e0ef57795ae76196fe2e20b
push id515
push userraliiev@mozilla.com
push dateMon, 06 Oct 2014 12:51:51 +0000
treeherdermozilla-release@267c7a481bef [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjesup, sledru
bugs1045500
milestone33.0a2
Bug 1045500 - Allow differentiating GMP PluginCrashed events from others. r=jesup, a=sledru
media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp
--- a/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp
+++ b/media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp
@@ -1708,16 +1708,20 @@ PeerConnectionImpl::PluginCrash(uint64_t
   propBag->SetPropertyAsAString(NS_LITERAL_STRING("pluginDumpID"),
                                 aPluginDumpID);
 
 
   // add a "pluginName" property to this event
   propBag->SetPropertyAsAString(NS_LITERAL_STRING("pluginName"),
                                 aPluginName);
 
+  // add a "pluginName" property to this event
+  propBag->SetPropertyAsBool(NS_LITERAL_STRING("gmpPlugin"),
+                             true);
+
   // add a "submittedCrashReport" property to this event
   propBag->SetPropertyAsBool(NS_LITERAL_STRING("submittedCrashReport"),
                              false);
 
   variant->SetAsISupports(propBag);
 
   EventDispatcher::DispatchDOMEvent(mWindow, nullptr, event, nullptr, nullptr);
 #endif