gecko-dev/parser/htmlparser
Eric Rahm 916d8bacc7 Bug 1442760 - Switch nsHTMLTags hashtables to nsDataHashtable. r=hsivonen
This converts nsHTMLTags hashtables from PLHash to nsDataHashtable which
gives us both type safety and simpler code. Addtionally `gTagTable` now holds
a nsString instead of a raw char16_t pointer, this has the benefit of the
strings knowing their sizes allowing for more efficient comparisons. We avoid
heap allocations in the nsString by using `AssignLiteral` with the string from
the static string array.

--HG--
extra : rebase_source : 3ab6409de5e933beb868a0b371dff81e56df0810
2018-03-06 17:27:17 -08:00
..
tests Bug 762726 - Add crashtest. 2017-12-05 11:02:58 -05:00
CNavDTD.cpp
CNavDTD.h
CParserContext.cpp
CParserContext.h
moz.build Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium 2017-12-07 22:09:15 +01:00
nsElementTable.cpp
nsElementTable.h
nsExpatDriver.cpp
nsExpatDriver.h
nsHTMLTagList.h
nsHTMLTags.cpp Bug 1442760 - Switch nsHTMLTags hashtables to nsDataHashtable. r=hsivonen 2018-03-06 17:27:17 -08:00
nsHTMLTags.h Bug 1442760 - Switch nsHTMLTags hashtables to nsDataHashtable. r=hsivonen 2018-03-06 17:27:17 -08:00
nsHTMLTokenizer.cpp
nsHTMLTokenizer.h
nsIContentSink.h
nsIDTD.h
nsIExpatSink.idl
nsIFragmentContentSink.h
nsIHTMLContentSink.h
nsIParser.h
nsITokenizer.h
nsParser.cpp
nsParser.h
nsParserBase.h
nsParserCIID.h
nsParserConstants.h
nsParserModule.cpp
nsParserMsgUtils.cpp
nsParserMsgUtils.h
nsScanner.cpp
nsScanner.h
nsScannerString.cpp
nsScannerString.h