Add thread violation checks to WebView public APIs.