Regression test for crbug.com/507490539
