Bug 839179 - Part d: Make sure the button element bindings throw exceptions where necessary; r=bz
authorMs2ger <ms2ger@gmail.com>
Tue, 12 Feb 2013 11:10:32 +0100
changeset 131391 8892ac17e3dfc94a486cbd622ededa3ee10311b0
parent 131390 7dcd291142be2940f8e1dfc63d0cec83494e3af2
child 131392 5251a87b7b7ccd7395bfc3704f647e5f0b5c3de5
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs839179
milestone21.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 839179 - Part d: Make sure the button element bindings throw exceptions where necessary; r=bz
dom/webidl/HTMLButtonElement.webidl
--- a/dom/webidl/HTMLButtonElement.webidl
+++ b/dom/webidl/HTMLButtonElement.webidl
@@ -7,26 +7,37 @@
  * http://www.whatwg.org/specs/web-apps/current-work/#the-button-element
  * © Copyright 2004-2011 Apple Computer, Inc., Mozilla Foundation, and
  * Opera Software ASA. You are granted a license to use, reproduce
  * and create derivative works of this document.
  */
 
 // http://www.whatwg.org/specs/web-apps/current-work/#the-button-element
 interface HTMLButtonElement : HTMLElement {
+  [SetterThrows, Pure]
            attribute boolean autofocus;
+  [SetterThrows, Pure]
            attribute boolean disabled;
+  [Pure]
   readonly attribute HTMLFormElement? form;
+  [SetterThrows, Pure]
            attribute DOMString formAction;
+  [SetterThrows, Pure]
            attribute DOMString formEnctype;
+  [SetterThrows, Pure]
            attribute DOMString formMethod;
+  [SetterThrows, Pure]
            attribute boolean formNoValidate;
+  [SetterThrows, Pure]
            attribute DOMString formTarget;
+  [SetterThrows, Pure]
            attribute DOMString name;
+  [SetterThrows, Pure]
            attribute DOMString type;
+  [SetterThrows, Pure]
            attribute DOMString value;
 // Not yet implemented:
 //           attribute HTMLMenuElement? menu;
 
   readonly attribute boolean willValidate;
   readonly attribute ValidityState validity;
   readonly attribute DOMString validationMessage;
   boolean checkValidity();