Add Blink setting to block doc.written scripts on 2g-like networks
Use the NetworkQualityEstimator to add the ability to block synchronous script
loading with document.write if the network conditions are 2G or 2G-like.
This CL also adds TestRunner API to let layout tests override the effective network type.
BUG=
633569
Committed:
https://crrev.com/3bddb7d26f782d26958aa3afb0777adb1792033d
Cr-Commit-Position: refs/heads/master@{#420117}