Browser test's main thread corresponds roughly to the product's UI thread. Since file IO is disallowed on the UI thread, we should also disallow it on browser test's main thread. This way we can hopefully find and fix ThreadRestrictions::AssertIOAllowed violations that right now have to be found and fixed one-by-one (i.e. issue 626972 ).
Comment 1 by lukasza@chromium.org
, Jul 28 2016