Skip to content

Commit b50d611

Browse files
hsivonensideshowbarker
authored andcommitted
Mozilla bug 1650066 fixup - Avoid calling errListUnclosedStartTags in C++.
Differential Revision: https://phabricator.services.mozilla.com/D82007
1 parent ae7119f commit b50d611

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nu/validator/htmlparser/impl/TreeBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,9 +1350,11 @@ public final void eof() throws SAXException {
13501350
assert fragment;
13511351
break eofloop;
13521352
}
1353+
// [NOCPP[
13531354
if (errorHandler != null) {
13541355
errListUnclosedStartTags(0);
13551356
}
1357+
// ]NOCPP]
13561358
while (currentPtr >= eltPos) {
13571359
pop();
13581360
}

0 commit comments

Comments
 (0)