Skip to content
  • yurys@chromium.org's avatar
    2011-05-18 Yury Semikhatsky <yurys@chromium.org> · aa17fdc4
    yurys@chromium.org authored
            Reviewed by Pavel Feldman.
    
            InjectedScriptSource.js - "Don't be eval()."
            https://bugs.webkit.org/show_bug.cgi?id=60800
    
            * inspector/console/console-eval-blocked-expected.txt: Added.
            * inspector/console/console-eval-blocked.html: Added.
    2011-05-18  Yury Semikhatsky  <yurys@chromium.org>
    
            Reviewed by Pavel Feldman.
    
            InjectedScriptSource.js - "Don't be eval()."
            https://bugs.webkit.org/show_bug.cgi?id=60800
    
            Thanks to Adam Barth for providing JSC implementation!
    
            InjectedScriptHost.evaluate is used to perform script evaluations for
            inspector needs. This method is not affected by CSP and should fix inspector
            on pages with CSP restrictions.
    
            Test: inspector/console/console-eval-blocked.html
    
            * bindings/js/JSInjectedScriptHostCustom.cpp:
            (WebCore::JSInjectedScriptHost::evaluate):
            * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
            (WebCore::V8InjectedScriptHost::evaluateCallback):
            (WebCore::V8InjectedScriptHost::inspectedNodeCallback):
            * inspector/InjectedScriptHost.idl:
            * inspector/InjectedScriptSource.js:
            (.):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    aa17fdc4