So this change allows these tests to actually run in Chrome (it was only running in Dartium for me before), but do you have any idea why this is necessary?

Also, should probably make the same change to test/ext/harness_extension.html as it has the same issue. Although on my test in Chrome in just now it did crash my browser :-(