Subramanya Sastry has submitted this change and it was merged.

Change subject: Detect & report lost EOFTk tokens, and fix a small bug in 
roundtrip-tests
......................................................................


Detect & report lost EOFTk tokens, and fix a small bug in roundtrip-tests

* Check if the last token was an EOFTk when receiving the 'end' event in the
  HTML5TreeBuilder. Throw an error if it went missing, so that we can identify
  and fix those pages. This should hopefully help us in eventually fixing the
  elusive list bug.
* Use process.exit, not console.exit when reporting errors to the command line
  in roundtrip-test.js

Change-Id: I9110f51f17643ca9bd85fc049dbed7ee214e4fcb
---
M js/lib/mediawiki.HTML5TreeBuilder.node.js
M js/tests/roundtrip-test.js
2 files changed, 7 insertions(+), 1 deletion(-)

Approvals:
  Subramanya Sastry: Verified; Looks good to me, approved


--
To view, visit https://gerrit.wikimedia.org/r/34230
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9110f51f17643ca9bd85fc049dbed7ee214e4fcb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: GWicke <[email protected]>
Gerrit-Reviewer: Subramanya Sastry <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to