Test case for http://code.google.com/p/chromium/issues/detail?id=306239