diff --git a/browser/actors/FormSubmitChild.jsm b/browser/actors/FormValidationChild.jsm similarity index 98% rename from browser/actors/FormSubmitChild.jsm rename to browser/actors/FormValidationChild.jsm index 64200ba038a7..03c37845500a 100644 --- a/browser/actors/FormSubmitChild.jsm +++ b/browser/actors/FormValidationChild.jsm @@ -3,18 +3,18 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; -/* +/** * Handles the validation callback from nsIFormFillController and * the display of the help panel on invalid elements. */ -var EXPORTED_SYMBOLS = ["FormSubmitChild"]; +var EXPORTED_SYMBOLS = ["FormValidationChild"]; const {ActorChild} = ChromeUtils.import("resource://gre/modules/ActorChild.jsm"); const {BrowserUtils} = ChromeUtils.import("resource://gre/modules/BrowserUtils.jsm"); const {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm"); -class FormSubmitChild extends ActorChild { +class FormValidationChild extends ActorChild { constructor(dispatcher) { super(dispatcher); diff --git a/browser/actors/moz.build b/browser/actors/moz.build index 00d1d87867a0..8b972a1418f5 100644 --- a/browser/actors/moz.build +++ b/browser/actors/moz.build @@ -33,7 +33,7 @@ FINAL_TARGET_FILES.actors += [ 'ContentSearchChild.jsm', 'ContextMenuChild.jsm', 'DOMFullscreenChild.jsm', - 'FormSubmitChild.jsm', + 'FormValidationChild.jsm', 'LightweightThemeChild.jsm', 'LightWeightThemeInstallChild.jsm', 'LinkHandlerChild.jsm', diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.jsm index a5f64bcc09a1..2e4038379bcb 100644 --- a/browser/components/BrowserGlue.jsm +++ b/browser/components/BrowserGlue.jsm @@ -123,9 +123,9 @@ let ACTORS = { }, }, - FormSubmit: { + FormValidation: { child: { - module: "resource:///actors/FormSubmitChild.jsm", + module: "resource:///actors/FormValidationChild.jsm", events: { "MozInvalidForm": {}, },