Hash :
85c112a0
Author :
Date :
2017-06-12T18:26:11
Add test cases for bug 758518 test/HTML/758518-entity.html exposed a bug in pushParseTest() in runtest.c which assumed that an input file was at least 4 bytes long. That test case is only 3 bytes, so we now take the minimum of 4 bytes or the length of the test input. We also now use 'chunkSize' in place of the hard-coded value '1024' later in the function.
SAX.setDocumentLocator()
SAX.startDocument()
SAX.error: htmlParseEntityRef: expecting ';'
SAX.startElement(html)
SAX.startElement(body)
SAX.startElement(p)
SAX.characters(&, 1)
SAX.characters(Ù, 2)
SAX.endElement(p)
SAX.endElement(body)
SAX.endElement(html)
SAX.endDocument()