1999-06-24 00:07:34 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* 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/. */
|
1999-06-24 00:07:34 +00:00
|
|
|
|
|
|
|
|
2007-04-17 04:06:12 +00:00
|
|
|
#include "nsISupports.idl"
|
1999-06-24 00:07:34 +00:00
|
|
|
|
2016-01-30 17:05:36 +00:00
|
|
|
interface mozIDOMWindow;
|
2007-04-17 04:06:12 +00:00
|
|
|
interface nsIURI;
|
2010-09-11 04:07:41 +00:00
|
|
|
interface nsIArray;
|
1999-06-24 00:07:34 +00:00
|
|
|
|
2018-04-06 22:32:25 +00:00
|
|
|
webidl HTMLFormElement;
|
2018-08-16 19:20:54 +00:00
|
|
|
webidl Element;
|
2018-04-06 22:32:25 +00:00
|
|
|
|
2016-01-30 17:05:36 +00:00
|
|
|
[scriptable, uuid(867cb7e7-835d-408b-9788-d2834d284e03)]
|
2007-04-17 04:06:12 +00:00
|
|
|
interface nsIFormSubmitObserver: nsISupports
|
|
|
|
{
|
2018-04-06 22:32:25 +00:00
|
|
|
void notifyInvalidSubmit(in HTMLFormElement formNode,
|
2018-08-16 19:20:54 +00:00
|
|
|
in Array<Element> invalidElements);
|
2007-04-17 04:06:12 +00:00
|
|
|
};
|
1999-06-24 00:07:34 +00:00
|
|
|
|
2007-04-17 04:06:12 +00:00
|
|
|
%{C++
|
2010-09-11 04:07:41 +00:00
|
|
|
#define NS_INVALIDFORMSUBMIT_SUBJECT "invalidformsubmit"
|
2007-04-17 04:06:12 +00:00
|
|
|
%}
|