зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
24787216b4
Коммит
db9f86614f
|
@ -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);
|
||||
|
|
@ -33,7 +33,7 @@ FINAL_TARGET_FILES.actors += [
|
|||
'ContentSearchChild.jsm',
|
||||
'ContextMenuChild.jsm',
|
||||
'DOMFullscreenChild.jsm',
|
||||
'FormSubmitChild.jsm',
|
||||
'FormValidationChild.jsm',
|
||||
'LightweightThemeChild.jsm',
|
||||
'LightWeightThemeInstallChild.jsm',
|
||||
'LinkHandlerChild.jsm',
|
||||
|
|
|
@ -123,9 +123,9 @@ let ACTORS = {
|
|||
},
|
||||
},
|
||||
|
||||
FormSubmit: {
|
||||
FormValidation: {
|
||||
child: {
|
||||
module: "resource:///actors/FormSubmitChild.jsm",
|
||||
module: "resource:///actors/FormValidationChild.jsm",
|
||||
events: {
|
||||
"MozInvalidForm": {},
|
||||
},
|
||||
|
|
Загрузка…
Ссылка в новой задаче