(Creating a new ticket so that if we do end up writing a patch, we have a bug to point back to, and also so that other ticket doesn't get off-topicish just in case)
Per discussion in T154957, and relevant comment (T154957#2929978):
Thoughts? This should be considerably pretty easy to do.