From db9f86614fc7d0a8a17ad56f2fa30f463e6d193b Mon Sep 17 00:00:00 2001 From: Matthew Noorenberghe Date: Fri, 22 Feb 2019 15:13:05 +0000 Subject: [PATCH] Bug 1474143 - Rename FormSubmitChild.jsm to FormValidationChild.jsm. r=Felipe Differential Revision: https://phabricator.services.mozilla.com/D16653 --HG-- rename : browser/actors/FormSubmitChild.jsm => browser/actors/FormValidationChild.jsm extra : moz-landing-system : lando --- .../actors/{FormSubmitChild.jsm => FormValidationChild.jsm} | 6 +++--- browser/actors/moz.build | 2 +- browser/components/BrowserGlue.jsm | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename browser/actors/{FormSubmitChild.jsm => FormValidationChild.jsm} (98%) 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": {}, },