I am getting multiple warnings on Special:Log when the main log type is changed.
Headers already sent, should send headers earlier than OutputPage->output MediaWiki\HeaderCallback::warnIfHeadersSent
Apparently this has been happening since before the change to HTMLForm? I tested on a random commit (cee72ecf) before the conversion was merged, and I see it there too.