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 298356 a54630b3ac766e8b1e1677bc8da90b2ce241bae4
parent 298355 e728e4f632e5a81b69f1675dca99c30df6b94b7b
child 298357 37d6cc3600233fc234688927f5e2615c74c41496
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [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
         });