-
mkwst@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=104365 Reviewed by Ojan Vafai. Source/WebCore: Adds a console message to cover script execution blocked within the context of a sandboxed frame which lacks the 'allow-scripts' permission. * bindings/ScriptControllerBase.cpp: (WebCore::ScriptController::canExecuteScripts): Log a warning when sandboxing flags block script execution. Tools: * Scripts/webkitpy/performance_tests/perftest.py: (PerfTest): Ignoring the new console message in perftests, as it broke parsing for the Parser/html-parser.html microbenchmark. LayoutTests: * fast/frames/sandboxed-iframe-attribute-parsing-expected.txt: * fast/frames/sandboxed-iframe-autofocus-denied-expected.txt: * fast/frames/sandboxed-iframe-parsing-space-characters-expected.txt: * fast/frames/sandboxed-iframe-scripting-expected.txt: * http/tests/security/contentSecurityPolicy/sandbox-empty-expected.txt: * http/tests/security/contentSecurityPolicy/sandbox-empty-subframe-expected.txt: * http/tests/security/contentSecurityPolicy/sandbox-in-http-header-control-expected.txt: * http/tests/security/contentSecurityPolicy/sandbox-in-http-header-expected.txt: * http/tests/security/contentSecurityPolicy/sandbox-invalid-header-expected.txt: * http/tests/security/isolatedWorld/sandboxed-iframe-expected.txt: * http/tests/security/sandbox-inherit-to-initial-document-2-expected.txt: * media/video-controls-no-scripting-expected.txt: Rebaselining tests with new expectations. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
498242cb