Give the FrameLoaderClient the ability to override Settings::isJavaScriptEnabled. I plan to use this to remove ChromiumBridge::uiResourceProtocol() as well as some other application-specific cruft in V8Proxy.cpp.
Created attachment 42239 [details] v1 patch
This looks great, but can't we just delete V8Proxy::isEnabled? V8Proxy and ScriptContoller are the same thing.
Yes, I can do that. I can also remove uiResourceProtocol from ChromiumBridge!
Comment on attachment 42239 [details] v1 patch Looks OK. r=me
Created attachment 42240 [details] v2 patch
Comment on attachment 42240 [details] v2 patch Great! I like how this patch makes the old code look silly.
Landed as: http://trac.webkit.org/changeset/50441