Bug 1474143 - Rename FormSubmitChild.jsm to FormValidationChild.jsm. r=Felipe
authorMatthew Noorenberghe <mozilla@noorenberghe.ca>
Sat, 23 Feb 2019 00:24:30 +0000
changeset 460713 bb1ecf178495365b6260d599bc10dde20134a3c1
parent 460712 d13f92b248a2cea89a3ca2b8e1130741fb4f259c
child 460714 25f5c0d8531da828351138e8db57287cc696a28e
push id78821
push usermozilla@noorenberghe.ca
push dateSat, 23 Feb 2019 00:27:30 +0000
treeherderautoland@5a471d8ee829 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFelipe
bugs1474143
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1474143 - Rename FormSubmitChild.jsm to FormValidationChild.jsm. r=Felipe Differential Revision: https://phabricator.services.mozilla.com/D16653
browser/actors/FormSubmitChild.jsm
browser/actors/FormValidationChild.jsm
browser/actors/moz.build
browser/components/BrowserGlue.jsm
rename from browser/actors/FormSubmitChild.jsm
rename to browser/actors/FormValidationChild.jsm
--- a/browser/actors/FormSubmitChild.jsm
+++ b/browser/actors/FormValidationChild.jsm
@@ -1,25 +1,25 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * 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);
 
     this._validationMessage = "";
     this._element = null;
 
     this.mm.addEventListener("pageshow", this);
   }
--- a/browser/actors/moz.build
+++ b/browser/actors/moz.build
@@ -28,17 +28,17 @@ with Files("WebRTCChild.jsm"):
 FINAL_TARGET_FILES.actors += [
     'AboutReaderChild.jsm',
     'BlockedSiteChild.jsm',
     'BrowserTabChild.jsm',
     'ClickHandlerChild.jsm',
     'ContentSearchChild.jsm',
     'ContextMenuChild.jsm',
     'DOMFullscreenChild.jsm',
-    'FormSubmitChild.jsm',
+    'FormValidationChild.jsm',
     'LightweightThemeChild.jsm',
     'LightWeightThemeInstallChild.jsm',
     'LinkHandlerChild.jsm',
     'NetErrorChild.jsm',
     'OfflineAppsChild.jsm',
     'PageInfoChild.jsm',
     'PageStyleChild.jsm',
     'PluginChild.jsm',
--- a/browser/components/BrowserGlue.jsm
+++ b/browser/components/BrowserGlue.jsm
@@ -118,19 +118,19 @@ let ACTORS = {
       },
       messages: [
         "DOMFullscreen:Entered",
         "DOMFullscreen:CleanUp",
       ],
     },
   },
 
-  FormSubmit: {
+  FormValidation: {
     child: {
-      module: "resource:///actors/FormSubmitChild.jsm",
+      module: "resource:///actors/FormValidationChild.jsm",
       events: {
         "MozInvalidForm": {},
       },
     },
   },
 
   LightWeightThemeInstall: {
     child: {