See bug # 1776622.