1. 20 Jun, 2011 33 commits
    • oliver@apple.com's avatar
      2011-06-20 Juan C. Montemayor <jmont@apple.com> · 1b61eb07
      oliver@apple.com authored
              Reviewed by Oliver Hunt.
      
              No context for javascript parse errors.
              https://bugs.webkit.org/show_bug.cgi?id=62613
      
              Ran 'run-webkit-tests --reset' with 'fast/js/' and 'sputnik' to update
              those tests with the new parser error messages.
      
              The test 'fast/js/script-tests/parser-syntax-check.js' was fixed to
              not fail with the new parser error messages.
      
              * fast/dom/SelectorAPI/unknown-pseudo-expected.txt:
              * fast/dom/javascript-url-exception-isolation-expected.txt:
              * fast/encoding/meta-in-script-expected.txt:
              * fast/events/window-onerror5-expected.txt:
              * fast/events/window-onerror6-expected.txt:
              * fast/js/assign-expected.txt:
              * fast/js/basic-strict-mode-expected.txt:
              * fast/js/break-ASI-expected.txt:
              * fast/js/function-declaration-expected.txt:
              * fast/js/function-toString-object-literals-expected.txt:
              * fast/js/function-toString-parentheses-expected.txt:
              * fast/js/js-continue-break-restrictions-expected.txt:
              * fast/js/kde/garbage-n-expected.txt:
              * fast/js/kde/parse-expected.txt:
              * fast/js/kde/string-1-n-expected.txt:
              * fast/js/kde/string-2-n-expected.txt:
              * fast/js/mozilla/strict/12.14.1-expected.txt:
              * fast/js/mozilla/strict/13.1-expected.txt:
              * fast/js/mozilla/strict/regress-532254-expected.txt:
              * fast/js/no-semi-insertion-at-end-of-script-expected.txt:
              * fast/js/numeric-escapes-in-string-literals-expected.txt:
              * fast/js/object-extra-comma-expected.txt:
              * fast/js/object-literal-syntax-expected.txt:
              * fast/js/parser-xml-close-comment-expected.txt:
              * fast/js/postfix-syntax-expected.txt:
              * fast/js/regexp-compile-crash-expected.txt:
              * fast/js/removing-Cf-characters-expected.txt:
              * fast/js/reserved-words-as-property-expected.txt:
              * fast/js/script-tests/parser-syntax-check.js:
              (runTest):
              * fast/parser/entity-end-script-tag-expected.txt:
              * fast/regex/non-pattern-characters-expected.txt:
              * html5lib/runner-expected.txt:
              * http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
              * http/tests/workers/shared-worker-importScripts-expected.txt:
              * http/tests/workers/worker-importScripts-expected.txt:
              * inspector/console/console-log-syntax-error-expected.txt:
              * inspector/debugger/debugger-autocontinue-on-syntax-error-expected.txt:
              * java/lc3/JavaObject/JavaObjectToBoolean-001-n-expected.txt:
              * loader/reload-subresource-when-type-changes-expected.txt:
              * platform/mac/fast/tokenizer/002-expected.txt:
              * platform/mac/fast/tokenizer/external-script-document-write_2-expected.txt:
              * platform/mac/fast/tokenizer/script_extra_close-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.2_White_Space/S7.2_A5_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A2.4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.1_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.3_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A3.4_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A6_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.11-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.12-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.13-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.14-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.15-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.16-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.17-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.19-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.20-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.21-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.22-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.23-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.24-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.25-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.2_Keywords/S7.5.2_A1.9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.11-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.16-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.27-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.7_Punctuators/S7.7_A2_T9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.3_Numeric_Literals/S7.8.3_A6.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A1.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.1_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A3.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.1_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.4_String_Literals/S7.8.4_A7.2_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.3_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A1.5_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.3_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A2.5_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.8_Literals/7.8.5_Regular_Expression_Literals/S7.8.5_A3.1_T9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/7.9.2_Examples/S7.9.2_A1_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A10_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A11_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.1_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A5.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T10-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T8-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.2_T9-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T3-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T4-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T5-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.3_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T1-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A6.4_T2-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T6-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T7-expected.txt:
              * sputnik/Conformance/07_Lexical_Conventions/7.9_Automatic_Semicolon_Insertion/S7.9_A9_T8-expected.txt:
              * sputnik/Conformance/08_Types/8.2_The_Null_Type/S8.2_A2-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T1-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T2-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A13_T3-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T1-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T2-expected.txt:
              * sputnik/Conformance/08_Types/8.4_The_String_Type/S8.4_A14_T3-expected.txt:
              * sputnik/Conformance/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.4_Argument_Lists/S11.2.4_A1.3_T1-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T1-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T2-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T3-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.1_Postfix_Increment_Operator/S11.3.1_A1.1_T4-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T1-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T2-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T3-expected.txt:
              * sputnik/Conformance/11_Expressions/11.3_PostfixExpressions/11.3.2_Postfix_Decrement_Operator/S11.3.2_A1.1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A2_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.11_The_switch_Statement/S12.11_A3_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T10-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T11-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T12-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T13-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T14-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T15-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T7-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T8-expected.txt:
              * sputnik/Conformance/12_Statement/12.14_The_try_Statement/S12.14_A16_T9-expected.txt:
              * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.1_Block/S12.1_A4_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T7-expected.txt:
              * sputnik/Conformance/12_Statement/12.2_Variable_Statement/S12.2_A8_T8-expected.txt:
              * sputnik/Conformance/12_Statement/12.4_Expression_Statement/S12.4_A1-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A11-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A6_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A8-expected.txt:
              * sputnik/Conformance/12_Statement/12.5_The_if_Statement/S12.5_A9_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A12-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A15-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A6_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A13_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A15-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.2_The_while_statement/S12.6.2_A6_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11.1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A11_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12.1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A12_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4.1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A4_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7.1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A7_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8.1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.3_The_for_Statement/S12.6.3_A8_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A13_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.6_Iteration_Statements/12.6.4_The_for_in_Statement/S12.6.4_A15-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A5_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A6-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.7_The_continue_Statement/S12.7_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A5_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A6-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.8_The_break_Statement/S12.8_A8_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T1-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T10-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T2-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T3-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T4-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T5-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T6-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T7-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T8-expected.txt:
              * sputnik/Conformance/12_Statement/12.9_The_return_Statement/S12.9_A1_T9-expected.txt:
              * sputnik/Conformance/13_Function_Definition/S13_A7_T3-expected.txt:
              * sputnik/Conformance/15_Native_Objects/15.1_The_Global_Object/15.1.2/15.1.2.1_eval/S15.1.2.1_A2_T2-expected.txt:
              * sputnik/Conformance/15_Native_Objects/15.3_Function/15.3.4/15.3.4.2_Function.prototype.toString/S15.3.4.2_A1_T1-expected.txt:
      2011-06-20  Juan C. Montemayor  <jmont@apple.com>
      
              Reviewed by Oliver Hunt.
      
              No context for javascript parse errors.
              https://bugs.webkit.org/show_bug.cgi?id=62613
      
              Parse errors now show more details like:
              "Unexpected token: ]"
              or
              "Expected token: while"
      
              For reserved names, numbers, indentifiers, strings, lexer errors,
              and EOFs, the following error messages are printed:
      
              "Use of reserved word: super"
              "Unexpected number: 42"
              "Unexpected identifier: "
              "Unexpected string: "foobar""
              "Invalid token character sequence: \u4023"
              "Unexpected EOF"
      
              * parser/JSParser.cpp:
              (JSC::JSParser::consume):
              (JSC::JSParser::getToken):
              (JSC::JSParser::getTokenName):
              (JSC::JSParser::updateErrorMessageSpecialCase):
              (JSC::JSParser::updateErrorMessage):
              (JSC::JSParser::updateErrorWithNameAndMessage):
              (JSC::jsParse):
              (JSC::JSParser::JSParser):
              (JSC::JSParser::parseProgram):
              (JSC::JSParser::parseVarDeclarationList):
              (JSC::JSParser::parseForStatement):
              (JSC::JSParser::parseBreakStatement):
              (JSC::JSParser::parseContinueStatement):
              (JSC::JSParser::parseWithStatement):
              (JSC::JSParser::parseTryStatement):
              (JSC::JSParser::parseStatement):
              (JSC::JSParser::parseFormalParameters):
              (JSC::JSParser::parseFunctionInfo):
              (JSC::JSParser::parseAssignmentExpression):
              (JSC::JSParser::parsePrimaryExpression):
              (JSC::JSParser::parseMemberExpression):
              (JSC::JSParser::parseUnaryExpression):
              * parser/JSParser.h:
              * parser/Lexer.cpp:
              (JSC::Lexer::lex):
              * parser/Parser.cpp:
              (JSC::Parser::parse):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b61eb07
    • carlosgc@webkit.org's avatar
      2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com> · c0bdc342
      carlosgc@webkit.org authored
              Reviewed by Martin Robinson.
      
              [UNIX] Don't use WebCore::PluginPackage to get plugin information
              https://bugs.webkit.org/show_bug.cgi?id=62899
      
              The problem is that both PluginPackage in WebCore and
              NetscapePluginModule in webkit2 install their own netscape browser
              functions and that can cause conflicts in some situations.
      
              * Shared/Plugins/Netscape/NetscapePluginModule.h: Add helper
              function to set plugin mime type descriptions.
              * Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:
              (WebKit::NetscapePluginModule::setMIMEDescription): Helper
              function to set plugin mime type descriptions.
              (WebKit::NetscapePluginModule::getPluginInfo): Use
              NetscapePluginModule instead of PluginPackage.
              * UIProcess/Plugins/unix/PluginInfoStoreUnix.cpp: Remove unneeded
              header include.
              * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:
              (WebKit::NPN_GetValue): Do not try to get the XDisplay if the
              plugin doesn't have a view. It fixes a crash with flash plugin and
              matches WebCore.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0bdc342
    • carlosgc@webkit.org's avatar
      2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com> · 0d3abd1e
      carlosgc@webkit.org authored
              Unreviewed. Fix WebKit2 GTK build after r89249.
      
              * GtkLauncher/main.c:
              (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d3abd1e
    • abecsi@webkit.org's avatar
      2011-06-20 Andras Becsi <abecsi@webkit.org> · 45ff633d
      abecsi@webkit.org authored
              Unreviewed build fix.
      
              [Qt][V8] Include missing UnusedParam.h.
      
              No new tests needed.
      
              * rendering/svg/SVGTextLayoutEngineSpacing.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45ff633d
    • abecsi@webkit.org's avatar
      2011-06-20 Andras Becsi <abecsi@webkit.org> · 0092e2d3
      abecsi@webkit.org authored
              Rubber-stamped by Csaba Osztrogonác.
      
              [Qt][V8] Remove non-existing headers from project file.
      
              No new tests needed.
      
              * WebCore.pro: Remove ChildThreadDOMData.h and MainThreadDOMData.h,
              since they have been already removed earlier from tree.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0092e2d3
    • pfeldman@chromium.org's avatar
      2011-06-20 Pavel Feldman <pfeldman@chromium.org> · 623d43a7
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
              https://bugs.webkit.org/show_bug.cgi?id=62994
      
              * public/WebDevToolsAgent.h:
              * src/WebDevToolsAgentImpl.cpp:
              * src/WebDevToolsAgentImpl.h:
      2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
              https://bugs.webkit.org/show_bug.cgi?id=62994
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      2011-06-20  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: remove LayoutTestController::setTimelineProfilingEnabled.
              https://bugs.webkit.org/show_bug.cgi?id=62994
      
              * DumpRenderTree/LayoutTestController.cpp:
              (closeWebInspectorCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
              * DumpRenderTree/chromium/DRTDevToolsAgent.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      623d43a7
    • carlosgc@webkit.org's avatar
      2011-06-20 Carlos Garcia Campos <cgarcia@igalia.com> · 63e230bf
      carlosgc@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Split libWebCore into two libWebCore and libWebCoreGtk
              https://bugs.webkit.org/show_bug.cgi?id=60539
      
              libWebCore contains all the webcore files except the ones actually
              using gtk while libWebCoreGtk contains only the files using
              gtk. It allows us to build a common WebCore lib and two different
              gtk WebCore libs depending on the gtk version. In WeKit2 gtk2 is
              not supported, but the plugin process needs to be built using gtk2
              because plugins like flash still use gtk2. For WebKit2, we build
              the common libWebCore and two libWebCoreGtk, one using gtk3 and
              the other one using gtk2.
      
              * GNUmakefile.am:
              * GNUmakefile.list.am:
      2011-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] Split libWebCore into two libWebCore and libWebCoreGtk
              https://bugs.webkit.org/show_bug.cgi?id=60539
      
              * GNUmakefile.am: Link to libWebCoreGtk.la too.
      2011-06-20  Carlos Garcia Campos  <cgarcia@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] Split libWebCore into two libWebCore and libWebCoreGtk
              https://bugs.webkit.org/show_bug.cgi?id=60539
      
              * GNUmakefile.am: Link to libWebCoreGtk.la too.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63e230bf
    • commit-queue@webkit.org's avatar
      2011-06-20 Mike Reed <reed@google.com> · a58546fb
      commit-queue@webkit.org authored
              Reviewed by Stephen White.
      
              [Skia] remove repeated calls to setColor, which ignored global-alpha (previous setupPaintFor... already set the color+alpha)
              https://bugs.webkit.org/show_bug.cgi?id=62988
      
              No new tests. removing redundant calls
      
              * platform/graphics/chromium/FontLinux.cpp:
              (WebCore::Font::drawGlyphs):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a58546fb
    • mrobinson@webkit.org's avatar
      2011-06-20 Lukasz Slachciak <l.slachciak@samsung.com> · 6ca08f09
      mrobinson@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] General mechanism for adjusting WebKitWebSettings in GtkLauncher.
              https://bugs.webkit.org/show_bug.cgi?id=55308
      
              * GtkLauncher/main.c: Added general mechanism for adjusting WebKitWebSettings.
              (parseOptionEntryCallback): Callback for parsing option entry.
              (getOptionEntriesFromWebKitWebSettings): Basing on the WebKitWebSettings properties prepare
              list of option entries.
              (transformStringToBoolean): Transform function for boolean convertion used by parseOptionEntryCallback.
              (transformStringToInt): Transform function for int convertion used by parseOptionEntryCallback.
              (transformStringToFloat): Transform function for float convertion used by parseOptionEntryCallback.
              (parseAdditionalOptions): Help function parsing additional commandline options.
              (main): Added call to parseAdditionalOptions.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ca08f09
    • mrobinson@webkit.org's avatar
      2011-06-19 Martin Robinson <mrobinson@igalia.com> · 6ceff695
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] ASSERTION FAILED: it != gFontDataCache->end() in FontCache.cpp:318
              https://bugs.webkit.org/show_bug.cgi?id=62942
      
              Fix the == operator overload of the FreeType FontPlatformData to properly make the
              distinction between the hash table deleted value and the hash table empty value.
      
              No new tests. This is covered by existing tests, which should no longer
              hit assertions.
      
              * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
              (WebCore::FontPlatformData::operator==): Reorder the logic for determining if two
              FontPlatformData instances are equal. Do a pointer comparison on the Fontconfig patterns,
              instead of using FcPatternEqual. If the two Fontconfig patterns have different pointers
              they were created at different times and the overload should return false.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ceff695
    • commit-queue@webkit.org's avatar
      2011-06-20 Mike Reed <reed@google.com> · b43e0259
      commit-queue@webkit.org authored
              Reviewed by Stephen White.
      
              disable test in preparation for chromium change and new baseline
              https://bugs.webkit.org/show_bug.cgi?id=62984
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89246 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b43e0259
    • loislo@chromium.org's avatar
      2011-06-20 Ilya Tikhonovsky <loislo@chromium.org> · be8d6af2
      loislo@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: It would be useful to be able to pause on element's style change.
              https://bugs.webkit.org/show_bug.cgi?id=62982
      
              Current workaround is to use mutation events but it's awkward and doesn't
              compare _usability-wise_ to what could be implemented as native support in web inspector.
              In complex applications, being able to see which code causes element to change its style is indispensable.
      
              * inspector/debugger/dom-breakpoints.html:
              * platform/chromium/inspector/debugger/dom-breakpoints-expected.txt:
      2011-06-20  Ilya Tikhonovsky  <loislo@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: It would be useful to be able to pause on element's style change.
              https://bugs.webkit.org/show_bug.cgi?id=62982
      
              Current workaround is to use mutation events but it's awkward and doesn't
              compare _usability-wise_ to what could be implemented as native support in web inspector.
              In complex applications, being able to see which code causes element to change its style is indispensable.
      
              * inspector/InspectorDOMDebuggerAgent.cpp:
              (WebCore::InspectorDOMDebuggerAgent::didInvalidateStyleAttr):
              * inspector/InspectorDOMDebuggerAgent.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::didInvalidateStyleAttrImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be8d6af2
    • chang.shu@nokia.com's avatar
      2011-06-20 Chang Shu <cshu@webkit.org> · c36e5eb0
      chang.shu@nokia.com authored
              unreviewed.
      
              Unskip passing tests. The bug(42317) has been resolved for a long time.
      
              * platform/qt-wk2/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c36e5eb0
    • ossy@webkit.org's avatar
      [WK2] Daily gardening. · c8ad8199
      ossy@webkit.org authored
      * platform/mac-wk2/Skipped: Skip some tests bacause of missing animation pause API
        and skip one test because of missing window.internals.createShadowContentElement.
      * platform/qt-wk2/Skipped: Skip one failing SVG test after r89233.
      * platform/qt-wk2/fast/dom/Window/window-properties-expected.txt: Updated after r89233.
      * platform/qt-wk2/fast/dom/Window/window-property-descriptors-expected.txt: Updated after r89233.
      * platform/qt-wk2/fast/dom/prototype-inheritance-2-expected.txt: Updated after r89233.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8ad8199
    • yutak@chromium.org's avatar
      2011-06-20 Yuta Kitamura <yutak@chromium.org> · 614ce34a
      yutak@chromium.org authored
              Unreviewed, add more Chromium expectations for tests which started to fail since r89233.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      614ce34a
    • commit-queue@webkit.org's avatar
      2011-06-20 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> · d983b280
      commit-queue@webkit.org authored
              Reviewed by Andreas Kling.
      
              [Qt] [WK2] Compile error in ActivateFontsQt.cpp on Mac
              https://bugs.webkit.org/show_bug.cgi?id=62869
      
              Add QFont include to fix "incomlete type QFont" error.
      
              * WebKitTestRunner/InjectedBundle/qt/ActivateFontsQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d983b280
    • yutak@chromium.org's avatar
      2011-06-20 Yuta Kitamura <yutak@chromium.org> · b045e2c0
      yutak@chromium.org authored
              Unreviewed, fix an error in the last edit of Chromium test_expectations.txt.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b045e2c0
    • yutak@chromium.org's avatar
      2011-06-20 Yuta Kitamura <yutak@chromium.org> · 3769aad5
      yutak@chromium.org authored
              Unreviewed, add new Chromium test expectations since r89233.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89239 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3769aad5
    • ossy@webkit.org's avatar
      [Qt][Mac] Skip failing tests. · 79fa808f
      ossy@webkit.org authored
      * platform/qt-mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79fa808f
    • ossy@webkit.org's avatar
      [Qt] Unreviewed, update Qt specific expected results after r89233, and skip... · 1fa6957d
      ossy@webkit.org authored
      [Qt] Unreviewed, update Qt specific expected results after r89233, and skip failing tests until fix.
      
      Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths
      from Font, making it possible to reuse the simple text code path for SVG Fonts
      https://bugs.webkit.org/show_bug.cgi?id=59085
      
      * platform/qt/Skipped:
      * platform/qt/fast/dom/Window/window-properties-expected.png: Added.
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      * platform/qt/fast/dom/Window/window-property-descriptors-expected.png: Added.
      * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/qt/fast/dom/prototype-inheritance-2-expected.png: Added.
      * platform/qt/fast/dom/prototype-inheritance-2-expected.txt:
      * platform/qt/fast/dom/prototype-inheritance-expected.png: Added.
      * platform/qt/fast/dom/prototype-inheritance-expected.txt:
      * platform/qt/fast/js/global-constructors-expected.png: Added.
      * platform/qt/fast/js/global-constructors-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png:
      * platform/qt/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1/render-elems-06-t-expected.png:
      * platform/qt/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1/render-elems-07-t-expected.png:
      * platform/qt/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1/render-elems-08-t-expected.png:
      * platform/qt/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1/render-groups-01-b-expected.png:
      * platform/qt/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
      * platform/qt/svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
      * platform/qt/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
      * platform/qt/svg/custom/glyph-transformation-with-hkern-expected.png: Added.
      * platform/qt/svg/custom/glyph-transformation-with-hkern-expected.txt: Added.
      * platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
      * platform/qt/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
      * platform/qt/svg/custom/svg-features-expected.png: Added.
      * platform/qt/svg/custom/svg-features-expected.txt: Added.
      * platform/qt/svg/custom/svg-fonts-in-html-expected.png:
      * platform/qt/svg/custom/svg-fonts-in-html-expected.txt:
      * platform/qt/svg/foreignObject/text-tref-02-b-expected.png:
      * platform/qt/svg/foreignObject/text-tref-02-b-expected.txt:
      * platform/qt/svg/transforms/text-with-mask-with-svg-transform-expected.png:
      * platform/qt/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
      * platform/qt/svg/wicd/test-rightsizing-b-expected.png:
      * platform/qt/svg/wicd/test-rightsizing-b-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89237 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1fa6957d
    • ager@chromium.org's avatar
      2011-06-19 Mads Ager <ager@chromium.org> · b1fdb79c
      ager@chromium.org authored
              Reviewed by Adam Barth.
      
              [V8] Fix WebGL bindings for subarrays
              https://bugs.webkit.org/show_bug.cgi?id=62864
      
              Mark WebGL subarrays as independent of other DOM objects in the
              V8 bindings. This allows us to clean them up independently which
              greatly improves performance.
      
              * bindings/v8/V8Proxy.h:
              (WebCore::toV8Independent):
              * bindings/v8/custom/V8ArrayBufferViewCustom.h:
              (WebCore::constructWebGLArrayWithArrayBufferArgument):
              (WebCore::constructWebGLArray):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89236 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b1fdb79c
    • yutak@chromium.org's avatar
      2011-06-20 Yuta Kitamura <yutak@chromium.org> · 3910e826
      yutak@chromium.org authored
              Unreviewed build fix for Chromium Clang builders.
      
              * platform/graphics/FontFallbackList.h: Declare SVGTextRunRenderingContext as class, not struct.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3910e826
    • morrita@google.com's avatar
      2011-06-20 MORITA Hajime <morrita@google.com> · 6985524a
      morrita@google.com authored
              Unreviewed GTK build fix.
              This change corrected syntax error on symbols.filter.
      
              * Source/autotools/symbols.filter:
      2011-06-20  MORITA Hajime <morrita@google.com>
      
              Unreviewed GTK build fix.
              This change touched the file to make the build happen.
      
              * dom/EventTarget.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6985524a
    • zimmermann@webkit.org's avatar
      2011-06-20 Nikolas Zimmermann <nzimmermann@rim.com> · 518be6f3
      zimmermann@webkit.org authored
              Reviewed by Rob Buis.
      
              Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
              https://bugs.webkit.org/show_bug.cgi?id=59085
      
              * wtf/Platform.h: Force Qt-EWS into a full rebuild, otherwhise this patch breaks the EWS.
      2011-06-20  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Rob Buis.
      
              Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
              https://bugs.webkit.org/show_bug.cgi?id=59085
      
              font substitution doesn't work for HTML text using SVG fonts
              https://bugs.webkit.org/show_bug.cgi?id=17608
      
              Selection rects are wrong for text with SVG fonts
              https://bugs.webkit.org/show_bug.cgi?id=25460
      
              With @font-face, SVG fonts only work as primary, non-segmented
              https://bugs.webkit.org/show_bug.cgi?id=32227
      
              When using SVG fonts with @font-face word-spacing and text-align: justify are not being honored
              https://bugs.webkit.org/show_bug.cgi?id=34236
      
              SVG @font-face breaks text-overflow: ellipsis
              https://bugs.webkit.org/show_bug.cgi?id=36840
      
              REGRESSION: SVG Font selection problems
              https://bugs.webkit.org/show_bug.cgi?id=41934
      
              Tests: svg/custom/svg-fonts-fallback.xhtml (for bug 17608, extended the original test from Mark Ambachtsheer)
                     svg/custom/svg-fonts-segmented.xhtml (for bug 32227)
                     svg/custom/svg-fonts-word-spacing.html (for bug 34236, from Michael Lewis)
                     svg/text/select-text-svgfont.html (for bug 25460/41934, from Emil Schutte)
                     svg/text/text-overflow-ellipsis-svgfont.html (for 36840, from Emil Schutte)
      
              Rewrite the SVG Fonts support to fully integrate within the GlyphPage concept and the "simple" code path used to render platform fonts.
              That means the special logic for measuring text using SVG Fonts, calculating offset for positions, computing selection rects etc. is all gone now.
              There's no difference anymore between using a native font or a SVG Font, in terms of these operations.
      
              This makes text selection using SVG Fonts possible again.
      
              * features.pri: Temporarily turn of SVG Fonts for Qt, as long as QRawFont support is not available and the fast path is disabled.
              * page/DOMWindow.idl: Touched file to force Qt regenerating the bindings.
              * platform/graphics/Font.cpp: Remove SVG Font special cases, the simple code path now handles SVG Fonts as well.
              (WebCore::Font::drawText):
              (WebCore::Font::drawEmphasisMarks):
              (WebCore::Font::width):
              (WebCore::Font::selectionRectForText):
              (WebCore::Font::offsetForPosition):
              (WebCore::Font::codePath):
              * platform/graphics/Font.h: Pass TextRun to drawGlyphBuffer/drawEmphasisMarks. Add new glyphDataAndPageForCharacter() method which returns a pair
                                          std::pair<GlyphData, GlyphPage*>, so we know the associated GlyphPage for a certain GlyphData object, which is needed to properly
                                          handle font fallback glyph matching for SVG Fonts..
              (WebCore::Font::fontList): Add FontFallbackList accessor.
              * platform/graphics/FontFallbackList.h: Add getters/setters for glyphPageZero -- SVG Fonts support needs access to these objects from SVGTextRunRenderingContext.
              (WebCore::FontFallbackList::glyphPageZero):
              (WebCore::FontFallbackList::glyphPages):
              (WebCore::FontFallbackList::setGlyphPageZero):
              (WebCore::FontFallbackList::setGlyphPages):
              * platform/graphics/FontFastPath.cpp:
              (WebCore::Font::glyphDataForCharacter): Move implementation to glyphDataAndPageForCharacter(), and use that method from here.
              (WebCore::Font::glyphDataAndPageForCharacter): Does the same as before, just returns an additional GlyphPage* pointer.
              (WebCore::Font::getEmphasisMarkGlyphData): Remove SVG Fonts special case.
              (WebCore::Font::drawGlyphBuffer): Ditto.
              * platform/graphics/FontMetrics.h:
              (WebCore::scaleEmToUnits): Refactored scaleEmToUnits free function from SimpleFontDataMac/CGWin to share with SVGFontData/SVGTextRunRenderingContext.
              * platform/graphics/GlyphPageTreeNode.cpp:
              (WebCore::fill): Stop skipping SVG Fonts, they now also fill the GlyphPage using the glyphs defined in the SVG Font.
              * platform/graphics/SVGGlyph.h: s/isValid/isPartOfLigature/. Its usage has been changed.
              (WebCore::SVGGlyph::SVGGlyph):
              (WebCore::SVGGlyph::operator==):
              * platform/graphics/SimpleFontData.cpp: Change font size to be a float, not an int.
              (WebCore::SimpleFontData::SimpleFontData):
              * platform/graphics/SimpleFontData.h: Add new pure virtual methods to the AdditionalFontData interface, to be implemented in SVGFontData.
              (WebCore::SimpleFontData::widthForGlyph): Call widthForSVGGlyph, if we encounter a SVG glyph.
              * platform/graphics/TextRun.h: 
              * platform/graphics/WidthIterator.cpp:
              (WebCore::WidthIterator::glyphDataForCharacter):
              (WebCore::WidthIterator::advance):
              * platform/graphics/WidthIterator.h: Store several new members needed for SVG Fonts support (last processed glyph name used for kerning pair lookup)
                                                   and a map mapping each character of a text to its arabic-form (if needed, to perform SVG glyph selection for Arabic text).
              (WebCore::WidthIterator::run):
              (WebCore::WidthIterator::runWidthSoFar):
              (WebCore::WidthIterator::lastGlyphName):
              (WebCore::WidthIterator::setLastGlyphName):
              (WebCore::WidthIterator::arabicForms):
              * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: Use new scaleEmToUnits free function from FontMetrics.h.
              * platform/graphics/mac/SimpleFontDataMac.mm: Ditto.
              * platform/graphics/win/SimpleFontDataCGWin.cpp: Ditto.
              * rendering/svg/SVGTextMetrics.cpp:
              (WebCore::SVGTextMetrics::SVGTextMetrics):
              (WebCore::constructTextRun):
              (WebCore::SVGTextMetrics::measureCharacterRange):
              * rendering/svg/SVGTextMetrics.h:
              * rendering/svg/SVGTextRunRenderingContext.cpp: Remove drawTextUsingSVGFont/floatWidthUsingSVGFont/selectionRectForTextUsingSVGFont/offsetForPositionForTextUsingSVGFont.
              (WebCore::firstParentRendererForNonTextNode): Don't assert node() exists, doesn't hold true for generated render objects.
              (WebCore::renderObjectFromRun): Renamed from referencingRenderObjectFromRun.
              (WebCore::SVGTextRunRenderingContext::floatWidthUsingSVGFont): Remove extra "extraCharsAvailable" parameter, now solves via TextRun::charactersLength().
              (WebCore::calculateEmUnitToPixelScaleFactor): Add helper method.
              (WebCore::SVGTextRunRenderingContext::drawSVGGlyphs): Main drawing method, this actually creates/renders Paths.
              (WebCore::SVGTextRunRenderingContext::glyphDataForCharacter): Part 1/2 of SVG Glyph selection code.
              * rendering/svg/SVGTextRunRenderingContext.h:
              * svg/SVGAltGlyphElement.cpp:
              (WebCore::SVGAltGlyphElement::hasValidGlyphElement):
              * svg/SVGAltGlyphElement.h:
              * svg/SVGFontData.cpp:
              (WebCore::calculateEmUnitToPixelScaleFactor): Add helper method.
              (WebCore::SVGFontData::initializeFontData): Changed font size from int to float.
              (WebCore::SVGFontData::widthForSVGGlyph): Lookup a SVGGlyph from a Glyph using the glyph table in SVGFontElement and calculate its width.
              (WebCore::SVGFontData::applySVGGlyphSelection): Part 2/2 of SVG Glyph selection code.
              (WebCore::SVGFontData::fillSVGGlyphPage): Fill GlyphPage using glyphs defined in the SVG Font.
              * svg/SVGFontData.h:
              * svg/SVGFontElement.cpp:
              (WebCore::SVGFontElement::registerLigaturesInGlyphCache): Enable ligature registration for the use within GlyphPage.
              (WebCore::SVGFontElement::ensureGlyphCache):
              * svg/SVGGlyphMap.h:
              (WebCore::SVGGlyphMap::addGlyphByUnicodeString): Remove setting isValid, it's not needed anymore and gone.
              * svg/svgtags.in: Surround vkern in ENABLE_SVG_FONTS block.
      2011-06-20  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Rob Buis.
      
              Integrate SVG Fonts within GlyphPage concept, removing the special SVG code paths from Font, making it possible to reuse the simple text code path for SVG Fonts
              https://bugs.webkit.org/show_bug.cgi?id=59085
      
              font substitution doesn't work for HTML text using SVG fonts
              https://bugs.webkit.org/show_bug.cgi?id=17608
      
              Selection rects are wrong for text with SVG fonts
              https://bugs.webkit.org/show_bug.cgi?id=25460
      
              With @font-face, SVG fonts only work as primary, non-segmented
              https://bugs.webkit.org/show_bug.cgi?id=32227
      
              When using SVG fonts with @font-face word-spacing and text-align: justify are not being honored
              https://bugs.webkit.org/show_bug.cgi?id=34236
      
              SVG @font-face breaks text-overflow: ellipsis
              https://bugs.webkit.org/show_bug.cgi?id=36840
      
              REGRESSION: SVG Font selection problems
              https://bugs.webkit.org/show_bug.cgi?id=41934
      
              Rewrite the SVG Fonts support to fully integrate within the GlyphPage concept and the "simple" code path used to render platform fonts.
              That means the special logic for measuring text using SVG Fonts, calculating offset for positions, computing selection rects etc. is all gone now.
              There's no difference anymore between using a native font or a SVG Font, in terms of these operations.
      
              Update SVG pixel test baseline.
      
              * platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png:
              * platform/mac/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-03-t-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/fonts-glyph-04-t-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
              * platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.png:
              * platform/mac/svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
              * platform/mac/svg/batik/text/textEffect-expected.png:
              * platform/mac/svg/batik/text/textEffect-expected.txt:
              * platform/mac/svg/batik/text/textEffect3-expected.png:
              * platform/mac/svg/batik/text/textEffect3-expected.txt:
              * platform/mac/svg/batik/text/xmlSpace-expected.png:
              * platform/mac/svg/batik/text/xmlSpace-expected.txt:
              * platform/mac/svg/custom/glyph-selection-lang-attribute-expected.png:
              * platform/mac/svg/custom/glyph-selection-lang-attribute-expected.txt:
              * platform/mac/svg/custom/svg-fonts-fallback-expected.png: Added.
              * platform/mac/svg/custom/svg-fonts-fallback-expected.txt: Added.
              * platform/mac/svg/custom/svg-fonts-segmented-expected.png: Added.
              * platform/mac/svg/custom/svg-fonts-segmented-expected.txt: Added.
              * platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.png:
              * platform/mac/svg/custom/svg-fonts-with-no-element-reference-expected.txt:
              * platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.png:
              * platform/mac/svg/custom/svg-fonts-without-missing-glyph-expected.txt:
              * platform/mac/svg/custom/svg-fonts-word-spacing-expected.png: Added.
              * platform/mac/svg/custom/svg-fonts-word-spacing-expected.txt: Added.
              * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-dom-preserveAlpha-attr-expected.png:
              * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png:
              * platform/mac/svg/foreignObject/text-tref-02-b-expected.png:
              * platform/mac/svg/foreignObject/text-tref-02-b-expected.txt:
              * platform/mac/svg/text/text-altglyph-01-b-expected.png:
              * platform/mac/svg/text/text-altglyph-01-b-expected.txt:
              * platform/mac/svg/text/text-overflow-ellipsis-svgfont-expected.png: Added.
              * platform/mac/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Added.
              * platform/mac/svg/text/text-text-04-t-expected.png:
              * platform/mac/svg/text/text-text-04-t-expected.txt:
              * platform/mac/svg/text/text-text-05-t-expected.png:
              * platform/mac/svg/text/text-text-05-t-expected.txt:
              * platform/mac/svg/text/text-text-06-t-expected.png:
              * platform/mac/svg/text/text-text-06-t-expected.txt:
              * platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.png:
              * platform/mac/svg/transforms/text-with-mask-with-svg-transform-expected.txt:
              * platform/mac/svg/wicd/test-rightsizing-b-expected.png:
              * platform/mac/svg/wicd/test-rightsizing-b-expected.txt:
              * svg/custom/resources/ABCFont.svg:
              * svg/custom/svg-fonts-fallback.xhtml: Added.
              * svg/custom/svg-fonts-segmented.xhtml: Added.
              * svg/custom/svg-fonts-word-spacing.html: Added.
              * svg/text/select-text-svgfont-expected.txt: Added.
              * svg/text/select-text-svgfont.html: Added.
              * svg/text/text-overflow-ellipsis-svgfont.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      518be6f3
    • morrita@google.com's avatar
      2011-06-19 MORITA Hajime <morrita@google.com> · 647d2653
      morrita@google.com authored
              Unreviewed GTK build fix.
      
              * Source/autotools/symbols.filter:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      647d2653
    • morrita@google.com's avatar
      2011-06-19 MORITA Hajime <morrita@google.com> · 0cae706e
      morrita@google.com authored
              Unreviewed wincairo build fix.
      
              * win/WebKit2CFLite.def:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89231 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0cae706e
    • morrita@google.com's avatar
      2011-06-19 MORITA Hajime <morrita@google.com> · 7837bc86
      morrita@google.com authored
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              * Source/autotools/symbols.filter: Added some more symbols necessary for
              window.internals to function to the global symbol list.
      
      2011-06-19  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              * fast/dom/shadow/create-content-element-expected.txt: Added.
              * fast/dom/shadow/create-content-element.html: Added.
      2011-06-19  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              This change:
              - added Internals::createShadowContentElement(), which creates,
                ShadowContentElement instance which includes all host children,
              - added Internals::elementRenderTreeAsText() to help content layout testing, and
              - Unabstracted ShadowContentElement by giving a default shouldInclude() implementation.
      
              Test: fast/dom/shadow/create-content-element.html
      
              * WebCore.exp.in:
              * dom/ShadowContentElement.cpp:
              (WebCore::ShadowContentElement::create): Added.
              (WebCore::ShadowContentElement::ShadowContentElement):
              (WebCore::ShadowContentElement::~ShadowContentElement):
              (WebCore::ShadowContentElement::shouldInclude): Gave a default implementation which always returns true.
              * dom/ShadowContentElement.h:
              * html/HTMLSummaryElement.cpp:
              (WebCore::SummaryContentElement::SummaryContentElement):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::externalRepresentation): Factored out for supportin per-element render tree dump.
              * rendering/RenderTreeAsText.h:
              * testing/Internals.cpp:
              (WebCore::Internals::createShadowContentElement): Added.
              (WebCore::Internals::elementRenderTreeAsText): dded.
              * testing/Internals.h:
              * testing/Internals.idl:
      2011-06-19  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Dimitri Glazkov.
      
              The internals object should have createShadowContentElement()
              https://bugs.webkit.org/show_bug.cgi?id=62432
      
              * win/WebKit2.def: Added some more symbols necessary for
              window.internals to function to the global symbol list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89230 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7837bc86
    • keishi@webkit.org's avatar
      2011-06-19 Keishi Hattori <keishi@webkit.org> · 876805f6
      keishi@webkit.org authored
              Reviewed by Kent Tamura.
      
              Clicking indeterminate checkbox should flip checkedness state
              https://bugs.webkit.org/show_bug.cgi?id=62262
      
              * fast/forms/checkbox-click-indeterminate-expected.txt: Added.
              * fast/forms/checkbox-click-indeterminate.html: Added. Tests behavior when clicking indeterminate checkbox.
      2011-06-19  Keishi Hattori  <keishi@webkit.org>
      
              Reviewed by Kent Tamura.
      
              Clicking indeterminate checkbox should flip checkedness state
              https://bugs.webkit.org/show_bug.cgi?id=62262
      
              Test: fast/forms/checkbox-click-indeterminate.html
      
              * html/CheckboxInputType.cpp:
              (WebCore::CheckboxInputType::willDispatchClick): Changed to flip checked flag when indeterminate.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89229 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      876805f6
    • oliver@apple.com's avatar
      2011-06-19 Oliver Hunt <oliver@apple.com> · 6a43a3be
      oliver@apple.com authored
              Reviewed by Sam Weinig.
      
              Correct logic for putting errors on the correct line when handling JSONP
              https://bugs.webkit.org/show_bug.cgi?id=62962
      
              Add test case this time
      
              * fast/js/parser-syntax-check-expected.txt:
              * fast/js/script-tests/parser-syntax-check.js:
      2011-06-19  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Sam Weinig.
      
              Correct logic for putting errors on the correct line when handling JSONP
              https://bugs.webkit.org/show_bug.cgi?id=62962
      
              Minor fix for the minor fix.  *sigh*
      
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::execute):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89228 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a43a3be
    • commit-queue@webkit.org's avatar
      2011-06-19 Adam Bergkvist <adam.bergkvist@ericsson.com> · 8add632d
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Enable Media Stream feature and make it default on
              https://bugs.webkit.org/show_bug.cgi?id=60394
      
              * configure.ac:
      2011-06-19  Adam Bergkvist  <adam.bergkvist@ericsson.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Enable Media Stream feature and make it default on
              https://bugs.webkit.org/show_bug.cgi?id=60394
      
              Unskipped the Media Stream tests.
      
              * platform/gtk/Skipped:
      2011-06-19  Adam Bergkvist  <adam.bergkvist@ericsson.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Enable Media Stream feature and make it default on
              https://bugs.webkit.org/show_bug.cgi?id=60394
      
              * GNUmakefile.am:
      2011-06-19  Adam Bergkvist  <adam.bergkvist@ericsson.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Enable Media Stream feature and make it default on
              https://bugs.webkit.org/show_bug.cgi?id=60394
      
              * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8add632d
    • oliver@apple.com's avatar
      Minor fix to correct layout test results. · 9fd4d38c
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89226 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fd4d38c
    • rniwa@webkit.org's avatar
      2011-06-19 Ryosuke Niwa <rniwa@webkit.org> · 656db470
      rniwa@webkit.org authored
              Rolled DEPS.
      
              * DEPS:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      656db470
    • mrowe@apple.com's avatar
      4ba97d68
  2. 19 Jun, 2011 7 commits
    • darin@apple.com's avatar
      2011-06-19 Darin Adler <darin@apple.com> · 9f246f7e
      darin@apple.com authored
              Reviewed by Sam Weinig.
      
              RefPtr misused as argument type in a few classes
              https://bugs.webkit.org/show_bug.cgi?id=62955
      
              * dom/DataTransferItem.cpp:
              (WebCore::DataTransferItem::DataTransferItem):
              * dom/DataTransferItem.h:
              * dom/DataTransferItems.cpp:
              (WebCore::DataTransferItems::DataTransferItems):
              * dom/DataTransferItems.h:
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring):
              * editing/CompositeEditCommand.h:
              * inspector/InspectorConsoleInstrumentation.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::addProfileImpl):
              * inspector/InspectorInstrumentation.h:
              * inspector/InspectorProfilerAgent.h:
              * inspector/InspectorStyleSheet.cpp:
              (WebCore::InspectorStyleSheet::inspectorStyleForId):
              (WebCore::InspectorStyleSheet::rememberInspectorStyle):
              * inspector/InspectorStyleSheet.h:
              * page/WebKitAnimationList.cpp:
              (WebCore::WebKitAnimationList::append):
              (WebCore::WebKitAnimationList::insertAnimation):
              * page/WebKitAnimationList.h:
              * svg/graphics/filters/SVGFEImage.cpp:
              (WebCore::FEImage::FEImage):
              (WebCore::FEImage::create):
              * svg/graphics/filters/SVGFEImage.h:
              * svg/graphics/filters/SVGFilterBuilder.cpp:
              (WebCore::SVGFilterBuilder::SVGFilterBuilder):
              (WebCore::SVGFilterBuilder::add):
              (WebCore::SVGFilterBuilder::appendEffectToEffectReferences):
              * svg/graphics/filters/SVGFilterBuilder.h:
              * websockets/ThreadableWebSocketChannelClientWrapper.cpp:
              (WebCore::ThreadableWebSocketChannelClientWrapper::didConnectCallback):
              (WebCore::ThreadableWebSocketChannelClientWrapper::didReceiveMessageCallback):
              (WebCore::ThreadableWebSocketChannelClientWrapper::didStartClosingHandshakeCallback):
              (WebCore::ThreadableWebSocketChannelClientWrapper::didCloseCallback):
              * websockets/ThreadableWebSocketChannelClientWrapper.h:
              * websockets/WorkerThreadableWebSocketChannel.cpp:
              (WebCore::WorkerThreadableWebSocketChannel::Peer::Peer):
              (WebCore::WorkerThreadableWebSocketChannel::Bridge::setWebSocketChannel):
              (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadCreateWebSocketChannel):
              * websockets/WorkerThreadableWebSocketChannel.h:
              Use PassRefPtr or raw pointer as appropriate for RefPtr arguments.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89223 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f246f7e
    • krit@webkit.org's avatar
      2011-06-19 Dirk Schulze <krit@webkit.org> · 6c99203d
      krit@webkit.org authored
              Uneviewed.
      
              SVGAnimatorFactory does not support SVGNumber
              https://bugs.webkit.org/show_bug.cgi?id=62938
              
              Add animation tests of previous patch to skip list for webkit2.
      
              * platform/mac-wk2/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c99203d
    • commit-queue@webkit.org's avatar
      2011-06-19 Una Sabovic <una.sabovic@palm.com> · d37f2d1d
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Optimization: avoid call to clearRect() when bgColor is valid when painting the root background in RenderBoxModelObject::paintFillLayerExtended
              https://bugs.webkit.org/show_bug.cgi?id=62908
      
              When root layers base color is fully transparent backgroundRect was cleared before bgColor is applied.
              Instead of clearing the rect we apply CompositeCopy operation when painting the background color.
      
              No new tests. This is an optimization, it doesn't change any existing functionality.
      
              * platform/graphics/GraphicsContext.cpp:
              (WebCore::GraphicsContext::fillRect):
              * platform/graphics/GraphicsContext.h:
              * rendering/RenderBoxModelObject.cpp:
              (WebCore::RenderBoxModelObject::paintFillLayerExtended):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89221 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d37f2d1d
    • krit@webkit.org's avatar
      2011-06-19 Dirk Schulze <krit@webkit.org> · c589d8cd
      krit@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              SVGAnimatorFactory does not support SVGNumber
              https://bugs.webkit.org/show_bug.cgi?id=62938
      
              Follow up of "SVGAnimation should use direct unit animation for SVGLength": https://bugs.webkit.org/show_bug.cgi?id=61368
              This patch continues the conversion to the new concept of SVGAnimatorFactory with SVGNumber. With the new animator for the
              With the new animator for SVGNumber we also support the scientific notation, and everything else that's supported by
              the SVGNumber parsing, removing the SVGAnimate* specific number parsing functionality.
      
              Moving the content of SVGAnimatedType header into its own cpp.
              
              Changed behavior of parseNumberFromString(). It checks if the String simply consits of a number now. parseNumberFromString()
              is using genericParseNumber() for parsing numbers. But this method just stops at the first char that does not belong to a number and
              returns true. I added a check if the current char pointer is at the last char of the String and return false if not.
      
              Tests: svg/animations/svgnumber-animation-1.html
                     svg/animations/svgnumber-animation-2.html
                     svg/animations/svgnumber-animation-3.html
      
              * CMakeLists.txt: Added new files to build system.
              * GNUmakefile.list.am: Ditto.
              * WebCore.gypi: Ditto.
              * WebCore.pro: Ditto.
              * WebCore.xcodeproj/project.pbxproj: Ditto.
              * svg/SVGAllInOne.cpp: Ditto.
              * svg/SVGAnimateElement.cpp: Use SVGAnimatedNumberAnimator for animations of SVGNumbers.
              (WebCore::SVGAnimateElement::SVGAnimateElement):
              (WebCore::SVGAnimateElement::calculateAnimatedValue):
              (WebCore::SVGAnimateElement::calculateFromAndToValues):
              (WebCore::SVGAnimateElement::calculateFromAndByValues):
              (WebCore::SVGAnimateElement::resetToBaseValue):
              (WebCore::SVGAnimateElement::applyResultsToTarget):
              (WebCore::SVGAnimateElement::calculateDistance):
              * svg/SVGAnimateElement.h: Remove floats for value storage. This is done by SVGAnimatedTypes now.
              * svg/SVGAnimatedNumber.cpp: Added. Animator for SVGNumbers.
              (WebCore::SVGAnimatedNumberAnimator::SVGAnimatedNumberAnimator):
              (WebCore::SVGAnimatedNumberAnimator::constructFromString):
              (WebCore::SVGAnimatedNumberAnimator::calculateFromAndToValues):
              (WebCore::SVGAnimatedNumberAnimator::calculateFromAndByValues):
              (WebCore::SVGAnimatedNumberAnimator::calculateAnimatedValue):
              (WebCore::SVGAnimatedNumberAnimator::calculateDistance):
              * svg/SVGAnimatedNumber.h:
              (WebCore::SVGAnimatedNumberAnimator::~SVGAnimatedNumberAnimator):
              * svg/SVGAnimatedType.cpp: Added. Moved content from header to cpp.
              (WebCore::SVGAnimatedType::SVGAnimatedType):
              (WebCore::SVGAnimatedType::~SVGAnimatedType):
              (WebCore::SVGAnimatedType::createAngle):
              (WebCore::SVGAnimatedType::createLength):
              (WebCore::SVGAnimatedType::createNumber):
              (WebCore::SVGAnimatedType::angle):
              (WebCore::SVGAnimatedType::length):
              (WebCore::SVGAnimatedType::number):
              (WebCore::SVGAnimatedType::valueAsString):
              (WebCore::SVGAnimatedType::setValueAsString):
              * svg/SVGAnimatedType.h: Removed method create(). Allways call type specific create funtcions.
              * svg/SVGAnimatorFactory.h:
              (WebCore::SVGAnimatorFactory::create):
              * svg/SVGParserUtilities.cpp:
              (WebCore::parseNumberFromString): Check if String simply consits of a number. Return false otherwise.
      2011-06-19  Dirk Schulze  <krit@webkit.org>
      
              Reviewed by Nikolas Zimmermann.
      
              SVGAnimatorFactory does not support SVGNumber
              https://bugs.webkit.org/show_bug.cgi?id=62938
              
              Added new tests to check behavior on SVGNumber animation.
      
              * svg/animations/script-tests/svgnumber-animation-1.js: Added.
              (sample1):
              (sample2):
              (sample3):
              (executeTest):
              * svg/animations/script-tests/svgnumber-animation-2.js: Added.
              (sample1):
              (sample2):
              (sample3):
              (executeTest):
              * svg/animations/script-tests/svgnumber-animation-3.js: Added.
              (sample1):
              (sample2):
              (sample3):
              (executeTest):
              * svg/animations/svgnumber-animation-1-expected.txt: Added.
              * svg/animations/svgnumber-animation-1.html: Added.
              * svg/animations/svgnumber-animation-2-expected.txt: Added.
              * svg/animations/svgnumber-animation-2.html: Added.
              * svg/animations/svgnumber-animation-3-expected.txt: Added.
              * svg/animations/svgnumber-animation-3.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89220 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c589d8cd
    • oliver@apple.com's avatar
      2011-06-17 Oliver Hunt <oliver@apple.com> · cef0b132
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              JSONP is unnecessarily slow
              https://bugs.webkit.org/show_bug.cgi?id=62920
      
              JSONP has unfortunately become a fairly common idiom online, yet
              it triggers very poor performance in JSC as we end up doing codegen
              for a large number of property accesses that will
                 * only be run once, so the vast amount of logic we dump to handle
                   caching of accesses is unnecessary.
                 * We are doing codegen that is directly proportional to just
                   creating the object in the first place.
      
              This patch extends the use of the literal parser to JSONP-like structures
              in global code, handling a number of different forms I have seen online.
              In an extreme case this improves performance of JSONP by more than 2x
              due to removal of code generation and execution time, and a few optimisations
              that I made to the parser itself.
      
              * API/JSValueRef.cpp:
              (JSValueMakeFromJSONString):
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::callEval):
              (JSC::Interpreter::execute):
              * parser/Lexer.cpp:
              (JSC::Lexer::isKeyword):
              * parser/Lexer.h:
              * runtime/JSGlobalObjectFunctions.cpp:
              (JSC::globalFuncEval):
              * runtime/JSONObject.cpp:
              (JSC::JSONProtoFuncParse):
              * runtime/LiteralParser.cpp:
              (JSC::LiteralParser::tryJSONPParse):
              (JSC::LiteralParser::makeIdentifier):
              (JSC::LiteralParser::Lexer::lex):
              (JSC::LiteralParser::Lexer::next):
              (JSC::isSafeStringCharacter):
              (JSC::LiteralParser::Lexer::lexString):
              (JSC::LiteralParser::Lexer::lexNumber):
              (JSC::LiteralParser::parse):
              * runtime/LiteralParser.h:
              (JSC::LiteralParser::LiteralParser):
              (JSC::LiteralParser::tryLiteralParse):
              (JSC::LiteralParser::Lexer::Lexer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89219 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cef0b132
    • senorblanco@chromium.org's avatar
      2011-06-19 Stephen White <senorblanco@chromium.org> · 76965509
      senorblanco@chromium.org authored
              Unreviewed.
      
              Marking several tests as crashing on Mac GPU.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89218 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76965509
    • senorblanco@chromium.org's avatar
      2011-06-19 Sheriff Bot <webkit.review.bot@gmail.com> · 71cdd179
      senorblanco@chromium.org authored
              Unreviewed, rolling out r89198.
              http://trac.webkit.org/changeset/89198
              https://bugs.webkit.org/show_bug.cgi?id=62953
      
              Chromium breakage on "Linux Tests" (Requested by senorblanco
              on #webkit).
      
              * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71cdd179