diff options
Diffstat (limited to 'base/content/urlbarBindings.xml')
-rw-r--r-- | base/content/urlbarBindings.xml | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/base/content/urlbarBindings.xml b/base/content/urlbarBindings.xml index b2a1f32..4ff1e66 100644 --- a/base/content/urlbarBindings.xml +++ b/base/content/urlbarBindings.xml @@ -601,7 +601,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. typeof(engineOrEngineName) == "string" ? Services.search.getEngineByName(engineOrEngineName) : engineOrEngineName; - let isOneOff = this.popup.oneOffSearchButtons; // Infer the type of the event which triggered the search. let eventType = "unknown"; if (event instanceof KeyboardEvent) { @@ -611,7 +610,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. } // Augment the search action details object. let details = searchActionDetails || {}; - details.isOneOff = isOneOff; details.type = eventType; let submission = engine.getSubmission(query, null, "keyword"); @@ -1287,12 +1285,6 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. var searchBar = BrowserSearch.searchBar; var popupForSearchBar = searchBar && searchBar.textbox == this.mInput; - if (popupForSearchBar) { - searchBar.telemetrySearchDetails = { - index: controller.selection.currentIndex, - kind: "mouse" - }; - } // Check for unmodified left-click, and use default behavior if (aEvent.button == 0 && !aEvent.shiftKey && !aEvent.ctrlKey && @@ -1435,12 +1427,10 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. <body><![CDATA[ this._oneOffSearchesEnabled = enable; if (enable) { - this.oneOffSearchButtons.telemetryOrigin = "urlbar"; this.oneOffSearchButtons.style.display = "-moz-box"; this.oneOffSearchButtons.popup = this; this.oneOffSearchButtons.textbox = this.input; } else { - this.oneOffSearchButtons.telemetryOrigin = null; this.oneOffSearchButtons.style.display = "none"; this.oneOffSearchButtons.popup = null; this.oneOffSearchButtons.textbox = null; |