Regression from http://trac.webkit.org/projects/webkit/changeset/118585. Two test fail on Lion Debug and Release, WK1 and WK2. +http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url.html expected actual diff pretty diff +http/tests/security/contentSecurityPolicy/javascript-url-blocked.html Example diff : --- /Volumes/Data/slave/mountainlion-production-wk2-tests/build/OpenSource/layout-test-results/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-expected.txt +++ /Volumes/Data/slave/mountainlion-production-wk2-tests/build/OpenSource/layout-test-results/http/tests/security/contentSecurityPolicy/inline-script-blocked-javascript-url-actual.txt @@ -4,6 +4,6 @@ CONSOLE MESSAGE: Unrecognized Content-Security-Policy directive 'options'. -CONSOLE MESSAGE: line 1: Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*". +CONSOLE MESSAGE: Refused to execute JavaScript URL because it violates the following Content Security Policy directive: "script-src http://127.0.0.1:*". This test passes if it doesn't alert fail.
<rdar://problem/11539513>
Checked in failing results http://trac.webkit.org/projects/webkit/changeset/118598
Created attachment 144493 [details] Patch The found the difference between JSC and V8 implementations of ScriptController::eventHandlerPosition(). Making JSC implementation behave as the V8 one fixes the line printing issue (because the function returns line 1 instead of line 0 in those cases). The patch does not seem to cause any regression for me.
Created attachment 144498 [details] Patch Update patch to remove Qt-specific expectations as well.
Comment on attachment 144498 [details] Patch Thanks!
Comment on attachment 144498 [details] Patch Clearing flags on attachment: 144498 Committed r118861: <http://trac.webkit.org/changeset/118861>
All reviewed patches have been landed. Closing bug.