gecko-dev/dom/xul
Timothy Guan-tin Chien 08741f30ed Bug 1460962 - Support customized built-in element in XUL r=smaug
This patch enables us to specify a custom element type with |is| attribute
or property when creating a XUL element. Because non-dashed names are valid
custom element names in XUL (bug 1446247), other checks has to modified
accordingly.

The checks I am settling with are
1) Forbids the custom built-in element names to be a non-dashed name.
2) Forbids the custom built-in element to extend a dashed built-in element name.

This also ensures the custom built-in element types don't take on the same
name as the element name it extends.

MozReview-Commit-ID: GCQ9RnfvvrC

--HG--
extra : rebase_source : 2fa13742525d2107580d50872ff5b0fc42539498
extra : source : 2dc5513660d78a4de4801109140743ffc9297f71
2018-05-11 12:44:46 -07:00
..
crashtests Bug 1446961, remove obsolete calls to showPopup and replace usages of the popup box object with the same methods defined on popups, r=paolo 2018-04-27 11:04:36 -04:00
test Bug 1448162 - Remove all XUL overlay tests. r=Gijs 2018-03-22 16:21:26 -07:00
moz.build Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz 2018-04-27 11:04:38 -04:00
nsForwardReference.h
nsIController.idl
nsIControllers.idl
nsIXULOverlayProvider.idl
nsIXULSortService.idl
nsXULCommandDispatcher.cpp Bug 1460940 - Clean up most remaining C++-side uses of nsIDOMDocument. r=bz 2018-05-11 19:46:15 +02:00
nsXULCommandDispatcher.h Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot 2018-04-26 23:36:10 -04:00
nsXULContentSink.cpp Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike 2018-04-28 20:06:40 -07:00
nsXULContentSink.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
nsXULContentUtils.cpp Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike 2018-04-28 20:06:40 -07:00
nsXULContentUtils.h Bug 833098: Part 2 - Remove RDF service. r=hsivonen,Mossop,pike 2018-04-28 20:06:40 -07:00
nsXULControllers.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsXULControllers.h
nsXULElement.cpp Bug 1460962 - Support customized built-in element in XUL r=smaug 2018-05-11 12:44:46 -07:00
nsXULElement.h Bug 1460962 - Support customized built-in element in XUL r=smaug 2018-05-11 12:44:46 -07:00
nsXULPopupListener.cpp Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
nsXULPopupListener.h Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
nsXULPrototypeCache.cpp Bug 1447828 part 2 - Remove StyleBackendType uses from nsXULPrototypeCache. r=emilio 2018-03-29 02:31:23 +11:00
nsXULPrototypeCache.h Bug 1447828 part 2 - Remove StyleBackendType uses from nsXULPrototypeCache. r=emilio 2018-03-29 02:31:23 +11:00
nsXULPrototypeDocument.cpp Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj 2018-04-28 12:50:58 -07:00
nsXULPrototypeDocument.h Bug 1459528: Remove nsXULPrototypeDocument::{Set,Get}HeaderData. r=heycam 2018-05-07 10:36:00 +02:00
nsXULSortService.cpp Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot 2018-04-26 23:37:34 -04:00
nsXULSortService.h Backed out 4 changesets (bug 525063) on request from Andi. a=backout 2018-04-13 16:01:28 +03:00
XULDocument.cpp Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke 2018-05-16 10:53:16 +02:00
XULDocument.h Bug 1461701: Remove nsUpdateType and UPDATE_CONTENT_MODEL. r=smaug 2018-05-15 18:47:16 +02:00
XULPopupElement.cpp Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz 2018-04-27 11:04:38 -04:00
XULPopupElement.h Bug 1446961, move PopupBoxObject to XULPopupElement, a new subclass of XULElement. Remove popup.xml methods, r=paolo,bz 2018-04-27 11:04:38 -04:00