Regression test for crbug.com/502337304
