InspectorPageAgent::disable forces JavaScript to be enabled even if the user didn't change it via the protocol.
Created attachment 196391 [details] Proposed Change
Comment on attachment 196391 [details] Proposed Change Maybe the Inspector should be more careful about toggling the setting for the entire frame tree instead of just the main frame. But your change here doesn't change that behavior.
Comment on attachment 196391 [details] Proposed Change Clearing flags on attachment: 196391 Committed r147580: <http://trac.webkit.org/changeset/147580>
All reviewed patches have been landed. Closing bug.