Bug 837033 - HTMLButtonElement should QI to its CC participant. r=bz

This commit is contained in:
Andrew McCreight 2012-05-25 09:07:24 -07:00
parent e246fe53e7
commit fe47e70ae5
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,4 @@
<!DOCTYPE html>
<html>
<body onload="document.createElement('button').validity.x = null;"></body>
</html>

View File

@ -48,3 +48,4 @@ load 819745.html
pref(dom.experimental_forms,true) load 828472.html
load 828180.html
load 832011.html
load 837033.html

View File

@ -171,7 +171,7 @@ NS_IMPL_RELEASE_INHERITED(nsHTMLButtonElement, Element)
DOMCI_NODE_DATA(HTMLButtonElement, nsHTMLButtonElement)
// QueryInterface implementation for nsHTMLButtonElement
NS_INTERFACE_TABLE_HEAD(nsHTMLButtonElement)
NS_INTERFACE_TABLE_HEAD_CYCLE_COLLECTION_INHERITED(nsHTMLButtonElement)
NS_HTML_CONTENT_INTERFACE_TABLE2(nsHTMLButtonElement,
nsIDOMHTMLButtonElement,
nsIConstraintValidation)