diff --git a/browser/components/urlbar/UrlbarEventBufferer.jsm b/browser/components/urlbar/UrlbarEventBufferer.jsm index 7054b768cc1d..ac40baeb3f26 100644 --- a/browser/components/urlbar/UrlbarEventBufferer.jsm +++ b/browser/components/urlbar/UrlbarEventBufferer.jsm @@ -123,7 +123,7 @@ class UrlbarEventBufferer { /** * Handles DOM events. - * @param {Event} event DOM event from the . + * @param {Event} event DOM event from the input. */ handleEvent(event) { if (event.type == "blur") { @@ -141,7 +141,7 @@ class UrlbarEventBufferer { /** * Receives DOM events, eventually queues them up, and calls back when it's * the right time to handle the event. - * @param {Event} event DOM event from the . + * @param {Event} event DOM event from the input. * @param {Function} callback to be invoked when it's the right time to handle * the event. */ diff --git a/browser/components/urlbar/UrlbarInput.jsm b/browser/components/urlbar/UrlbarInput.jsm index 011550f5a060..366e28995abe 100644 --- a/browser/components/urlbar/UrlbarInput.jsm +++ b/browser/components/urlbar/UrlbarInput.jsm @@ -40,15 +40,14 @@ let getBoundsWithoutFlushing = element => let px = number => number.toFixed(2) + "px"; /** - * Represents the urlbar . - * Also forwards important textbox properties and methods. + * Implements the text input part of the address bar UI. */ class UrlbarInput { /** * @param {object} options * The initial options for UrlbarInput. * @param {object} options.textbox - * The element. + * The container element. */ constructor(options = {}) { this.textbox = options.textbox; @@ -356,9 +355,8 @@ class UrlbarInput { } /** - * Passes DOM events for the textbox to the _on_ methods. + * Passes DOM events to the _on_ methods. * @param {Event} event - * DOM event from the . */ handleEvent(event) { let methodName = "_on_" + event.type;