Bug 1219882 - Add a 'save.1' probe for the 'Bookmark Link' web context menu. r=margaret, a=sylvestre
authorMark Finkle <mfinkle@mozilla.com>
Thu, 29 Oct 2015 18:44:40 -0400
changeset 296651 a54630b3ac76
parent 296650 e728e4f632e5
child 296652 37d6cc360023
push id5275
push usercbook@mozilla.com
push date2015-11-09 10:21 +0000
treeherdermozilla-beta@a54630b3ac76 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret, sylvestre
bugs1219882
milestone43.0
Bug 1219882 - Add a 'save.1' probe for the 'Bookmark Link' web context menu. r=margaret, a=sylvestre
mobile/android/chrome/content/browser.js
--- a/mobile/android/chrome/content/browser.js
+++ b/mobile/android/chrome/content/browser.js
@@ -825,16 +825,17 @@ var BrowserApp = {
           phone: url
         });
       });
 
     NativeWindow.contextmenus.add(stringGetter("contextmenu.bookmarkLink"),
       NativeWindow.contextmenus._disableRestricted("BOOKMARK", NativeWindow.contextmenus.linkBookmarkableContext),
       function(aTarget) {
         UITelemetry.addEvent("action.1", "contextmenu", null, "web_bookmark");
+        UITelemetry.addEvent("save.1", "contextmenu", null, "bookmark");
 
         let url = NativeWindow.contextmenus._getLinkURL(aTarget);
         let title = aTarget.textContent || aTarget.title || url;
         Messaging.sendRequest({
           type: "Bookmark:Insert",
           url: url,
           title: title
         });