Timeline



Dec 14, 2010:

11:10 PM Changeset in webkit [74099] by mitz@apple.com
  • 4 edits
    2 adds in trunk

<rdar://problem/8767193> REGRESSION (r60822): caps-lock-indicator is accepted as a -webkit-appearance value
https://bugs.webkit.org/show_bug.cgi?id=51096

Reviewed by Maciej Stachowiak.

WebCore:

Test: fast/css/appearance-caps-lock-indicator.html

  • css/CSSValueKeywords.in: Moved caps-lock-indicator outside the range of values that should be

accepted by the parser, and added comments about maintaining the list of appearance values.

  • platform/ThemeTypes.h: Moved CapsLockIndicatorPart to the end of the ControlPart enum.

LayoutTests:

  • fast/css/appearance-caps-lock-indicator-expected.txt: Added.
  • fast/css/appearance-caps-lock-indicator.html: Added.
10:48 PM Changeset in webkit [74098] by commit-queue@webkit.org
  • 9 edits in trunk

2010-12-14 takano takumi <takano@apple.com>

Reviewed by Dan Bernstein.

text-combine value names have been changed in the css3 proposal.
https://bugs.webkit.org/show_bug.cgi?id=51089

  • fast/text/international/text-combine-parser-test-expected.txt: Result updated.
  • fast/text/international/text-combine-parser-test.html: Test updated.

2010-12-14 takano takumi <takano@apple.com>

Reviewed by Dan Bernstein.

text-combine value names have been changed in the css3 proposal.
https://bugs.webkit.org/show_bug.cgi?id=51089

Changed text-combine's value names from "none|cluster|upright" to "none|horizontal".

  • css/CSSParser.cpp: Changed value name. (WebCore::CSSParser::parseValue):
  • css/CSSPrimitiveValueMappings.h: Changed value name. (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator TextCombine):
  • css/CSSValueKeywords.in: No more text-combine specific values needed since "horizontal" is already there.
  • rendering/style/RenderStyleConstants.h: Changed value name.
  • rendering/style/StyleRareNonInheritedData.h: Changed textCombine field size.
8:19 PM Changeset in webkit [74097] by commit-queue@webkit.org
  • 429 edits
    1 add in trunk/LayoutTests

2010-12-14 Cosmin Truta <ctruta@chromium.org>

Reviewed by Eric Seidel.

Rebaseline: leading and trailing EOL must occur consistently in expectation files
https://bugs.webkit.org/show_bug.cgi?id=51018

We are planning to make new-run-webkit-tests treat EOLs in the same strict manner as old-run-webkit-tests.
This change in tooling requires rebaselining.

  • editing/pasteboard/file-drag-to-editable-expected.txt:
  • fast/dom/Window/slow-unload-handler-expected.txt:
  • fast/filesystem/file-writer-truncate-extend-expected.txt:
  • fast/images/webp-image-decoding-expected.txt:
  • fast/speech/input-onspeechchange-event-expected.txt:
  • fast/speech/input-text-language-tag-expected.txt:
  • fast/speech/input-text-speechbutton-expected.txt:
  • fast/speech/speech-button-ignore-generated-events-expected.txt:
  • http/tests/media/video-play-suspend-expected.txt:
  • platform/chromium-linux/fast/dom/DeviceOrientation/window-property-expected.txt:
  • platform/chromium-linux/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt:
  • platform/chromium-linux/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt:
  • platform/chromium-linux/fast/dom/HTMLProgressElement/progress-element-with-child-crash-expected.txt:
  • platform/chromium-linux/fast/dom/Window/window-properties-device-orientation-expected.txt:
  • platform/chromium-linux/fast/forms/onselect-textarea-expected.txt:
  • platform/chromium-linux/fast/preloader/script-expected.txt:
  • platform/chromium-linux/fast/url/file-expected.txt:
  • platform/chromium-linux/fast/url/relative-unix-expected.txt:
  • platform/chromium-linux/fast/url/relative-win-expected.txt:
  • platform/chromium-linux/fast/url/segments-expected.txt:
  • platform/chromium-linux/fast/url/segments-from-data-url-expected.txt:
  • platform/chromium-linux/http/tests/loading/bad-scheme-subframe-expected.txt:
  • platform/chromium-linux/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
  • platform/chromium-linux/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
  • platform/chromium-linux/http/tests/websocket/tests/url-parsing-expected.txt:
  • platform/chromium-linux/svg/custom/use-invalid-pattern-expected.txt:
  • platform/chromium-mac/animations/keyframes-rule-expected.txt:
  • platform/chromium-mac/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt:
  • platform/chromium-mac/fast/dom/DOMException/EventException-expected.txt:
  • platform/chromium-mac/fast/dom/DOMException/RangeException-expected.txt:
  • platform/chromium-mac/fast/dom/DOMException/XPathException-expected.txt:
  • platform/chromium-mac/fast/dom/DOMException/prototype-object-expected.txt:
  • platform/chromium-mac/fast/dom/DeviceOrientation/window-property-expected.txt:
  • platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
  • platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt:
  • platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt:
  • platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt:
  • platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt:
  • platform/chromium-mac/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt:
  • platform/chromium-mac/fast/dom/HTMLSelectElement/named-options-expected.txt:
  • platform/chromium-mac/fast/dom/Range/getClientRects-expected.txt:
  • platform/chromium-mac/fast/dom/Window/window-postmessage-args-expected.txt:
  • platform/chromium-mac/fast/dom/Window/window-properties-device-orientation-expected.txt:
  • platform/chromium-mac/fast/dom/Window/window-properties-geolocation-expected.txt:
  • platform/chromium-mac/fast/dom/error-to-string-stack-overflow-expected.txt:
  • platform/chromium-mac/fast/dom/getElementsByClassName/011-expected.txt:
  • platform/chromium-mac/fast/dom/javascript-url-exception-isolation-expected.txt:
  • platform/chromium-mac/fast/dom/prototype-chain-expected.txt:
  • platform/chromium-mac/fast/dom/setPrimitiveValue-exceptions-expected.txt:
  • platform/chromium-mac/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt:
  • platform/chromium-mac/fast/dom/wrapper-classes-expected.txt:
  • platform/chromium-mac/fast/events/event-view-toString-expected.txt:
  • platform/chromium-mac/fast/forms/ValidityState-typeMismatch-url-expected.txt:
  • platform/chromium-mac/fast/js/array-every-expected.txt:
  • platform/chromium-mac/fast/js/array-foreach-expected.txt:
  • platform/chromium-mac/fast/js/array-some-expected.txt:
  • platform/chromium-mac/fast/js/assign-expected.txt:
  • platform/chromium-mac/fast/js/break-ASI-expected.txt:
  • platform/chromium-mac/fast/js/console-non-string-values-expected.txt:
  • platform/chromium-mac/fast/js/const-expected.txt:
  • platform/chromium-mac/fast/js/cyclic-prototypes-expected.txt:
  • platform/chromium-mac/fast/js/date-proto-generic-invocation-expected.txt:
  • platform/chromium-mac/fast/js/date-toisostring-expected.txt:
  • platform/chromium-mac/fast/js/deep-recursion-test-expected.txt:
  • platform/chromium-mac/fast/js/delete-getters-setters-expected.txt:
  • platform/chromium-mac/fast/js/exception-thrown-from-new-expected.txt:
  • platform/chromium-mac/fast/js/function-declaration-expected.txt:
  • platform/chromium-mac/fast/js/function-prototype-descriptor-expected.txt:
  • platform/chromium-mac/fast/js/kde/RegExp-expected.txt:
  • platform/chromium-mac/fast/js/kde/StringObject-expected.txt:
  • platform/chromium-mac/fast/js/kde/encode_decode_uri-expected.txt:
  • platform/chromium-mac/fast/js/kde/function-expected.txt:
  • platform/chromium-mac/fast/js/kde/garbage-n-expected.txt:
  • platform/chromium-mac/fast/js/kde/lval-exceptions-expected.txt:
  • platform/chromium-mac/fast/js/kde/parse-expected.txt:
  • platform/chromium-mac/fast/js/kde/string-1-n-expected.txt:
  • platform/chromium-mac/fast/js/kde/string-2-n-expected.txt:
  • platform/chromium-mac/fast/js/modify-non-references-expected.txt:
  • platform/chromium-mac/fast/js/no-semi-insertion-at-end-of-script-expected.txt:
  • platform/chromium-mac/fast/js/number-toExponential-expected.txt:
  • platform/chromium-mac/fast/js/number-toString-expected.txt:
  • platform/chromium-mac/fast/js/number-tofixed-expected.txt:
  • platform/chromium-mac/fast/js/number-toprecision-expected.txt:
  • platform/chromium-mac/fast/js/object-extra-comma-expected.txt:
  • platform/chromium-mac/fast/js/property-getters-and-setters-expected.txt:
  • platform/chromium-mac/fast/js/recursion-limit-equal-expected.txt:
  • platform/chromium-mac/fast/js/regexp-compile-expected.txt:
  • platform/chromium-mac/fast/js/regexp-overflow-expected.txt:
  • platform/chromium-mac/fast/js/reserved-words-expected.txt:
  • platform/chromium-mac/fast/js/string-capitalization-expected.txt:
  • platform/chromium-mac/fast/js/toString-and-valueOf-override-expected.txt:
  • platform/chromium-mac/fast/js/toString-stack-overflow-expected.txt:
  • platform/chromium-mac/fast/text/find-kana-expected.txt:
  • platform/chromium-mac/fast/url/file-expected.txt:
  • platform/chromium-mac/fast/url/host-expected.txt:
  • platform/chromium-mac/fast/url/ipv6-expected.txt:
  • platform/chromium-mac/fast/url/mailto-expected.txt:
  • platform/chromium-mac/fast/url/path-expected.txt:
  • platform/chromium-mac/fast/url/path-url-expected.txt:
  • platform/chromium-mac/fast/url/port-expected.txt:
  • platform/chromium-mac/fast/url/relative-unix-expected.txt:
  • platform/chromium-mac/fast/url/relative-win-expected.txt:
  • platform/chromium-mac/fast/url/scheme-expected.txt:
  • platform/chromium-mac/fast/url/segments-expected.txt:
  • platform/chromium-mac/fast/url/segments-from-data-url-expected.txt:
  • platform/chromium-mac/fast/url/standard-url-expected.txt:
  • platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
  • platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
  • platform/chromium-mac/fast/xmlhttprequest/xmlhttprequest-recursive-sync-event-expected.txt:
  • platform/chromium-mac/http/tests/loading/bad-scheme-subframe-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-frame-access-enumeration-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-frame-access-get-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-frame-access-get-override-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-frame-access-history-get-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-frame-access-history-get-override-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-frame-access-location-get-override-expected.txt:
  • platform/chromium-mac/http/tests/security/cross-frame-access-location-put-expected.txt:
  • platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
  • platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
  • platform/chromium-mac/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
  • platform/chromium-mac/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
  • platform/chromium-mac/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
  • platform/chromium-mac/http/tests/websocket/tests/url-parsing-expected.txt:
  • platform/chromium-mac/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt:
  • platform/chromium-mac/http/tests/xmlhttprequest/xmlhttprequest-missing-file-exception-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.12.2-0-2-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.12.3-0-2-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.10-2-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt:
  • platform/chromium-mac/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt:
  • platform/chromium-mac/media/audio-constructor-expected.txt:
  • platform/chromium-mac/media/audio-constructor-preload-expected.txt:
  • platform/chromium-mac/media/audio-constructor-src-expected.txt:
  • platform/chromium-mac/media/media-load-event-expected.txt:
  • platform/chromium-mac/media/video-append-source-expected.txt:
  • platform/chromium-mac/media/video-canvas-source-expected.txt:
  • platform/chromium-mac/media/video-currentTime-set-expected.txt:
  • platform/chromium-mac/media/video-dom-src-expected.txt:
  • platform/chromium-mac/media/video-load-networkState-expected.txt:
  • platform/chromium-mac/media/video-seek-past-end-paused-expected.txt:
  • platform/chromium-mac/media/video-seek-past-end-playing-expected.txt:
  • platform/chromium-mac/media/video-source-expected.txt:
  • platform/chromium-mac/media/video-src-change-expected.txt:
  • platform/chromium-mac/media/video-src-expected.txt:
  • platform/chromium-mac/plugins/clicking-missing-plugin-fires-delegate-expected.txt:
  • platform/chromium-mac/plugins/npruntime/object-from-destroyed-plugin-expected.txt:
  • platform/chromium-mac/security/block-test-no-port-expected.txt:
  • platform/chromium-mac/storage/transaction-error-callback-expected.txt:
  • platform/chromium-mac/svg/custom/SVGException-expected.txt:
  • platform/chromium-mac/svg/custom/use-invalid-pattern-expected.txt:
  • platform/chromium-mac/svg/custom/use-nested-missing-target-removed-expected.txt:
  • platform/chromium-mac/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
  • platform/chromium-mac/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.txt:
  • platform/chromium-win/animations/keyframes-rule-expected.txt:
  • platform/chromium-win/editing/selection/extend-selection-home-end-expected.txt:
  • platform/chromium-win/editing/selection/home-end-expected.txt:
  • platform/chromium-win/fast/css/button-height-expected.txt:
  • platform/chromium-win/fast/css/font-face-descriptor-multiple-values-parsing-expected.txt:
  • platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
  • platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
  • platform/chromium-win/fast/dom/DOMException/EventException-expected.txt:
  • platform/chromium-win/fast/dom/DOMException/RangeException-expected.txt:
  • platform/chromium-win/fast/dom/DOMException/XPathException-expected.txt:
  • platform/chromium-win/fast/dom/DOMException/prototype-object-expected.txt:
  • platform/chromium-win/fast/dom/DeviceOrientation/window-property-expected.txt:
  • platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
  • platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt:
  • platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt:
  • platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt:
  • platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt:
  • platform/chromium-win/fast/dom/HTMLAnchorElement/set-href-attribute-search-expected.txt:
  • platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-with-child-crash-expected.txt:
  • platform/chromium-win/fast/dom/HTMLSelectElement/named-options-expected.txt:
  • platform/chromium-win/fast/dom/Window/new-window-opener-expected.txt:
  • platform/chromium-win/fast/dom/Window/webkitConvertPoint-expected.txt:
  • platform/chromium-win/fast/dom/Window/window-lookup-precedence-expected.txt:
  • platform/chromium-win/fast/dom/Window/window-postmessage-args-expected.txt:
  • platform/chromium-win/fast/dom/Window/window-properties-device-orientation-expected.txt:
  • platform/chromium-win/fast/dom/Window/window-properties-geolocation-expected.txt:
  • platform/chromium-win/fast/dom/error-to-string-stack-overflow-expected.txt:
  • platform/chromium-win/fast/dom/getElementsByClassName/011-expected.txt:
  • platform/chromium-win/fast/dom/javascript-url-exception-isolation-expected.txt:
  • platform/chromium-win/fast/dom/prototype-chain-expected.txt:
  • platform/chromium-win/fast/dom/setPrimitiveValue-exceptions-expected.txt:
  • platform/chromium-win/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt:
  • platform/chromium-win/fast/dom/wrapper-classes-expected.txt:
  • platform/chromium-win/fast/events/event-view-toString-expected.txt:
  • platform/chromium-win/fast/events/offsetX-offsetY-expected.txt:
  • platform/chromium-win/fast/forms/ValidityState-typeMismatch-url-expected.txt:
  • platform/chromium-win/fast/forms/focus-selection-textarea-expected.txt:
  • platform/chromium-win/fast/forms/input-maxlength-ime-completed-expected.txt:
  • platform/chromium-win/fast/forms/input-maxlength-ime-preedit-expected.txt:
  • platform/chromium-win/fast/forms/slider-mouse-events-expected.txt:
  • platform/chromium-win/fast/js/array-every-expected.txt:
  • platform/chromium-win/fast/js/array-foreach-expected.txt:
  • platform/chromium-win/fast/js/array-some-expected.txt:
  • platform/chromium-win/fast/js/assign-expected.txt:
  • platform/chromium-win/fast/js/break-ASI-expected.txt:
  • platform/chromium-win/fast/js/console-non-string-values-expected.txt:
  • platform/chromium-win/fast/js/const-expected.txt:
  • platform/chromium-win/fast/js/cyclic-prototypes-expected.txt:
  • platform/chromium-win/fast/js/date-proto-generic-invocation-expected.txt:
  • platform/chromium-win/fast/js/date-toisostring-expected.txt:
  • platform/chromium-win/fast/js/deep-recursion-test-expected.txt:
  • platform/chromium-win/fast/js/delete-getters-setters-expected.txt:
  • platform/chromium-win/fast/js/exception-thrown-from-new-expected.txt:
  • platform/chromium-win/fast/js/function-declaration-expected.txt:
  • platform/chromium-win/fast/js/function-prototype-descriptor-expected.txt:
  • platform/chromium-win/fast/js/function-prototype-expected.txt:
  • platform/chromium-win/fast/js/kde/RegExp-expected.txt:
  • platform/chromium-win/fast/js/kde/StringObject-expected.txt:
  • platform/chromium-win/fast/js/kde/encode_decode_uri-expected.txt:
  • platform/chromium-win/fast/js/kde/exception_propagation-expected.txt:
  • platform/chromium-win/fast/js/kde/function-expected.txt:
  • platform/chromium-win/fast/js/kde/garbage-n-expected.txt:
  • platform/chromium-win/fast/js/kde/lval-exceptions-expected.txt:
  • platform/chromium-win/fast/js/kde/parse-expected.txt:
  • platform/chromium-win/fast/js/kde/string-1-n-expected.txt:
  • platform/chromium-win/fast/js/kde/string-2-n-expected.txt:
  • platform/chromium-win/fast/js/modify-non-references-expected.txt:
  • platform/chromium-win/fast/js/no-semi-insertion-at-end-of-script-expected.txt:
  • platform/chromium-win/fast/js/number-toExponential-expected.txt:
  • platform/chromium-win/fast/js/number-toString-expected.txt:
  • platform/chromium-win/fast/js/number-tofixed-expected.txt:
  • platform/chromium-win/fast/js/number-toprecision-expected.txt:
  • platform/chromium-win/fast/js/object-extra-comma-expected.txt:
  • platform/chromium-win/fast/js/property-getters-and-setters-expected.txt:
  • platform/chromium-win/fast/js/recursion-limit-equal-expected.txt:
  • platform/chromium-win/fast/js/regexp-caching-expected.txt:
  • platform/chromium-win/fast/js/regexp-compile-expected.txt:
  • platform/chromium-win/fast/js/regexp-overflow-expected.txt:
  • platform/chromium-win/fast/js/reserved-words-expected.txt:
  • platform/chromium-win/fast/js/string-capitalization-expected.txt:
  • platform/chromium-win/fast/js/toString-and-valueOf-override-expected.txt:
  • platform/chromium-win/fast/replaced/table-percent-height-expected.txt:
  • platform/chromium-win/fast/url/file-expected.txt:
  • platform/chromium-win/fast/url/host-expected.txt:
  • platform/chromium-win/fast/url/ipv6-expected.txt:
  • platform/chromium-win/fast/url/mailto-expected.txt:
  • platform/chromium-win/fast/url/path-expected.txt:
  • platform/chromium-win/fast/url/path-url-expected.txt:
  • platform/chromium-win/fast/url/port-expected.txt:
  • platform/chromium-win/fast/url/relative-unix-expected.txt:
  • platform/chromium-win/fast/url/relative-win-expected.txt:
  • platform/chromium-win/fast/url/scheme-expected.txt:
  • platform/chromium-win/fast/url/segments-expected.txt:
  • platform/chromium-win/fast/url/segments-from-data-url-expected.txt:
  • platform/chromium-win/fast/url/standard-url-expected.txt:
  • platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-get-expected.txt:
  • platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-nonexistent-file-expected.txt:
  • platform/chromium-win/fast/xmlhttprequest/xmlhttprequest-recursive-sync-event-expected.txt:
  • platform/chromium-win/http/tests/loading/bad-scheme-subframe-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-enumeration-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-get-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-get-override-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-history-get-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-history-get-override-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-location-get-override-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-location-put-expected.txt:
  • platform/chromium-win/http/tests/security/cross-frame-access-put-expected.txt:
  • platform/chromium-win/http/tests/security/dataURL/xss-DENIED-from-data-url-sub-frame-to-data-url-sub-frame-expected.txt:
  • platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open-expected.txt:
  • platform/chromium-win/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt:
  • platform/chromium-win/http/tests/security/xssAuditor/javascript-link-HTML-entities-null-char-expected.txt:
  • platform/chromium-win/http/tests/websocket/tests/bad-sub-protocol-control-chars-expected.txt:
  • platform/chromium-win/http/tests/websocket/tests/url-parsing-expected.txt:
  • platform/chromium-win/http/tests/xmlhttprequest/XMLHttpRequestException-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-10-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/11.4.1-4.a-8-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-2-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.12.1.1-0-3-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.12.2-0-2-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.12.3-0-2-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.10-0-2-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.10-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.10-2-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-2-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-0-3-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-10-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-11-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-12-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-13-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-14-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-15-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-16-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-17-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-18-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-19-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-2-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-20-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-21-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-3-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-4-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-5-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-6-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-7-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-8-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.13-2-9-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.14-2-4-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.14-3-4-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-22-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.3-4-25-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.2.3.6-4-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.14-9-a-12-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-26-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-3-27-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-12-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-14-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-16-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-5-4-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-9-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.4.4.15-8-a-12-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-1-expected.txt:
  • platform/chromium-win/ietestcenter/Javascript/15.5.4.20-1-2-expected.txt:
  • platform/chromium-win/inspector/console-format-expected.txt:
  • platform/chromium-win/inspector/console-uncaught-exception-expected.txt:
  • platform/chromium-win/media/audio-constructor-expected.txt:
  • platform/chromium-win/media/audio-constructor-preload-expected.txt:
  • platform/chromium-win/media/audio-constructor-src-expected.txt:
  • platform/chromium-win/media/audio-delete-while-slider-thumb-clicked-expected.txt:
  • platform/chromium-win/media/media-load-event-expected.txt:
  • platform/chromium-win/media/video-append-source-expected.txt:
  • platform/chromium-win/media/video-canvas-source-expected.txt:
  • platform/chromium-win/media/video-currentTime-set-expected.txt:
  • platform/chromium-win/media/video-dom-src-expected.txt:
  • platform/chromium-win/media/video-load-networkState-expected.txt:
  • platform/chromium-win/media/video-seek-past-end-paused-expected.txt:
  • platform/chromium-win/media/video-seek-past-end-playing-expected.txt:
  • platform/chromium-win/media/video-source-expected.txt:
  • platform/chromium-win/media/video-src-change-expected.txt:
  • platform/chromium-win/media/video-src-expected.txt:
  • platform/chromium-win/media/video-src-remove-expected.txt:
  • platform/chromium-win/media/video-src-set-expected.txt:
  • platform/chromium-win/media/video-src-source-expected.txt:
  • platform/chromium-win/plugins/clicking-missing-plugin-fires-delegate-expected.txt:
  • platform/chromium-win/plugins/inner-html-display-none-expected.txt:
  • platform/chromium-win/plugins/npruntime/object-from-destroyed-plugin-expected.txt:
  • platform/chromium-win/security/block-test-no-port-expected.txt:
  • platform/chromium-win/storage/statement-error-callback-expected.txt:
  • platform/chromium-win/storage/transaction-error-callback-expected.txt:
  • platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
  • platform/chromium-win/svg/custom/SVGException-expected.txt:
  • platform/chromium-win/svg/custom/use-invalid-pattern-expected.txt:
  • platform/chromium-win/svg/custom/use-nested-missing-target-removed-expected.txt:
  • platform/chromium-win/svg/dom/path-parser-expected.txt:
  • platform/chromium-win/svg/dom/svgpath-out-of-bounds-getPathSeg-expected.txt:
  • platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.txt:
  • platform/chromium-win/svg/dynamic-updates/SVGLineElement-dom-requiredFeatures-expected.txt:
  • platform/chromium-win/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.txt:
  • platform/chromium-win/svg/text/lengthAdjust-text-metrics-expected.txt:
  • platform/chromium/fast/dom/anchor-origin-expected.txt:
  • platform/chromium/fast/dom/domListEnumeration-expected.txt:
  • platform/chromium/fast/dom/global-constructors-expected.txt:
  • platform/chromium/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt:
  • platform/chromium/fast/dom/prototype-inheritance-expected.txt:
  • platform/chromium/fast/forms/search-popup-crasher-expected.txt:
  • platform/chromium/fast/js/ToNumber-expected.txt:
  • platform/chromium/fast/js/parseFloat-expected.txt:
  • platform/chromium/fast/js/regexp-look-ahead-empty-expected.txt:
  • platform/chromium/fast/js/regexp-overflow-expected.txt:
  • platform/chromium/fast/text/font-linux-normalize-expected.txt:
  • platform/chromium/fast/url/relative-expected.txt:
  • platform/chromium/http/tests/inspector/console-resource-errors-expected.txt:
  • platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt:
  • platform/chromium/http/tests/security/cross-frame-access-call-expected.txt:
  • platform/chromium/http/tests/security/cross-origin-xsl-BLOCKED-expected.txt: Added.
  • platform/chromium/inspector/console-eval-global-expected.txt:
  • platform/chromium/inspector/console-log-syntax-error-expected.txt:
  • platform/chromium/inspector/console-object-constructor-name-expected.txt:
  • platform/chromium/inspector/console-trace-in-eval-expected.txt:
  • platform/chromium/inspector/console-uncaught-exception-in-eval-expected.txt:
  • platform/chromium/inspector/debugger-autocontinue-on-syntax-error-expected.txt:
  • platform/chromium/inspector/debugger-expand-scope-expected.txt:
  • platform/chromium/security/block-test-no-port-expected.txt:
  • platform/chromium/traversal/node-iterator-prototype-expected.txt:
  • plugins/document-open-expected.txt:
  • plugins/iframe-shims-expected.txt:
7:48 PM Changeset in webkit [74096] by commit-queue@webkit.org
  • 3 edits
    4 adds in trunk

2010-12-14 Koan-Sin Tan <koansin.tan@gmail.com>

Reviewed by Alexey Proskuryakov.

Kana should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
https://bugs.webkit.org/show_bug.cgi?id=51012

Test if kana displayed correctly in vertical text with broken font.

  • fast/blockflow/japanese-rl-text-with-broken-font.html: Added.
  • platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Added.
  • platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Added.
  • platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.txt: Added.

2010-12-14 Koan-Sin Tan <koansin.tan@gmail.com>

Reviewed by Alexey Proskuryakov.

Kana should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
https://bugs.webkit.org/show_bug.cgi?id=51012

Kana should be displayed correctly in vertical text with broken font.

Test: fast/blockflow/japanese-rl-text-with-broken-font.html

  • platform/graphics/Font.cpp: (WebCore::Font::isCJKIdeographOrSymbol): add katakana, hiraganna, and Halfwidth and Fullwidth Forms
7:37 PM Changeset in webkit [74095] by mitz@apple.com
  • 5 edits in trunk/WebCore

Additional RenderStyle support for the text-emphasis CSS property
Part of <rdar://problem/7720300> Support the CSS3 text-emphasis property
https://bugs.webkit.org/show_bug.cgi?id=48539

Reviewed by Sam Weinig.

No test possible, since this is just adding a function to be used by upcoming patches.

  • platform/text/CharacterNames.h: Added characters used as emphasis marks.
  • rendering/style/RenderStyle.cpp:

(WebCore::RenderStyle::textEmphasisMarkString): Added. Returns a string containing the
emphasis mark, or the null AtomicString if there is none.

  • rendering/style/RenderStyle.h:
7:06 PM Changeset in webkit [74094] by rniwa@webkit.org
  • 2 edits
    2 adds in trunk/LayoutTests

2010-12-14 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

Range::extractContents needs more tests
https://bugs.webkit.org/show_bug.cgi?id=51005

Added a test to ensure Range::extractContents work as expected.

  • fast/dom/Range/range-extract-contents-crash-expected.txt: Renamed from LayoutTests/fast/dom/Range/range-extractContents-expected.txt.
  • fast/dom/Range/range-extract-contents-crash.html: Renamed from LayoutTests/fast/dom/Range/range-extractContents.html.
  • fast/dom/Range/range-extract-contents-expected.txt: Added.
  • fast/dom/Range/range-extract-contents.html: Added.
  • resources/dump-as-markup.js: (Markup.dump): Don't call node.getElementsByTagName if it doesn't exist.
7:01 PM Changeset in webkit [74093] by commit-queue@webkit.org
  • 15 edits
    2 moves in trunk

2010-12-14 Anton D'Auria <adauria@apple.com>

Reviewed by Darin Adler.

Do not allow access to existing HTML5 databases in private browsing
mode https://bugs.webkit.org/show_bug.cgi?id=49332

Test: storage/private-browsing-noread-nowrite.html

Previously, read-only transactions and private browsing mode were
represented by the same SQLStatement and DatabaseAuthorizer states.
This patch removes the m_readOnly member variable from SQLStatement and
DatabaseAuthorizer, and replaces it with m_permissions whose bit fields
are initialized by a DatabaseAuthorizer enum Permissions (ReadWrite,
ReadOnly, NoAccess). A read-only transaction sets permissions to
ReadOnly, and if !m_database->scriptExecutionContext()->allowDatabaseAccess(),
then permissions also set to NoAccess.

  • dom/Document.cpp: (WebCore::Document::allowDatabaseAccess): this method was previously called isDatabaseReadOnly. It checks if private browsing preference is set. This method is renamed because it is used to check if private browsing restricts access to databases.
  • dom/Document.h:
  • dom/ScriptExecutionContext.h:
  • storage/AbstractDatabase.cpp: (WebCore::AbstractDatabase::setAuthorizerPermissions):
  • storage/AbstractDatabase.h:
  • storage/DatabaseAuthorizer.cpp: (WebCore::DatabaseAuthorizer::reset): (WebCore::DatabaseAuthorizer::createTable): (WebCore::DatabaseAuthorizer::createTempTable): (WebCore::DatabaseAuthorizer::dropTable): (WebCore::DatabaseAuthorizer::dropTempTable): (WebCore::DatabaseAuthorizer::allowAlterTable): (WebCore::DatabaseAuthorizer::createIndex): (WebCore::DatabaseAuthorizer::createTempIndex): (WebCore::DatabaseAuthorizer::dropIndex): (WebCore::DatabaseAuthorizer::dropTempIndex): (WebCore::DatabaseAuthorizer::createTrigger): (WebCore::DatabaseAuthorizer::createTempTrigger): (WebCore::DatabaseAuthorizer::dropTrigger): (WebCore::DatabaseAuthorizer::dropTempTrigger): (WebCore::DatabaseAuthorizer::createView): (WebCore::DatabaseAuthorizer::createTempView): (WebCore::DatabaseAuthorizer::dropView): (WebCore::DatabaseAuthorizer::dropTempView): (WebCore::DatabaseAuthorizer::createVTable): (WebCore::DatabaseAuthorizer::dropVTable): (WebCore::DatabaseAuthorizer::allowDelete): (WebCore::DatabaseAuthorizer::allowInsert): (WebCore::DatabaseAuthorizer::allowUpdate): (WebCore::DatabaseAuthorizer::allowRead): (WebCore::DatabaseAuthorizer::allowReindex): (WebCore::DatabaseAuthorizer::allowWrite): a new private method that checks if DatabaseAuthorizer is enabled and if it is in ReadOnly or NoAccess mode. (WebCore::DatabaseAuthorizer::setReadOnly): (WebCore::DatabaseAuthorizer::setPermissions):
  • storage/DatabaseAuthorizer.h:
  • storage/SQLStatement.cpp: (WebCore::SQLStatement::create): (WebCore::SQLStatement::SQLStatement): (WebCore::SQLStatement::execute):
  • storage/SQLStatement.h:
  • storage/SQLStatementSync.cpp: (WebCore::SQLStatementSync::SQLStatementSync): (WebCore::SQLStatementSync::execute):
  • storage/SQLStatementSync.h:
  • storage/SQLTransaction.cpp: (WebCore::SQLTransaction::executeSQL):
  • storage/SQLTransactionSync.cpp: (WebCore::SQLTransactionSync::executeSQL):
  • workers/WorkerContext.h: (WebCore::WorkerContext::allowDatabaseAccess):
6:36 PM Changeset in webkit [74092] by tkent@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-14 Kent Tamura <tkent@chromium.org>

Reviewed by Jian Li.

[DRT/Chromium] Remove another unnecessary error message
https://bugs.webkit.org/show_bug.cgi?id=51083

  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::didInvalidateRect):
6:34 PM Changeset in webkit [74091] by jianli@chromium.org
  • 2 edits
    12 adds in trunk/LayoutTests

Unreviewed. Mark 2 new focus-ring-* tests as failed in chromium.

  • platform/chromium-mac-leopard/fast/css/focus-ring-detached-expected.checksum: Added.
  • platform/chromium-mac-leopard/fast/css/focus-ring-detached-expected.png: Added.
  • platform/chromium-mac-leopard/fast/css/focus-ring-detached-expected.txt: Added.
  • platform/chromium-mac-leopard/fast/css/focus-ring-multiline-expected.checksum: Added.
  • platform/chromium-mac-leopard/fast/css/focus-ring-multiline-expected.png: Added.
  • platform/chromium-mac-leopard/fast/css/focus-ring-multiline-expected.txt: Added.
  • platform/chromium-win/fast/css/focus-ring-detached-expected.checksum: Added.
  • platform/chromium-win/fast/css/focus-ring-detached-expected.png: Added.
  • platform/chromium-win/fast/css/focus-ring-detached-expected.txt: Added.
  • platform/chromium-win/fast/css/focus-ring-multiline-expected.checksum: Added.
  • platform/chromium-win/fast/css/focus-ring-multiline-expected.png: Added.
  • platform/chromium-win/fast/css/focus-ring-multiline-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
6:21 PM Changeset in webkit [74090] by mihaip@chromium.org
  • 3 edits
    41 deletes in trunk/LayoutTests

2010-12-14 Mihai Parparita <mihaip@chromium.org>

Reviewed by Eric Seidel.

Remove pixel tests that are obsoleted by the HTML5 parser suite
https://bugs.webkit.org/show_bug.cgi?id=51077

Remove tests which had stale Mac pixel baselines (were not updated for
the HTML5 parser change or for Snow Leopard) which are obsoleted by
the HTML5 parser test suite (i.e. the same behavior is tested there):

  • fast/parser/parseCommentsInTitles.html is tested by tests16.dat (line 956)
  • fast/parser/comment-in-style.html is tested by tests16.dat (line 904)
  • fast/tokenizer/missing-title-end-tag-1.html is tested by tests16.dat (line 980)
  • fast/tokenizer/missing-title-end-tag-2.html is tested by tests2.dat (line 550)
  • fast/parser/comment-in-style.html: Removed.
  • fast/parser/parseCommentsInTitles.html: Removed.
  • fast/tokenizer/missing-title-end-tag-1.html: Removed.
  • fast/tokenizer/missing-title-end-tag-2.html: Removed.
  • platform/chromium-linux/fast/parser/comment-in-style-expected.checksum: Removed.
  • platform/chromium-linux/fast/parser/comment-in-style-expected.png: Removed.
  • platform/chromium-linux/fast/parser/parseCommentsInTitles-expected.checksum: Removed.
  • platform/chromium-linux/fast/parser/parseCommentsInTitles-expected.png: Removed.
  • platform/chromium-mac/fast/parser/comment-in-style-expected.checksum: Removed.
  • platform/chromium-mac/fast/parser/comment-in-style-expected.png: Removed.
  • platform/chromium-mac/fast/parser/parseCommentsInTitles-expected.checksum: Removed.
  • platform/chromium-mac/fast/parser/parseCommentsInTitles-expected.png: Removed.
  • platform/chromium-mac/fast/tokenizer/missing-title-end-tag-1-expected.checksum: Removed.
  • platform/chromium-mac/fast/tokenizer/missing-title-end-tag-1-expected.png: Removed.
  • platform/chromium-mac/fast/tokenizer/missing-title-end-tag-2-expected.checksum: Removed.
  • platform/chromium-mac/fast/tokenizer/missing-title-end-tag-2-expected.png: Removed.
  • platform/chromium-win/fast/parser/comment-in-style-expected.checksum: Removed.
  • platform/chromium-win/fast/parser/comment-in-style-expected.png: Removed.
  • platform/chromium-win/fast/parser/comment-in-style-expected.txt: Removed.
  • platform/chromium-win/fast/parser/parseCommentsInTitles-expected.checksum: Removed.
  • platform/chromium-win/fast/parser/parseCommentsInTitles-expected.png: Removed.
  • platform/chromium-win/fast/parser/parseCommentsInTitles-expected.txt: Removed.
  • platform/chromium-win/fast/tokenizer/missing-title-end-tag-1-expected.checksum: Removed.
  • platform/chromium-win/fast/tokenizer/missing-title-end-tag-1-expected.png: Removed.
  • platform/chromium-win/fast/tokenizer/missing-title-end-tag-2-expected.checksum: Removed.
  • platform/chromium-win/fast/tokenizer/missing-title-end-tag-2-expected.png: Removed.
  • platform/gtk/Skipped:
  • platform/mac/fast/parser/comment-in-style-expected.checksum: Removed.
  • platform/mac/fast/parser/comment-in-style-expected.png: Removed.
  • platform/mac/fast/parser/comment-in-style-expected.txt: Removed.
  • platform/mac/fast/parser/parseCommentsInTitles-expected.checksum: Removed.
  • platform/mac/fast/parser/parseCommentsInTitles-expected.png: Removed.
  • platform/mac/fast/parser/parseCommentsInTitles-expected.txt: Removed.
  • platform/mac/fast/tokenizer/missing-title-end-tag-1-expected.checksum: Removed.
  • platform/mac/fast/tokenizer/missing-title-end-tag-1-expected.png: Removed.
  • platform/mac/fast/tokenizer/missing-title-end-tag-1-expected.txt: Removed.
  • platform/mac/fast/tokenizer/missing-title-end-tag-2-expected.checksum: Removed.
  • platform/mac/fast/tokenizer/missing-title-end-tag-2-expected.png: Removed.
  • platform/mac/fast/tokenizer/missing-title-end-tag-2-expected.txt: Removed.
  • platform/qt/Skipped:
  • platform/qt/fast/parser/parseCommentsInTitles-expected.txt: Removed.
  • platform/qt/fast/tokenizer/missing-title-end-tag-1-expected.txt: Removed.
  • platform/qt/fast/tokenizer/missing-title-end-tag-2-expected.txt: Removed.
6:09 PM Changeset in webkit [74089] by morrita@google.com
  • 5 edits in trunk

2010-12-02 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

[chromium] Fix drawing of inset box shadows
https://bugs.webkit.org/show_bug.cgi?id=41576

  • platform/chromium-win/fast/box-shadow/inset-expected.checksum:
  • platform/chromium-win/fast/box-shadow/inset-expected.png:

2010-12-02 MORITA Hajime <morrita@google.com>

Reviewed by Dimitri Glazkov.

[chromium] Fix drawing of inset box shadows
https://bugs.webkit.org/show_bug.cgi?id=41576

When clearing outside clipped path, the context contains unexpected transform.
Fixed to restore original state before the clear.

  • platform/graphics/skia/PlatformContextSkia.cpp: (WebCore::PlatformContextSkia::clipPathAntiAliased): (WebCore::PlatformContextSkia::applyAntiAliasedClipPaths):
6:03 PM Changeset in webkit [74088] by Stephanie Lewis
  • 1 edit in trunk/WebKitTools/ChangeLog

Add a new Leopard Debug Test WK2 Bot

Reviewed by Stephanie Lewis.

  • BuildSlaveSupport/build.webkit.org-config/config.json:
6:00 PM Changeset in webkit [74087] by yael.aharon@nokia.com
  • 1 edit
    6 moves in trunk/LayoutTests

Unreviewed.

Move some new tests from mac-snowleopard to mac
https://bugs.webkit.org/show_bug.cgi?id=51075

  • platform/mac-snowleopard/fast/css/focus-ring-detached-expected.checksum: Removed.
  • platform/mac-snowleopard/fast/css/focus-ring-detached-expected.png: Removed.
  • platform/mac-snowleopard/fast/css/focus-ring-detached-expected.txt: Removed.
  • platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.checksum: Removed.
  • platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.png: Removed.
  • platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.txt: Removed.
  • platform/mac/fast/css/focus-ring-detached-expected.checksum: Copied from LayoutTests/platform/mac-snowleopard/fast/css/focus-ring-detached-expected.checksum.
  • platform/mac/fast/css/focus-ring-detached-expected.png: Copied from LayoutTests/platform/mac-snowleopard/fast/css/focus-ring-detached-expected.png.
  • platform/mac/fast/css/focus-ring-detached-expected.txt: Copied from LayoutTests/platform/mac-snowleopard/fast/css/focus-ring-detached-expected.txt.
  • platform/mac/fast/css/focus-ring-multiline-expected.checksum: Copied from LayoutTests/platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.checksum.
  • platform/mac/fast/css/focus-ring-multiline-expected.png: Copied from LayoutTests/platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.png.
  • platform/mac/fast/css/focus-ring-multiline-expected.txt: Copied from LayoutTests/platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.txt.
5:56 PM Changeset in webkit [74086] by andersca@apple.com
  • 3 edits in trunk/WebCore

Mouse Events Not Received in Run Applet in their Own Process Mode
https://bugs.webkit.org/show_bug.cgi?id=51078
<rdar://problem/8333491>

Reviewed by Sam Weinig.

Make sure that Widget::handleEvent is called for applets as well.

  • html/HTMLAppletElement.cpp:

(WebCore::HTMLAppletElement::defaultEventHandler):

  • html/HTMLAppletElement.h:
5:52 PM Changeset in webkit [74085] by Simon Fraser
  • 5 edits
    2 adds in trunk

2010-12-14 Simon Fraser <Simon Fraser>

Reviewed by Chris Marrin.

Parts of page disappear
https://bugs.webkit.org/show_bug.cgi?id=41701

The page has text-indent: -1000000px on an element that becomes
compositing, causing a huge tiled layer to get created.

r63452 aimed to fix this by clamping layer bounds to the viewport,
but did not do so for pages running accelerated animations (since
we don't want to clamp for transform animations). However, this
page only has an opacity animation.

So refine the logic added for r63452 to only call setCompositingConsultsOverlap(false)
for transform animations.

Test: compositing/geometry/limit-layer-bounds-opacity-transition.html

  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::startAnimation): call didStartAcceleratedAnimation() with the appropriate properties, and clean up confusing logic that was used to compute the return value. We want to return true if either property is accelerated.

(WebCore::RenderLayerBacking::startTransition): Call didStartAcceleratedAnimation()
with the appropriate property.

  • rendering/RenderLayerCompositor.h:
  • rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::didStartAcceleratedAnimation): Pass the property in, and only turn off overlap testing if we see a transform animation.
5:50 PM Changeset in webkit [74084] by beidson@apple.com
  • 6 edits
    4 adds in trunk

WebCore: <rdar://problem/8225016> and https://bugs.webkit.org/show_bug.cgi?id=40138
Authorization header is sent from an HTTP Auth protected site on redirect
Test: http/tests/misc/authentication-sent-to-redirect.html

Reviewed by Alexey Proskuryakov.

Add helper to clear the Auth headers from a resource request:

  • platform/network/ResourceRequestBase.cpp:

(WebCore::ResourceRequestBase::clearHTTPAuthorization):

  • platform/network/ResourceRequestBase.h:

Only Mac and Windows CFNetwork ports seem to have this problem, so plug it for them:

  • platform/network/cf/ResourceHandleCFNet.cpp:

(WebCore::ResourceHandle::willSendRequest):

  • platform/network/mac/ResourceHandleMac.mm:

(WebCore::ResourceHandle::willSendRequest):

LayoutTests: <rdar://problem/8225016> and https://bugs.webkit.org/show_bug.cgi?id=40138
Authorization header is sent from an HTTP Auth protected site on redirect

Reviewed by Alexey Proskuryakov.

  • http/tests/misc/authentication-sent-to-redirect-expected.txt: Added.
  • http/tests/misc/authentication-sent-to-redirect.html: Added.
  • http/tests/misc/resources/auth-echo.php: Added.
  • http/tests/misc/resources/auth-then-redirect.php: Added.
5:32 PM Changeset in webkit [74083] by yael.aharon@nokia.com
  • 3 edits in trunk/LayoutTests

Unreviewed .

Fix test results that I just committed. They seem to have extra newlines.

  • platform/mac-snowleopard/fast/css/focus-ring-detached-expected.txt:
  • platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.txt:
5:26 PM Changeset in webkit [74082] by ojan@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-14 Ojan Vafai <ojan@chromium.org>

Fix python unittests after http://trac.webkit.org/changeset/74070.

  • Scripts/webkitpy/style/checkers/test_expectations_unittest.py:
5:14 PM Changeset in webkit [74081] by tkent@chromium.org
  • 4 edits in trunk/LayoutTests

2010-12-14 Kent Tamura <tkent@chromium.org>

Unreviewed. Test expectation update.

Rebaseline fast/forms/ValidityState-typeMismatch-url.html
http://crbug.com/66818

Chromium has different expectations because it doesn't use KURL.

  • platform/chromium-mac/fast/forms/ValidityState-typeMismatch-url-expected.txt:
  • platform/chromium-win/fast/forms/ValidityState-typeMismatch-url-expected.txt:
  • platform/chromium/test_expectations.txt:
5:13 PM Changeset in webkit [74080] by andersca@apple.com
  • 2 edits in trunk/WebKit2

Fix Windows build.

  • win/WebKit2Common.vsprops:
5:11 PM Changeset in webkit [74079] by andersca@apple.com
  • 2 edits in trunk/WebKit2

Fix Qt build.

  • WebKit2.pro:
5:10 PM Changeset in webkit [74078] by andersca@apple.com
  • 2 edits in trunk/WebKit2

Fix a typo.

Reviewed by TYPO FIX.

  • Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:

(WebKit::NetscapePluginModule::determineQuirks):

5:06 PM Changeset in webkit [74077] by andersca@apple.com
  • 8 edits
    1 copy in trunk/WebKit2

Cannot type into plugin edit field
https://bugs.webkit.org/show_bug.cgi?id=51074
<rdar://problem/8483741>

Reviewed by Sam Weinig.

Add a PrognameShouldBeWebKitPluginHost quirk, since it turns out Flash Player calls getprogname() and checks
if the return value is "WebKitPluginHost" in order to determine when to handle NPCocoaEventKeyDown events.

  • PluginProcess/PluginProcess.cpp:

(WebKit::PluginProcess::netscapePluginModule):
If the plug-in module has the PrognameShouldBeWebKitPluginHost quirk, call setprocname("WebKitPluginHost").

  • Shared/Plugins/Netscape/NetscapePluginModule.cpp:

(WebKit::NetscapePluginModule::load):
Call determineQuirks()

  • Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:

(WebKit::NetscapePluginModule::determineQuirks):
Add the PrognameShouldBeWebKitPluginHost quirk for Flash.

  • Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp:

(WebKit::NetscapePluginModule::determineQuirks):

  • Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp:

(WebKit::NetscapePluginModule::determineQuirks):
Add stubs.

  • Shared/Plugins/PluginQuirks.h:

Add new PluginQuirks file.

  • WebKit2.xcodeproj/project.pbxproj:

Add PluginQuirks.h

5:05 PM Changeset in webkit [74076] by mihaip@chromium.org
  • 13 edits in trunk/LayoutTests

2010-12-14 Mihai Parparita <mihaip@chromium.org>

Unreviewed update of the pixel expectations for the Mac port.

Update expectations for tests whose output changed after the switch to
the HTML5 parser. The chromium-mac port did a similar rebaseline in
r64728.

The new expectations are for Snow Leopard. Current expectations are not
moved to mac-leopard, since they're not valid anymore.

  • platform/mac/fast/doctypes/003-expected.checksum:
  • platform/mac/fast/doctypes/003-expected.png:
  • platform/mac/fast/dom/isindex-001-expected.checksum:
  • platform/mac/fast/dom/isindex-001-expected.png:
  • platform/mac/fast/dom/isindex-002-expected.checksum:
  • platform/mac/fast/dom/isindex-002-expected.png:
  • platform/mac/fast/forms/isindex-placeholder-expected.checksum:
  • platform/mac/fast/forms/isindex-placeholder-expected.png:
  • platform/mac/fast/forms/text-style-color-expected.checksum:
  • platform/mac/fast/forms/text-style-color-expected.png:
  • platform/mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.checksum:
  • platform/mac/tables/mozilla/other/wa_table_thtd_rowspan-expected.png:
4:52 PM Changeset in webkit [74075] by andersca@apple.com
  • 3 edits
    1 copy
    1 add in trunk/WebKit2

Add a NetscapePluginModuleX11 and move the Qt implementation of PluginInfoStore::getPluginInfo there
https://bugs.webkit.org/show_bug.cgi?id=51066

Reviewed by Sam Weinig.

  • Shared/Plugins/Netscape/x11/NetscapePluginModuleX11.cpp: Copied from WebKit2/UIProcess/Plugins/qt/PluginInfoStoreQt.cpp.

(WebKit::NetscapePluginModule::getPluginInfo):

  • UIProcess/Plugins/qt/PluginInfoStoreQt.cpp:

(WebKit::PluginInfoStore::getPluginInfo):

  • WebKit2.pro:
4:51 PM Changeset in webkit [74074] by Simon Fraser
  • 2 edits in trunk/WebCore

2010-12-14 Simon Fraser <Simon Fraser>

Reviewed by Chris Marrin.

Crash in WebCore::GraphicsLayer::paintGraphicsLayerContents() loading this URL
https://bugs.webkit.org/show_bug.cgi?id=51072

Fix a crash when painting a layer whose PlatformCALayer has been deleted,
by clearing the PlatformCALayer value on the CALayer when the PlatformCALayer
is destroyed.

I was not able to reduce the page to a simple testcase.

  • platform/graphics/ca/mac/PlatformCALayerMac.mm: (PlatformCALayer::~PlatformCALayer):
4:34 PM Changeset in webkit [74073] by andersca@apple.com
  • 3 edits
    2 adds in trunk/WebKit2

2010-12-14 Anders Carlsson <andersca@apple.com>

Reviewed by Dan Bernstein.

Move Windows version of getPluginInfo to NetscapePluginModule
https://bugs.webkit.org/show_bug.cgi?id=51073

  • Shared/Plugins/Netscape/win/NetscapePluginModuleWin.cpp: Added. (WebKit::getVersionInfo): (WebKit::fileVersion): (WebKit::NetscapePluginModule::getPluginInfo):
  • UIProcess/Plugins/win/PluginInfoStoreWin.cpp: (WebKit::PluginInfoStore::getPluginInfo):
  • win/WebKit2.vcproj:
4:32 PM Changeset in webkit [74072] by tkent@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-14 Kent Tamura <tkent@chromium.org>

Reviewed by Jian Li.

[DRT/Chromium] Remove a unnecessary error message
https://bugs.webkit.org/show_bug.cgi?id=51069

  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::paintInvalidatedRegion):
4:30 PM Changeset in webkit [74071] by Laszlo Gombos
  • 2 edits in trunk/WebCore

2010-12-14 Laszlo Gombos < Laszlo Gombos>

Unreviewed, build fix.

[Qt] Fix the list of header files in WebCore.pro after r74049.

No new tests as there is no new functionality.

  • WebCore.pro:
4:28 PM Changeset in webkit [74070] by ojan@chromium.org
  • 7 edits in trunk

2010-12-14 Benjamin Kalman <kalman@chromium.org>

Reviewed by Ojan Vafai.

Using BUG/BUGWK in test_expectations is error prone, should use BUGCR/BUGWK
https://bugs.webkit.org/show_bug.cgi?id=48926

Update all the text expectations files that have BUGXXX to either BUGCRXXX or (where
appropriate) BUGWKXXX.

  • platform/chromium-gpu/test_expectations.txt:
  • platform/chromium/test_expectations.txt:
  • platform/mac/test_expectations.txt:
  • platform/qt/test_expectations.txt:

2010-12-14 Benjamin Kalman <kalman@chromium.org>

Reviewed by Ojan Vafai.

Using BUG/BUGWK in test_expectations is error prone, should use BUGCR/BUGWK
https://bugs.webkit.org/show_bug.cgi?id=48926

  • Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: Add presubmit check that BUG isn't used, either BUGCR/BUGWK/BUGV8_.
4:27 PM Changeset in webkit [74069] by yael.aharon@nokia.com
  • 3 edits
    15 adds in trunk

[Qt] Focus rings are ugly, rects should be united instead of drawn individually
https://bugs.webkit.org/show_bug.cgi?id=49953

Reviewed by Andreas Kling.

WebCore:

Create a QPainterPath and add to it the focus rects, one at a time.
Combine the 2 drawFocusRing functions into one function drawFocusRingForPath.

Tests: fast/css/focus-ring-detached.html

fast/css/focus-ring-multiline.html

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::drawFocusRingForPath):
(WebCore::GraphicsContext::drawFocusRing):

LayoutTests:

  • fast/css/focus-ring-detached.html: Added.
  • fast/css/focus-ring-multiline.html: Added.
  • platform/mac-snowleopard/fast/css/focus-ring-detached-expected.checksum: Added.
  • platform/mac-snowleopard/fast/css/focus-ring-detached-expected.png: Added.
  • platform/mac-snowleopard/fast/css/focus-ring-detached-expected.txt: Added.
  • platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.checksum: Added.
  • platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.png: Added.
  • platform/mac-snowleopard/fast/css/focus-ring-multiline-expected.txt: Added.
  • platform/qt/fast/css/focus-ring-detached-expected.checksum: Added.
  • platform/qt/fast/css/focus-ring-detached-expected.png: Added.
  • platform/qt/fast/css/focus-ring-detached-expected.txt: Added.
  • platform/qt/fast/css/focus-ring-multiline-expected.checksum: Added.
  • platform/qt/fast/css/focus-ring-multiline-expected.png: Added.
  • platform/qt/fast/css/focus-ring-multiline-expected.txt: Added.
4:19 PM Changeset in webkit [74068] by mrowe@apple.com
  • 2 edits in trunk/WebCore

Fix the Qt build.

  • xml/XSLTProcessorQt.cpp:

(WebCore::XSLTProcessor::transformToString): Make the conversion to QString explicit
since QVariant can be constructed from either a QString or a bool.

4:19 PM Changeset in webkit [74067] by rniwa@webkit.org
  • 2 edits in trunk

2010-12-14 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Eric Seidel.

[git].DS_Store should be in .gitignore
https://bugs.webkit.org/show_bug.cgi?id=51065

Added .DS_Store to .gitignore.

  • .gitignore:
4:09 PM Changeset in webkit [74066] by Simon Fraser
  • 10 edits in trunk/WebCore

2010-12-14 Simon Fraser <Simon Fraser>

Reviewed by Dan Bernstein.

compositing/masks/simple-composited-mask.html failure
https://bugs.webkit.org/show_bug.cgi?id=49746

Geometry of composited layers with a mask depends on the loading
of the mask image, since maskClipRect() is used for the layer bounds.

So when RenderBox::imageChanged() is called for an image used by
a mask on a layer with a composited mask, call the newly-renamed
layer->contentsChanged() method. This percolates down into RenderLayerBacking,
ending in a layer geometry update.

Renamed RenderLayer::rendereContentsChanged() to contentsChanged() and added
an enum to say what changed, for somewhat more efficient updating.

Also, when the mask layer gets resized, make sure we mark it as needing
display.

Tested by pixel result of compositing/masks/simple-composited-mask.html

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::didDraw):
  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::markContextChanged): (WebCore::WebGLRenderingContext::reshape):
  • rendering/RenderBox.cpp: (WebCore::layersUseImage): (WebCore::RenderBox::imageChanged):
  • rendering/RenderImage.cpp: (WebCore::RenderImage::imageDimensionsChanged): (WebCore::RenderImage::notifyFinished):
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::contentChanged):
  • rendering/RenderLayer.h:
  • rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry): (WebCore::RenderLayerBacking::contentChanged):
  • rendering/RenderLayerBacking.h:
  • rendering/RenderVideo.cpp: (WebCore::RenderVideo::updatePlayer):
3:54 PM Changeset in webkit [74065] by mrowe@apple.com
  • 6 edits in trunk

<http://webkit.org/b/51064> Reproducible crash inside WebCore::MediaPlayerPrivateQTKit::createQTMovie when loading <video>

Reviewed by Sam Weinig.

JavaScriptCore:

  • wtf/text/WTFString.h: Prevent String from being implicitly convertable to bool.

It was previously implicitly convertible to bool on Mac via operator NSString*,
but since that always has a non-zero return value it would give unexpected results.

WebCore:

We were crashing inside MediaPlayerPrivateQTKit::createQTMovie as we were passing a null URL in
to CFNetworkCopyProxiesForURL. This happened because we were null-checking the URL incorrectly.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm:

(WebCore::MediaPlayerPrivateQTKit::resumeLoad): Explicitly test for a null string.

WebKit/mac:

  • History/WebHistoryItem.mm:

(-[WebHistoryItem description]): Test whether the string is empty rather than incorrectly
always including the target in the output.

3:37 PM Changeset in webkit [74064] by alice.liu@apple.com
  • 2 edits in trunk/WebKit2

Fix clang++ build.

  • UIProcess/WebProcessProxy.h:

(WebKit::WebProcessProxy::sendSync):
Move the default argument to the declaration.

3:01 PM Changeset in webkit [74063] by hyatt@apple.com
  • 9 edits
    3 adds in trunk

https://bugs.webkit.org/show_bug.cgi?id=50970

Reviewed by Dan Bernstein.

It's arguably a bug, but we don't let inline flow layers paint floating
descendants. The containing block of the inline flow paints them instead.
However our shouldPaint logic has always been flawed and has turned off propagation
of painting when an inline flow layer is enclosing the float.

Change enclosingSelfPaintingLayer to enclosingFloatPaintingLayer to be more precise
and for now limit it to RenderBoxes.

Added fast/block/float/floatstack.html

WebCore:

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::addOverhangingFloats):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::enclosingFloatPaintingLayer):

  • rendering/RenderBox.h:
  • rendering/RenderObject.cpp:
  • rendering/RenderObject.h:

LayoutTests:

  • fast/block/float/floatstack.html: Added.
  • platform/mac/fast/block/float/floatstack-expected.checksum: Added.
  • platform/mac/fast/block/float/floatstack-expected.png: Added.
  • platform/mac/fast/block/float/floatstack-expected.txt: Added.
  • platform/mac/fast/repaint/positioned-document-element-expected.checksum:
  • platform/mac/fast/repaint/positioned-document-element-expected.png:
2:52 PM Changeset in webkit [74062] by mihaip@chromium.org
  • 14 edits
    2 adds in trunk

2010-12-14 Mihai Parparita <mihaip@chromium.org>

Reviewed by Dimitri Glazkov.

Move asynchronous event dispatching out of Document
https://bugs.webkit.org/show_bug.cgi?id=49785

Move asynchonous event code out of Document and into a standalone
EventQueue class (which supports async events for both regular nodes
and the window object).

No new tests necessary, since no new functionality is exposed (existing
layout tests pass).

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • dom/Document.cpp: (WebCore::Document::Document): (WebCore::Document::enqueueWindowEvent): (WebCore::Document::enqueueHashchangeEvent):
  • dom/DOMAllInOne.cpp: (WebCore::Document::eventQueue):
  • dom/Document.h:
  • dom/EventQueue.cpp: Added. (WebCore::EventQueue::EventQueue): (WebCore::EventQueue::enqueueEvent): (WebCore::EventQueue::pendingEventTimerFired): (WebCore::EventQueue::dispatchEvent):
  • dom/EventQueue.h: Added.
  • storage/StorageEventDispatcher.cpp: (WebCore::StorageEventDispatcher::dispatch):

2010-12-14 Mihai Parparita <mihaip@chromium.org>

Reviewed by Dimitri Glazkov.

Move asynchronous event dispatching out of Document
https://bugs.webkit.org/show_bug.cgi?id=49785

Change enqueueEvent callsite.

  • src/StorageAreaProxy.cpp: (WebCore::StorageAreaProxy::storageEvent):
2:40 PM Changeset in webkit [74061] by andersca@apple.com
  • 4 edits
    1 copy
    1 add in trunk/WebKit2

Move PluginInfoStore::getPluginInfo to NetscapePluginModule
https://bugs.webkit.org/show_bug.cgi?id=51058

Reviewed by Adam Roben.

  • Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:

Move implementation of PluginInfoStore::getPluginInfo and related
helper functions here.

  • UIProcess/Plugins/mac/PluginInfoStoreMac.mm:

(WebKit::PluginInfoStore::getPluginInfo):
Just call NetscapePluginModule::getPluginInfo here for now.

  • WebKit2.xcodeproj/project.pbxproj:

Add NetscapePluginModuleMac.mm.

2:04 PM Changeset in webkit [74060] by andersca@apple.com
  • 2 edits in trunk/WebKit2

2010-12-14 Anders Carlsson <andersca@apple.com>

Reviewed by John Sullivan.

Switch name and description order when fetching Carbon plug-in info
https://bugs.webkit.org/show_bug.cgi?id=46211

The plug-in description comes before the name in the Carbon string list resource.

  • UIProcess/Plugins/mac/PluginInfoStoreMac.mm: (WebKit::getPluginInfoFromCarbonResources):
1:54 PM PythonGuidelines edited by dpranke@chromium.org
add a note adding WebKitTools/Scripts to your PYTHONPATH (diff)
1:52 PM Changeset in webkit [74059] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-14 Kyounga Ra <kyounga.ra@gmail.com>

Reviewed by Adam Barth.

<noscript> is rendered with enabled XHTMLMP.
https://bugs.webkit.org/show_bug.cgi?id=48493

  • html/HTMLElement.cpp: (WebCore::HTMLElement::rendererIsNeeded):
1:45 PM Changeset in webkit [74058] by andersca@apple.com
  • 5 edits
    2 moves
    1 add in trunk/WebKit2

Move NetscapePluginModule.{cpp|h} to Shared/Plugins/Netscape
https://bugs.webkit.org/show_bug.cgi?id=51052

Reviewed by Adam Roben.

  • Shared/Plugins/Netscape/NetscapePluginModule.cpp: Renamed from WebKit2/WebProcess/Plugins/Netscape/NetscapePluginModule.cpp.
  • Shared/Plugins/Netscape/NetscapePluginModule.h: Renamed from WebKit2/WebProcess/Plugins/Netscape/NetscapePluginModule.h.
  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Common.vsprops:
1:35 PM Changeset in webkit [74057] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/qt

2010-12-14 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] Flash plugins should be windowless on QGraphicsWebView on Symbian
Remove #idef SYMBIAN introduced by r69396.
https://bugs.webkit.org/show_bug.cgi?id=50487

  • WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createPlugin):
1:20 PM Changeset in webkit [74056] by Laszlo Gombos
  • 8 edits in trunk

2010-12-14 Laszlo Gombos <Laszlo Gombos>

Reviewed by Eric Seidel.

[Qt] [Symbian] Do not use pkg-config on Symbian as it is not supported
https://bugs.webkit.org/show_bug.cgi?id=50231

Guard CONFIG+=link_pkgconfig with !symbian.

  • jsc.pro:

2010-12-14 Laszlo Gombos <Laszlo Gombos>

Reviewed by Eric Seidel.

[Qt] [Symbian] Do not use pkg-config on Symbian as it is not supported
https://bugs.webkit.org/show_bug.cgi?id=50231

No new tests as there is no new functionality.

Guard CONFIG+=link_pkgconfig with !symbian.

  • WebCore.pro:

2010-12-14 Laszlo Gombos <Laszlo Gombos>

Reviewed by Eric Seidel.

[Qt] [Symbian] Do not use pkg-config on Symbian as it is not supported
https://bugs.webkit.org/show_bug.cgi?id=50231

Guard CONFIG+=link_pkgconfig with !symbian.

  • DumpRenderTree/qt/DumpRenderTree.pro:
  • WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
  • WebKitTestRunner/qt/WebKitTestRunner.pro:
1:06 PM Changeset in webkit [74055] by Adam Roben
  • 2 edits in trunk/WebKit/win

Always record the last-set cursor, even when the UI delegate is setting the cursor for us

Prior to r63339, the last-set cursor was recorded in Widget::setCursor.
r63339 moved that code up to WebChromeClient, but failed to call it
when the UI delegate was the one setting the cursor.

Fixes <http://webkit.org/b/45692> <rdar://problem/8423464> REGRESSION
(r63339): Mouse cursor disappears when holding mouse button down on
page

Reviewed by Ada Chan.

  • WebCoreSupport/WebChromeClient.cpp:

(WebChromeClient::setCursor): After the cursor is set, regardless of
whether the UI delegate sets it or we set it, record the cursor that
was just set. That way we'll be able to use the cursor later when
responding to the WM_SETCURSOR message.

1:04 PM Changeset in webkit [74054] by commit-queue@webkit.org
  • 10 edits
    3 deletes in trunk

2010-12-14 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r74040.
http://trac.webkit.org/changeset/74040
https://bugs.webkit.org/show_bug.cgi?id=51050

Breaks 2d.shadow.canvas.transparent.2 and
2d.shadow.image.transparent.2 (Requested by helder on
#webkit).

  • fast/canvas/canvas-scale-strokePath-shadow-expected.txt:
  • fast/canvas/canvas-transforms-fillRect-shadow-expected.txt: Removed.
  • fast/canvas/canvas-transforms-fillRect-shadow.html: Removed.
  • fast/canvas/script-tests/canvas-scale-fillPath-shadow.js:
  • fast/canvas/script-tests/canvas-scale-fillRect-shadow.js:
  • fast/canvas/script-tests/canvas-scale-strokePath-shadow.js:
  • fast/canvas/script-tests/canvas-transforms-fillRect-shadow.js: Removed.

2010-12-14 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r74040.
http://trac.webkit.org/changeset/74040
https://bugs.webkit.org/show_bug.cgi?id=51050

Breaks 2d.shadow.canvas.transparent.2 and
2d.shadow.image.transparent.2 (Requested by helder on
#webkit).

  • platform/graphics/ContextShadow.cpp: (WebCore::ContextShadow::ContextShadow): (WebCore::ContextShadow::calculateLayerBoundingRect):
  • platform/graphics/ContextShadow.h: (WebCore::ContextShadow::offset):
  • platform/graphics/qt/ContextShadowQt.cpp: (WebCore::ContextShadow::beginShadowLayer): (WebCore::ContextShadow::endShadowLayer):
  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::strokePath): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::fillRoundedRect): (WebCore::GraphicsContext::setPlatformShadow):
12:51 PM Changeset in webkit [74053] by mihaip@chromium.org
  • 116 edits
    52 copies
    1 add in trunk/LayoutTests

2010-12-14 Mihai Parparita <mihaip@chromium.org>

Update the pixel expectations for the Mac port.

For the tests that currently fail on Snow Leopard with --pixel-tests
--tolerance 0, this moves the current pixel results to mac-leopard and
adds new Snow Leopard-specific results to platform/mac.

List of files omitted due to length but composed entirely of moves from
platform/mac to platform/mac-leopard and newly added files in
platform/mac.

Also removes most of platform/mac/test_expectations.txt, those
expectations were from April and are un-maintained.

12:43 PM Changeset in webkit [74052] by Nate Chapin
  • 3 edits in trunk/WebCore

2010-12-14 Nate Chapin <Nate Chapin>

Unreviewed, fixing qt (hopefully for real this time).

Remove a couple more references to loader.h.

  • xml/XSLStyleSheetQt.cpp:
  • xml/XSLTProcessorQt.cpp:
12:32 PM Changeset in webkit [74051] by jianli@chromium.org
  • 8 edits
    9 adds in trunk/LayoutTests

Unreviewed. Added missing expectations in chromium-mac-leopard to
complete the move in r74042.

  • platform/chromium-mac-leopard/editing/deleting/5144139-2-expected.checksum:
  • platform/chromium-mac-leopard/editing/deleting/5144139-2-expected.png:
  • platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.checksum:
  • platform/chromium-mac-leopard/editing/selection/extend-selection-bidi-expected.png:
  • platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.png:
  • platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.txt:
  • platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.checksum: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.png: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.checksum: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.png: Added.
  • platform/chromium-mac-leopard/fast/text/international/bidi-neutral-run-expected.txt: Added.
12:31 PM Changeset in webkit [74050] by Nate Chapin
  • 4 edits in trunk/WebCore

2010-12-14 Nate Chapin <Nate Chapin>

Unreviewed, fix mac and qt builds.

Missed a couple of references to loader.h and
improperly added CachedResourceRequest.h to
WebCore.xcodeproj.

  • WebCore.xcodeproj/project.pbxproj:
  • platform/android/TemporaryLinkStubs.cpp:
  • platform/qt/TemporaryLinkStubsQt.cpp:
12:09 PM Changeset in webkit [74049] by Nate Chapin
  • 18 edits
    2 moves in trunk/WebCore

2010-12-14 Nate Chapin <Nate Chapin>

Reviewed by Adam Barth.

Rename Loader to CachedResourceRequest.
https://bugs.webkit.org/show_bug.cgi?id=50848

No new tests, rename only.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • css/CSSStyleSelector.cpp:
  • loader/cache/CachedCSSStyleSheet.cpp:
  • loader/cache/CachedFont.cpp:
  • loader/cache/CachedResource.cpp: (WebCore::CachedResource::setRequest):
  • loader/cache/CachedResource.h:
  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::load): (WebCore::CachedResourceLoader::loadDone): (WebCore::CachedResourceLoader::cancelRequests):
  • loader/cache/CachedResourceLoader.h:
  • loader/cache/CachedResourceRequest.cpp: Copied from WebCore/loader/loader.cpp.
  • loader/cache/CachedResourceRequest.h: Copied from WebCore/loader/loader.h.
  • loader/loader.cpp: Removed.
  • loader/loader.h: Removed.
  • xml/XSLStyleSheetLibxslt.cpp:
  • xml/XSLTProcessor.cpp:
  • xml/XSLTProcessorLibxslt.cpp:
11:58 AM Changeset in webkit [74048] by hyatt@apple.com
  • 13 edits in trunk/WebCore

https://bugs.webkit.org/show_bug.cgi?id=46422

Reviewed by Tim Hatcher.

Rename pageHeight variables and members in WebCore to pageLogicalHeight in preparation for
making printing and pagination work with vertical writing modes.

  • page/FrameView.cpp:

(WebCore::FrameView::forceLayoutForPagination):

  • rendering/LayoutState.cpp:

(WebCore::LayoutState::LayoutState):
(WebCore::LayoutState::clearPaginationInformation):

  • rendering/LayoutState.h:

(WebCore::LayoutState::LayoutState):
(WebCore::LayoutState::isPaginated):
(WebCore::LayoutState::pageLogicalHeight):
(WebCore::LayoutState::pageLogicalHeightChanged):

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::markForPaginationRelayoutIfNeeded):
(WebCore::RenderBlock::insertFloatingObject):
(WebCore::RenderBlock::layoutColumns):
(WebCore::RenderBlock::nextPageTop):
(WebCore::RenderBlock::applyBeforeBreak):
(WebCore::RenderBlock::applyAfterBreak):
(WebCore::RenderBlock::adjustForUnsplittableChild):
(WebCore::RenderBlock::adjustLinePositionForPagination):

  • rendering/RenderBlock.h:
  • rendering/RenderBox.cpp:

(WebCore::RenderBox::computeLogicalHeight):

  • rendering/RenderFlexibleBox.cpp:

(WebCore::RenderFlexibleBox::layoutBlock):

  • rendering/RenderTable.cpp:

(WebCore::RenderTable::layout):

  • rendering/RenderTableRow.cpp:

(WebCore::RenderTableRow::layout):

  • rendering/RenderTableSection.cpp:

(WebCore::RenderTableSection::layoutRows):

  • rendering/RenderView.cpp:

(WebCore::RenderView::RenderView):
(WebCore::RenderView::layout):

  • rendering/RenderView.h:

(WebCore::RenderView::pageLogicalHeight):
(WebCore::RenderView::setPageLogicalHeight):

11:57 AM Changeset in webkit [74047] by Dimitri Glazkov
  • 2 edits in trunk/WebCore

2010-12-14 Dimitri Glazkov <Dimitri Glazkov>

Fix GTK build by adding source files that were accidentally skipped in
r74044. Sorry!

  • GNUmakefile.am: Added SliderThumbElement.
11:41 AM Changeset in webkit [74046] by andersca@apple.com
  • 18 edits
    2 adds in trunk/WebKit2

Handle complex text input for plug-ins
https://bugs.webkit.org/show_bug.cgi?id=51047

Reviewed by Sam Weinig.

  • PluginProcess/PluginControllerProxy.cpp:

(WebKit::PluginControllerProxy::sendComplexTextInput):
Pass along the text input to the plug-in.

  • PluginProcess/PluginControllerProxy.messages.in:

Add SendComplexTextInput message.

  • UIProcess/API/mac/WKTextInputWindowController.h: Added.
  • UIProcess/API/mac/WKTextInputWindowController.mm: Added.

Add text input window controller, mostly copied from WebKit1.

  • UIProcess/API/mac/WKView.mm:

(-[WKView keyDown:]):
If needed, pass along the event to the text input window controller.

(-[WKView inputContext]):
Return the input context of the text input window controller.

(-[WKView _setComplexTextInputEnabled:pluginComplexTextInputIdentifier:]):
Notify the input window controller that the input source changed.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::sendComplexTextInputToPlugin):
Send the complex text input to the web process.

  • WebKit2.xcodeproj/project.pbxproj:

Add new files.

  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::convertStringToKeyCodes):
Convert a string to a vector of key codes in the current encoding.

(WebKit::NetscapePlugin::sendComplexTextInput):
In the Cocoa event model, create and dispatch an NPCocoaEventTextInput event.
In the Carbon event model, convert the string to individual key codes and send them
as key down events.

  • WebProcess/Plugins/PluginProxy.cpp:

(WebKit::PluginProxy::sendComplexTextInput):
Send the text to the plug-in controller proxy.

  • WebProcess/Plugins/PluginView.cpp:

(WebKit::PluginView::sendComplexTextInput):
If the plug-in has a matching text input identifier, call Plugin::sendComplexTextInput.

  • WebProcess/WebPage/WebPage.messages.in:

Add SendComplexTextInputToPlugin message.

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::sendComplexTextInputToPlugin):
Iterate over all known plug-in views and try to find one to send the text input to.

11:34 AM Changeset in webkit [74045] by Beth Dakin
  • 3 edits
    2 adds in trunk

WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=50974
getComputedStyle() returns wrong values for zoomed elements when
display is none
-and corresponding-
<rdar://problem/8522731>

Reviewed by Darin Adler.

If there is no renderer but the RenderStyle's value is a fixed
length, send it through zoomAdjustedPixelValue(). There's not much
we can do for other length types without a renderer.

  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::zoomAdjustedPixelValueForLength):
(WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):

LayoutTests: New test for https://bugs.webkit.org/show_bug.cgi?id=50974
getComputedStyle() returns wrong values for zoomed elements when
display is none
-and corresponding-
<rdar://problem/8522731>

Reviewed by Darin Adler.

  • fast/css/getComputedStyle/zoom-on-display-none-expected.txt: Added.
  • fast/css/getComputedStyle/zoom-on-display-none.html: Added.
11:30 AM Changeset in webkit [74044] by Dimitri Glazkov
  • 11 edits
    3 adds in trunk/WebCore

2010-12-13 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by David Levin.

Move SliderThumbElement into its own file.
https://bugs.webkit.org/show_bug.cgi?id=50973

No change in behavior, so no tests.

  • Android.mk: Added SliderThumbElement.
  • CMakeLists.txt: Ditto.
  • WebCore.gyp/WebCore.gyp: Ditto.
  • WebCore.gypi: Ditto.
  • WebCore.pro: Ditto.
  • WebCore.vcproj/WebCore.vcproj: Ditto.
  • WebCore.xcodeproj/project.pbxproj: Ditto,
  • html/shadow/SliderThumbElement.cpp: Added.
  • html/shadow/SliderThumbElement.h: Added.
  • rendering/RenderSlider.cpp: Removed code that was moved into

SliderThumbElement.

11:09 AM Changeset in webkit [74043] by andersca@apple.com
  • 4 edits in trunk/WebKitLibraries

Add WKGetScriptCodeFromCurrentKeyboardInputSource function.

Reviewed by Dan Bernstein.

  • WebKitSystemInterface.h:
  • libWebKitSystemInterfaceLeopard.a:
  • libWebKitSystemInterfaceSnowLeopard.a:
10:40 AM Changeset in webkit [74042] by pfeldman@chromium.org
  • 121 edits
    135 deletes in trunk/LayoutTests

2010-12-14 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Move chromium-mac expectations to chromium-mac-leopard.

  • platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0805-c5518-brdr-t-01-e-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0805-c5519-brdr-r-00-a-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-00-a-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0805-c5521-brdr-l-01-e-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-02-c-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-02-c-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-03-c-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-03-c-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-04-c-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-04-c-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0905-c414-flt-fit-01-d-g-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0905-c5525-fltblck-01-d-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0905-c5525-fltblck-01-d-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.png:
  • platform/chromium-mac-leopard/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png:
  • platform/chromium-mac-leopard/css2.1/t090501-c414-flt-01-b-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t090501-c414-flt-01-b-expected.png:
  • platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-l-00-b-g-expected.png:
  • platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t090501-c5525-flt-r-00-b-g-expected.png:
  • platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t1202-counter-03-b-expected.png:
  • platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t1202-counter-04-b-expected.png:
  • platform/chromium-mac-leopard/css2.1/t1202-counter-09-b-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t1202-counter-09-b-expected.png:
  • platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t1202-counters-03-b-expected.png:
  • platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.checksum:
  • platform/chromium-mac-leopard/css2.1/t1202-counters-04-b-expected.png:
  • platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.checksum:
  • platform/chromium-mac-leopard/fast/css/beforeSelectorOnCodeElement-expected.png:
  • platform/chromium-mac-leopard/fast/css/font-face-opentype-expected.checksum:
  • platform/chromium-mac-leopard/fast/css/font-face-opentype-expected.png:
  • platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.checksum:
  • platform/chromium-mac-leopard/fast/css/rtl-ordering-expected.png:
  • platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.checksum:
  • platform/chromium-mac-leopard/fast/css/text-overflow-ellipsis-bidi-expected.png:
  • platform/chromium-mac-leopard/fast/css/text-security-expected.checksum:
  • platform/chromium-mac-leopard/fast/css/text-security-expected.png:
  • platform/chromium-mac-leopard/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum:
  • platform/chromium-mac-leopard/fast/encoding/denormalised-voiced-japanese-chars-expected.png:
  • platform/chromium-mac-leopard/fast/encoding/invalid-UTF-8-expected.checksum:
  • platform/chromium-mac-leopard/fast/encoding/invalid-UTF-8-expected.png:
  • platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.checksum:
  • platform/chromium-mac-leopard/fast/forms/select-visual-hebrew-expected.png:
  • platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.checksum:
  • platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.png:
  • platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/bidi-embedding-pop-and-push-same-expected.png:
  • platform/chromium-mac-leopard/fast/text/cg-fallback-bolding-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/cg-fallback-bolding-expected.png:
  • platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/in-rendered-text-rtl-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/001-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/001-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-L-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.txt:
  • platform/chromium-mac-leopard/fast/text/international/bidi-CS-after-AN-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-CS-after-AN-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-CS-after-AN-expected.txt:
  • platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-L2-run-reordering-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-CSS-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-HTML-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-european-terminators-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-innertext-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-001-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-002-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-linebreak-003-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-listbox-atsui-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-listbox-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/bidi-override-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/danda-space-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/danda-space-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/hebrew-vowels-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/hindi-spacing-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/hindi-whitespace-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/hindi-whitespace-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/plane2-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/plane2-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/rtl-caret-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/thai-baht-space-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/thai-baht-space-expected.png:
  • platform/chromium-mac-leopard/fast/text/international/thai-baht-space-expected.txt:
  • platform/chromium-mac-leopard/fast/text/international/wrap-CJK-001-expected.checksum:
  • platform/chromium-mac-leopard/fast/text/international/wrap-CJK-001-expected.png:
  • platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Removed.
  • platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png: Removed.
  • platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.png: Removed.
  • platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.png: Removed.
  • platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.png: Removed.
  • platform/chromium-mac/css2.1/t1202-counter-03-b-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t1202-counter-03-b-expected.png: Removed.
  • platform/chromium-mac/css2.1/t1202-counter-04-b-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t1202-counter-04-b-expected.png: Removed.
  • platform/chromium-mac/css2.1/t1202-counter-09-b-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t1202-counter-09-b-expected.png: Removed.
  • platform/chromium-mac/css2.1/t1202-counters-03-b-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t1202-counters-03-b-expected.png: Removed.
  • platform/chromium-mac/css2.1/t1202-counters-04-b-expected.checksum: Removed.
  • platform/chromium-mac/css2.1/t1202-counters-04-b-expected.png: Removed.
  • platform/chromium-mac/editing/deleting/5144139-2-expected.checksum: Removed.
  • platform/chromium-mac/editing/deleting/5144139-2-expected.png: Removed.
  • platform/chromium-mac/editing/selection/extend-selection-bidi-expected.checksum: Removed.
  • platform/chromium-mac/editing/selection/extend-selection-bidi-expected.png: Removed.
  • platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.png: Removed.
  • platform/chromium-mac/fast/css/font-face-opentype-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/font-face-opentype-expected.png: Removed.
  • platform/chromium-mac/fast/css/rtl-ordering-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/rtl-ordering-expected.png: Removed.
  • platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.png: Removed.
  • platform/chromium-mac/fast/css/text-security-expected.checksum: Removed.
  • platform/chromium-mac/fast/css/text-security-expected.png: Removed.
  • platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum: Removed.
  • platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.png: Removed.
  • platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.checksum: Removed.
  • platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.png: Removed.
  • platform/chromium-mac/fast/forms/select-visual-hebrew-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/select-visual-hebrew-expected.png: Removed.
  • platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.checksum: Removed.
  • platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.png: Removed.
  • platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.png: Removed.
  • platform/chromium-mac/fast/text/cg-fallback-bolding-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/cg-fallback-bolding-expected.png: Removed.
  • platform/chromium-mac/fast/text/complex-text-opacity-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/complex-text-opacity-expected.png: Removed.
  • platform/chromium-mac/fast/text/complex-text-opacity-expected.txt: Removed.
  • platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/001-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/001-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.txt: Removed.
  • platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.txt: Removed.
  • platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-innertext-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-innertext-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-listbox-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-listbox-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.txt: Removed.
  • platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt: Removed.
  • platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.txt: Removed.
  • platform/chromium-mac/fast/text/international/bidi-override-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/bidi-override-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/danda-space-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/danda-space-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/hebrew-vowels-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/hebrew-vowels-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/hindi-spacing-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/hindi-spacing-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/hindi-whitespace-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/hindi-whitespace-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/plane2-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/plane2-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/rtl-caret-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/rtl-caret-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/thai-baht-space-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/thai-baht-space-expected.png: Removed.
  • platform/chromium-mac/fast/text/international/thai-baht-space-expected.txt: Removed.
  • platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.checksum: Removed.
  • platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.png: Removed.
  • platform/chromium/test_expectations.txt:
10:35 AM Changeset in webkit [74041] by ap@apple.com
  • 14 edits in trunk

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=50953
DNS Prefetch should be an opt-in feature

10:30 AM Changeset in webkit [74040] by commit-queue@webkit.org
  • 10 edits
    2 copies
    1 add in trunk

2010-12-14 Helder Correia <helder@sencha.com>

Reviewed by Ariya Hidayat.

[Qt] Canvas shadow offset should not be affected by any transformation
https://bugs.webkit.org/show_bug.cgi?id=50422

On a canvas context, shadows are currently affected by all
transformations except scaling. According to the spec:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#shadows

"The shadowOffsetX and shadowOffsetY attributes specify the distance
that the shadow will be offset in the positive horizontal and positive
vertical distance respectively. Their values are in coordinate space
units. They are not affected by the current transformation matrix."

NOTE: this applies only to canvas, not to box shadows.

Add new test to ensure that shadows are correctly transformed keeping
the relative offset to the shape.

  • fast/canvas/canvas-scale-strokePath-shadow-expected.txt:
  • fast/canvas/canvas-transforms-fillRect-shadow-expected.txt: Added.
  • fast/canvas/canvas-transforms-fillRect-shadow.html: Added.
  • fast/canvas/script-tests/canvas-scale-fillPath-shadow.js:
  • fast/canvas/script-tests/canvas-scale-fillRect-shadow.js:
  • fast/canvas/script-tests/canvas-scale-strokePath-shadow.js: Now using a lineWidth > 1 to make it easier to test and more fair among all ports, since there can be different transformation smoothness or aliasing settings.
  • fast/canvas/script-tests/canvas-transforms-fillRect-shadow.js: Added.

2010-12-14 Helder Correia <helder@sencha.com>

Reviewed by Ariya Hidayat.

[Qt] Canvas shadow offset should not be affected by any transformation
https://bugs.webkit.org/show_bug.cgi?id=50422

On a canvas context, shadows are currently affected by all
transformations except scaling. According to the spec:
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#shadows

"The shadowOffsetX and shadowOffsetY attributes specify the distance
that the shadow will be offset in the positive horizontal and positive
vertical distance respectively. Their values are in coordinate space
units. They are not affected by the current transformation matrix."

NOTE: this applies only to canvas, not to box shadows.

Test: fast/canvas/canvas-transforms-fillRect-shadow.html

  • platform/graphics/ContextShadow.cpp: (WebCore::ContextShadow::ContextShadow): (WebCore::ContextShadow::calculateLayerBoundingRect):
  • platform/graphics/ContextShadow.h: (WebCore::ContextShadow::setShadowsIgnoreTransforms): (WebCore::ContextShadow::shadowsIgnoreTransforms): (WebCore::ContextShadow::offset):
  • platform/graphics/qt/ContextShadowQt.cpp: (WebCore::ContextShadow::beginShadowLayer): (WebCore::ContextShadow::endShadowLayer):
  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::mustUseContextShadow): (WebCore::GraphicsContext::fillPath): (WebCore::GraphicsContext::strokePath): (WebCore::GraphicsContext::fillRect): (WebCore::GraphicsContext::fillRoundedRect): (WebCore::GraphicsContext::setPlatformShadow):
10:07 AM Changeset in webkit [74039] by pfeldman@chromium.org
  • 2 edits
    31 deletes in trunk/LayoutTests

2010-12-14 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Removed obsolete chromium expectations.

  • platform/chromium/accessibility/post-notification-ActiveDescendantChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-ActiveDescendantChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-CheckedStateChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-CheckedStateChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-ChildrenChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-ChildrenChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-FocusedUIElementChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-FocusedUIElementChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-LayoutComplete-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-LayoutComplete.html: Removed.
  • platform/chromium/accessibility/post-notification-LiveRegionChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-LiveRegionChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-LoadComplete-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-LoadComplete.html: Removed.
  • platform/chromium/accessibility/post-notification-MenuListValueChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-MenuListValueChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-RowCollapsed-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-RowCollapsed.html: Removed.
  • platform/chromium/accessibility/post-notification-RowCountChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-RowCountChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-RowExpanded-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-RowExpanded.html: Removed.
  • platform/chromium/accessibility/post-notification-ScrolledToAnchor-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-ScrolledToAnchor.html: Removed.
  • platform/chromium/accessibility/post-notification-SelectedChildrenChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-SelectedChildrenChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-SelectedTextChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-SelectedTextChanged.html: Removed.
  • platform/chromium/accessibility/post-notification-ValueChanged-expected.txt: Removed.
  • platform/chromium/accessibility/post-notification-ValueChanged.html: Removed.
  • platform/chromium/accessibility/post-notification.js: Removed.
  • platform/chromium/test_expectations.txt:
10:06 AM Changeset in webkit [74038] by apavlov@chromium.org
  • 3 edits in trunk/WebCore

2010-12-14 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Rule data not updated in Styles pane after stylesheet gets reverted
https://bugs.webkit.org/show_bug.cgi?id=51034

  • inspector/front-end/CSSStyleModel.js: (WebInspector.CSSStyleModel.prototype._onRevert):
  • inspector/front-end/ElementsPanel.js: (WebInspector.ElementsPanel): (WebInspector.ElementsPanel.prototype._metricsPaneEdited): (WebInspector.ElementsPanel.prototype._stylesPaneEdited): (WebInspector.ElementsPanel.prototype._styleSheetChanged):
9:54 AM Changeset in webkit [74037] by andersca@apple.com
  • 7 edits in trunk/WebKit2

Pass the complex text input status to the WKView
https://bugs.webkit.org/show_bug.cgi?id=50993

Reviewed by Kevin Decker.

  • UIProcess/API/mac/PageClientImpl.h:
  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::setComplexTextInputEnabled):

  • UIProcess/API/mac/WKView.mm:

(-[WKView _setComplexTextInputEnabled:pluginComplexTextInputIdentifier:]):

  • UIProcess/API/mac/WKViewInternal.h:
  • UIProcess/PageClient.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::setComplexTextInputEnabled):

9:54 AM Changeset in webkit [74036] by Philippe Normand
  • 4 edits in trunk/WebKitTools

2010-12-14 Philippe Normand <pnormand@igalia.com>

Reviewed by Ojan Vafai.

[new-run-webkit-tests] expectations parsing is slow
https://bugs.webkit.org/show_bug.cgi?id=50635

Avoid expensive iteration of all the tests when checking if a test
file is to be skipped or not.

  • Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
  • Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
9:49 AM Changeset in webkit [74035] by andreas.kling@nokia.com
  • 2 edits in trunk/WebCore

2010-12-14 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Avoid GraphicsContext save/restore in Image::drawPattern()
https://bugs.webkit.org/show_bug.cgi?id=51037

It's enough to restore the CompositeOperator after drawing.

  • platform/graphics/qt/ImageQt.cpp: (WebCore::Image::drawPattern):
9:27 AM Changeset in webkit [74034] by eric.carlson@apple.com
  • 2 edits in trunk/WebCore

2010-12-14 Eric Carlson <eric.carlson@apple.com>

Reviewed by Dan Bernstein.

<rdar://problem/8763862>
r72017 used incorrect compiler conditional.

  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivateQTKit::createQTMovie):
9:21 AM Changeset in webkit [74033] by pfeldman@chromium.org
  • 10 edits
    12 adds in trunk/LayoutTests

2010-12-14 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. More chromium rebaselines.

  • platform/chromium-mac/fast/text/complex-text-opacity-expected.checksum: Added.
  • platform/chromium-mac/fast/text/complex-text-opacity-expected.png: Added.
  • platform/chromium-mac/fast/text/complex-text-opacity-expected.txt: Added.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-empty-run-expected.txt: Added.
  • platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-CS-after-AN-expected.txt: Added.
  • platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.checksum:
  • platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.png:
  • platform/chromium-mac/fast/text/international/bidi-mirror-he-ar-expected.txt:
  • platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum:
  • platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png:
  • platform/chromium-mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt:
  • platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.checksum:
  • platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.png:
  • platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.txt:
  • platform/chromium-mac/fast/text/international/thai-baht-space-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/thai-baht-space-expected.png: Added.
  • platform/chromium-mac/fast/text/international/thai-baht-space-expected.txt: Added.
9:05 AM Changeset in webkit [74032] by mario@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>

Unreviewed, skipping flaky test on GTK debug bot.

[gtk] editing/selection/extend-by-character-002.html is flaky on

GTK Linux 64 bit debug

https://bugs.webkit.org/show_bug.cgi?id=51017

  • platform/gtk/Skipped: Skipped test.
9:05 AM Changeset in webkit [74031] by mario@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>

Unreviewed, skipping test crashing in the GTK release bot.

[GTK] Crash in LayoutTest/fast/history/history_reload.html
https://bugs.webkit.org/show_bug.cgi?id=51038

  • platform/gtk/Skipped: Skipped fast/history/history_reload.html.
8:59 AM Changeset in webkit [74030] by cwzwarich@webkit.org
  • 2 edits in trunk/JavaScriptCore

Not reviewed.

Revert accidental change disabling the JIT for most platforms.

  • wtf/Platform.h:
8:57 AM Changeset in webkit [74029] by cwzwarich@webkit.org
  • 3 edits in trunk/JavaScriptCore

Reviewed by Eric Seidel.

Clang fails to build the JSC interpreter
https://bugs.webkit.org/show_bug.cgi?id=51016

Clang does not allow indirect gotos out of scopes with cleanup. GCC 4.2 allows
them, but it does not correctly generate the cleanup, causing a leak if the
cleanup decrements a reference count.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute): Put an Identifier into its own scope.

8:25 AM Changeset in webkit [74028] by commit-queue@webkit.org
  • 8 edits in trunk

2010-12-14 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Simplify context-menu handling code
https://bugs.webkit.org/show_bug.cgi?id=49658

  • wtf/PlatformRefPtr.h: Add leakRef()

2010-12-14 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Simplify context-menu handling code
https://bugs.webkit.org/show_bug.cgi?id=49658

  • platform/ContextMenuItem.h:
  • platform/gtk/ContextMenuGtk.cpp: (WebCore::ContextMenu::appendItem):
  • platform/gtk/ContextMenuItemGtk.cpp: (WebCore::ContextMenuItem::ContextMenuItem): (WebCore::ContextMenuItem::~ContextMenuItem): (WebCore::ContextMenuItem::releasePlatformDescription): (WebCore::ContextMenuItem::type): (WebCore::ContextMenuItem::setType): (WebCore::ContextMenuItem::action): (WebCore::ContextMenuItem::setAction): (WebCore::ContextMenuItem::title): (WebCore::ContextMenuItem::setTitle): (WebCore::ContextMenuItem::platformSubMenu): (WebCore::ContextMenuItem::setSubMenu): (WebCore::ContextMenuItem::setChecked): (WebCore::ContextMenuItem::setEnabled):

2010-12-14 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Simplify context-menu handling code
https://bugs.webkit.org/show_bug.cgi?id=49658

Use gtk_container_foreach() so that we only iterate the list of
children once and we avoid creating/destroying the list. It also
connects the activate signal for submenu items.

  • webkit/webkitwebview.cpp: (contextMenuConnectActivate): (webkit_web_view_forward_context_menu_event):
7:55 AM Changeset in webkit [74027] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-14 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Updated chromium expectations.

  • platform/chromium/test_expectations.txt:
7:55 AM Changeset in webkit [74026] by commit-queue@webkit.org
  • 4 edits in trunk/WebKit/gtk

2010-12-14 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Xan Lopez.

[GTK] Fix several issues in r73858
https://bugs.webkit.org/show_bug.cgi?id=51032

  • It uses both glib private data and it allocates its own private structure.
  • It calls parent's dispose method from finalize.
  • webkit_web_plugin_get_mimetypes() uses a wrong annotation for the returned value, it should be transfer none rather than transfer container.
  • Since the mime type list is internal and we return the list and not a copy, it should never be freed by the caller, so webkit_web_plugin_mime_type_list_free() should be removed from the public API.
  • Mime types list is used uninitialized.
  • Mention in the docs that list returned by webkit_web_plugin_database_get_plugins() must be freed with webkit_web_plugin_database_plugins_list_free().
  • webkit/webkitwebplugin.cpp: (webkit_web_plugin_finalize): (webkit_web_plugin_class_init): (webkit_web_plugin_init):
  • webkit/webkitwebplugin.h:
  • webkit/webkitwebplugindatabase.cpp:
7:35 AM Changeset in webkit [74025] by mario@webkit.org
  • 10 edits
    2 adds in trunk

2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Xan Lopez.

[Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
https://bugs.webkit.org/show_bug.cgi?id=27048

Added a new GTK-specific test to check focus{able|ed} states are
properly set when moving the caret across text objects.

  • platform/gtk/accessibility/caret-browsing-text-focus-expected.txt: Added.
  • platform/gtk/accessibility/caret-browsing-text-focus.html: Added.

2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Xan Lopez.

[Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
https://bugs.webkit.org/show_bug.cgi?id=27048

Handle focus change for text objects based in caret changes.

As text objects (such as paragraphs) seem not to accept focus in
WebCore in the same way other objects (text controls) do, a
Gtk-specific workaround is needed to expose this states and the
related events to ATK-based assistive technologies.

Test: platform/gtk/accessibility/caret-browsing-text-focus.html

Ensure that text objects are exposed with the ATK_STATE_FOCUSABLE
state, and that the ATK_STATE_FOCUSED state is added to those
text objects containing the currently active caret selection.

  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (selectionBelongsToObject): Moved upwards to use it from the new isTextWithCaret() function. (isTextWithCaret): New, checks whether an accessibility object represents a text object with the current caret selection on it. (setAtkStateSetFromCoreObject): Add the ATK_STATE_FOCUSED state when also when isTextWithCaret(coreObject) returns true. (webkit_accessible_ref_state_set): Add the ATK_STATE_FOCUSABLE state to text objects and those with the ATK_ROLE_PARAGRAPH role. (webkit_accessible_text_get_n_selections): Optimize return expression.

Make sure the proper events associated to a change of focus are
emitted, based on caret changes across different accessibility
objects. Also, refactored the code in more manageable and
understandable helper functions.

  • editing/gtk/SelectionControllerGtk.cpp: (WebCore::emitTextSelectionChange): New, includes the specific code formerly placed in notifyAccessibilityForSelectionChange() to emit the 'text-caret-moved' and 'text-selection-change' signals. (WebCore::maybeEmitTextFocusChange): New, takes care of emitting the 'focus-event' and 'state-changed::focused' signals when needed, that is, when a change in the selection happens across different accessible objects. (WebCore::SelectionController::notifyAccessibilityForSelectionChange): Refactored some code here, by using the new helper functions.

2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Xan Lopez.

[Gtk] Implement STATE_FOCUSED, STATE_FOCUSABLE, and corresponding events for text objects
https://bugs.webkit.org/show_bug.cgi?id=27048

Add support in DRT for checking whether an accessibility UI
element is focusable and/or focused. Implemented for GTK.

  • DumpRenderTree/AccessibilityUIElement.cpp: (getIsFocusedCallback): New. (getIsFocusableCallback): New. (AccessibilityUIElement::getJSClass): Add the new available callbacks for isFocused and isFocusable.
  • DumpRenderTree/AccessibilityUIElement.h:
  • DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: (AccessibilityUIElement::isFocused): New, implemented by checking whether the related AtkState value is in the object's state set. (AccessibilityUIElement::isFocusable): Ditto.
  • DumpRenderTree/mac/AccessibilityUIElementMac.mm: (AccessibilityUIElement::isFocused): New, dummy implementation. (AccessibilityUIElement::isFocusable): Ditto.
  • DumpRenderTree/win/AccessibilityUIElementWin.cpp: (AccessibilityUIElement::isFocused): Ditto. (AccessibilityUIElement::isFocusable): Ditto.
7:02 AM Changeset in webkit [74024] by yurys@chromium.org
  • 3 edits in branches/chromium/597

Merge 74020 - 2010-12-14 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Reverted stylesheet breaks style data
https://bugs.webkit.org/show_bug.cgi?id=51030

WebCore:

  • inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::reparseStyleSheet):

LayoutTests:

  • inspector/styles-new-API-expected.txt:
  • inspector/styles-new-API.html:

BUG=66825
TBR=apavlov@chromium.org
Review URL: http://codereview.chromium.org/5701007

6:55 AM Changeset in webkit [74023] by yurys@chromium.org
  • 2 edits in branches/chromium/597/WebCore/inspector/front-end

Merge 73311 - 2010-12-03 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Duplicate "!important" for !important properties displayed in the Styles pane
https://bugs.webkit.org/show_bug.cgi?id=50460

  • inspector/front-end/StylesSidebarPane.js:
  • inspector/front-end/inspector.css:

TBR=apavlov@chromium.org
Review URL: http://codereview.chromium.org/5816003

6:54 AM Changeset in webkit [74022] by loislo@chromium.org
  • 2 edits in trunk/WebCore

2010-12-14 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: regroup Inspector.idl entries.
Just for better visibility.

https://bugs.webkit.org/show_bug.cgi?id=51025

  • inspector/Inspector.idl:
6:52 AM Changeset in webkit [74021] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-14 Pavel Feldman <pfeldman@chromium.org>

Not reviwed. Chromium expectations updated.

  • platform/chromium/test_expectations.txt:
6:46 AM Changeset in webkit [74020] by apavlov@chromium.org
  • 5 edits in trunk

2010-12-14 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Reverted stylesheet breaks style data
https://bugs.webkit.org/show_bug.cgi?id=51030

WebCore:

  • inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::reparseStyleSheet):

LayoutTests:

  • inspector/styles-new-API-expected.txt:
  • inspector/styles-new-API.html:
5:39 AM Changeset in webkit [74019] by ager@chromium.org
  • 4 edits in trunk

2010-12-14 Mads Ager <ager@chromium.org>

Reviewed by Pavel Feldman.

[V8] Reflected unsigned attributes should be in the range [0, 231)
https://bugs.webkit.org/show_bug.cgi?id=51023

Remove test that now passes from chromium test expectations.

  • platform/chromium/test_expectations.txt:

2010-12-14 Mads Ager <ager@chromium.org>

Reviewed by Pavel Feldman.

[V8] Reflected unsigned attributes should be in the range [0, 231)
https://bugs.webkit.org/show_bug.cgi?id=51023

Follow the changes made to CodeGeneratorJS.pm to return 0 for
reflected unsigned attributes that are outside the allowed range.
See https://bugs.webkit.org/show_bug.cgi?id=50472

  • bindings/scripts/CodeGeneratorV8.pm:
5:22 AM Changeset in webkit [74018] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/gtk

2010-12-14 Diego Escalante Urrelo <descalante@igalia.com>

Reviewed by Xan Lopez.

[gtk] misnamed gtk-doc strings for webkit_web_view_can_{c|c|p}_clipboard
https://bugs.webkit.org/show_bug.cgi?id=50571

  • webkit/webkitwebview.cpp:
5:17 AM Changeset in webkit [74017] by mario@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-14 Mario Sanchez Prada <msanchez@igalia.com>

Unreviewed, skipping failing test in the release bots.

Incorrect refcount on plug.testObject in LayoutTests/plugins/refcount-leaks.html
https://bugs.webkit.org/show_bug.cgi?id=51027

  • platform/gtk/Skipped: Skip plugins/refcount-leaks.html.
4:36 AM Changeset in webkit [74016] by pfeldman@chromium.org
  • 24 edits
    122 adds in trunk/LayoutTests

2010-12-14 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Chromium tests rebaselined.

  • platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0805-c5518-brdr-t-01-e-expected.png: Added.
  • platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0805-c5519-brdr-r-00-a-expected.png: Added.
  • platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0805-c5520-brdr-b-01-e-expected.png: Added.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-00-a-expected.png: Added.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0805-c5521-brdr-l-01-e-expected.png: Added.
  • platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-02-c-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-03-c-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-04-c-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-fltblck-01-d-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-flthw-00-c-g-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-flthw-00-c-g-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
  • platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
  • platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png: Added.
  • platform/chromium-mac/css2.1/t0905-c5526-flthw-00-c-g-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t0905-c5526-flthw-00-c-g-expected.png: Added.
  • platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t090501-c414-flt-01-b-expected.png: Added.
  • platform/chromium-mac/css2.1/t090501-c414-flt-03-b-g-expected.checksum:
  • platform/chromium-mac/css2.1/t090501-c414-flt-03-b-g-expected.png:
  • platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.png: Added.
  • platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.png: Added.
  • platform/chromium-mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.checksum:
  • platform/chromium-mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png:
  • platform/chromium-mac/css2.1/t1202-counter-03-b-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t1202-counter-03-b-expected.png: Added.
  • platform/chromium-mac/css2.1/t1202-counter-04-b-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t1202-counter-04-b-expected.png: Added.
  • platform/chromium-mac/css2.1/t1202-counter-09-b-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t1202-counter-09-b-expected.png: Added.
  • platform/chromium-mac/css2.1/t1202-counters-03-b-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t1202-counters-03-b-expected.png: Added.
  • platform/chromium-mac/css2.1/t1202-counters-04-b-expected.checksum: Added.
  • platform/chromium-mac/css2.1/t1202-counters-04-b-expected.png: Added.
  • platform/chromium-mac/css2.1/t1202-counters-09-b-expected.checksum:
  • platform/chromium-mac/css2.1/t1202-counters-09-b-expected.png:
  • platform/chromium-mac/editing/deleting/5144139-2-expected.checksum: Added.
  • platform/chromium-mac/editing/deleting/5144139-2-expected.png: Added.
  • platform/chromium-mac/editing/selection/caret-rtl-2-expected.checksum:
  • platform/chromium-mac/editing/selection/caret-rtl-2-expected.png:
  • platform/chromium-mac/editing/selection/caret-rtl-2-left-expected.checksum:
  • platform/chromium-mac/editing/selection/caret-rtl-2-left-expected.png:
  • platform/chromium-mac/editing/selection/caret-rtl-expected.checksum:
  • platform/chromium-mac/editing/selection/caret-rtl-expected.png:
  • platform/chromium-mac/editing/selection/caret-rtl-right-expected.checksum:
  • platform/chromium-mac/editing/selection/caret-rtl-right-expected.png:
  • platform/chromium-mac/editing/selection/extend-selection-bidi-expected.checksum: Added.
  • platform/chromium-mac/editing/selection/extend-selection-bidi-expected.png: Added.
  • platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.checksum: Added.
  • platform/chromium-mac/fast/css/beforeSelectorOnCodeElement-expected.png: Added.
  • platform/chromium-mac/fast/css/font-face-opentype-expected.checksum: Added.
  • platform/chromium-mac/fast/css/font-face-opentype-expected.png: Added.
  • platform/chromium-mac/fast/css/rtl-ordering-expected.checksum: Added.
  • platform/chromium-mac/fast/css/rtl-ordering-expected.png: Added.
  • platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.checksum: Added.
  • platform/chromium-mac/fast/css/text-overflow-ellipsis-bidi-expected.png: Added.
  • platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.checksum:
  • platform/chromium-mac/fast/css/text-overflow-ellipsis-strict-expected.png:
  • platform/chromium-mac/fast/css/text-security-expected.checksum: Added.
  • platform/chromium-mac/fast/css/text-security-expected.png: Added.
  • platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum: Added.
  • platform/chromium-mac/fast/encoding/denormalised-voiced-japanese-chars-expected.png: Added.
  • platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.checksum: Added.
  • platform/chromium-mac/fast/encoding/invalid-UTF-8-expected.png: Added.
  • platform/chromium-mac/fast/forms/select-visual-hebrew-expected.checksum: Added.
  • platform/chromium-mac/fast/forms/select-visual-hebrew-expected.png: Added.
  • platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.checksum: Added.
  • platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.png: Added.
  • platform/chromium-mac/fast/text/backslash-to-yen-sign-euc-expected.checksum:
  • platform/chromium-mac/fast/text/backslash-to-yen-sign-euc-expected.png:
  • platform/chromium-mac/fast/text/backslash-to-yen-sign-expected.checksum:
  • platform/chromium-mac/fast/text/backslash-to-yen-sign-expected.png:
  • platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.checksum: Added.
  • platform/chromium-mac/fast/text/bidi-embedding-pop-and-push-same-expected.png: Added.
  • platform/chromium-mac/fast/text/cg-fallback-bolding-expected.checksum: Added.
  • platform/chromium-mac/fast/text/cg-fallback-bolding-expected.png: Added.
  • platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.checksum: Added.
  • platform/chromium-mac/fast/text/in-rendered-text-rtl-expected.png: Added.
  • platform/chromium-mac/fast/text/international/001-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/001-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-AN-after-L-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-L2-run-reordering-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-CSS-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-HTML-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-european-terminators-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-innertext-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-innertext-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-001-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-002-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-linebreak-003-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-listbox-atsui-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-listbox-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-listbox-expected.png: Added.
  • platform/chromium-mac/fast/text/international/bidi-override-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/bidi-override-expected.png: Added.
  • platform/chromium-mac/fast/text/international/complex-character-based-fallback-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/complex-character-based-fallback-expected.png: Added.
  • platform/chromium-mac/fast/text/international/danda-space-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/danda-space-expected.png: Added.
  • platform/chromium-mac/fast/text/international/hebrew-vowels-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/hebrew-vowels-expected.png: Added.
  • platform/chromium-mac/fast/text/international/hindi-spacing-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/hindi-spacing-expected.png: Added.
  • platform/chromium-mac/fast/text/international/hindi-whitespace-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/hindi-whitespace-expected.png: Added.
  • platform/chromium-mac/fast/text/international/plane2-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/plane2-expected.png: Added.
  • platform/chromium-mac/fast/text/international/rtl-caret-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/rtl-caret-expected.png: Added.
  • platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.checksum: Added.
  • platform/chromium-mac/fast/text/international/wrap-CJK-001-expected.png: Added.
  • platform/chromium-win/svg/filters/feColorMatrix-offset-expected.checksum: Added.
  • platform/chromium-win/svg/filters/feColorMatrix-offset-expected.png: Added.
  • platform/chromium/test_expectations.txt:
4:10 AM Changeset in webkit [74015] by benjamin.poulain@nokia.com
  • 2 edits in trunk/WebKit2

2010-12-14 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

WebKit 2 does not send touch cancel events correctly between processes
https://bugs.webkit.org/show_bug.cgi?id=50235

The classes WebKit2PlatformTouchPoint and WebKit2PlatformTouchEvent
misses the conversion of TouchCancel events and points.

This patch add the missing enums when converting from a WebTouchEvent
to a PlatformTouchEvent.

Testing is already covered by fast/events/touch/send-oncancel-event.html

  • Shared/WebEventConversion.cpp: (WebKit::WebKit2PlatformTouchPoint::WebKit2PlatformTouchPoint): (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent):
4:03 AM Changeset in webkit [74014] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-14 Charlie Reis <creis@chromium.org>

Reviewed by Darin Adler.

Remove stale include of Document.h in V8DOMWrapper.h
https://bugs.webkit.org/show_bug.cgi?id=50607

We no longer need to include Document.h or V8DOMMap.h in
V8DOMWrapper. Removing them to avoid dependencies.

  • bindings/v8/V8DOMWrapper.h:
3:48 AM Changeset in webkit [74013] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit2

2010-12-14 Zalan Bujtas <zbujtas@gmail.com>

Reviewed by Kenneth Rohde Christiansen.

Add loadFinished() for provisional load error
This fixes the hanging UI state, when provisional load error occurs due to
the async nature of policy check.

https://bugs.webkit.org/show_bug.cgi?id=48724

  • UIProcess/API/qt/ClientImpl.cpp: (loadFinished): (qt_wk_didFailProvisionalLoadWithErrorForFrame): (qt_wk_didFinishLoadForFrame): (qt_wk_didFailLoadWithErrorForFrame):
3:40 AM Changeset in webkit [74012] by commit-queue@webkit.org
  • 4 edits
    1 add in trunk

2010-12-14 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Eric Seidel.

[EFL] Add linker script to export less symbols
https://bugs.webkit.org/show_bug.cgi?id=44609

Filter the exported symbols by using a linker script. Only symbols
starting with "ewk_" are exported.

  • cmake/OptionsEfl.cmake: Pass linker option to use a version script when linking webkit.
  • cmake/eflsymbols.filter: Added. Export only symbols starting with "ewk_" (C linkage).

2010-12-14 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Eric Seidel.

[EFL] Add linker script to export less symbols
https://bugs.webkit.org/show_bug.cgi?id=44609

Filter the exported symbols by using a linker script. Only symbols
starting with "ewk_" are exported.

  • CMakeLists.txt: Add link flags to webkit library when there's a version script.
3:29 AM Changeset in webkit [74011] by commit-queue@webkit.org
  • 3 edits
    6 adds in trunk

2010-12-14 Julien Chaffraix <jchaffraix@codeaurora.org>

Reviewed by Darin Adler.

Test for: EventSource fails to connect if Content-Type header has a charset attribute
https://bugs.webkit.org/show_bug.cgi?id=45372

Test that a Content-Type of "text/event-stream; charset=UTF8" works correctly but
"text/event-stream" does not work.

  • http/tests/eventsource/eventsource-content-type-charset-expected.txt: Added.
  • http/tests/eventsource/eventsource-content-type-charset.html: Added.
  • http/tests/eventsource/eventsource-content-type-text-event-stream-foobar-expected.txt: Added.
  • http/tests/eventsource/eventsource-content-type-text-event-stream-foobar.html: Added.
  • http/tests/eventsource/resources/response-content-type-charset.php: Added.
  • http/tests/eventsource/resources/response-content-type-event-stream-foobar.php: Added.

2010-12-14 Julien Chaffraix <jchaffraix@codeaurora.org>

Reviewed by Darin Adler.

Test for: EventSource fails to connect if Content-Type header has a charset attribute
https://bugs.webkit.org/show_bug.cgi?id=45372

Tests: http/tests/eventsource/eventsource-content-type-charset.html

http/tests/eventsource/eventsource-content-type-text-event-stream-foobar.html

  • page/EventSource.cpp: (WebCore::EventSource::didReceiveResponse): Use the mimeType instead of the Content-Type header directly. This makes the detection of the "text/stream" mimeType more accurate.
3:02 AM Changeset in webkit [74010] by commit-queue@webkit.org
  • 3 edits
    4 adds in trunk

2010-12-14 Pieter Senster <psenster@google.com>

Reviewed by Dirk Schulze.

Test that the channel offsets in the ColorMatrix filter are correctly incorporated
https://bugs.webkit.org/show_bug.cgi?id=50682

  • platform/mac/svg/filters/feColorMatrix-offset-expected.checksum: Added.
  • platform/mac/svg/filters/feColorMatrix-offset-expected.png: Added.
  • platform/mac/svg/filters/feColorMatrix-offset-expected.txt: Added.
  • svg/filters/feColorMatrix-offset.svg: Added.

2010-12-14 Pieter Senster <psenster@google.com>

Reviewed by Dirk Schulze.

Incorporate the channel offsets from the ColorMatrix filter in the filter calculation
https://bugs.webkit.org/show_bug.cgi?id=50682

Test: svg/filters/feColorMatrix-offset.svg

  • platform/graphics/filters/FEColorMatrix.cpp: (WebCore::matrix):
2:50 AM Changeset in webkit [74009] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-14 Jarred Nicholls <jarred@sencha.com>

Reviewed by Kenneth Rohde Christiansen.

Qt's Clipboard::files() implementation for HTML5 Drag/Drop (DataTransfer)

No new tests. Run tests manually until DRT is updated w/ beginDragWithFiles.

  • platform/qt/ClipboardQt.cpp: (WebCore::ClipboardQt::files):
1:43 AM Changeset in webkit [74008] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2010-12-14 Eric Seidel <eric@webkit.org>

Reviewed by Ojan Vafai.

webkit-patch should warn users when they're using a 32-bit git on a 64-bit system
https://bugs.webkit.org/show_bug.cgi?id=50715

This patch makes webkit-patch print the following:

Warning: This machine is 64-bit, but the git binary (/usr/local/git/bin/git) does not support 64-bit.
Install a 64-bit git for better performance, see:
https://lists.webkit.org/pipermail/webkit-dev/2010-December/015249.html

I wrote this mostly because I have approximately 8 machines that I use
and making sure each one is using a good Git install seemed folly.
webkit-patch makes a lot of git calls, so using a fast git can shave
several seconds in every invocation. See the webkit-dev thread for more info.

This message will print twice during 'webkit-patch upload',
once from webkit-patch and once from check-webkit-style.

Unfortunately there is no good way to test this due to how machine-dependent
the code is. I considered writing a test for the log message, but it seemed not worth it.

  • Scripts/webkitpy/common/checkout/scm.py:
12:34 AM Changeset in webkit [74007] by gyuyoung.kim@samsung.com
  • 3 edits in trunk

2010-12-13 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Unreviewed build fix for EFL.

Remove DataSourceGStreamer.cpp in WebCore/CMakeListsEfl.txt
Because, DataSourceGStreamer.cpp was removed by Bug 30007.

  • ../WebCore/CMakeListsEfl.txt:

Dec 13, 2010:

11:17 PM Changeset in webkit [74006] by tonikitoo@webkit.org
  • 3 edits in trunk/WebCore

2010-12-13 Antonio Gomes <agomes@rim.com>

Rubber stamped by Daniel Bates.

Spatial Navigation: code clean up (part V)
https://bugs.webkit.org/show_bug.cgi?id=50666

No new tests needed.

  • page/SpatialNavigation.cpp: (WebCore::distanceDataForNode): Made 'FocusCandidate current' const since it is not supposed to change within this function.
  • page/SpatialNavigation.h: Ditto.
10:58 PM Changeset in webkit [74005] by commit-queue@webkit.org
  • 5 edits in trunk/WebCore

2010-12-13 takano takumi <takano@apple.com>

Reviewed by Dan Bernstein.

GlyphPage::fill() is slow on vertical writing (Mac)
https://bugs.webkit.org/show_bug.cgi?id=50865

No test. Just a performance improvement.

  • platform/graphics/Font.cpp: (WebCore::Font::isCJKIdeograph): Now this only checks pure ideographs (Hanji). (WebCore::Font::isCJKIdeographOrSymbol): Added this for Hanji and Hanji related symbols.
  • platform/graphics/Font.h:
  • platform/graphics/FontFastPath.cpp: (WebCore::Font::glyphDataForCharacter): Changed to call isCJKIdeographOrSymbol() instead of isCJKIdeograph().
  • platform/graphics/mac/GlyphPageTreeNodeMac.cpp: (WebCore::shouldUseCoreText): This tests if GlyphPage::fill() should use CoreText or not. For vertical writing, if the current page contains only ideographs, we go CG path. (WebCore::GlyphPage::fill): Made to call shouldUseCoreText() and switch code path.
10:51 PM Changeset in webkit [74004] by tonikitoo@webkit.org
  • 3 edits in trunk/WebCore

2010-12-13 Antonio Gomes <agomes@rim.com>

Reviewed by Daniel Bates.

Spatial Navigation: code clean up (part IV)
https://bugs.webkit.org/show_bug.cgi?id=50666

Avoid calling canScrollInDirection more than necessary.

No new tests needed.

  • page/FocusController.cpp: (WebCore::FocusController::advanceFocusDirectionallyInContainer): Moved the call to canScrollInDirection() to within the scrollInDirection().
  • page/SpatialNavigation.cpp: Removed the assertion to canScrollingDirection function. (WebCore::scrollInDirection):
10:51 PM Changeset in webkit [74003] by tonikitoo@webkit.org
  • 4 edits in trunk/WebCore

2010-12-13 Antonio Gomes <agomes@rim.com>

Reviewed by Daniel Bates.

Spatial Navigation: code clean up (part III)
https://bugs.webkit.org/show_bug.cgi?id=50666

No new tests needed.

  • page/SpatialNavigation.h: Added FocusCandidate::isFrameOwnerElement and WebCore::frameOwnerElement helper functions. (WebCore::FocusCandidate::isFrameOwnerElement): Returns true if the Node pointer wrapped by FocusCandidate is an instance of HTMLFrameOwnerElement. Returns false otherwise.
  • page/SpatialNavigation.cpp: (WebCore::frameOwnerElement): Returns the HTMLFrameOwnerElement associated with the FocusCandidate if appropriate.
  • page/FocusController.cpp: (WebCore::updateFocusCandidateIfNeeded): Make use of newly added frameOwnerElement() helper. (WebCore::FocusController::adva
10:03 PM Changeset in webkit [74002] by mitz@apple.com
  • 12 edits in trunk/LayoutTests

Updated Leopard-specific results after r73993.

  • platform/mac-leopard/css2.1/t1202-counter-04-b-expected.txt:
  • platform/mac-leopard/css2.1/t1202-counters-04-b-expected.txt:
  • platform/mac-leopard/fast/text/complex-text-opacity-expected.txt:
  • platform/mac-leopard/fast/text/international/bidi-AN-after-L-expected.txt:
  • platform/mac-leopard/fast/text/international/bidi-AN-after-empty-run-expected.txt:
  • platform/mac-leopard/fast/text/international/bidi-CS-after-AN-expected.txt:
  • platform/mac-leopard/fast/text/international/bidi-mirror-he-ar-expected.txt:
  • platform/mac-leopard/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt:
  • platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.txt:
  • platform/mac-leopard/fast/text/international/thai-baht-space-expected.txt:
  • platform/mac-leopard/platform/mac/editing/input/devanagari-ligature-expected.txt:
9:53 PM Changeset in webkit [74001] by commit-queue@webkit.org
  • 3 edits in trunk

2010-12-13 Mike Lawther <mikelawther@chromium.org>

Reviewed by Daniel Bates.

[skia] ignore transform for canvas shadows
https://bugs.webkit.org/show_bug.cgi?id=50437

  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::setPlatformShadow):
9:49 PM Changeset in webkit [74000] by weinig@apple.com
  • 13 edits
    3 adds in trunk/WebKit2

WebKit2: Need to be able to set the application name for the user agent for a WKPage
https://bugs.webkit.org/show_bug.cgi?id=51011

Reviewed by Anders Carlsson.

Fixes:

WebKit2: Need to be able to set the application name for the user agent for a WKPage
<rdar://problem/8564532>
WebKit2: Need to be able to get the computed user agent for a WKPage
<rdar://problem/8637285>

Moves user agent computation to the UIProcess and just passes it to the WebProcess
when it has changed.

  • Shared/WebPageCreationParameters.cpp:

(WebKit::WebPageCreationParameters::encode):
(WebKit::WebPageCreationParameters::decode):

  • Shared/WebPageCreationParameters.h:

Add a user agent to the creation parameters.

  • UIProcess/API/C/WKPage.cpp:

(WKPageCopyUserAgent):
(WKPageCopyApplicationNameForUserAgent):
(WKPageSetApplicationNameForUserAgent):
(WKPageSetCustomUserAgent):

  • UIProcess/API/C/WKPage.h:

Add new API to set the application name and access the computed user agent.

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::close):
(WebKit::WebPageProxy::setUserAgent):
(WebKit::WebPageProxy::setApplicationNameForUserAgent):
(WebKit::WebPageProxy::setCustomUserAgent):
(WebKit::WebPageProxy::processDidCrash):
(WebKit::WebPageProxy::creationParameters):

  • UIProcess/WebPageProxy.h:

(WebKit::WebPageProxy::userAgent):
(WebKit::WebPageProxy::applicationNameForUserAgent):

  • UIProcess/mac/WebPageProxyMac.mm: Added.
  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::WebPage):
(WebKit::WebPage::setUserAgent):

  • WebProcess/WebPage/WebPage.h:

(WebKit::WebPage::userAgent):

  • WebProcess/WebPage/WebPage.messages.in:

Pipe through user agent.

(WebKit::callGestalt):
(WebKit::macOSXVersionString):
(WebKit::userVisibleWebKitVersionString):
(WebKit::WebPageProxy::standardUserAgent):

  • UIProcess/win/WebPageProxyWin.cpp: Added.

(WebKit::windowsVersion):
(WebKit::userVisibleWebKitVersionString):
(WebKit::WebPageProxy::standardUserAgent):
Port standardUserAgent computation from WebKit1.

  • UIProcess/qt/WebPageProxyQt.cpp: Added.

(WebKit::WebPageProxy::standardUserAgent):
Stub out the user agent so there is no change in behavior.

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:

Add new file.

9:19 PM Changeset in webkit [73999] by commit-queue@webkit.org
  • 48 edits in trunk

2010-12-13 Dai Mikurube <dmikurube@google.com>

Reviewed by Kent Tamura.

ValidityState's exposed functions should check if willValidate() is true before all
https://bugs.webkit.org/show_bug.cgi?id=50617

  • fast/css/pseudo-required-optional-005-expected.txt:
  • fast/css/pseudo-required-optional-005.html:
  • fast/css/pseudo-valid-001-expected.txt:
  • fast/css/pseudo-valid-001.html:
  • fast/css/pseudo-valid-unapplied-expected.txt:
  • fast/css/pseudo-valid-unapplied.html:
  • fast/forms/ValidityState-customError.html:
  • fast/forms/ValidityState-customError-expected.txt:
  • fast/forms/ValidityState-customError.html:
  • fast/forms/ValidityState-patternMismatch-expected.txt:
  • fast/forms/ValidityState-patternMismatch.html:
  • fast/forms/ValidityState-rangeOverflow-expected.txt:
  • fast/forms/ValidityState-rangeUnderflow-expected.txt:
  • fast/forms/ValidityState-stepMismatch-expected.txt:
  • fast/forms/ValidityState-tooLong-input-expected.txt:
  • fast/forms/ValidityState-tooLong-textarea-expected.txt:
  • fast/forms/ValidityState-typeMismatch-color-expected.txt:
  • fast/forms/ValidityState-typeMismatch-date-expected.txt:
  • fast/forms/ValidityState-typeMismatch-datetime-expected.txt:
  • fast/forms/ValidityState-typeMismatch-datetimelocal-expected.txt:
  • fast/forms/ValidityState-typeMismatch-month-expected.txt:
  • fast/forms/ValidityState-typeMismatch-number-expected.txt:
  • fast/forms/ValidityState-typeMismatch-time-expected.txt:
  • fast/forms/ValidityState-typeMismatch-url-expected.txt:
  • fast/forms/ValidityState-typeMismatch-week-expected.txt:
  • fast/forms/script-tests/ValidityState-rangeOverflow.js: (checkOverflow): (checkNotOverflow):
  • fast/forms/script-tests/ValidityState-rangeUnderflow.js: (checkUnderflow): (checkNotUnderflow):
  • fast/forms/script-tests/ValidityState-stepMismatch.js: (stepMismatchFor):
  • fast/forms/script-tests/ValidityState-tooLong-input.js:
  • fast/forms/script-tests/ValidityState-tooLong-textarea.js:
  • fast/forms/script-tests/ValidityState-typeMismatch-color.js: ():
  • fast/forms/script-tests/ValidityState-typeMismatch-date.js: (): (shouldBeValid): (shouldBeInvalid):
  • fast/forms/script-tests/ValidityState-typeMismatch-datetime.js: (): (shouldBeValid): (shouldBeInvalid):
  • fast/forms/script-tests/ValidityState-typeMismatch-datetimelocal.js: (): (shouldBeValid): (shouldBeInvalid):
  • fast/forms/script-tests/ValidityState-typeMismatch-month.js: (): (shouldBeValid): (shouldBeInvalid):
  • fast/forms/script-tests/ValidityState-typeMismatch-number.js: ():
  • fast/forms/script-tests/ValidityState-typeMismatch-time.js: (): (shouldBeValid): (shouldBeInvalid):
  • fast/forms/script-tests/ValidityState-typeMismatch-url.js: (check): (expectValid): (expectInvalid):
  • fast/forms/script-tests/ValidityState-typeMismatch-week.js: (): (shouldBeValid): (shouldBeInvalid):
  • fast/forms/script-tests/willvalidate.js:
  • fast/forms/willvalidate-expected.txt:

2010-12-13 Dai Mikurube <dmikurube@google.com>

Reviewed by Kent Tamura.

ValidityState's exposed functions should check if willValidate() is true before all
https://bugs.webkit.org/show_bug.cgi?id=50617

Added checking willValidate() to exposed functions. And modified willValidate() behavior
for <button type="submit"> and <input type="submit"> to return true if not disabled and
not readonly.

  • html/HTMLButtonElement.cpp: (WebCore::HTMLButtonElement::parseMappedAttribute): Added calling setNeedsWillValidateCheck() to refresh willValidate() after changing its type. (WebCore::HTMLButtonElement::recalcWillValidate): Added to return true if not disabled and not readonly when type="submit". It's to be compliant to the spec.
  • html/HTMLButtonElement.h:
  • html/SubmitInputType.cpp: (WebCore::SubmitInputType::supportsValidation): Removed it to enable willValidate() for <input> when type="submit". It's to be compliant to the spec. (WebCore::SubmitInputType::supportsRequired): Added it to reject required attributes though validation is available.
  • html/SubmitInputType.h:
  • html/ValidityState.cpp: Added checking willValidate(). (WebCore::ValidityState::typeMismatch): (WebCore::ValidityState::patternMismatch): (WebCore::ValidityState::tooLong): (WebCore::ValidityState::rangeUnderflow): (WebCore::ValidityState::rangeOverflow): (WebCore::ValidityState::stepMismatch): (WebCore::ValidityState::customError):
  • html/ValidityState.h:
9:08 PM Changeset in webkit [73998] by bweinstein@apple.com
  • 8 edits
    6 adds in trunk/LayoutTests

Rebaseline Windows test results after r73993. All of these results were updated on the Mac with this
change, and this rebaselines Windows results to pass.

  • platform/win/css2.1/t0805-c5519-brdr-r-01-e-expected.txt: Added.
  • platform/win/css2.1/t0805-c5521-brdr-l-01-e-expected.txt: Added.
  • platform/win/css2.1/t0905-c5525-fltblck-00-d-ag-expected.txt: Added.
  • platform/win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt: Added.
  • platform/win/css2.1/t0905-c5525-fltwrap-00-b-expected.txt: Added.
  • platform/win/css2.1/t1202-counter-04-b-expected.txt:
  • platform/win/css2.1/t1202-counters-04-b-expected.txt:
  • platform/win/editing/deleting/5144139-2-expected.txt: Added.
  • platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt:
  • platform/win/fast/text/international/bold-bengali-expected.txt:
  • platform/win/fast/text/international/complex-character-based-fallback-expected.txt:
  • platform/win/fast/text/international/hebrew-vowels-expected.txt:
  • platform/win/transforms/2d/hindi-rotated-expected.txt:
8:47 PM Changeset in webkit [73997] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-13 Noel Gordon <noel.gordon@gmail.com>

Reviewed by David Levin.

[chromium] Upstream skia/ImageBuffer.cpp routine mulDiv255Ceil()
https://bugs.webkit.org/show_bug.cgi?id=50545

Skia has rolled, replace uses of mulDiv255Ceil with SkMulDiv255Ceiling.

No new tests, no change in behaviour.

  • platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::putImageData):
7:21 PM Changeset in webkit [73996] by commit-queue@webkit.org
  • 4 edits in trunk

2010-12-13 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

Re land Purpose after bad merge
https://bugs.webkit.org/show_bug.cgi?id=51000

  • http/tests/misc/resources/prefetch-purpose.php:

2010-12-13 Gavin Peters <gavinp@chromium.org>

Reviewed by Adam Barth.

Re land Purpose after bad merge
https://bugs.webkit.org/show_bug.cgi?id=51000

  • loader/loader.cpp: (WebCore::Loader::load):
7:04 PM Changeset in webkit [73995] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/chromium

2010-12-13 Mike Lawther <mikelawther@chromium.org>

Reviewed by James Robinson.

Update chromium DEPS to pull in latest Skia
https://bugs.webkit.org/show_bug.cgi?id=50984

Roll to revision that pulled in Skia r632 (http://src.chromium.org/viewvc/chrome?view=rev&revision=68558)

  • DEPS:
6:16 PM Changeset in webkit [73994] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-13 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium test expectations update.

Now that we've switched Chromium to the DRT (and the switch seems to
have stuck), remove the BUG_AWESOME lines about tests that only pass
with the DRT (but not test_shell).

  • platform/chromium/test_expectations.txt:
6:14 PM Changeset in webkit [73993] by mitz@apple.com
  • 279 edits in trunk

<rdar://problem/8763696> REGRESSION (r72173): Fallback fonts’ vertical metrics aren’t accounted for even when line-height is unspecified
https://bugs.webkit.org/show_bug.cgi?id=50979

Reviewed by Simon Fraser.

WebCore:

Many test results updated.

  • rendering/InlineFlowBox.cpp: Reinstated the code that updates affectsAscent and

affectsDescent in the used-fonts code path. Renamed variables for clarity. Added
a check whether usedFonts is empty (which it might be if there is glyph overflow
but no fallback) as an optimization.

LayoutTests:

  • editing/selection/extend-selection-bidi-expected.txt:
  • platform/mac/css2.1/t0805-c5518-brdr-t-01-e-expected.checksum:
  • platform/mac/css2.1/t0805-c5518-brdr-t-01-e-expected.png:
  • platform/mac/css2.1/t0805-c5518-brdr-t-01-e-expected.txt:
  • platform/mac/css2.1/t0805-c5519-brdr-r-00-a-expected.checksum:
  • platform/mac/css2.1/t0805-c5519-brdr-r-00-a-expected.png:
  • platform/mac/css2.1/t0805-c5519-brdr-r-00-a-expected.txt:
  • platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.checksum:
  • platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.png:
  • platform/mac/css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
  • platform/mac/css2.1/t0805-c5521-brdr-l-00-a-expected.checksum:
  • platform/mac/css2.1/t0805-c5521-brdr-l-00-a-expected.png:
  • platform/mac/css2.1/t0805-c5521-brdr-l-00-a-expected.txt:
  • platform/mac/css2.1/t0805-c5521-brdr-l-01-e-expected.checksum:
  • platform/mac/css2.1/t0805-c5521-brdr-l-01-e-expected.png:
  • platform/mac/css2.1/t0805-c5521-brdr-l-01-e-expected.txt:
  • platform/mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.checksum:
  • platform/mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.png:
  • platform/mac/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-02-c-expected.checksum:
  • platform/mac/css2.1/t0905-c414-flt-02-c-expected.png:
  • platform/mac/css2.1/t0905-c414-flt-02-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-03-c-expected.checksum:
  • platform/mac/css2.1/t0905-c414-flt-03-c-expected.png:
  • platform/mac/css2.1/t0905-c414-flt-03-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-04-c-expected.checksum:
  • platform/mac/css2.1/t0905-c414-flt-04-c-expected.png:
  • platform/mac/css2.1/t0905-c414-flt-04-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.checksum:
  • platform/mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.png:
  • platform/mac/css2.1/t0905-c414-flt-fit-01-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltblck-01-d-expected.checksum:
  • platform/mac/css2.1/t0905-c5525-fltblck-01-d-expected.png:
  • platform/mac/css2.1/t0905-c5525-fltblck-01-d-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum:
  • platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.png:
  • platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-flthw-00-c-g-expected.checksum:
  • platform/mac/css2.1/t0905-c5525-flthw-00-c-g-expected.png:
  • platform/mac/css2.1/t0905-c5525-flthw-00-c-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
  • platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
  • platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.checksum:
  • platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.png:
  • platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.checksum:
  • platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.png:
  • platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwrap-00-b-expected.checksum:
  • platform/mac/css2.1/t0905-c5525-fltwrap-00-b-expected.png:
  • platform/mac/css2.1/t0905-c5525-fltwrap-00-b-expected.txt:
  • platform/mac/css2.1/t0905-c5526-flthw-00-c-g-expected.checksum:
  • platform/mac/css2.1/t0905-c5526-flthw-00-c-g-expected.png:
  • platform/mac/css2.1/t0905-c5526-flthw-00-c-g-expected.txt:
  • platform/mac/css2.1/t090501-c414-flt-01-b-expected.checksum:
  • platform/mac/css2.1/t090501-c414-flt-01-b-expected.png:
  • platform/mac/css2.1/t090501-c414-flt-01-b-expected.txt:
  • platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.checksum:
  • platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.png:
  • platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt:
  • platform/mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.checksum:
  • platform/mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.png:
  • platform/mac/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt:
  • platform/mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.checksum:
  • platform/mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.png:
  • platform/mac/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt:
  • platform/mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.checksum:
  • platform/mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.png:
  • platform/mac/css2.1/t100304-c43-rpl-bbx-01-d-g-expected.txt:
  • platform/mac/css2.1/t1202-counter-03-b-expected.checksum:
  • platform/mac/css2.1/t1202-counter-03-b-expected.png:
  • platform/mac/css2.1/t1202-counter-03-b-expected.txt:
  • platform/mac/css2.1/t1202-counter-04-b-expected.checksum:
  • platform/mac/css2.1/t1202-counter-04-b-expected.png:
  • platform/mac/css2.1/t1202-counter-04-b-expected.txt:
  • platform/mac/css2.1/t1202-counter-09-b-expected.checksum:
  • platform/mac/css2.1/t1202-counter-09-b-expected.png:
  • platform/mac/css2.1/t1202-counter-09-b-expected.txt:
  • platform/mac/css2.1/t1202-counters-03-b-expected.checksum:
  • platform/mac/css2.1/t1202-counters-03-b-expected.png:
  • platform/mac/css2.1/t1202-counters-03-b-expected.txt:
  • platform/mac/css2.1/t1202-counters-04-b-expected.checksum:
  • platform/mac/css2.1/t1202-counters-04-b-expected.png:
  • platform/mac/css2.1/t1202-counters-04-b-expected.txt:
  • platform/mac/css2.1/t1202-counters-09-b-expected.checksum:
  • platform/mac/css2.1/t1202-counters-09-b-expected.png:
  • platform/mac/css2.1/t1202-counters-09-b-expected.txt:
  • platform/mac/editing/deleting/5144139-2-expected.checksum:
  • platform/mac/editing/deleting/5144139-2-expected.png:
  • platform/mac/editing/deleting/5144139-2-expected.txt:
  • platform/mac/editing/selection/caret-rtl-2-expected.checksum:
  • platform/mac/editing/selection/caret-rtl-2-expected.png:
  • platform/mac/editing/selection/caret-rtl-2-expected.txt:
  • platform/mac/editing/selection/caret-rtl-2-left-expected.checksum:
  • platform/mac/editing/selection/caret-rtl-2-left-expected.png:
  • platform/mac/editing/selection/caret-rtl-2-left-expected.txt:
  • platform/mac/editing/selection/caret-rtl-expected.checksum:
  • platform/mac/editing/selection/caret-rtl-expected.png:
  • platform/mac/editing/selection/caret-rtl-expected.txt:
  • platform/mac/editing/selection/caret-rtl-right-expected.checksum:
  • platform/mac/editing/selection/caret-rtl-right-expected.png:
  • platform/mac/editing/selection/caret-rtl-right-expected.txt:
  • platform/mac/editing/selection/extend-selection-bidi-expected.checksum:
  • platform/mac/editing/selection/extend-selection-bidi-expected.png:
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum:
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png:
  • platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.txt:
  • platform/mac/fast/css/beforeSelectorOnCodeElement-expected.checksum:
  • platform/mac/fast/css/beforeSelectorOnCodeElement-expected.png:
  • platform/mac/fast/css/beforeSelectorOnCodeElement-expected.txt:
  • platform/mac/fast/css/font-face-opentype-expected.checksum:
  • platform/mac/fast/css/font-face-opentype-expected.png:
  • platform/mac/fast/css/font-face-opentype-expected.txt:
  • platform/mac/fast/css/rtl-ordering-expected.checksum:
  • platform/mac/fast/css/rtl-ordering-expected.png:
  • platform/mac/fast/css/rtl-ordering-expected.txt:
  • platform/mac/fast/css/text-overflow-ellipsis-bidi-expected.checksum:
  • platform/mac/fast/css/text-overflow-ellipsis-bidi-expected.png:
  • platform/mac/fast/css/text-overflow-ellipsis-bidi-expected.txt:
  • platform/mac/fast/css/text-overflow-ellipsis-expected.checksum:
  • platform/mac/fast/css/text-overflow-ellipsis-expected.png:
  • platform/mac/fast/css/text-overflow-ellipsis-expected.txt:
  • platform/mac/fast/css/text-overflow-ellipsis-strict-expected.checksum:
  • platform/mac/fast/css/text-overflow-ellipsis-strict-expected.png:
  • platform/mac/fast/css/text-overflow-ellipsis-strict-expected.txt:
  • platform/mac/fast/css/text-security-expected.checksum:
  • platform/mac/fast/css/text-security-expected.png:
  • platform/mac/fast/css/text-security-expected.txt:
  • platform/mac/fast/encoding/denormalised-voiced-japanese-chars-expected.checksum:
  • platform/mac/fast/encoding/denormalised-voiced-japanese-chars-expected.png:
  • platform/mac/fast/encoding/denormalised-voiced-japanese-chars-expected.txt:
  • platform/mac/fast/encoding/invalid-UTF-8-expected.checksum:
  • platform/mac/fast/encoding/invalid-UTF-8-expected.png:
  • platform/mac/fast/encoding/invalid-UTF-8-expected.txt:
  • platform/mac/fast/events/updateLayoutForHitTest-expected.checksum:
  • platform/mac/fast/events/updateLayoutForHitTest-expected.png:
  • platform/mac/fast/events/updateLayoutForHitTest-expected.txt:
  • platform/mac/fast/forms/select-visual-hebrew-expected.checksum:
  • platform/mac/fast/forms/select-visual-hebrew-expected.png:
  • platform/mac/fast/forms/select-visual-hebrew-expected.txt:
  • platform/mac/fast/forms/select-writing-direction-natural-expected.checksum:
  • platform/mac/fast/forms/select-writing-direction-natural-expected.png:
  • platform/mac/fast/forms/select-writing-direction-natural-expected.txt:
  • platform/mac/fast/forms/visual-hebrew-text-field-expected.checksum:
  • platform/mac/fast/forms/visual-hebrew-text-field-expected.png:
  • platform/mac/fast/forms/visual-hebrew-text-field-expected.txt:
  • platform/mac/fast/ruby/nested-ruby-expected.txt:
  • platform/mac/fast/text/atsui-multiple-renderers-expected.checksum:
  • platform/mac/fast/text/atsui-multiple-renderers-expected.png:
  • platform/mac/fast/text/atsui-multiple-renderers-expected.txt:
  • platform/mac/fast/text/backslash-to-yen-sign-euc-expected.checksum:
  • platform/mac/fast/text/backslash-to-yen-sign-euc-expected.png:
  • platform/mac/fast/text/backslash-to-yen-sign-euc-expected.txt:
  • platform/mac/fast/text/backslash-to-yen-sign-expected.checksum:
  • platform/mac/fast/text/backslash-to-yen-sign-expected.png:
  • platform/mac/fast/text/backslash-to-yen-sign-expected.txt:
  • platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.checksum:
  • platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.png:
  • platform/mac/fast/text/bidi-embedding-pop-and-push-same-expected.txt:
  • platform/mac/fast/text/capitalize-boundaries-expected.checksum:
  • platform/mac/fast/text/capitalize-boundaries-expected.png:
  • platform/mac/fast/text/capitalize-boundaries-expected.txt:
  • platform/mac/fast/text/cg-fallback-bolding-expected.checksum:
  • platform/mac/fast/text/cg-fallback-bolding-expected.png:
  • platform/mac/fast/text/cg-fallback-bolding-expected.txt:
  • platform/mac/fast/text/complex-text-opacity-expected.checksum:
  • platform/mac/fast/text/complex-text-opacity-expected.png:
  • platform/mac/fast/text/complex-text-opacity-expected.txt:
  • platform/mac/fast/text/in-rendered-text-rtl-expected.checksum:
  • platform/mac/fast/text/in-rendered-text-rtl-expected.png:
  • platform/mac/fast/text/in-rendered-text-rtl-expected.txt:
  • platform/mac/fast/text/international/001-expected.checksum:
  • platform/mac/fast/text/international/001-expected.png:
  • platform/mac/fast/text/international/001-expected.txt:
  • platform/mac/fast/text/international/002-expected.checksum:
  • platform/mac/fast/text/international/002-expected.png:
  • platform/mac/fast/text/international/002-expected.txt:
  • platform/mac/fast/text/international/003-expected.checksum:
  • platform/mac/fast/text/international/003-expected.png:
  • platform/mac/fast/text/international/003-expected.txt:
  • platform/mac/fast/text/international/bidi-AN-after-L-expected.checksum:
  • platform/mac/fast/text/international/bidi-AN-after-L-expected.png:
  • platform/mac/fast/text/international/bidi-AN-after-L-expected.txt:
  • platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.checksum:
  • platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.png:
  • platform/mac/fast/text/international/bidi-AN-after-empty-run-expected.txt:
  • platform/mac/fast/text/international/bidi-CS-after-AN-expected.checksum:
  • platform/mac/fast/text/international/bidi-CS-after-AN-expected.png:
  • platform/mac/fast/text/international/bidi-CS-after-AN-expected.txt:
  • platform/mac/fast/text/international/bidi-L2-run-reordering-expected.checksum:
  • platform/mac/fast/text/international/bidi-L2-run-reordering-expected.png:
  • platform/mac/fast/text/international/bidi-L2-run-reordering-expected.txt:
  • platform/mac/fast/text/international/bidi-LDB-2-CSS-expected.checksum:
  • platform/mac/fast/text/international/bidi-LDB-2-CSS-expected.png:
  • platform/mac/fast/text/international/bidi-LDB-2-CSS-expected.txt:
  • platform/mac/fast/text/international/bidi-LDB-2-HTML-expected.checksum:
  • platform/mac/fast/text/international/bidi-LDB-2-HTML-expected.png:
  • platform/mac/fast/text/international/bidi-LDB-2-HTML-expected.txt:
  • platform/mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.checksum:
  • platform/mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
  • platform/mac/fast/text/international/bidi-LDB-2-formatting-characters-expected.txt:
  • platform/mac/fast/text/international/bidi-european-terminators-expected.checksum:
  • platform/mac/fast/text/international/bidi-european-terminators-expected.png:
  • platform/mac/fast/text/international/bidi-european-terminators-expected.txt:
  • platform/mac/fast/text/international/bidi-fallback-font-weight-expected.checksum:
  • platform/mac/fast/text/international/bidi-fallback-font-weight-expected.png:
  • platform/mac/fast/text/international/bidi-fallback-font-weight-expected.txt:
  • platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.checksum:
  • platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.png:
  • platform/mac/fast/text/international/bidi-ignored-for-first-child-inline-expected.txt:
  • platform/mac/fast/text/international/bidi-innertext-expected.checksum:
  • platform/mac/fast/text/international/bidi-innertext-expected.png:
  • platform/mac/fast/text/international/bidi-innertext-expected.txt:
  • platform/mac/fast/text/international/bidi-linebreak-001-expected.checksum:
  • platform/mac/fast/text/international/bidi-linebreak-001-expected.png:
  • platform/mac/fast/text/international/bidi-linebreak-001-expected.txt:
  • platform/mac/fast/text/international/bidi-linebreak-002-expected.checksum:
  • platform/mac/fast/text/international/bidi-linebreak-002-expected.png:
  • platform/mac/fast/text/international/bidi-linebreak-002-expected.txt:
  • platform/mac/fast/text/international/bidi-linebreak-003-expected.checksum:
  • platform/mac/fast/text/international/bidi-linebreak-003-expected.png:
  • platform/mac/fast/text/international/bidi-linebreak-003-expected.txt:
  • platform/mac/fast/text/international/bidi-listbox-atsui-expected.checksum:
  • platform/mac/fast/text/international/bidi-listbox-atsui-expected.png:
  • platform/mac/fast/text/international/bidi-listbox-atsui-expected.txt:
  • platform/mac/fast/text/international/bidi-listbox-expected.checksum:
  • platform/mac/fast/text/international/bidi-listbox-expected.png:
  • platform/mac/fast/text/international/bidi-listbox-expected.txt:
  • platform/mac/fast/text/international/bidi-menulist-expected.checksum:
  • platform/mac/fast/text/international/bidi-menulist-expected.png:
  • platform/mac/fast/text/international/bidi-menulist-expected.txt:
  • platform/mac/fast/text/international/bidi-mirror-he-ar-expected.checksum:
  • platform/mac/fast/text/international/bidi-mirror-he-ar-expected.png:
  • platform/mac/fast/text/international/bidi-mirror-he-ar-expected.txt:
  • platform/mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.checksum:
  • platform/mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.png:
  • platform/mac/fast/text/international/bidi-neutral-directionality-paragraph-start-expected.txt:
  • platform/mac/fast/text/international/bidi-neutral-run-expected.checksum:
  • platform/mac/fast/text/international/bidi-neutral-run-expected.png:
  • platform/mac/fast/text/international/bidi-neutral-run-expected.txt:
  • platform/mac/fast/text/international/bidi-override-expected.checksum:
  • platform/mac/fast/text/international/bidi-override-expected.png:
  • platform/mac/fast/text/international/bidi-override-expected.txt:
  • platform/mac/fast/text/international/complex-character-based-fallback-expected.checksum:
  • platform/mac/fast/text/international/complex-character-based-fallback-expected.png:
  • platform/mac/fast/text/international/complex-character-based-fallback-expected.txt:
  • platform/mac/fast/text/international/danda-space-expected.checksum:
  • platform/mac/fast/text/international/danda-space-expected.png:
  • platform/mac/fast/text/international/danda-space-expected.txt:
  • platform/mac/fast/text/international/hebrew-vowels-expected.checksum:
  • platform/mac/fast/text/international/hebrew-vowels-expected.png:
  • platform/mac/fast/text/international/hebrew-vowels-expected.txt:
  • platform/mac/fast/text/international/hindi-spacing-expected.checksum:
  • platform/mac/fast/text/international/hindi-spacing-expected.png:
  • platform/mac/fast/text/international/hindi-spacing-expected.txt:
  • platform/mac/fast/text/international/hindi-whitespace-expected.checksum:
  • platform/mac/fast/text/international/hindi-whitespace-expected.png:
  • platform/mac/fast/text/international/hindi-whitespace-expected.txt:
  • platform/mac/fast/text/international/plane2-expected.checksum:
  • platform/mac/fast/text/international/plane2-expected.png:
  • platform/mac/fast/text/international/plane2-expected.txt:
  • platform/mac/fast/text/international/rtl-caret-expected.checksum:
  • platform/mac/fast/text/international/rtl-caret-expected.png:
  • platform/mac/fast/text/international/rtl-caret-expected.txt:
  • platform/mac/fast/text/international/thai-baht-space-expected.checksum:
  • platform/mac/fast/text/international/thai-baht-space-expected.png:
  • platform/mac/fast/text/international/thai-baht-space-expected.txt:
  • platform/mac/fast/text/international/thai-line-breaks-expected.checksum:
  • platform/mac/fast/text/international/thai-line-breaks-expected.png:
  • platform/mac/fast/text/international/thai-line-breaks-expected.txt:
  • platform/mac/fast/text/international/wrap-CJK-001-expected.checksum:
  • platform/mac/fast/text/international/wrap-CJK-001-expected.png:
  • platform/mac/fast/text/international/wrap-CJK-001-expected.txt:
  • platform/mac/transforms/2d/hindi-rotated-expected.checksum:
  • platform/mac/transforms/2d/hindi-rotated-expected.png:
  • platform/mac/transforms/2d/hindi-rotated-expected.txt:
5:59 PM Changeset in webkit [73992] by beidson@apple.com
  • 5 edits in trunk/WebKit2

<rdar://problem/8752202> and https://bugs.webkit.org/show_bug.cgi?id=50997
Expose "link title" and "link label" to InjectedBundleHitTestResult API

Reviewed by Jon Honeycutt (and Brian Weinstein in heart).

  • WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:

(WKBundleHitTestResultCopyLinkLabel):
(WKBundleHitTestResultCopyLinkTitle):

  • WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h:
  • WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:

(WebKit::InjectedBundleHitTestResult::linkLabel):
(WebKit::InjectedBundleHitTestResult::linkTitle):

  • WebProcess/InjectedBundle/InjectedBundleHitTestResult.h:
5:42 PM Changeset in webkit [73991] by eric@webkit.org
  • 6 edits
    1 add in trunk/WebKitTools

2010-12-13 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

FlakyTestReporter doesn't understand bots running from multiple email addresses
https://bugs.webkit.org/show_bug.cgi?id=50960

This explains at least one of the dupes of:
https://bugs.webkit.org/show_bug.cgi?id=50863
that we saw filed by the commit-queue this morning.
I think the other one was explained by my previous fix to result counting code.

Since this is really hard to test with a unit test, instead I
create a new (possibly useful in the future) command
which given a layout test path will return you
the one bug which our tools would assume it the flaky test bug.
If some other script wants to use bug-for-test we'll
need to extend it with some options like --create-if-missing or similar.

  • Scripts/webkitpy/common/net/bugzilla/bug.py:
  • Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter.py:
  • Scripts/webkitpy/tool/commands/init.py:
  • Scripts/webkitpy/tool/commands/bugfortest.py: Added.
5:28 PM Changeset in webkit [73990] by demarchi@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-12-13 Alex Bredariol Grilo <abgrilo@profusion.mobi>

Reviewed by Andreas Kling.

Remove adjacent tiles rendering queue.
https://bugs.webkit.org/show_bug.cgi?id=50023

In the current implementation of the tiled backing store, one extra row
and column of tiles are needed to render the entire viewport. These
extra row/col proved to be expensive when being rendered, and were
postponed to a queue that would render them after rendering the other
tiles of the viewport first. This approach complicated unnecessarily
the logics with no gain for keeping the extra row and column. This
change removes this rendering queue, for later removing the extra row
and column of tiles.

  • ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_pre_render_request_add): (_ewk_tiled_backing_store_pre_render_request_flush): (_ewk_tiled_backing_store_pre_render_request_clear): (_ewk_tiled_backing_store_pre_render_request_process_single): (_ewk_tiled_backing_store_item_fill): (_ewk_tiled_backing_store_item_add): (_ewk_tiled_backing_store_item_del): (_ewk_tiled_backing_store_recalc_renderers): (ewk_tiled_backing_store_pre_render_region): (ewk_tiled_backing_store_pre_render_relative_radius): (ewk_tiled_backing_store_pre_render_cancel):
5:08 PM Changeset in webkit [73989] by mrowe@apple.com
  • 2 edits in trunk/WebCore

Remove unnecessary include of Switch module.

Rubber-stamped by Jon Honeycutt.

There are no switch statements in this file.

  • dom/make_names.pl:
5:08 PM Changeset in webkit [73988] by bweinstein@apple.com
  • 2 edits in trunk/WebKit2

Windows Build Fix. Add a needed include.

  • UIProcess/win/WebView.cpp:
4:59 PM Changeset in webkit [73987] by jhoneycutt@apple.com
  • 2 edits in trunk/LayoutTests

Add a failing test to the Windows skipped list.

Rubber-stamped by Steve Falkenburg.

  • platform/win/Skipped:

Added fast/loader/user-stylesheet-fast-path.html.

4:55 PM Changeset in webkit [73986] by weinig@apple.com
  • 20 edits
    2 deletes in trunk/WebKit2

Remove associated page concept from WKView constructor
https://bugs.webkit.org/show_bug.cgi?id=50983

Reviewed by Anders Carlsson.

Step 2: Remove WebPageNamespace. It no longer does anything.

  • Shared/APIObject.h:
  • UIProcess/API/C/WKPage.h:
  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:contextRef:pageGroupRef:]):

  • UIProcess/API/qt/qgraphicswkview.cpp:
  • UIProcess/API/qt/qwkcontext.cpp:

(QWKContext::QWKContext):

  • UIProcess/API/qt/qwkcontext_p.h:
  • UIProcess/API/qt/qwkpage.cpp:

(QWKPagePrivate::QWKPagePrivate):

  • UIProcess/API/qt/qwkpage_p.h:
  • UIProcess/WebContext.cpp:

(WebKit::WebContext::WebContext):
(WebKit::WebContext::~WebContext):
(WebKit::WebContext::createWebPage):

  • UIProcess/WebContext.h:
  • UIProcess/WebPageNamespace.cpp: Removed.
  • UIProcess/WebPageNamespace.h: Removed.
  • UIProcess/WebPageProxy.cpp:
  • UIProcess/WebPageProxy.h:

(WebKit::WebPageProxy::context):

  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::createWebPage):

  • UIProcess/WebProcessProxy.h:
  • UIProcess/win/WebView.cpp:

(WebKit::WebView::WebView):

  • UIProcess/win/WebView.h:
  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
4:55 PM Changeset in webkit [73985] by mihaip@chromium.org
  • 2 edits in trunk/WebKitTools

2010-12-13 Mihai Parparita <mihaip@chromium.org>

Reviewed by James Robinson.

Add option to build-webkit to not build WebKit2
https://bugs.webkit.org/show_bug.cgi?id=50988

Add support for a --no-webkit2 option to build-webkit. It seems to save
~1 minute from clean builds and ~10 seconds from no-op builds.

  • Scripts/build-webkit:
4:24 PM Changeset in webkit [73984] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-13 Emil Eklund <eae@chromium.org>

Reviewed by Dimitri Glazkov.

Change SelectionController::setFocusedNodeIfNeeded to traverse the DOM
tree instead of the render tree.
https://bugs.webkit.org/show_bug.cgi?id=50989

  • editing/SelectionController.cpp: (WebCore::SelectionController::setFocusedNodeIfNeeded): Walk up DOM/hosted tree rather than render tree and remove FIXME comment that does't apply (SelectionController and EventHandler needs different checks).
4:16 PM Changeset in webkit [73983] by Chris Fleizach
  • 11 edits
    2 adds in trunk

AX: aria-invalid should be supported.
https://bugs.webkit.org/show_bug.cgi?id=50573

Reviewed by Beth Dakin.

WebCore:

Test: platform/mac/accessibility/aria-invalid.html

  • accessibility/AXObjectCache.h:
  • accessibility/AccessibilityObject.cpp:

(WebCore::AccessibilityObject::invalidStatus):

  • accessibility/AccessibilityObject.h:
  • accessibility/chromium/AXObjectCacheChromium.cpp

(WebCore::AXObjectCache::postPlatformNotification):

  • accessibility/mac/AXObjectCacheMac.mm:

(WebCore::AXObjectCache::postPlatformNotification):

  • accessibility/mac/AccessibilityObjectWrapper.mm:

(-[AccessibilityObjectWrapper accessibilityAttributeNames]):
(-[AccessibilityObjectWrapper accessibilityAttributeValue:]):

  • dom/Element.cpp:

(WebCore::Element::updateAfterAttributeChanged):

  • html/HTMLAttributeNames.in:

LayoutTests:

  • platform/mac/accessibility/aria-invalid-expected.txt: Added.
  • platform/mac/accessibility/aria-invalid.html: Added.
  • platform/mac/accessibility/radio-button-group-members-expected.txt:
4:15 PM Changeset in webkit [73982] by Stephanie Lewis
  • 1 edit
    13 copies
    3 moves
    96 adds in trunk/WebKitTools

Update iexploder from 1.3.2 to 1.7.2
Move 1.3.2 into its own subdir
Add 1.7.2 into its own subdir
update scripts to point to new 1.3.2 location (avoid breaking existing scripts)

Reviewed by Dave Kilzer.

  • Scripts/run-iexploder-tests:
  • Scripts/update-iexploder-cssproperties:
  • iExploder/CHANGELOG.txt: Removed.
  • iExploder/LICENSE.txt: Removed.
  • iExploder/README.txt: Removed.
  • iExploder/htdocs: Removed.
  • iExploder/iexploder-1.3.2: Added.
  • iExploder/iexploder-1.3.2/CHANGELOG.txt: Copied from iExploder/CHANGELOG.txt.
  • iExploder/iexploder-1.3.2/LICENSE.txt: Copied from iExploder/LICENSE.txt.
  • iExploder/iexploder-1.3.2/README.txt: Copied from iExploder/README.txt.
  • iExploder/iexploder-1.3.2/htdocs: Added.
  • iExploder/iexploder-1.3.2/htdocs/config.rb: Copied from iExploder/htdocs/config.rb.
  • iExploder/iexploder-1.3.2/htdocs/cssproperties.in: Copied from iExploder/htdocs/cssproperties.in.
  • iExploder/iexploder-1.3.2/htdocs/cssvalues.in: Copied from iExploder/htdocs/cssvalues.in.
  • iExploder/iexploder-1.3.2/htdocs/htmlattrs.in: Copied from iExploder/htdocs/htmlattrs.in.
  • iExploder/iexploder-1.3.2/htdocs/htmltags.in: Copied from iExploder/htdocs/htmltags.in.
  • iExploder/iexploder-1.3.2/htdocs/htmlvalues.in: Copied from iExploder/htdocs/htmlvalues.in.
  • iExploder/iexploder-1.3.2/htdocs/iexploder.cgi: Copied from iExploder/htdocs/iexploder.cgi.
  • iExploder/iexploder-1.3.2/htdocs/iexploder.rb: Copied from iExploder/htdocs/iexploder.rb.
  • iExploder/iexploder-1.3.2/htdocs/index.html: Copied from iExploder/htdocs/index.html.
  • iExploder/iexploder-1.3.2/htdocs/webserver.rb: Copied from iExploder/htdocs/webserver.rb.
  • iExploder/iexploder-1.3.2/tools: Added.
  • iExploder/iexploder-1.3.2/tools/lasthit.rb: Copied from iExploder/tools/lasthit.rb.
  • iExploder/iexploder-1.3.2/tools/osx_last_crash.rb: Copied from iExploder/tools/osx_last_crash.rb.
  • iExploder/iexploder-1.3.2/tools/showtest.rb: Copied from iExploder/tools/showtest.rb.
  • iExploder/iexploder-1.7.2: Added.
  • iExploder/iexploder-1.7.2/ChangeLog.txt: Added.
  • iExploder/iexploder-1.7.2/LICENSE.txt: Added.
  • iExploder/iexploder-1.7.2/README.txt: Added.
  • iExploder/iexploder-1.7.2/output: Added.
  • iExploder/iexploder-1.7.2/src: Added.
  • iExploder/iexploder-1.7.2/src/browser_harness.rb: Added.
  • iExploder/iexploder-1.7.2/src/config.yaml: Added.
  • iExploder/iexploder-1.7.2/src/css-atrules: Added.
  • iExploder/iexploder-1.7.2/src/css-atrules/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/css-atrules/webkit: Added.
  • iExploder/iexploder-1.7.2/src/css-properties: Added.
  • iExploder/iexploder-1.7.2/src/css-properties/dillo: Added.
  • iExploder/iexploder-1.7.2/src/css-properties/gtkhtml: Added.
  • iExploder/iexploder-1.7.2/src/css-properties/internet_explorer6: Added.
  • iExploder/iexploder-1.7.2/src/css-properties/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/css-properties/webkit: Added.
  • iExploder/iexploder-1.7.2/src/css-pseudo: Added.
  • iExploder/iexploder-1.7.2/src/css-pseudo/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/css-pseudo/webkit: Added.
  • iExploder/iexploder-1.7.2/src/css-values: Added.
  • iExploder/iexploder-1.7.2/src/css-values/dillo: Added.
  • iExploder/iexploder-1.7.2/src/css-values/gtkhtml: Added.
  • iExploder/iexploder-1.7.2/src/css-values/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/css-values/other: Added.
  • iExploder/iexploder-1.7.2/src/css-values/webkit: Added.
  • iExploder/iexploder-1.7.2/src/headers: Added.
  • iExploder/iexploder-1.7.2/src/headers/dillo: Added.
  • iExploder/iexploder-1.7.2/src/headers/gtkhtml: Added.
  • iExploder/iexploder-1.7.2/src/headers/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/headers/webkit: Added.
  • iExploder/iexploder-1.7.2/src/html-attrs: Added.
  • iExploder/iexploder-1.7.2/src/html-attrs/dillo: Added.
  • iExploder/iexploder-1.7.2/src/html-attrs/gtkhtml: Added.
  • iExploder/iexploder-1.7.2/src/html-attrs/internet_explorer6: Added.
  • iExploder/iexploder-1.7.2/src/html-attrs/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/html-attrs/other: Added.
  • iExploder/iexploder-1.7.2/src/html-attrs/webkit: Added.
  • iExploder/iexploder-1.7.2/src/html-tags: Added.
  • iExploder/iexploder-1.7.2/src/html-tags/dillo: Added.
  • iExploder/iexploder-1.7.2/src/html-tags/gtkhtml: Added.
  • iExploder/iexploder-1.7.2/src/html-tags/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/html-tags/other: Added.
  • iExploder/iexploder-1.7.2/src/html-tags/webkit: Added.
  • iExploder/iexploder-1.7.2/src/html-values: Added.
  • iExploder/iexploder-1.7.2/src/html-values/dillo: Added.
  • iExploder/iexploder-1.7.2/src/html-values/gtkhtml: Added.
  • iExploder/iexploder-1.7.2/src/html-values/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/html-values/other: Added.
  • iExploder/iexploder-1.7.2/src/html-values/webkit: Added.
  • iExploder/iexploder-1.7.2/src/iexploder.cgi: Added.
  • iExploder/iexploder-1.7.2/src/iexploder.rb: Added.
  • iExploder/iexploder-1.7.2/src/index.html: Added.
  • iExploder/iexploder-1.7.2/src/media: Added.
  • iExploder/iexploder-1.7.2/src/media/blank.ogg: Added.
  • iExploder/iexploder-1.7.2/src/media/blank.snd: Added.
  • iExploder/iexploder-1.7.2/src/media/blank.wav: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.bmp: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.gif: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.ico: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.jng: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.jpg: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.png: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.svg: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.tiff: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.xbm: Added.
  • iExploder/iexploder-1.7.2/src/media/bug.xpm: Added.
  • iExploder/iexploder-1.7.2/src/mime-types: Added.
  • iExploder/iexploder-1.7.2/src/mime-types/dillo: Added.
  • iExploder/iexploder-1.7.2/src/mime-types/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/mime-types/webkit: Added.
  • iExploder/iexploder-1.7.2/src/protocols: Added.
  • iExploder/iexploder-1.7.2/src/protocols/dillo: Added.
  • iExploder/iexploder-1.7.2/src/protocols/gtkhtml: Added.
  • iExploder/iexploder-1.7.2/src/protocols/mozilla: Added.
  • iExploder/iexploder-1.7.2/src/protocols/webkit: Added.
  • iExploder/iexploder-1.7.2/src/scanner.rb: Added.
  • iExploder/iexploder-1.7.2/src/version.rb: Added.
  • iExploder/iexploder-1.7.2/src/webserver.rb: Added.
  • iExploder/iexploder-1.7.2/testcases: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-Linux_x86_64_rv2.0b6pre_Gecko-20100904_Firefox-4.0b6pre-TEST-8375-1_59.html: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-Opera-9.80_Linux_x86_64_en_Presto-2.6.30_Version-10.61-16704-3_108,3.html: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_Chrome-7.0.529.0-TEST-611-3_36,9.html: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-U_Intel_Mac_OS_X_10_6_4_en-US_AppleWebKit-534.8_hrome-7.0.529.0-TEST-55313622206-3_6,0.html: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-120813-8_72,56,24,8,0.html: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.6_Chrome-7.0.503.1-TEST-121240-3_81,3.html: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-4800-5_80,65,15.html: Added.
  • iExploder/iexploder-1.7.2/testcases/testcase-U_Linux_x86_64_en-US_AppleWebKit-534.7_Chrome-7.0.513.0-TEST-23583190347-3_15,12.html: Added.
  • iExploder/iexploder-1.7.2/tools: Added.
  • iExploder/iexploder-1.7.2/tools/lasthit.rb: Added.
  • iExploder/iexploder-1.7.2/tools/osx_last_crash.rb: Added.
  • iExploder/iexploder-1.7.2/tools/release_src.sh: Added.
  • iExploder/iexploder-1.7.2/tools/update_html_tags_from_sources.sh: Added.
  • iExploder/tools: Removed.
4:02 PM Changeset in webkit [73981] by cwzwarich@webkit.org
  • 2 edits in trunk/JavaScriptCore

Reviewed by Gavin Barraclough.

JavaScriptCore should not use "asm volatile" outside of a function
https://bugs.webkit.org/show_bug.cgi?id=50991

  • jit/JITStubs.cpp: Remove the volatile keyword from asm statements.
4:01 PM Changeset in webkit [73980] by sfalken@apple.com
  • 2 edits in tags/Safari-534.14.3/JavaScriptCore

Merge r73967.

3:58 PM Changeset in webkit [73979] by sfalken@apple.com
  • 5 edits in tags/Safari-534.14.3

Versioning.

3:39 PM Changeset in webkit [73978] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Fix windows build.

  • UIProcess/win/WebView.h:
3:39 PM Changeset in webkit [73977] by weinig@apple.com
  • 3 edits in trunk/WebKit2

Fix windows build.

  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::platformCreateInspectorPage):

  • UIProcess/win/WebView.h:

(WebKit::WebView::create):

3:23 PM Changeset in webkit [73976] by weinig@apple.com
  • 19 edits in trunk

Remove associated page concept from WKView constructor
https://bugs.webkit.org/show_bug.cgi?id=50983

Reviewed by Anders Carlsson.

Step 1: Remove associate page constructors from WKView and make
all views use the shared namespace for the context.

WebKit2:

  • UIProcess/API/C/win/WKView.cpp:
  • UIProcess/API/C/win/WKView.h:
  • UIProcess/API/mac/WKView.h:
  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:contextRef:pageGroupRef:]):

  • UIProcess/API/qt/qwkcontext.cpp:
  • UIProcess/API/qt/qwkcontext.h:
  • UIProcess/mac/WebInspectorProxyMac.mm:

(WebKit::WebInspectorProxy::platformCreateInspectorPage):

  • UIProcess/win/WebView.cpp:

(WebKit::WebView::WebView):

  • UIProcess/win/WebView.h:

(WebKit::WebView::create):

WebKitTools:

  • TestWebKitAPI/PlatformWebView.h:
  • TestWebKitAPI/mac/PlatformWebViewMac.mm:
  • TestWebKitAPI/win/PlatformWebViewWin.cpp:
  • WebKitTestRunner/PlatformWebView.h:
  • WebKitTestRunner/TestController.cpp:

(WTR::createOtherPage):

  • WebKitTestRunner/mac/PlatformWebViewMac.mm:
  • WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  • WebKitTestRunner/win/PlatformWebViewWin.cpp:
3:20 PM Changeset in webkit [73975] by commit-queue@webkit.org
  • 3 edits in trunk/WebCore

2010-12-13 Joone Hur <joone@kldp.org>

Reviewed by Eric Seidel.

WebKit fails to compile when building with WML support enabled
https://bugs.webkit.org/show_bug.cgi?id=42943

Use TextPosition instead of lineNumber() and columNumber().

No new tests are added, because this is just a build fix.

  • dom/XMLDocumentParser.h: Make lineNumber() private.
  • wml/WMLErrorHandling.cpp: (WebCore::reportWMLError): Use TextPosition instead of lineNumber() and columnNumber().
3:19 PM Changeset in webkit [73974] by andersca@apple.com
  • 2 edits in trunk/WebKit2

Fix build.

  • UIProcess/WebPageProxy.h:
3:06 PM Changeset in webkit [73973] by Chris Fleizach
  • 2 edits in trunk

AX: lists and list boxes need different attributes
https://bugs.webkit.org/show_bug.cgi?id=50978

Reviewed by Beth Dakin.

WebCore:

Separate out the attributes being returned for lists (<ul>) and listboxes (<select multiple>).

  • accessibility/mac/AccessibilityObjectWrapper.mm:

(-[AccessibilityObjectWrapper accessibilityAttributeNames]):

LayoutTests:

  • platform/mac/accessibility/lists-expected.txt:
3:05 PM Changeset in webkit [73972] by hyatt@apple.com
  • 3 edits in trunk/WebCore

https://bugs.webkit.org/show_bug.cgi?id=50963

Reviewed by Sam Weinig.

REGRESSION: Scrolling nested iframes is messed up on platforms that use the cross-platform ScrollView.

The selfClipRect and childrenClipRect methods of RenderLayer were incorrectly relying on the bounding box
of the root layer. This bounding box was only coincidentally incorporating overflow as part of the
RenderLayer's bounds. Since I fixed the RenderLayer bounds to not include layout overflow any longer,
this check is now exposed as incorrect. Use the entire document size when computing layer clip
rects.

  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::childrenClipRect):
(WebCore::RenderLayer::selfClipRect):

  • rendering/RenderView.h:

(WebCore::RenderView::documentRect):

3:05 PM Changeset in webkit [73971] by Chris Fleizach
  • 2 edits in trunk

2010-12-13 Chris Fleizach <Chris Fleizach>

Reviewed by Beth Dakin.

AX: lists and list boxes need different attributes
https://bugs.webkit.org/show_bug.cgi?id=50978

Separate out the attributes being returned for lists (<ul>) and listboxes (<select multiple>).

  • accessibility/mac/AccessibilityObjectWrapper.mm: (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
3:02 PM Changeset in webkit [73970] by bweinstein@apple.com
  • 4 edits in trunk/WebKit2

WebKit2: Leaks a WebView when opening/closing Web Inspector on Windows
https://bugs.webkit.org/show_bug.cgi?id=50975
<rdar://problem/8763501>

Reviewed by Adam Roben.

Make m_inspectorView be a RefPtr<WebView>, instead of a WebView*.

  • UIProcess/WebInspectorProxy.cpp:

(WebKit::WebInspectorProxy::WebInspectorProxy): If we are on Windows, include WebView.h.

  • UIProcess/WebInspectorProxy.h: Change the type of m_inspectorView to a RefPtr<WebView>.
  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::platformCreateInspectorPage): Remove the call to leakRef when creating the WebView.

3:02 PM Changeset in webkit [73969] by sfalken@apple.com
  • 1 copy in tags/Safari-534.14.3

New tag.

3:01 PM Changeset in webkit [73968] by andersca@apple.com
  • 12 edits in trunk/WebKit2

Pass the complex text input state all the way to the UI process
https://bugs.webkit.org/show_bug.cgi?id=50980

Reviewed by Darin Adler.

  • PluginProcess/PluginControllerProxy.cpp:

(WebKit::PluginControllerProxy::setComplexTextInputEnabled):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::setComplexTextInputEnabled):

  • UIProcess/WebPageProxy.h:
  • UIProcess/WebPageProxy.messages.in:
  • WebProcess/Plugins/Netscape/NetscapePlugin.h:
  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::NetscapePlugin::pluginComplexTextInputIdentifier):

  • WebProcess/Plugins/Plugin.h:
  • WebProcess/Plugins/PluginProxy.cpp:

(WebKit::PluginProxy::pluginComplexTextInputIdentifier):
(WebKit::PluginProxy::setComplexTextInputEnabled):

  • WebProcess/Plugins/PluginProxy.h:
  • WebProcess/Plugins/PluginProxy.messages.in:
  • WebProcess/Plugins/PluginView.cpp:

(WebKit::PluginView::setComplexTextInputEnabled):

3:01 PM Changeset in webkit [73967] by sfalken@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows production build fix.
Try copying ICU 4.6 in addition to 4.4 and 4.2.

2:50 PM Changeset in webkit [73966] by jianli@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed. Updated chromium test expectations.

  • platform/chromium/test_expectations.txt:
2:38 PM Changeset in webkit [73965] by weinig@apple.com
  • 54 edits
    2 deletes in trunk

Change the WebKit2 public API so there is no explicit WKPageNamespace object
https://bugs.webkit.org/show_bug.cgi?id=50898

Reviewed by Anders Carlsson.

WebKit2:

  • Shared/API/c/WKBase.h: Remove definition of WKPageNamespaceRef.
  • UIProcess/API/C/WKAPICast.h: Remove toAPI/toImpl for WKPageNamespaceRef.
  • UIProcess/API/C/WKPage.cpp:
  • UIProcess/API/C/WKPage.h:

Replace WKPageGetPageNamespace with WKPageGetContext.

  • UIProcess/API/C/WKPageNamespace.cpp: Removed.
  • UIProcess/API/C/WKPageNamespace.h: Removed.
  • UIProcess/API/C/WebKit2.h: Remove #include of WKPageNamespace.h.
  • UIProcess/API/C/win/WKView.cpp:

(WKViewCreate): Changed to take a WKContextRef instead of a WKPageNamespaceRef.
(WKViewCreateUsingSharedProcess): Added. Similar to WKViewCreate except that
all callers of it will have their views end up in the same shared process, whereas
with WKViewCreate, a new internal page namespace will be created and could place
the view's WebPage into a new process.
(WKViewCreateForAssociatedPage): Added. Creates a view that is forced to use the
same process as the passed in page.

  • UIProcess/win/WebView.cpp:

(WebKit::WebView::WebView):
(WebKit::WebView::initialize):

  • UIProcess/win/WebView.h:

(WebKit::WebView::create):
(WebKit::WebView::createUsingSharedProcess):
(WebKit::WebView::createForAssociatedPage):
Implementation of the WKView create functions.

  • UIProcess/API/C/win/WKView.h:
  • UIProcess/API/mac/WKView.h:
  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:]):
(-[WKView initWithFrame:contextRef:]):
(-[WKView initWithFrame:contextRef:pageGroupRef:]):
(-[WKView initWithFrame:contextRef:usingSharedProcess:]):
(-[WKView initWithFrame:contextRef:pageGroupRef:usingSharedProcess:]):
(-[WKView initWithFrame:forAssociatedPageRef:]):
(-[WKView initWithFrame:forAssociatedPageRef:pageGroupRef:]):
(-[WKView initWithFrame:pageNamespace:pageGroup:]):
Add new initializers for the objective-c WKView. It follows the same
pattern as WKViewRef.

  • UIProcess/API/qt/qwkcontext.cpp:

(QWKContext::QWKContext):

  • UIProcess/API/qt/qwkcontext.h:

Remove uses of WKPageNamespaceRef.

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::sharedPageNamespace): Returns a shared
page namespace used by the view's createUsingSharedProcess constructions.
(WebKit::WebContext::createPageNamespace): Change to return
a PassRefPtr to make things clearer.
(WebKit::WebContext::pageNamespaceWasDestroyed): Clear the shared
namespace if it is cleared.

  • UIProcess/WebContext.h:
  • UIProcess/WebPageNamespace.h: Remove unused "struct WKContextStatistics".
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::context):

  • UIProcess/WebPageProxy.h:

Add context getter.

  • UIProcess/mac/WebInspectorProxyMac.mm:

(WebKit::WebInspectorProxy::platformCreateInspectorPage):

  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::platformCreateInspectorPage):
Use forAssociatedPageRef constructor for the WebInspector view.

  • WebKit2.pro:
  • WebKit2.xcodeproj/project.pbxproj:
  • win/WebKit2.vcproj:
  • win/WebKit2Generated.make:

Remove WKPageNamespace.h/cpp.

WebKitTools:

  • MiniBrowser/mac/AppDelegate.h:
  • MiniBrowser/mac/AppDelegate.m:
  • MiniBrowser/mac/BrowserWindowController.h:
  • MiniBrowser/mac/BrowserWindowController.m:
  • MiniBrowser/win/BrowserView.cpp:

Convert MiniBrowser to not use PageNamespaces.

  • TestWebKitAPI/PlatformWebView.h:
  • TestWebKitAPI/Tests/WebKit2/DocumentStartUserScriptAlertCrash.cpp:
  • TestWebKitAPI/Tests/WebKit2/EvaluateJavaScript.cpp:
  • TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
  • TestWebKitAPI/Tests/WebKit2/Find.cpp:
  • TestWebKitAPI/Tests/WebKit2/FrameMIMETypeHTML.cpp:
  • TestWebKitAPI/Tests/WebKit2/FrameMIMETypePNG.cpp:
  • TestWebKitAPI/Tests/WebKit2/InjectedBundleBasic.cpp:
  • TestWebKitAPI/Tests/WebKit2/PageLoadBasic.cpp:
  • TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
  • TestWebKitAPI/Tests/WebKit2/PreventEmptyUserAgent.cpp:
  • TestWebKitAPI/Tests/WebKit2/SpacebarScrolling.cpp:
  • TestWebKitAPI/Tests/WebKit2/win/AltKeyGeneratesWMSysCommand.cpp:
  • TestWebKitAPI/Tests/WebKit2/win/WMCloseCallsUIClientClose.cpp:
  • TestWebKitAPI/mac/PlatformWebViewMac.mm:
  • TestWebKitAPI/win/PlatformWebViewWin.cpp:

Convert TestWebKitAPI to not use PageNamespaces.

  • WebKitTestRunner/PlatformWebView.h:
  • WebKitTestRunner/TestController.cpp:
  • WebKitTestRunner/TestController.h:
  • WebKitTestRunner/mac/PlatformWebViewMac.mm:
  • WebKitTestRunner/qt/PlatformWebViewQt.cpp:
  • WebKitTestRunner/win/PlatformWebViewWin.cpp:

Convert WebKitTestRunner to not use PageNamespaces.

2:34 PM Changeset in webkit [73964] by Simon Fraser
  • 2 edits in trunk/WebCore

2010-12-13 Simon Fraser <Simon Fraser>

GraphicsContextPrivate.h was removed. Nuke it from the project.

  • WebCore.xcodeproj/project.pbxproj:
2:32 PM DetectingWebKit edited by arthur5005@gmail.com
http://developer.apple.com/internet/safari/uamatrix.html no longer … (diff)
2:29 PM Changeset in webkit [73963] by bfulgham@webkit.org
  • 2 edits in trunk/WebKit2

Unreviewed build fix.

  • UIProcess/win/WebInspectorProxyWin.cpp: Non-Apple builds

need to include <wtf/RetainPtr.h>.

2:19 PM Changeset in webkit [73962] by msaboff@apple.com
  • 5 edits in trunk

2010-12-13 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

REGRESSION: mobileme mail viewing is broken
https://bugs.webkit.org/show_bug.cgi?id=50884

Fixed problem where simple parenthesis (those without capture and
with a fixed count) where not propagating backtrack to labels for
nested parentheses. Also added the nesting level for the parentheses
state created in that case as well.

  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::BacktrackDestination::copyBacktrackToLabel): (JSC::Yarr::RegexGenerator::TermGenerationState::isLastTerm): (JSC::Yarr::RegexGenerator::ParenthesesTail::generateCode): (JSC::Yarr::RegexGenerator::generateParenthesesSingle):

2010-12-13 Michael Saboff <msaboff@apple.com>

Reviewed by Oliver Hunt.

REGRESSION: mobileme mail viewing is broken
https://bugs.webkit.org/show_bug.cgi?id=50884

Added a test to check parentheses nesting within parentheses that
don't capture and that are fixed count. There is special handling
for this case in the RegExp JIT code.

  • fast/regex/parentheses-expected.txt:
  • fast/regex/script-tests/parentheses.js:
2:15 PM Changeset in webkit [73961] by Chris Fleizach
  • 3 edits in trunk/LayoutTests

2010-12-13 Chris Fleizach <Chris Fleizach>

Reviewed by Beth Dakin.

Fix legend.htm accessibility test so it doesn't dump all attributes
https://bugs.webkit.org/show_bug.cgi?id=50957

  • accessibility/legend.html:
  • platform/mac/accessibility/legend-expected.txt:
2:08 PM Changeset in webkit [73960] by commit-queue@webkit.org
  • 10 edits
    1 copy in trunk/LayoutTests

2010-12-13 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73922.
http://trac.webkit.org/changeset/73922
https://bugs.webkit.org/show_bug.cgi?id=50964

Remove rebaseline results due to that 73914 has been rolled
out (Requested by jianli on #webkit).

  • platform/chromium-linux/http/tests/security/xss-DENIED-frame-name-expected.txt: Copied from LayoutTests/platform/chromium-win/http/tests/security/xss-DENIED-frame-name-expected.txt.
  • platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
  • platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
  • platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
  • platform/chromium-mac/http/tests/security/xss-DENIED-frame-name-expected.txt:
  • platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
  • platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
  • platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
  • platform/chromium-win/http/tests/security/xss-DENIED-frame-name-expected.txt:
  • platform/chromium/test_expectations.txt:
2:03 PM Changeset in webkit [73959] by jhoneycutt@apple.com
  • 1 edit
    2 deletes in trunk/LayoutTests

Remove some empty files that should've been removed as part of r73942.

Reviewed by Ojan Vafai.

  • editing/selection/extend-to-line-boundary-expected.txt: Removed.
  • editing/selection/extend-to-line-boundary.html: Removed.
2:00 PM Changeset in webkit [73958] by bfulgham@webkit.org
  • 2 edits
    2 adds in trunk/WebKit2

Unreviewed build fix after r73807.

Added stub implementation of Download object.

  • WebProcess/Downloads/curl: Added.
  • WebProcess/Downloads/curl/DownloadCurl.cpp: Added.

(WebKit::Download::start):
(WebKit::Download::startWithHandle):
(WebKit::Download::cancel):
(WebKit::Download::platformInvalidate):

  • win/WebKit2.vcproj: Exclude DownloadCFNet for Cairo builds,

added DownloadCurl (excluded for regular Apple builds.)

1:57 PM Changeset in webkit [73957] by eric.carlson@apple.com
  • 2 edits in trunk/WebCore

2010-12-13 Eric Carlson <eric.carlson@apple.com>

Reviewed by Antti Koivisto.

HTMLMediaElement::endedPlayback should not return true if duration is zero
https://bugs.webkit.org/show_bug.cgi?id=50962

(WebCore::HTMLMediaElement::endedPlayback): Don't return true when duration is zero because a
media file can't play if it has no duration, therefore it can't have ended playback.

1:53 PM Changeset in webkit [73956] by andersca@apple.com
  • 9 edits in trunk/WebKit2

Add the ability for plug-ins to toggle complex text input
https://bugs.webkit.org/show_bug.cgi?id=50966

Reviewed by Sam Weinig.

  • PluginProcess/PluginControllerProxy.cpp:

(WebKit::PluginControllerProxy::PluginControllerProxy):
Initialize m_isComplexTextInputEnabled.

(WebKit::PluginControllerProxy::setComplexTextInputEnabled):
Update m_isComplexTextInputEnabled.

  • PluginProcess/PluginControllerProxy.h:
  • WebProcess/Plugins/Netscape/NetscapePlugin.cpp:

(WebKit::NetscapePlugin::NetscapePlugin):
Initialize m_pluginHasFocus and m_windowHasFocus.

  • WebProcess/Plugins/Netscape/NetscapePlugin.h:

(WebKit::NetscapePlugin::isWindowActive):
Return m_windowHasFocus.

  • WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:

(WebKit::NetscapePlugin::platformSetFocus):
Update m_pluginHasFocus and call setComplexTextInputEnabled.

(WebKit::NetscapePlugin::windowFocusChanged):
Update m_windowHasFocus and call setComplexTextInputEnabled.

  • WebProcess/Plugins/PluginController.h:

Add setComplexTextInputEnabled.

  • WebProcess/Plugins/PluginView.cpp:

(WebKit::PluginView::setComplexTextInputEnabled):

  • WebProcess/Plugins/PluginView.h:

Add setComplexTextInputEnabled

1:25 PM Changeset in webkit [73955] by bfulgham@webkit.org
  • 2 edits in trunk/WebCore

Unreviewed build fix after r73840.

  • WebCore.vcproj/WebCoreGeneratedCairo.vsprops: Update property file

to pass three arguments to build-generated-files.sh, just like
the official Apple port.

1:21 PM Changeset in webkit [73954] by Antti Koivisto
  • 2 edits in trunk/LayoutTests

Unreviewed.

Adding

http/tests/local/link-stylesheet-load-order.html
http/tests/local/link-stylesheet-load-order-preload.html

to the Gtk skip list.

  • platform/gtk/Skipped:
1:11 PM Changeset in webkit [73953] by mthole@apple.com
  • 3 edits in trunk/WebKit/mac

https://bugs.webkit.org/show_bug.cgi?id=50956
WebAuthenticationPanel.nib appears to have a cut-off sentence

Rubber-stamped by John Sullivan.

Replace the sentence fragment in the sheet layout with "<-- do not localize -->" style text.
The contents of this text field are updated dynamically before the sheet is displayed.

  • Panels/English.lproj/WebAuthenticationPanel.nib/designable.nib:
  • Panels/English.lproj/WebAuthenticationPanel.nib/keyedobjects.nib:
12:54 PM Changeset in webkit [73952] by hyatt@apple.com
  • 4 edits in trunk

WebCore: Make sure the defaultSpaceEventHandler does logical scrolling.

Reviewed by Adam Roben.

  • page/EventHandler.cpp:

(WebCore::EventHandler::defaultSpaceEventHandler):

WebKit2: Remove the space behavior that I added. It's covered in EventHandler in WebCore
already for Windows.

Reviewed by Adam Roben.

  • WebProcess/WebPage/win/WebPageWin.cpp:

(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

12:41 PM Changeset in webkit [73951] by commit-queue@webkit.org
  • 10 edits in trunk/WebKitTools

2010-12-13 Gabor Rapcsanyi <rgabor@inf.u-szeged.hu>

Reviewed by Eric Seidel.

webkit-patch rollout should be able to do multi-revision rollouts
https://bugs.webkit.org/show_bug.cgi?id=33336

Make it possible to pass more than one revision to webkit-patch.

  • Scripts/webkitpy/common/checkout/api.py:
  • Scripts/webkitpy/common/checkout/changelog.py:
  • Scripts/webkitpy/common/checkout/changelog_unittest.py:
  • Scripts/webkitpy/tool/commands/abstractsequencedcommand.py:
  • Scripts/webkitpy/tool/commands/download.py:
  • Scripts/webkitpy/tool/commands/download_unittest.py:
  • Scripts/webkitpy/tool/mocktool.py:
  • Scripts/webkitpy/tool/steps/preparechangelogforrevert.py:
  • Scripts/webkitpy/tool/steps/revertrevision.py:
12:36 PM Changeset in webkit [73950] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2010-12-13 Eric Seidel <eric@webkit.org>

Unreviewed.

Teach webkit-patch how to search bugzilla
https://bugs.webkit.org/show_bug.cgi?id=50500

webkit-patch bug-search fails when there is only one result.
Turns out we needed a bit more logic in our result count parsing code.

  • Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  • Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
12:35 PM Changeset in webkit [73949] by mdelaney@apple.com
  • 11 edits in trunk/WebCore

2010-12-13 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

https://bugs.webkit.org/show_bug.cgi?id=50591 Adopt new CG API for canvas

No new tests necessary.

  • Configurations/WebCore.xcconfig: Added IOSurface framework link.
  • html/canvas/CanvasRenderingContext2D.cpp: Used IOSurface def. instead.
  • platform/graphics/ImageBuffer.h: Pushed renderingMode down into ctor.
  • platform/graphics/cairo/ImageBufferCairo.cpp:
  • platform/graphics/cg/ImageBufferCG.cpp:
  • platform/graphics/haiku/ImageBufferHaiku.cpp:
  • platform/graphics/qt/ImageBufferQt.cpp:
  • platform/graphics/skia/ImageBufferSkia.cpp:
  • platform/graphics/wince/ImageBufferWinCE.cpp:
  • platform/graphics/wx/ImageBufferWx.cpp:
12:30 PM Changeset in webkit [73948] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 3.0/WebKit

WebKit release tag for Safari 3.0.

12:30 PM Changeset in webkit [73947] by Antti Koivisto
  • 3 edits in trunk/LayoutTests

Unreviewed.

Adding

http/tests/local/link-stylesheet-load-order.html
http/tests/local/link-stylesheet-load-order-preload.html

to Mac WebKit2 and Qt skip lists.

  • platform/mac-wk2/Skipped:
  • platform/qt/Skipped:
12:30 PM Changeset in webkit [73946] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 3.0/WebCore

WebCore release tag for Safari 3.0.

12:30 PM Changeset in webkit [73945] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 3.0/JavaScriptGlue

JavaScriptGlue release tag for Safari 3.0.

12:29 PM Changeset in webkit [73944] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 3.0/JavaScriptCore

JavaScriptCore release tag for Safari 3.0.

12:29 PM Changeset in webkit [73943] by timothy@apple.com
  • 1 add in releases/Apple/Safari 3.0

Safari 3.0 release tag.

12:20 PM Changeset in webkit [73942] by jianli@chromium.org
  • 5 edits in trunk

Unreviewed, rolling out r73923.
http://trac.webkit.org/changeset/73923
https://bugs.webkit.org/show_bug.cgi?id=50944

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2010-12-13
Broke editing/selection/extend-selection-home-end.html on non-
mac platforms. Looks like a real bug. (Requested by ojan on

WebCore:

  • editing/SelectionController.cpp:

(WebCore::SelectionController::positionForPlatform):
(WebCore::SelectionController::modifyExtendingForward):

LayoutTests:

  • editing/selection/extend-to-line-boundary-expected.txt: Removed.
  • editing/selection/extend-to-line-boundary.html: Removed.
12:14 PM Changeset in webkit [73941] by hyatt@apple.com
  • 20 edits in trunk

WebCore: https://bugs.webkit.org/show_bug.cgi?id=48545, Home/End, PageUp/PageDwn should respect writing-mode.

Reviewed by Sam Weinig.

Add logical scrolling to WebCore. It basically mirrors physical scrolling but works in abstract logical
directions and only converts to physical when it's time to attempt the scroll.

Also fixed bugs in scrollRecursively and logicalScrollRecursively where overflow sections in containing
frames got skipped over.

Made the resetting of the inline axis scroll position on Home/End Mac-specific for overflow sections.

  • WebCore.exp.in:
  • page/EventHandler.cpp:

(WebCore::EventHandler::logicalScrollOverflow):
(WebCore::EventHandler::scrollRecursively):
(WebCore::EventHandler::logicalScrollRecursively):

  • page/EventHandler.h:
  • page/FrameView.cpp:

(WebCore::FrameView::isVerticalDocument):
(WebCore::FrameView::isFlippedDocument):

  • page/FrameView.h:
  • platform/ScrollTypes.h:

(WebCore::logicalToPhysical):

  • platform/ScrollView.cpp:

(WebCore::ScrollView::scroll):
(WebCore::ScrollView::logicalScroll):

  • platform/ScrollView.h:

(WebCore::ScrollView::isVerticalDocument):
(WebCore::ScrollView::isFlippedDocument):

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::logicalScroll):

  • rendering/RenderBox.h:
  • rendering/RenderLayer.cpp:

(WebCore::RenderLayer::scroll):

  • rendering/RenderListBox.cpp:

(WebCore::RenderListBox::logicalScroll):

  • rendering/RenderListBox.h:
  • rendering/RenderTextControlSingleLine.cpp:

(WebCore::RenderTextControlSingleLine::logicalScroll):

  • rendering/RenderTextControlSingleLine.h:

WebKit2: https://bugs.webkit.org/show_bug.cgi?id=48545, Home/End, PageUp/PageDwn should respect writing-mode. Use
logical scrolling instead of physical scrolling for those keys in WebKit2.

Reviewed by Sam Weinig.

  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::logicalScroll):
(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

  • WebProcess/WebPage/qt/WebPageQt.cpp:

(WebKit::logicalScroll):
(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

  • WebProcess/WebPage/win/WebPageWin.cpp:

(WebKit::logicalScroll):
(WebKit::WebPage::performDefaultBehaviorForKeyEvent):

11:56 AM Changeset in webkit [73940] by commit-queue@webkit.org
  • 6 edits in trunk/WebKit/chromium

2010-12-13 David Holloway <dhollowa@chromium.org>

Reviewed by Eric Seidel.

[chromium] Removes deprecated logic following the consolidation of AutoFill and
Autocomplete popup menu handling (https://bugs.webkit.org/show_bug.cgi?id=41236).
Filling of the form fields is now handled completely on the Chromium side, for
both AutoFill and Autocomplete.

https://bugs.webkit.org/show_bug.cgi?id=41822

  • public/WebView.h:
  • src/AutoFillPopupMenuClient.cpp: (WebKit::AutoFillPopupMenuClient::AutoFillPopupMenuClient): (WebKit::AutoFillPopupMenuClient::valueChanged):
  • src/AutoFillPopupMenuClient.h:
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::applyAutoFillSuggestions):
  • src/WebViewImpl.h:
11:54 AM Changeset in webkit [73939] by yurys@chromium.org
  • 39 edits
    2 moves
    46 deletes in trunk

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.

REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
https://bugs.webkit.org/show_bug.cgi?id=50950

  • fast/events/resources/window-onerror.js: Removed.
  • fast/events/window-onerror1-expected.txt: Removed.
  • fast/events/window-onerror1.html: Removed.
  • fast/events/window-onerror10-expected.txt: Removed.
  • fast/events/window-onerror10.html: Removed.
  • fast/events/window-onerror11-expected.txt: Removed.
  • fast/events/window-onerror11.html: Removed.
  • fast/events/window-onerror2-expected.txt: Removed.
  • fast/events/window-onerror2.html: Removed.
  • fast/events/window-onerror3-expected.txt: Removed.
  • fast/events/window-onerror3.html: Removed.
  • fast/events/window-onerror4-expected.txt: Removed.
  • fast/events/window-onerror4.html: Removed.
  • fast/events/window-onerror5-expected.txt: Removed.
  • fast/events/window-onerror5.html: Removed.
  • fast/events/window-onerror6-expected.txt: Removed.
  • fast/events/window-onerror6.html: Removed.
  • fast/events/window-onerror7-expected.txt: Removed.
  • fast/events/window-onerror7.html: Removed.
  • fast/events/window-onerror8-expected.txt: Removed.
  • fast/events/window-onerror8.html: Removed.
  • fast/events/window-onerror9-expected.txt: Removed.
  • fast/events/window-onerror9.html: Removed.
  • fast/workers/worker-script-error-expected.txt:
  • http/tests/security/resources/onerror-iframe.html: Removed.
  • http/tests/security/window-onerror-exception-in-iframe-expected.txt: Removed.
  • http/tests/security/window-onerror-exception-in-iframe.html: Removed.
  • platform/chromium-win/fast/workers/worker-script-error-expected.txt:
  • platform/chromium/fast/events/window-onerror1-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror10-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror11-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror2-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror3-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror4-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror5-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror6-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror7-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror8-expected.txt: Removed.
  • platform/chromium/fast/events/window-onerror9-expected.txt: Removed.
  • platform/chromium/http/tests/security/window-onerror-exception-in-iframe-expected.txt: Removed.
  • platform/chromium/userscripts/window-onerror-for-isolated-world-1-expected.txt: Removed.
  • platform/chromium/userscripts/window-onerror-for-isolated-world-2-expected.txt: Removed.
  • platform/gtk/Skipped:
  • userscripts/window-onerror-for-isolated-world-1-expected.txt: Removed.
  • userscripts/window-onerror-for-isolated-world-1.html: Removed.
  • userscripts/window-onerror-for-isolated-world-2-expected.txt: Removed.
  • userscripts/window-onerror-for-isolated-world-2.html: Removed.

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.

REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
https://bugs.webkit.org/show_bug.cgi?id=50950

  • Android.jscbindings.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.order:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSBindingsAllInOne.cpp:
  • bindings/js/JSDOMBinding.cpp: (WebCore::reportException):
  • bindings/js/JSWorkerContextErrorHandler.cpp: Renamed from WebCore/bindings/js/JSErrorHandler.cpp. (WebCore::JSWorkerContextErrorHandler::JSWorkerContextErrorHandler): (WebCore::JSWorkerContextErrorHandler::~JSWorkerContextErrorHandler): (WebCore::JSWorkerContextErrorHandler::handleEvent):
  • bindings/js/JSWorkerContextErrorHandler.h: Renamed from WebCore/bindings/js/JSErrorHandler.h. (WebCore::JSWorkerContextErrorHandler::create): (WebCore::createJSWorkerContextErrorHandler):
  • bindings/scripts/CodeGeneratorJS.pm:
  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::dispatchNow): (WebCore::V8ConsoleMessage::handler):
  • bindings/v8/V8ConsoleMessage.h:
  • bindings/v8/V8WindowErrorHandler.cpp: Removed.
  • bindings/v8/V8WindowErrorHandler.h: Removed.
  • bindings/v8/WorkerContextExecutionProxy.cpp: (WebCore::v8MessageHandler):
  • bindings/v8/WorkerScriptController.cpp: (WebCore::WorkerScriptController::evaluate):
  • dom/Document.cpp: (WebCore::Document::reportException): (WebCore::Document::addMessage):
  • dom/Document.h:
  • dom/ErrorEvent.cpp:
  • dom/ErrorEvent.h:
  • dom/Event.cpp:
  • dom/Event.h:
  • dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::ScriptExecutionContext):
  • dom/ScriptExecutionContext.h:
  • websockets/WebSocket.cpp: (WebCore::WebSocket::connect):
  • websockets/WebSocketChannel.cpp: (WebCore::WebSocketChannel::didOpen): (WebCore::WebSocketChannel::appendToBuffer):
  • websockets/WebSocketHandshake.cpp: (WebCore::WebSocketHandshake::readServerHandshake): (WebCore::WebSocketHandshake::readStatusLine): (WebCore::WebSocketHandshake::readHTTPHeaders): (WebCore::WebSocketHandshake::checkResponseHeaders):
  • workers/DefaultSharedWorkerRepository.cpp: (WebCore::postExceptionTask): (WebCore::postConsoleMessageTask):
  • workers/WorkerContext.cpp: (WebCore::WorkerContext::WorkerContext): (WebCore::WorkerContext::reportException): (WebCore::WorkerContext::addMessage):
  • workers/WorkerContext.h:
  • workers/WorkerMessagingProxy.cpp: (WebCore::WorkerExceptionTask::performTask): (WebCore::postConsoleMessageTask):
  • xml/XMLHttpRequest.cpp: (WebCore::reportUnsafeUsage):

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Rollout 73914, 73915, 73917, 73920 and 73921.

REGRESSION(r73914): "Chromium page_cycler_morejs fails" (Requested by yurys on #webkit).
https://bugs.webkit.org/show_bug.cgi?id=50950

  • src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObject): (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask): (WebKit::WebWorkerClientImpl::postConsoleMessageToWorkerObjectTask):
11:49 AM Changeset in webkit [73938] by Antti Koivisto
  • 31 edits
    5 adds in trunk

WebCore: https://bugs.webkit.org/show_bug.cgi?id=50758
<rdar://problem/8722094>
Defer loading print stylesheets

Reviewed by Alexey Proskuryakov.

  • Make preload scanner skip stylesheets with non-screen media types.
  • Make it possible to specify non-default load priority from the client.
  • Use this mechanism to load print stylesheets using very low priority so they get loaded after everything else.
  • Move default priority code from Loader to CachedResource.
  • Move ResourceLoadScheduler::Priority enum to a separate file (as ResourceLoadPriority).
  • Add a way to make ResourceLoadScheduler load resources one at the time so the above functionality can be tested reliably.

Tests: http/tests/local/link-stylesheet-load-order-preload.html

http/tests/local/link-stylesheet-load-order.html

  • WebCore.exp.in:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • css/CSSImageValue.cpp:

(WebCore::CSSImageValue::cachedImage):

  • html/HTMLLinkElement.cpp:

(WebCore::HTMLLinkElement::process):

  • html/parser/HTMLPreloadScanner.cpp:

(WebCore::HTMLNames::PreloadTask::PreloadTask):
(WebCore::HTMLNames::PreloadTask::processAttributes):
(WebCore::HTMLNames::PreloadTask::relAttributeIsStyleSheet):
(WebCore::HTMLNames::PreloadTask::linkMediaAttributeIsScreen):
(WebCore::HTMLNames::PreloadTask::preload):

  • loader/DocumentThreadableLoader.cpp:

(WebCore::DocumentThreadableLoader::loadRequest):

  • loader/ResourceLoadPriority.h: Added.
  • loader/ResourceLoadScheduler.cpp:

(WebCore::ResourceLoadScheduler::ResourceLoadScheduler):
(WebCore::ResourceLoadScheduler::scheduleSubresourceLoad):
(WebCore::ResourceLoadScheduler::schedulePluginStreamLoad):
(WebCore::ResourceLoadScheduler::scheduleLoad):
(WebCore::ResourceLoadScheduler::servePendingRequests):
(WebCore::ResourceLoadScheduler::HostInformation::~HostInformation):
(WebCore::ResourceLoadScheduler::HostInformation::schedule):
(WebCore::ResourceLoadScheduler::HostInformation::remove):
(WebCore::ResourceLoadScheduler::HostInformation::hasRequests):
(WebCore::ResourceLoadScheduler::HostInformation::limitRequests):

  • loader/ResourceLoadScheduler.h:

(WebCore::ResourceLoadScheduler::isSerialLoadingEnabled):
(WebCore::ResourceLoadScheduler::setSerialLoadingEnabled):
(WebCore::ResourceLoadScheduler::HostInformation::requestsPending):

  • loader/cache/CachedResource.cpp:

(WebCore::defaultPriorityForResourceType):
(WebCore::CachedResource::CachedResource):

  • loader/cache/CachedResource.h:

(WebCore::CachedResource::loadPriority):
(WebCore::CachedResource::setLoadPriority):

  • loader/cache/CachedResourceLoader.cpp:

(WebCore::CachedResourceLoader::requestCSSStyleSheet):
(WebCore::CachedResourceLoader::requestResource):
(WebCore::CachedResourceLoader::requestPreload):

  • loader/cache/CachedResourceLoader.h:
  • loader/cache/MemoryCache.cpp:

(WebCore::MemoryCache::requestResource):

  • loader/cache/MemoryCache.h:
  • loader/loader.cpp:

(WebCore::Loader::load):

WebKit/mac: https://bugs.webkit.org/show_bug.cgi?id=50758
<rdar://problem/8722094>
Defer loading print stylesheets

Reviewed by Alexey Proskuryakov.

Expose SPI for DRT for making resources load serially. This is useful for testing resource load order.

  • WebView/WebView.mm:

(+[WebView _setLoadResourcesSerially:forHost:]):

  • WebView/WebViewPrivate.h:

WebKitTools: Add setSerializeHTTPLoads function to allow testing resource load order on OS X.
https://bugs.webkit.org/show_bug.cgi?id=50758

Reviewed by Alexey Proskuryakov.

  • DumpRenderTree/LayoutTestController.cpp:

(setSerializeHTTPLoadsCallback):
(LayoutTestController::staticFunctions):

  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:

(LayoutTestController::setSerializeHTTPLoads):

  • DumpRenderTree/mac/DumpRenderTree.mm:

(resetDefaultsToConsistentValues):

  • DumpRenderTree/mac/LayoutTestControllerMac.mm:

(LayoutTestController::setSerializeHTTPLoads):

  • DumpRenderTree/win/LayoutTestControllerWin.cpp:

(LayoutTestController::setSerializeHTTPLoads):

LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=50758
<rdar://problem/8722094>
Defer loading print stylesheets

Reviewed by Alexey Proskuryakov.

Test load ordering.

  • http/tests/local/link-stylesheet-load-order-expected.txt: Added.
  • http/tests/local/link-stylesheet-load-order-preload-expected.txt: Added.
  • http/tests/local/link-stylesheet-load-order-preload.html: Added.
  • http/tests/local/link-stylesheet-load-order.html: Added.
11:34 AM Changeset in webkit [73937] by jschuh@chromium.org
  • 2 edits in trunk/WebCore

2010-12-13 Justin Schuh <jschuh@chromium.org>

Reviewed by Dimitri Glazkov.

Build fix for r73927
https://bugs.webkit.org/show_bug.cgi?id=50946

Reverting CSSCanvasValue::canvasDestroyed to its code before r73927
because it's breaking the build and I changed it only because it
appeared redunudant after r73927.

No behavior changed so no new tests needed.

  • css/CSSCanvasValue.cpp: (WebCore::CSSCanvasValue::canvasDestroyed):
11:29 AM Changeset in webkit [73936] by xan@webkit.org
  • 4 edits in trunk/WebKit/gtk

2010-12-13 Xan Lopez <xlopez@igalia.com>

Reviewed by Martin Robinson.

[GTK] Add API to enable/disable plugins at runtime
https://bugs.webkit.org/show_bug.cgi?id=50891

  • tests/testwebplugindatabase.c: (test_webkit_web_plugin_database_get_plugins): test that disabling a plugin works.
  • webkit/webkitwebplugin.cpp: (webkit_web_plugin_get_property): hook 'enabled' property. (webkit_web_plugin_set_property): ditto. (webkit_web_plugin_class_init): define 'enabled' property. (webkit_web_plugin_set_enabled): setter for the property. (webkit_web_plugin_get_enabled): getter for the property.
  • webkit/webkitwebplugin.h: add the APIs to the header.
11:27 AM Changeset in webkit [73935] by bweinstein@apple.com
  • 3 edits in trunk/WebKit2

WebKit2: Focusing Web Inspector window doesn't focus contents on Windows
https://bugs.webkit.org/show_bug.cgi?id=50947
<rdar://problem/8762468>

Reviewed by Darin Adler.

When we get the notification that the inspector window has focused, focus the inner inspector view.

  • UIProcess/WebInspectorProxy.h:
  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::onSetFocusEvent): Set the focus of the inspector view, because that is what

needs to be focused in the inspector window.

11:11 AM Changeset in webkit [73934] by rniwa@webkit.org
  • 3 edits
    8 copies in branches/chromium/597

Merge 73279 - 2010-12-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

REGRESSION: Crash when deleting text after textarea's value is modified on input event
https://bugs.webkit.org/show_bug.cgi?id=49962

The crash was caused by TypingCommand::deleteKeyPressed's reusing a typing command for
textarea's shadow DOM after its input event handler rewrote the value set by the typing command.
Because the reused typing command's ending selection was pointing at a shadow node
that has been detached from the document when the event handler set the new value,
rootEditableElement of the ending selection was null and caused the crash.

Fixed the bug by updating the ending selection of the last typing command when it differsfrom
that of the current selection held by the SelectionController in TypingCommand::deleteKeyPressed.
Also fixed similar bugs in forwardDeleteKeyPressed and insertText, and insertTextRunWithoutNewlines.

Tests: editing/input/set-value-on-input-and-delete.html

editing/input/set-value-on-input-and-forward-delete.html
editing/input/set-value-on-input-and-type-input.html
editing/input/set-value-on-input-and-type-textarea.html

  • editing/InsertTextCommand.h: Added TypingCommand as a friend because it needs to update selection.
  • editing/TypingCommand.cpp: (WebCore::TypingCommand::deleteKeyPressed): Updates the last typing command's selection as needed. (WebCore::TypingCommand::forwardDeleteKeyPressed): Ditto. (WebCore::TypingCommand::insertText): Ditto. (WebCore::TypingCommand::updateSelectionIfDifferentFromCurrentSelection): Added. (WebCore::TypingCommand::insertTextRunWithoutNewlines): Updates InsertTextCommand's selection as needed.
  • editing/TypingCommand.h:

2010-12-03 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

REGRESSION: Crash when deleting text after textarea's value is modified on input event
https://bugs.webkit.org/show_bug.cgi?id=49962

Added tests to ensure inserting and deleting a character inside input or textarea
succeeds even if the value of those elements have been rewritten by its input event handler.

  • editing/input/set-value-on-input-and-delete-expected.txt: Added.
  • editing/input/set-value-on-input-and-delete.html: Added.
  • editing/input/set-value-on-input-and-forward-delete-expected.txt: Added.
  • editing/input/set-value-on-input-and-forward-delete.html: Added.
  • editing/input/set-value-on-input-and-type-input-expected.txt: Added.
  • editing/input/set-value-on-input-and-type-input.html: Added.
  • editing/input/set-value-on-input-and-type-textarea-expected.txt: Added.
  • editing/input/set-value-on-input-and-type-textarea.html: Added.

BUG=62608
TBR=rniwa@webkit.org
Review URL: http://codereview.chromium.org/5812003

11:00 AM Changeset in webkit [73933] by mdelaney@apple.com
  • 2 edits in trunk/WebCore

2010-12-13 Matthew Delaney <mdelaney@apple.com>

Reviewed by nobody, build fix.

Unlinking IOSurface framework from xcodeproj.

  • WebCore.xcodeproj/project.pbxproj:
10:41 AM Changeset in webkit [73932] by mitz@apple.com
  • 2 edits in trunk/WebKit2

Coding style fix.

  • WebProcess/Downloads/mac/DownloadMac.mm:

(WebKit::originatingURLFromBackForwardList):

10:38 AM Changeset in webkit [73931] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 3.0.4

Safari 3.0.4 release tag.

10:35 AM Changeset in webkit [73930] by kbalazs@webkit.org
  • 2 edits in trunk/WebKit2

Unreviewed trivial build fix (linux, 64 bit, gcc-4.5.1)

  • WebProcess/WebCoreSupport/WebChromeClient.cpp:

(WebKit::WebChromeClient::exceededDatabaseQuota):
Don't use unsigned long long as alias for uint64_t.

10:27 AM Changeset in webkit [73929] by andersca@apple.com
  • 2 edits in trunk/WebKit2

Crash when clicking a download link that targets a new tab
https://bugs.webkit.org/show_bug.cgi?id=50935
<rdar://problem/8760572>

Reviewed by John Sullivan.

Check for a null history item.

  • WebProcess/Downloads/mac/DownloadMac.mm:

(WebKit::originatingURLFromBackForwardList):

10:22 AM Changeset in webkit [73928] by Dimitri Glazkov
  • 2 edits in trunk/WebKitTools

2010-12-13 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Ojan Vafai.

Remove "use-drt" option from test step command line, since the option was removed in r73748.
https://bugs.webkit.org/show_bug.cgi?id=50936

  • BuildSlaveSupport/build.webkit.org-config/master.cfg: Removed the option.
10:21 AM Changeset in webkit [73927] by jschuh@chromium.org
  • 5 edits
    2 adds in trunk

2010-12-13 Justin Schuh <jschuh@chromium.org>

Reviewed by Dimitri Glazkov.

HTMLCanvasElement should handle multiple observers.
https://bugs.webkit.org/show_bug.cgi?id=50899

Test: fast/canvas/canvas-bg-multiple-removal.html

  • css/CSSCanvasValue.cpp: (WebCore::CSSCanvasValue::~CSSCanvasValue): (WebCore::CSSCanvasValue::canvasDestroyed): (WebCore::CSSCanvasValue::element):
  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::HTMLCanvasElement): (WebCore::HTMLCanvasElement::~HTMLCanvasElement): (WebCore::HTMLCanvasElement::addObserver): (WebCore::HTMLCanvasElement::removeObserver): (WebCore::HTMLCanvasElement::didDraw): (WebCore::HTMLCanvasElement::reset):
  • html/HTMLCanvasElement.h:

2010-12-13 Justin Schuh <jschuh@chromium.org>

Reviewed by Dimitri Glazkov.

HTMLCanvasElement should handle multiple observers.
https://bugs.webkit.org/show_bug.cgi?id=50899

  • fast/canvas/canvas-bg-multiple-removal-expected.txt: Added.
  • fast/canvas/canvas-bg-multiple-removal.html: Added.
10:15 AM Changeset in webkit [73926] by mihaip@chromium.org
  • 3 edits
    2 adds in trunk

2010-12-13 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

[Chromium] canvas/philip/tests/2d.missingargs.html hangs on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=50841

Add test that calls strokeText() (i.e. with no arguments).

  • fast/canvas/strokeText-missing-args-expected.txt: Added.
  • fast/canvas/strokeText-missing-args.html: Added.

2010-12-13 Mihai Parparita <mihaip@chromium.org>

Reviewed by Adam Barth.

[Chromium] canvas/philip/tests/2d.missingargs.html hangs on Snow Leopard
https://bugs.webkit.org/show_bug.cgi?id=50841

Test: fast/canvas/strokeText-missing-args.html

We didn't have isfinite checks for the x and y coordinates that are
passed to strokeText/drawTextInternal (unlike all the other methods,
which got checks in r50910 and r59447).

  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::drawTextInternal):
10:13 AM Changeset in webkit [73925] by mdelaney@apple.com
  • 20 edits in trunk

2010-12-09 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

Adopt new CG API for canvas
https://bugs.webkit.org/show_bug.cgi?id=50591

  • WebCoreSupport/WebSystemInterface.mm:

2010-12-09 Matthew Delaney <mdelaney@apple.com>

Reviewed by Simon Fraser.

Adopt new CG API for canvas
https://bugs.webkit.org/show_bug.cgi?id=50591

No new tests. All current layout tests are sufficient.

  • html/HTMLCanvasElement.cpp: Add in accelerateRendering flag for imagebuffer creation.
  • html/canvas/CanvasRenderingContext2D.cpp: (WebCore::CanvasRenderingContext2D::isAccelerated): Always return true if using CA on new platforms. (WebCore::CanvasRenderingContext2D::drawTextInternal): Use accelerateRendering for imagebuffer.
  • platform/graphics/ImageBuffer.h: (WebCore::ImageBuffer::create): Plumb through new flag.
  • platform/graphics/cairo/ImageBufferCairo.cpp: Update method sig.
  • platform/graphics/cg/ImageBufferCG.cpp: Switch off of accelerateRendering flag for new accelerated paths.
  • platform/graphics/cg/ImageBufferData.h: Add in surface ref
  • platform/graphics/haiku/ImageBufferHaiku.cpp: Update method sig.
  • platform/graphics/qt/ImageBufferQt.cpp:
  • platform/graphics/skia/ImageBufferSkia.cpp:
  • platform/graphics/wince/ImageBufferWinCE.cpp:
  • platform/graphics/wx/ImageBufferWx.cpp:
  • platform/mac/WebCoreSystemInterface.h: Add new method sigs
  • platform/mac/WebCoreSystemInterface.mm:
  • rendering/RenderLayerBacking.cpp:
  • rendering/RenderLayerCompositor.cpp: Set acceleratesDrawing for canvas backings.
9:56 AM Changeset in webkit [73924] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit/efl

2010-12-13 Alex Bredariol Grilo <abgrilo@profusion.mobi>

Reviewed by Andreas Kling.

Remove one row/column of renderers.
https://bugs.webkit.org/show_bug.cgi?id=50456

This changes the algorithm in a way that it will require one less column
and row of renderers to fill the viewport. The direct result of this is
that now less tiles need to be rendered at once when displaying the
viewport.

  • ewk/ewk_tiled_backing_store.c: (_ewk_tiled_backing_store_smart_add): (_ewk_tiled_backing_store_recalc_renderers): (_ewk_tiled_backing_store_view_wrap_up): (_ewk_tiled_backing_store_view_wrap_down): (_ewk_tiled_backing_store_view_wrap_left): (_ewk_tiled_backing_store_view_wrap_right): (_ewk_tiled_backing_store_smart_calculate_offset_force): (_ewk_tiled_backing_store_smart_calculate_offset): (_ewk_tiled_backing_store_smart_calculate): (_ewk_tiled_backing_store_zoom_set_internal): (ewk_tiled_backing_store_zoom_weak_set): (ewk_tiled_backing_store_fix_offsets): (ewk_tiled_backing_store_flush):
9:27 AM Changeset in webkit [73923] by commit-queue@webkit.org
  • 3 edits
    2 adds in trunk

2010-12-13 Benjamin Kalman <kalman@chromium.org>

Reviewed by Ojan Vafai.

Shift-End does not select to the end of the line
https://bugs.webkit.org/show_bug.cgi?id=50610

  • editing/selection/extend-to-line-boundary-expected.txt: Added.
  • editing/selection/extend-to-line-boundary.html: Added.

2010-12-13 Benjamin Kalman <kalman@chromium.org>

Reviewed by Ojan Vafai.

Shift-End does not select to the end of the line
https://bugs.webkit.org/show_bug.cgi?id=50610

Test: editing/selection/extend-to-line-boundary.html

  • editing/SelectionController.cpp: (WebCore::SelectionController::positionForPlatform): Use visibleStart/visibleEnd rather than start/end. (WebCore::SelectionController::modifyExtendingForward):
9:05 AM Changeset in webkit [73922] by pfeldman@chromium.org
  • 10 edits
    1 delete in trunk/LayoutTests

2010-12-13 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: rebaseline chromium xss tests for window.onerror.

  • platform/chromium-linux/http/tests/security/xss-DENIED-frame-name-expected.txt: Removed.
  • platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
  • platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
  • platform/chromium-mac/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
  • platform/chromium-mac/http/tests/security/xss-DENIED-frame-name-expected.txt:
  • platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-document-write-expected.txt:
  • platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-navigate-opener-javascript-url-expected.txt:
  • platform/chromium-win/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
  • platform/chromium-win/http/tests/security/xss-DENIED-frame-name-expected.txt:
  • platform/chromium/test_expectations.txt:
8:39 AM Changeset in webkit [73921] by Adam Roben
  • 2 edits in trunk/WebCore

Windows build fix after r73914

  • WebCore.vcproj/WebCore.vcproj: Fix malformed XML.
8:04 AM Changeset in webkit [73920] by yurys@chromium.org
  • 3 edits in trunk/WebCore

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Qt build fix.

  • dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::ScriptExecutionContext):
  • dom/ScriptExecutionContext.h:
7:54 AM Changeset in webkit [73919] by commit-queue@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-13 John Knottenbelt <jknotten@chromium.org>

Reviewed by Steve Block.

Fix layout test dom/fast/Geolocation/permission-denied-already-error.html for client-based Geolocation
https://bugs.webkit.org/show_bug.cgi?id=50920

  • fast/dom/Geolocation/script-tests/permission-denied-already-error.js:
7:53 AM Changeset in webkit [73918] by mario@webkit.org
  • 3 edits
    2 adds in trunk

2010-12-13 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Xan Lopez.

[Gtk] Additional support is needed for caret browsing
https://bugs.webkit.org/show_bug.cgi?id=25526

New layout test to check the "MoveTo{Beginninng|End}OfDocument"
commands when caret browsing is enabled.

  • platform/gtk/editing/selection/caret-mode-document-begin-end-expected.txt: Added.
  • platform/gtk/editing/selection/caret-mode-document-begin-end.html: Added.

2010-12-13 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Xan Lopez.

[Gtk] Additional support is needed for caret browsing
https://bugs.webkit.org/show_bug.cgi?id=25526

Enable "MoveTo{Beginninng|End}OfDocument" commands when caret
browsing is enabled.

This change impacts the GTK-port only as caret browsing is a
feature only used in that platform so far.

Test: platform/gtk/editing/selection/caret-mode-document-begin-end.html

  • editing/EditorCommand.cpp: (WebCore::createCommandMap): Enable the commads when in caret browsing.
7:46 AM QtWebKitRelease22 created by Ademar Reis
7:45 AM Changeset in webkit [73917] by yurys@chromium.org
  • 3 edits in trunk/WebCore

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Qt build fix.

  • dom/Event.cpp: (WebCore::Event::isErrorEvent):
  • dom/Event.h: remove ENABLE(WORKERS) guard since ErrorEvent is now used not only in workers.
7:35 AM Changeset in webkit [73916] by loislo@chromium.org
  • 15 edits in trunk

2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.

Debugger and Resources related notification functions of Inspector.idl were
marked as such with help of "domain" attribute. The other changes in js files
are reflecting this change. Some wrappers in WebInspector namespace were dropped,
the others were moved to DebuggerModel class.

https://bugs.webkit.org/show_bug.cgi?id=50906

  • inspector/Inspector.idl:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::didParseSource):
  • inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::resetState):
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMAgent.prototype.didCommitLoad):
  • inspector/front-end/Database.js:
  • inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel): (WebInspector.DebuggerModel.prototype.pausedScript): (WebInspector.DebuggerModel.prototype.resumedScript): (WebInspector.DebuggerModel.prototype.attachDebuggerWhenShown): (WebInspector.DebuggerModel.prototype.debuggerWasEnabled): (WebInspector.DebuggerModel.prototype.debuggerWasDisabled): (WebInspector.DebuggerModel.prototype.parsedScriptSource): (WebInspector.DebuggerModel.prototype.failedToParseScriptSource): (WebInspector.DebuggerModel.prototype.didCreateWorker): (WebInspector.DebuggerModel.prototype.didDestroyWorker):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel): (WebInspector.ProfilesPanel.prototype.updateMainViewWidth): (WebInspector.ProfilesPanel.prototype.setRecordingProfile):
  • inspector/front-end/ResourceManager.js: (WebInspector.ResourceManager): (WebInspector.ResourceManager.prototype._unbindResourceURL): (WebInspector.ResourceManager.prototype.updateDOMStorage): (WebInspector.ResourceManager.prototype.updateApplicationCacheStatus): (WebInspector.ResourceManager.prototype.didGetFileSystemPath): (WebInspector.ResourceManager.prototype.didGetFileSystemError): (WebInspector.ResourceManager.prototype.didGetFileSystemDisabled): (WebInspector.ResourceManager.prototype.updateNetworkState): (WebInspector.ResourceManager.prototype.addDOMStorage): (WebInspector.ResourceManager.prototype.selectDOMStorage): (WebInspector.ResourceManager.prototype.addDatabase): (WebInspector.ResourceManager.prototype.selectDatabase): (WebInspector.ResourceManager.prototype.sqlTransactionSucceeded): (WebInspector.ResourceManager.prototype.sqlTransactionFailed):
  • inspector/front-end/WorkersSidebarPane.js: (WebInspector.Worker):
  • inspector/front-end/inspector.js:

2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.

Debugger and Resources related notification functions of Inspector.idl were
marked as such with help of "domain" attribute. The other changes in js files
are reflecting this change. Some wrappers in WebInspector namespace were dropped,
the others were moved to DebuggerModel class.

https://bugs.webkit.org/show_bug.cgi?id=50906

  • src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause): (.TestSuite.prototype._waitUntilScriptsAreParsed.waitForAllScripts): (.TestSuite.prototype._waitUntilScriptsAreParsed):

2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.

Debugger and Resources related notification functions of Inspector.idl were
marked as such with help of "domain" attribute. The other changes in js files
are reflecting this change. Some wrappers in WebInspector namespace were dropped,
the others were moved to DebuggerModel class.

https://bugs.webkit.org/show_bug.cgi?id=50906

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.startDebuggerTest.startTest): (initialize_DebuggerTest.InspectorTest.startDebuggerTest): (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.disableDebugger): (initialize_DebuggerTest.InspectorTest.showScriptSource):
7:33 AM Changeset in webkit [73915] by yurys@chromium.org
  • 3 edits in trunk/WebCore

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Unreviewed. Qt build fix.

  • dom/ErrorEvent.cpp:
  • dom/ErrorEvent.h: remove ENABLE(WORKERS) guard since ErrorEvent is now used not only in workers.
7:16 AM Changeset in webkit [73914] by yurys@chromium.org
  • 35 edits
    2 copies
    2 moves
    45 adds in trunk

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Adam Barth.

WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
https://bugs.webkit.org/show_bug.cgi?id=8519

Uncaught exceptions are propagated to window.onerror hander if one is present.
The handler is expected to be a function accepting three arguments: error message,
resource url and line number where the exception occured.

  • fast/events/resources/window-onerror.js: Added. (throwException):
  • fast/events/window-onerror1-expected.txt: Added.
  • fast/events/window-onerror1.html: Added.
  • fast/events/window-onerror10-expected.txt: Added.
  • fast/events/window-onerror10.html: Added.
  • fast/events/window-onerror11-expected.txt: Added.
  • fast/events/window-onerror11.html: Added.
  • fast/events/window-onerror2-expected.txt: Added.
  • fast/events/window-onerror2.html: Added.
  • fast/events/window-onerror3-expected.txt: Added.
  • fast/events/window-onerror3.html: Added.
  • fast/events/window-onerror4-expected.txt: Added.
  • fast/events/window-onerror4.html: Added.
  • fast/events/window-onerror5-expected.txt: Added.
  • fast/events/window-onerror5.html: Added.
  • fast/events/window-onerror6-expected.txt: Added.
  • fast/events/window-onerror6.html: Added.
  • fast/events/window-onerror7-expected.txt: Added.
  • fast/events/window-onerror7.html: Added.
  • fast/events/window-onerror8-expected.txt: Added.
  • fast/events/window-onerror8.html: Added.
  • fast/events/window-onerror9-expected.txt: Added.
  • fast/events/window-onerror9.html: Added.
  • fast/workers/worker-script-error-expected.txt:
  • http/tests/security/resources/onerror-iframe.html: Added.
  • http/tests/security/window-onerror-exception-in-iframe-expected.txt: Added.
  • http/tests/security/window-onerror-exception-in-iframe.html: Added.
  • platform/chromium-win/fast/workers/worker-script-error-expected.txt:
  • platform/chromium/fast/events/window-onerror1-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror10-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror11-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror2-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror3-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror4-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror5-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror6-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror7-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror8-expected.txt: Added.
  • platform/chromium/fast/events/window-onerror9-expected.txt: Added.
  • platform/chromium/http/tests/security/window-onerror-exception-in-iframe-expected.txt: Added.
  • platform/chromium/userscripts/window-onerror-for-isolated-world-1-expected.txt: Added.
  • platform/chromium/userscripts/window-onerror-for-isolated-world-2-expected.txt: Added.
  • userscripts/window-onerror-for-isolated-world-1-expected.txt: Added.
  • userscripts/window-onerror-for-isolated-world-1.html: Added.
  • userscripts/window-onerror-for-isolated-world-2-expected.txt: Added.
  • userscripts/window-onerror-for-isolated-world-2.html: Added.

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Adam Barth.

WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
https://bugs.webkit.org/show_bug.cgi?id=8519

Uncaught exceptions are propagated to window.onerror hander if one is present.
The handler is expected to be a function accepting three arguments: error message,
resource url and line number where the exception occured.

It was decided to dispatch ErrorEvent to all listeners/handlers no matter if they
were created in the same isolated world where the exception occured or not.

Tests: fast/events/window-onerror1.html

fast/events/window-onerror10.html
fast/events/window-onerror11.html
fast/events/window-onerror2.html
fast/events/window-onerror3.html
fast/events/window-onerror4.html
fast/events/window-onerror5.html
fast/events/window-onerror6.html
fast/events/window-onerror7.html
fast/events/window-onerror8.html
fast/events/window-onerror9.html
http/tests/security/window-onerror-exception-in-iframe.html
userscripts/window-onerror-for-isolated-world-1.html
userscripts/window-onerror-for-isolated-world-2.html

  • Android.jscbindings.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.order:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSBindingsAllInOne.cpp:
  • bindings/js/JSDOMBinding.cpp: (WebCore::reportException):
  • bindings/js/JSErrorHandler.cpp: Renamed from WebCore/bindings/js/JSWorkerContextErrorHandler.cpp. (WebCore::JSErrorHandler::JSErrorHandler): (WebCore::JSErrorHandler::~JSErrorHandler): (WebCore::JSErrorHandler::handleEvent):
  • bindings/js/JSErrorHandler.h: Copied from WebCore/bindings/js/JSWorkerContextErrorHandler.h. (WebCore::JSErrorHandler::create): (WebCore::createJSErrorHandler):
  • bindings/scripts/CodeGeneratorJS.pm:
  • bindings/scripts/CodeGeneratorV8.pm:
  • bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::dispatchNow): (WebCore::V8ConsoleMessage::handler): the method was changed to use generic WebCore exception reporting mechanism which is also used by JSC bindings.
  • bindings/v8/V8ConsoleMessage.h:
  • bindings/v8/V8WindowErrorHandler.cpp: Copied from WebCore/bindings/js/JSWorkerContextErrorHandler.h. (WebCore::V8WindowErrorHandler::V8WindowErrorHandler): (WebCore::V8WindowErrorHandler::callListenerFunction):
  • bindings/v8/V8WindowErrorHandler.h: Renamed from WebCore/bindings/js/JSWorkerContextErrorHandler.h. (WebCore::V8WindowErrorHandler::create):
  • bindings/v8/WorkerContextExecutionProxy.cpp: (WebCore::v8MessageHandler):
  • bindings/v8/WorkerScriptController.cpp: (WebCore::WorkerScriptController::evaluate):
  • dom/Document.cpp: (WebCore::Document::errorEventTarget): (WebCore::Document::logExceptionToConsole):
  • dom/Document.h:
  • dom/ScriptExecutionContext.cpp: (WebCore::ScriptExecutionContext::PendingException::PendingException): (WebCore::ScriptExecutionContext::ScriptExecutionContext): (WebCore::ScriptExecutionContext::reportException): this method is not virtual anymore to ensure that error event dispatching algorithm is the same in WorkerContext and in Document. (WebCore::ScriptExecutionContext::dispatchErrorEvent):
  • dom/ScriptExecutionContext.h:
  • workers/DefaultSharedWorkerRepository.cpp: (WebCore::postExceptionTask):
  • workers/WorkerContext.cpp: (WebCore::WorkerContext::WorkerContext): (WebCore::WorkerContext::errorEventTarget): (WebCore::WorkerContext::logExceptionToConsole):
  • workers/WorkerContext.h:
  • workers/WorkerMessagingProxy.cpp: (WebCore::WorkerExceptionTask::performTask):

2010-12-13 Yury Semikhatsky <yurys@chromium.org>

Reviewed by Adam Barth.

WebCore doesn't fire window.onerror event when uncaught JavaScript exceptions are thrown
https://bugs.webkit.org/show_bug.cgi?id=8519

Uncaught exceptions are propagated to window.onerror hander if one is present.
The handler is expected to be a function accepting three arguments: error message,
resource url and line number where the exception occured.

  • src/WebWorkerClientImpl.cpp: (WebKit::WebWorkerClientImpl::postExceptionToWorkerObject): (WebKit::WebWorkerClientImpl::postExceptionToWorkerObjectTask):
7:06 AM Changeset in webkit [73913] by apavlov@chromium.org
  • 17 edits in trunk

2010-12-08 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Joseph Pecoraro.

Web Inspector: Enable CSS property editing name/value-wise (like Firebug does)
https://bugs.webkit.org/show_bug.cgi?id=50565

For CSS property editing, the property name and value have become two fields separated
by a colon (rather than one field containing the full property text.) A user can tab
between the name and value fields forward and backward. A colon typed in the name field
and a semicolon in the value field (unless found inside a string) act as a Tab and focus
the next editable field (while applying the entire property value.)

Now a user can tab through all editable styles for an element, even across rule boundaries.

WebCore:

  • inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.XHRBreakpointsSidebarPane.prototype._startEditingBreakpoint):
  • inspector/front-end/DataGrid.js: (WebInspector.DataGrid.prototype._startEditingColumnOfDataGridNode): (WebInspector.DataGrid.prototype._startEditing):
  • inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._startEditingAttribute): (WebInspector.ElementsTreeElement.prototype._startEditingTextNode): (WebInspector.ElementsTreeElement.prototype._startEditingTagName): (WebInspector.ElementsTreeElement.prototype._startEditingAsHTML):
  • inspector/front-end/MetricsSidebarPane.js: (WebInspector.MetricsSidebarPane.prototype.startEditing):
  • inspector/front-end/ObjectPropertiesSection.js: (WebInspector.ObjectPropertyTreeElement.prototype.startEditing):
  • inspector/front-end/Section.js: (WebInspector.Section): (WebInspector.Section.prototype.get subtitleAsTextForTest): (WebInspector.Section.prototype.get nextSibling): (WebInspector.Section.prototype.get previousSibling):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._editBreakpointCondition):
  • inspector/front-end/StylesSidebarPane.js: (WebInspector.StylePropertiesSection.prototype.nextEditableSibling): (WebInspector.StylePropertiesSection.prototype.previousEditableSibling): (WebInspector.StylePropertiesSection.prototype.addNewBlankProperty): (WebInspector.StylePropertiesSection.prototype.startEditingSelector): (WebInspector.StylePropertiesSection.prototype.editingSelectorCommitted): (WebInspector.StylePropertyTreeElement.prototype.): (WebInspector.StylePropertyTreeElement.prototype):
  • inspector/front-end/TextViewer.js: (WebInspector.TextViewer.prototype._handleDoubleClick):
  • inspector/front-end/WatchExpressionsSidebarPane.js: (WebInspector.WatchExpressionTreeElement.prototype.startEditing):
  • inspector/front-end/inspector.css: (.child-editing):
  • inspector/front-end/inspector.js: (WebInspector.startEditing.defaultFinishHandler): (WebInspector.startEditing):
  • inspector/front-end/treeoutline.js: (TreeElement.prototype.select):

LayoutTests:

  • inspector/console-dir.html:
  • inspector/styles-add-blank-property.html:
6:25 AM Changeset in webkit [73912] by yael.aharon@nokia.com
  • 2 edits in trunk/WebCore

Unreviewed.

Added svn propery eol-style. Patches to this file fail to apply on Windows EWS bot.

  • accessibility/AccessibilityAllInOne.cpp: Added property svn:eol-style.
6:20 AM Changeset in webkit [73911] by commit-queue@webkit.org
  • 1 edit
    10 deletes in trunk/LayoutTests

2010-12-13 W. James MacLean <wjmaclean@chromium.org>

Reviewed by Csaba Osztrogonác.

Remove unnecessary pixel results, use platform-independent text results, re Changeset 72802
https://bugs.webkit.org/show_bug.cgi?id=50233

Remove redundant, platform-specific test results.

  • platform/chromium-linux/svg/custom/svg-parse-overflow-1-expected.txt: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-2-expected.txt: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-3-expected.txt: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-4-expected.txt: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-5-expected.txt: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-1-expected.txt: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-2-expected.txt: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-3-expected.txt: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-4-expected.txt: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-5-expected.txt: Removed.
5:50 AM Changeset in webkit [73910] by hans@chromium.org
  • 13 edits in branches/chromium/597

Merge 73605 - 2010-12-07 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

IndexedDB returns the wrong exceptions
https://bugs.webkit.org/show_bug.cgi?id=50632

  • storage/indexeddb/constants-expected.txt:
  • storage/indexeddb/constants.html:
  • storage/indexeddb/objectstore-removeobjectstore-expected.txt:
  • storage/indexeddb/objectstore-removeobjectstore.html:

2010-12-07 Jeremy Orlow <jorlow@chromium.org>

Reviewed by Steve Block.

IndexedDB returns the wrong exceptions
https://bugs.webkit.org/show_bug.cgi?id=50632

IndexedDB exceptions need to have an offset so they can
be distinguished from DOM exceptions. We also need to
add strings for the various exceptions. Lastly, make
IDBDatabaseException use the common exception base class.

  • bindings/js/JSDOMBinding.cpp: (WebCore::setDOMException):
  • bindings/v8/V8Proxy.cpp: (WebCore::V8Proxy::setDOMException):
  • dom/ExceptionCode.cpp: (WebCore::getExceptionCodeDescription):
  • dom/ExceptionCode.h:
  • storage/IDBDatabaseError.h: (WebCore::IDBDatabaseError::code):
  • storage/IDBDatabaseException.h: (WebCore::IDBDatabaseException::create): (WebCore::IDBDatabaseException::ErrorCodeToExceptionCode): (WebCore::IDBDatabaseException::IDBDatabaseException):
  • storage/IDBDatabaseException.idl:

TBR=jorlow@chromium.org
Review URL: http://codereview.chromium.org/5722007

5:50 AM Changeset in webkit [73909] by loislo@chromium.org
  • 13 edits in trunk

2010-12-13 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73898.
http://trac.webkit.org/changeset/73898
https://bugs.webkit.org/show_bug.cgi?id=50919

FileSystem and Database API's were broken (Requested by loislo
on #webkit).

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.startDebuggerTest.startTest): (initialize_DebuggerTest.InspectorTest.startDebuggerTest): (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.disableDebugger): (initialize_DebuggerTest.InspectorTest.showScriptSource):

2010-12-13 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73898.
http://trac.webkit.org/changeset/73898
https://bugs.webkit.org/show_bug.cgi?id=50919

FileSystem and Database API's were broken (Requested by loislo
on #webkit).

2010-12-13 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73898.
http://trac.webkit.org/changeset/73898
https://bugs.webkit.org/show_bug.cgi?id=50919

FileSystem and Database API's were broken (Requested by loislo
on #webkit).

  • src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause):
5:46 AM Changeset in webkit [73908] by Patrick Gansterer
  • 2 edits in trunk/WebKitTools

2010-12-13 Patrick Gansterer <Patrick Gansterer>

Reviewed by Csaba Osztrogonác.

Add revlink to BuildBot status
https://bugs.webkit.org/show_bug.cgi?id=50914

This adds a hyperlink to trac changeset on the revision numbers.

  • BuildSlaveSupport/build.webkit.org-config/master.cfg:
5:34 AM Changeset in webkit [73907] by antonm@chromium.org
  • 6 edits in trunk/WebCore

2010-12-13 Anton Muhin <antonm@chromium.org>

Reviewed by Pavel Feldman.

[v8] More CSS wrappers GC work: keep document's style sheets, style sheet and css rule lists' items in proper object groups
https://bugs.webkit.org/show_bug.cgi?id=50828

  • bindings/v8/DOMData.h: (WebCore::DOMData::WrapperMapObjectRemover::visitDOMWrapper): (WebCore::DOMData::removeObjectsFromWrapperMap):
  • bindings/v8/DOMDataStore.h: (WebCore::ChunkedTable::visit): (WebCore::ChunkedTable::visitEntries): (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::visit): (WebCore::DOMDataStore::IntrusiveDOMWrapperMap::ChunkedTableTraits::visit):
  • bindings/v8/V8DOMMap.cpp: (WebCore::removeAllDOMObjectsInCurrentThread): (WebCore::visitDOMNodesInCurrentThread): (WebCore::visitDOMObjectsInCurrentThread): (WebCore::visitActiveDOMObjectsInCurrentThread): (WebCore::visitDOMSVGElementInstancesInCurrentThread):
  • bindings/v8/V8DOMMap.h: (WebCore::WeakReferenceMap::visit):
  • bindings/v8/V8GCController.cpp: (WebCore::DOMObjectVisitor::visitDOMWrapper): (WebCore::EnsureWeakDOMNodeVisitor::visitDOMWrapper): (WebCore::GCPrologueVisitor::visitDOMWrapper): (WebCore::NodeGrouperVisitor::visitDOMWrapper): (WebCore::NodeGrouperVisitor::applyGrouping): (WebCore::DOMObjectGrouperVisitor::visitDOMWrapper): (WebCore::GCEpilogueVisitor::visitDOMWrapper):
5:27 AM Changeset in webkit [73906] by commit-queue@webkit.org
  • 28 edits in trunk/WebKit/gtk

2010-12-13 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Xan Lopez.

[GTK] Do not use GET_PRIVATE macros
https://bugs.webkit.org/show_bug.cgi?id=50915

GET_PRIVATE macros are slow and should only be used in the object
init() method.

  • WebCoreSupport/ContextMenuClientGtk.cpp: (WebKit::inputMethodsMenuItem):
  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::postProgressFinishedNotification): (WebKit::FrameLoaderClient::setTitle): (WebKit::FrameLoaderClient::dispatchCreatePage): (WebKit::postCommitFrameViewSetup):
  • webkit/webkitdownload.cpp: (webkit_download_init):
  • webkit/webkitgeolocationpolicydecision.cpp: (webkit_geolocation_policy_decision_init):
  • webkit/webkithittestresult.cpp: (webkit_hit_test_result_init):
  • webkit/webkitnetworkrequest.cpp: (webkit_network_request_init):
  • webkit/webkitsecurityorigin.cpp: (webkit_security_origin_init):
  • webkit/webkitsecurityoriginprivate.h:
  • webkit/webkitviewportattributes.cpp: (webkit_viewport_attributes_init):
  • webkit/webkitwebbackforwardlist.cpp: (webkit_web_back_forward_list_init):
  • webkit/webkitwebdatabase.cpp: (webkit_web_database_init):
  • webkit/webkitwebdatasource.cpp: (webkit_web_data_source_init):
  • webkit/webkitwebframe.cpp: (webkit_web_frame_init): (webkit_web_frame_new):
  • webkit/webkitwebframeprivate.h:
  • webkit/webkitwebhistoryitem.cpp: (webkit_web_history_item_init):
  • webkit/webkitwebinspector.cpp: (webkit_web_inspector_init):
  • webkit/webkitwebnavigationaction.cpp: (webkit_web_navigation_action_init):
  • webkit/webkitwebplugin.cpp: (webkit_web_plugin_init):
  • webkit/webkitwebplugindatabase.cpp: (webkit_web_plugin_database_init):
  • webkit/webkitwebplugindatabaseprivate.h:
  • webkit/webkitwebpluginprivate.h:
  • webkit/webkitwebpolicydecision.cpp: (webkit_web_policy_decision_init):
  • webkit/webkitwebresource.cpp: (webkit_web_resource_init):
  • webkit/webkitwebresourceprivate.h:
  • webkit/webkitwebsettings.cpp: (webkit_web_settings_init):
  • webkit/webkitwebview.cpp: (PopupMenuPositionFunc): (webkit_web_view_forward_context_menu_event): (webkit_web_view_drag_end): (webkit_web_view_drag_data_get): (webkit_web_view_query_tooltip): (webkit_web_view_init):
  • webkit/webkitwebwindowfeatures.cpp: (webkit_web_window_features_init):
5:16 AM Changeset in webkit [73905] by abecsi@webkit.org
  • 8 edits
    1 move
    1 add in trunk

2010-12-13 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt][WK2] Fix build if WebKitTools are not available
https://bugs.webkit.org/show_bug.cgi?id=50242

  • DerivedSources.pro: add new DerivedSources.pro to SUBDIRS.

2010-12-13 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt][WK2] Fix build if WebKitTools are not available
https://bugs.webkit.org/show_bug.cgi?id=50242

  • DerivedSources.pro: Remove dependency to WebKitTools.
  • Scripts/generate-forwarding-headers.pl: Moved from WebKitTools/Scripts/generate-forwarding-headers.pl.

2010-12-13 Andras Becsi <abecsi@webkit.org>

Reviewed by Csaba Osztrogonác.

[Qt][WK2] Fix build if WebKitTools are not available
https://bugs.webkit.org/show_bug.cgi?id=50242

  • MiniBrowser/qt/MiniBrowser.pro: Correct the comment.
  • Scripts/webkitdirs.pm: Added WebKitTools/MiniBrowser to $subdirs.
  • MiniBrowser/DerivedSources.pro: Added.
5:13 AM Changeset in webkit [73904] by zherczeg@webkit.org
  • 2 edits in trunk/WebCore

Unreviewed build fix for r73894.

SVGFEImage should also check its hasResult() in its apply().

  • svg/graphics/filters/SVGFEImage.cpp:

(WebCore::FEImage::apply):

4:55 AM Changeset in webkit [73903] by abecsi@webkit.org
  • 3 edits in trunk/JavaScriptCore

2010-12-13 Peter Varga <pvarga@inf.u-szeged.hu>

Reviewed by Gavin Barraclough.

Reduce the size of the RegexStackSpaceForBackTrackInfoParentheses in YARR
https://bugs.webkit.org/show_bug.cgi?id=49385

Remove the BackTrackInfoParentheses struct prevBegin and prevEnd members.

  • yarr/RegexInterpreter.cpp: (JSC::Yarr::Interpreter::matchParentheses): (JSC::Yarr::Interpreter::backtrackParentheses):
  • yarr/RegexPattern.h:
4:25 AM Changeset in webkit [73902] by hans@chromium.org
  • 16 edits in branches/chromium/597

Merge 73697 - 2010-12-10 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Numeric keys are floats.
https://bugs.webkit.org/show_bug.cgi?id=50674

Update layout tests to use floating-point values for keys.

  • storage/indexeddb/keyrange-expected.txt:
  • storage/indexeddb/keyrange.html: Make sure creating the keys works.
  • storage/indexeddb/objectstore-cursor-expected.txt:
  • storage/indexeddb/objectstore-cursor.html: Make sure retrieving the keys from the DB objectstore works.

2010-12-10 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Numeric keys are floats.
https://bugs.webkit.org/show_bug.cgi?id=50674

Use floating point to represent numeric keys,
add version meta data to the SQLite db,
and migrate object stores that use integers.

  • bindings/v8/IDBBindingUtilities.cpp: (WebCore::createIDBKeyFromValue):
  • bindings/v8/custom/V8IDBKeyCustom.cpp: (WebCore::toV8):
  • storage/IDBFactoryBackendImpl.cpp: (WebCore::createTables): (WebCore::migrateDatabase): (WebCore::IDBFactoryBackendImpl::open):
  • storage/IDBKey.cpp: (WebCore::IDBKey::IDBKey): (WebCore::IDBKey::fromQuery): (WebCore::IDBKey::bind): (WebCore::IDBKey::bindWithNulls):
  • storage/IDBKey.h: (WebCore::IDBKey::create): (WebCore::IDBKey::number):

2010-12-10 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Numeric keys are floats.
https://bugs.webkit.org/show_bug.cgi?id=50674

Represent numeric keys as floating point values.

  • public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey):
  • src/WebIDBKey.cpp: (WebKit::WebIDBKey::assign): (WebKit::WebIDBKey::number):

TBR=hans@chromium.org
Review URL: http://codereview.chromium.org/5800002

4:11 AM Changeset in webkit [73901] by Csaba Osztrogonác
  • 2 edits in trunk/LayoutTests

Unreviewed.

[Qt] fast/loader/user-stylesheet-fast-path.html fails
https://bugs.webkit.org/show_bug.cgi?id=50911

  • platform/qt/Skipped: Add the failing test until fix.
3:54 AM Changeset in webkit [73900] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-13 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Updated chromium gpu test expectations.

  • platform/chromium-gpu/test_expectations.txt:
3:38 AM Changeset in webkit [73899] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-13 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Updated chromium test expectations.

  • platform/chromium/test_expectations.txt:
3:21 AM Changeset in webkit [73898] by loislo@chromium.org
  • 13 edits in trunk

2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.

Debugger and Resources related notification functions of Inspector.idl were
marked as such with help of "domain" attribute. The other changes in js files
are reflecting this change. Some wrappers in WebInspector namespace were dropped,
the others were moved to DebuggerModel class.

https://bugs.webkit.org/show_bug.cgi?id=50906

  • inspector/Inspector.idl:
  • inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::didParseSource):
  • inspector/InspectorProfilerAgent.cpp: (WebCore::InspectorProfilerAgent::resetState):
  • inspector/front-end/DOMAgent.js: (WebInspector.DOMAgent.prototype.didCommitLoad):
  • inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel): (WebInspector.DebuggerModel.prototype.pausedScript): (WebInspector.DebuggerModel.prototype.resumedScript): (WebInspector.DebuggerModel.prototype.attachDebuggerWhenShown): (WebInspector.DebuggerModel.prototype.debuggerWasEnabled): (WebInspector.DebuggerModel.prototype.debuggerWasDisabled): (WebInspector.DebuggerModel.prototype.parsedScriptSource): (WebInspector.DebuggerModel.prototype.failedToParseScriptSource):
  • inspector/front-end/ProfilesPanel.js: (WebInspector.ProfilesPanel): (WebInspector.ProfilesPanel.prototype.addHeapSnapshots): (WebInspector.ProfilesPanel.prototype.updateMainViewWidth): (WebInspector.ProfilesPanel.prototype.setRecordingProfile):
  • inspector/front-end/ResourceManager.js: (WebInspector.ResourceManager): (WebInspector.ResourceManager.prototype._unbindResourceURL): (WebInspector.ResourceManager.prototype.updateDOMStorage): (WebInspector.ResourceManager.prototype.updateApplicationCacheStatus): (WebInspector.ResourceManager.prototype.didGetFileSystemPath): (WebInspector.ResourceManager.prototype.didGetFileSystemError): (WebInspector.ResourceManager.prototype.didGetFileSystemDisabled): (WebInspector.ResourceManager.prototype.updateNetworkState): (WebInspector.ResourceManager.prototype.addDatabase): (WebInspector.ResourceManager.prototype.addDOMStorage):
  • inspector/front-end/inspector.js:

2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.

Debugger and Resources related notification functions of Inspector.idl were
marked as such with help of "domain" attribute. The other changes in js files
are reflecting this change. Some wrappers in WebInspector namespace were dropped,
the others were moved to DebuggerModel class.

https://bugs.webkit.org/show_bug.cgi?id=50906

  • src/js/Tests.js: (.TestSuite.prototype._waitForScriptPause):

2010-12-13 Ilya Tikhonovsky <loislo@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: Protocol cleanup task. Assign domain attribute to Resources and Debugger specific functions.

Debugger and Resources related notification functions of Inspector.idl were
marked as such with help of "domain" attribute. The other changes in js files
are reflecting this change. Some wrappers in WebInspector namespace were dropped,
the others were moved to DebuggerModel class.

https://bugs.webkit.org/show_bug.cgi?id=50906

  • http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.startDebuggerTest.startTest): (initialize_DebuggerTest.InspectorTest.startDebuggerTest): (initialize_DebuggerTest.InspectorTest.completeDebuggerTest.disableDebugger): (initialize_DebuggerTest.InspectorTest.showScriptSource):
  • platform/chromium/test_expectations.txt:
3:14 AM Changeset in webkit [73897] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-13 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Updated chromium test expectations.

  • platform/chromium/test_expectations.txt:
2:59 AM Changeset in webkit [73896] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-13 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Updated chromium test expectations.

  • platform/chromium/test_expectations.txt:
2:19 AM Changeset in webkit [73895] by eric@webkit.org
  • 2 edits
    1 delete in trunk/WebKitTools

2010-12-13 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

EWS Queues should remove orpahned pyc files before starting
https://bugs.webkit.org/show_bug.cgi?id=50904

A previous check added a platform.py which caused
EWS bots on some platforms to hit an import exception.
The platform.py file was removed in a subsequent commit, but
the EWS bots in question stayed stuck. This change will
fix those bots once restarted (and prevent this in the future).

I also went ahead and unified start-queue and start-commit-queue
since they were nearly identical. I also added bot_id support
to both force all EWSes to have bot ids as well as get rid of the one
remaining reason why I had my own copies of these scripts.
Hopefully this will be enough to get all the other bot admins
(ahem, Adam, ahem) to move to using these checked in copies as well.

  • EWSTools/start-commit-queue.sh: Removed.
  • EWSTools/start-queue.sh:
2:15 AM Changeset in webkit [73894] by zherczeg@webkit.org
  • 23 edits
    1 add in trunk/WebCore

Better result passing in filter primitives
https://bugs.webkit.org/show_bug.cgi?id=49907

Reviewed by Dirk Schulze.

SVG filter primitives can use the output of other filters. The
input and output format of a filter can be a premultiplied or
unmultiplied RGBA array, or an image buffer. All filter
primitive results were converted to image buffers before, which
could be an unecessary (and really costly) operation, if
a filter expects its input in the same format as the output
of the input filter primitive. This overhead is removed by
this patch. All apply() methods are updated according to this
new filter primitive interface.

Filters do not generate their results twice (or more) anymore,
when their apply() called multiple times.

The existing tests cover this feature.

  • manual-tests/svg-filter-animation.svg: Added.
  • platform/graphics/filters/FEBlend.cpp:

(WebCore::FEBlend::apply):

  • platform/graphics/filters/FEColorMatrix.cpp:

(WebCore::FEColorMatrix::apply):

  • platform/graphics/filters/FEComponentTransfer.cpp:

(WebCore::FEComponentTransfer::apply):

  • platform/graphics/filters/FEComposite.cpp:

(WebCore::FEComposite::apply):

  • platform/graphics/filters/FEConvolveMatrix.cpp:

(WebCore::FEConvolveMatrix::apply):

  • platform/graphics/filters/FEDisplacementMap.cpp:

(WebCore::FEDisplacementMap::apply):

  • platform/graphics/filters/FEFlood.cpp:

(WebCore::FEFlood::apply):

  • platform/graphics/filters/FEGaussianBlur.cpp:

(WebCore::FEGaussianBlur::apply):

  • platform/graphics/filters/FELighting.cpp:

(WebCore::FELighting::apply):

  • platform/graphics/filters/FEMerge.cpp:

(WebCore::FEMerge::apply):

  • platform/graphics/filters/FEMerge.h:
  • platform/graphics/filters/FEMorphology.cpp:

(WebCore::FEMorphology::apply):

  • platform/graphics/filters/FEOffset.cpp:

(WebCore::FEOffset::apply):

  • platform/graphics/filters/FETile.cpp:

(WebCore::FETile::apply):

  • platform/graphics/filters/FETurbulence.cpp:

(WebCore::FETurbulence::apply):

  • platform/graphics/filters/FilterEffect.cpp:

(WebCore::FilterEffect::requestedRegionOfInputImageData):
(WebCore::FilterEffect::asImageBuffer):
(WebCore::FilterEffect::asUnmultipliedImage):
(WebCore::FilterEffect::asPremultipliedImage):
(WebCore::FilterEffect::copyImageBytes):
(WebCore::FilterEffect::copyUnmultipliedImage):
(WebCore::FilterEffect::copyPremultipliedImage):
(WebCore::FilterEffect::createImageBufferResult):
(WebCore::FilterEffect::createUnmultipliedImageResult):
(WebCore::FilterEffect::createPremultipliedImageResult):

  • platform/graphics/filters/FilterEffect.h:

(WebCore::FilterEffect::hasResult):

  • platform/graphics/filters/SourceAlpha.cpp:

(WebCore::SourceAlpha::apply):

  • platform/graphics/filters/SourceGraphic.cpp:

(WebCore::SourceGraphic::apply):

  • platform/graphics/filters/SourceGraphic.h:
  • rendering/RenderSVGResourceFilter.cpp:

(WebCore::RenderSVGResourceFilter::postApplyResource):

  • svg/graphics/filters/SVGFEImage.cpp:

(WebCore::FEImage::apply):

2:00 AM Changeset in webkit [73893] by Patrick Gansterer
  • 1 edit
    2 moves in trunk/LayoutTests

2010-12-13 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Move user stylesheet test into platform independent directory
https://bugs.webkit.org/show_bug.cgi?id=47335

There is nothing platform specific in the test, so move it out of the mac directory.

  • fast/loader/user-stylesheet-fast-path-expected.txt: Copied from LayoutTests/platform/mac/fast/loader/user-stylesheet-fast-path-expected.txt.
  • fast/loader/user-stylesheet-fast-path.html: Copied from LayoutTests/platform/mac/fast/loader/user-stylesheet-fast-path.html.
  • platform/mac/fast/loader/user-stylesheet-fast-path-expected.txt: Removed.
  • platform/mac/fast/loader/user-stylesheet-fast-path.html: Removed.
1:50 AM Changeset in webkit [73892] by Csaba Osztrogonác
  • 4 edits in trunk

Unreviewed.

WebCore:

  • WebCore.pro: Remove non-existant loader/Request.h from build system.

WebKit2:

  • WebKit2.pro: Remove non-existant Shared/DrawingAreaBase.h from build system.
1:39 AM Changeset in webkit [73891] by morrita@google.com
  • 2 edits in trunk/LayoutTests

2010-12-13 MORITA Hajime <morrita@google.com>

Unreviewed expectation update.

  • platform/chromium/test_expectations.txt:
1:11 AM Changeset in webkit [73890] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-13 Noel Gordon <noel.gordon@gmail.com>

Reviewed by Eric Seidel.

[chromium] Reduce canvas.toDataURL("image/jpeg") run-time cost by 10%
https://bugs.webkit.org/show_bug.cgi?id=50804

Follow on from r73173, unroll the SkUnPreMultiply::PMColorToColor() call
viz., compute the unpremultiplatcion in-place. This reduces the run-time
cost of jpeg encoding by 10-15% for my image test set.

No new tests: canvas.toDataURL() is covered by existing tests.

  • platform/image-encoders/skia/JPEGImageEncoder.cpp: (WebCore::preMultipliedBGRAtoRGB):
12:56 AM Changeset in webkit [73889] by commit-queue@webkit.org
  • 3 edits
    3 adds in trunk

2010-12-13 Helder Correia <helder@sencha.com>

Reviewed by Eric Seidel.

[Qt] StillImage::draw() should use ContextShadow
https://bugs.webkit.org/show_bug.cgi?id=50849

The branch that checks for a shadow requirement in StillImage::draw()
is executed when drawing a canvas onto a canvas with
ctx1.drawImage(canvas2, x, y). The current implementation supports
solid shadows only. And if transformations are present, the offset gets
transformed as well. Thus, ContextShadow must be used instead in order
to support blur and correct offset transformations.

  • fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Added.
  • fast/canvas/canvas-draw-canvas-on-canvas-shadow.html: Added.
  • fast/canvas/script-tests/canvas-draw-canvas-on-canvas-shadow.js: Added.

2010-12-13 Helder Correia <helder@sencha.com>

Reviewed by Eric Seidel.

[Qt] StillImage::draw() should use ContextShadow
https://bugs.webkit.org/show_bug.cgi?id=50849

The branch that checks for a shadow requirement in StillImage::draw()
is executed when drawing a canvas onto a canvas with
ctx1.drawImage(canvas2, x, y). The current implementation supports
solid shadows only. And if transformations are present, the offset gets
transformed as well. Thus, ContextShadow must be used instead in order
to support blur and correct offset transformations.

Test: fast/canvas/canvas-draw-canvas-on-canvas-shadow.html

  • platform/graphics/qt/StillImageQt.cpp: (WebCore::StillImage::draw):

Dec 12, 2010:

11:18 PM Changeset in webkit [73888] by jhoneycutt@apple.com
  • 2 edits in trunk/WebCore

Unreviewed build fix.

  • editing/EditingAllInOne.cpp:

Add new file to the all-in-one.

10:31 PM Changeset in webkit [73887] by jhoneycutt@apple.com
  • 2 edits in trunk/WebCore

Unreviewed build fix.

  • WebCore.vcproj/WebCore.vcproj:

Remove accidentally-committed conflict marker.

10:06 PM Changeset in webkit [73886] by morrita@google.com
  • 64 edits
    5 adds in trunk

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

  • editing/spelling/script-tests/spellcheck-paste.js: Added.
  • editing/spelling/spellcheck-paste.html: Added.
  • editing/spelling/spellcheck-paste-expected.txt: Added.
  • platform/chromium/test_expectations.txt:
  • platform/gtk/Skipped:
  • platform/mac-leopard/Skipped:
  • platform/mac-tiger/Skipped:
  • platform/mac-wk2/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped:

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

  • Introduced SpellChecker class to encapsulate asynchronous spell checker state: sequence id, requesting text and target node. This is also the first step to decompose spell-check related code to a separate class.
  • Added EditorClient::isAsynchronousSpellCheckingEnabled() to use async spellcheck API on the platform. These APIs are touched by SpellChecker.
  • Used SpellChecker to check a pasted test. Text to check is collected from the subtree under the editingRoot.
  • Added Setting::m_asynchronousSpellCheckingEnabled to control async spell checking.

Test: editing/spelling/spellcheck-paste.html

  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.exp.in:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • dom/DocumentMarkerController.cpp: (WebCore::DocumentMarkerController::showMarkers): (showDocumentMarkers):
  • dom/DocumentMarkerController.h:
  • dom/PositionIterator.cpp: (WebCore::PositionIterator::setOffsetInLeafNode):
  • dom/PositionIterator.h:
  • editing/Editor.cpp: (WebCore::Editor::replaceSelectionWithFragment): (WebCore::Editor::Editor): (WebCore::findFirstMarkable): (WebCore::Editor::selectionStartHasSpellingMarkerFor):
  • editing/Editor.h: (WebCore::Editor::spellChecker):
  • editing/SpellChecker.cpp: Added. (WebCore::SpellChecker::SpellChecker): (WebCore::SpellChecker::~SpellChecker): (WebCore::SpellChecker::initRequest): (WebCore::SpellChecker::clearRequest): (WebCore::SpellChecker::isAsynchronousEnabled): (WebCore::SpellChecker::canCheckAsynchronously): (WebCore::SpellChecker::isBusy): (WebCore::SpellChecker::isValid): (WebCore::SpellChecker::isCheckable): (WebCore::SpellChecker::requestCheckingFor): (WebCore::forwardIterator): (WebCore::SpellChecker::didCheck):
  • editing/SpellChecker.h: Added. (WebCore::SpellCheckingResult::SpellCheckingResult): (WebCore::SpellCheckingResult::type): (WebCore::SpellCheckingResult::location): (WebCore::SpellCheckingResult::length):
  • loader/EmptyClients.h: (WebCore::EmptyEditorClient::requestCheckingOfString):
  • page/EditorClient.h:
  • page/Settings.cpp: (WebCore::Settings::Settings):
  • page/Settings.h: (WebCore::Settings::setAsynchronousSpellCheckingEnabled): (WebCore::Settings::asynchronousSpellCheckingEnabled):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • src/EditorClientImpl.h: (WebKit::EditorClientImpl::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebCoreSupport/EditorClientEfl.h: (WebCore::EditorClientEfl::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebCoreSupport/EditorClientGtk.h: (WebKit::EditorClient::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebCoreSupport/EditorClientHaiku.h: (WebCore::EditorClientHaiku::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added asynchronous spell checking API to WebEditorClient using
-[NSSpellChecker requestCheckingOfString].
Note that WebEditorSpellCheckResponder is a small class to receive
requested spell-checking result. Note that this feature is
disabled at default.

Also added [WebPreferences setAsynchronousSpellCheckingEnabled:] to
enable the feature from LayoutTestController.

  • WebCoreSupport/WebEditorClient.h:
  • WebCoreSupport/WebEditorClient.mm: (-[WebEditorSpellCheckResponder initWithSender:WebCore::sequence:results:]): (-[WebEditorSpellCheckResponder perform]): (toCoreSpellingResult): (-[WebEditorSpellCheckResponder WTF::WebCore::]): (WebEditorClient::requestCheckingOfString):
  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm: (+[WebPreferences initialize]): (-[WebPreferences setAsynchronousSpellCheckingEnabled:]): (-[WebPreferences asynchronousSpellCheckingEnabled]):
  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebCoreSupport/EditorClientQt.h: (WebCore::EditorClientQt::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebCoreSupport/WebEditorClient.h: (WebEditorClient::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebCoreSupport/EditorClientWinCE.h: (WebKit::EditorClient::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebKitSupport/EditorClientWx.h: (WebCore::EditorClientWx::requestCheckingOfString):

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added a stub implememntation.

  • WebProcess/WebCoreSupport/WebEditorClient.cpp: (WebKit::WebEditorClient::requestCheckingOfString):
  • WebProcess/WebCoreSupport/WebEditorClient.h:

2010-10-28 MORITA Hajime <morrita@google.com>

Reviewed by Ojan Vafai.

spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092

Added LayoutTestController::setAsynchronousSpellCheckingEnabled()
to control the setting.

  • DumpRenderTree/LayoutTestController.cpp: (setAsynchronousSpellCheckingEnabledCallback): (LayoutTestController::staticFunctions):
  • DumpRenderTree/LayoutTestController.h:
  • DumpRenderTree/chromium/LayoutTestController.h:
  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  • DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues):
  • DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  • DumpRenderTree/qt/LayoutTestControllerQt.h:
  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  • DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setAsynchronousSpellCheckingEnabled):
  • DumpRenderTree/wx/LayoutTestControllerWx.cpp: (LayoutTestController::setAsynchronousSpellCheckingEnabled):
9:52 PM Changeset in webkit [73885] by tonikitoo@webkit.org
  • 4 edits in trunk/WebCore

2010-12-09 Antonio Gomes <agomes@rim.com>

Reviewed by Daniel Bates.

Spatial Navigation: code clean up (part II)
https://bugs.webkit.org/show_bug.cgi?id=50666

No new tests needed.

  • page/FocusController.cpp: Removed static declaration of updateFocusCandidateIfNeeded() from the top of FocusController.cpp, and added the 'static' keyword where the function is implemented;
  • page/SpatialNavigation.cpp: In FocusCandidate constructor, renamed 'n' to 'node', and added an assert to it; (WebCore::FocusCandidate::FocusCandidate): (WebCore::virtualRectForAreaElementAndDirection): Added an assert to 'node';
  • page/SpatialNavigation.h:I reordered the declaration of some methods in order to group related ones; Removed isScrollableContainerNode() function declaration since it is not used outside SpatialNavigation.cpp; And removed the declaration of isNodeDeepDescendantOfDocument() since it does not exist anymore.
8:41 PM Changeset in webkit [73884] by bweinstein@apple.com
  • 2 edits in trunk/WebKit2

WebKit2: Implement WebInspector::localizedStringsURL on Windows
https://bugs.webkit.org/show_bug.cgi?id=50896

Reviewed by Tim Hatcher.

Find the localized strings file using CFBundleCopyResourceURL.

  • WebProcess/WebPage/win/WebInspectorWin.cpp:

(WebKit::WebInspector::localizedStringsURL):

4:49 PM Changeset in webkit [73883] by weinig@apple.com
  • 2 edits in trunk/LayoutTests

Update WebKit2 skipped list.

  • platform/mac-wk2/Skipped:
4:30 PM Changeset in webkit [73882] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Give LogTextInput a sensible flag value.

Reviewed by Anders Carlsson.

  • Platform/Logging.cpp:
4:25 PM Changeset in webkit [73881] by weinig@apple.com
  • 1 edit in trunk/WebKit2/ChangeLog

Add missing bugzilla URL.

4:14 PM Changeset in webkit [73880] by weinig@apple.com
  • 2 edits in trunk/WebKitTools

Fix failing API test. It turns out that a pop-state event
is sent before every fragment navigation, so we have to test
for it in addition in PageLoadDidChangeLocationWithinPageForFrame.

Reviewed by Anders Carlsson.

  • TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:

(TestWebKitAPI::didSameDocumentNavigationForFrame):

4:02 PM Changeset in webkit [73879] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Remove incorrect assertion that has been firing in the API tester.

Reviewed by Anders Carlsson.

  • UIProcess/WebDatabaseManagerProxy.cpp:

(WebKit::WebDatabaseManagerProxy::~WebDatabaseManagerProxy):

4:00 PM Changeset in webkit [73878] by weinig@apple.com
  • 2 edits in trunk/WebKit2

Disable WebKit2 logging by default.

Reviewed by Anders Carlsson.

  • Platform/Logging.cpp:

(initializeLogChannelsIfNecessary):

12:15 PM Changeset in webkit [73877] by bweinstein@apple.com
  • 4 edits in trunk/WebKit2

Web Inspector: Make inspector on Windows show and be usable in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=50877

Reviewed by Sam Weinig.

Hook up the unimplemented methods in WebInspectorProxyWin to get the web inspector
showing and usable in WebKit2 on Windows.

  • UIProcess/WebInspectorProxy.cpp:

(WebKit::WebInspectorProxy::WebInspectorProxy): Initialize Windows-specific variables to 0.

  • UIProcess/WebInspectorProxy.h:
  • UIProcess/win/WebInspectorProxyWin.cpp:

(WebKit::WebInspectorProxy::registerInspectorViewWindowClass): Sets up the inspector view class.
(WebKit::WebInspectorProxy::InspectorViewWndProc): Calls through to the WebInspectorProxy's non-static

WndProc.

(WebKit::WebInspectorProxy::wndProc): Handles WM_SIZE, WM_CLOSE, and WM_GETMINMAXINFO, the rest go to

::DefWindowProc.

(WebKit::WebInspectorProxy::onSizeEvent): Resize the WKView that has the inspector page to match the

outer window that was just resized.

(WebKit::WebInspectorProxy::onMinMaxInfoEvent): Set the minimum size the window can be resized to.
(WebKit::WebInspectorProxy::onCloseEvent): Hide the window, and call WebInspectorProxy::close.
(WebKit::WebInspectorProxy::platformCreateInspectorPage): Create a WKView and return its page.
(WebKit::WebInspectorProxy::platformOpen): Create an HWND for the inspector, put the inspector's WKView

inside of it, and show the window.

(WebKit::WebInspectorProxy::platformClose): Destroy the inspector's window (which destroys the child WKView),

and 0 out instance variables.

(WebKit::WebInspectorProxy::inspectorPageURL): Finds inspector/inspector.html in the WebKit bundle.

8:25 AM Changeset in webkit [73876] by kbalazs@webkit.org
  • 2 edits in trunk/WebKit2

[Qt][WK2] Crash in WebPage constructor.
https://bugs.webkit.org/show_bug.cgi?id=50892

Reviewed by Andreas Kling.

  • WebProcess/qt/WebProcessQt.cpp:

(WebKit::WebProcess::platformInitializeWebProcess):
Disable runtime enabled features that have no WebKit2 implementation yet.

4:00 AM Changeset in webkit [73875] by xan@webkit.org
  • 2 edits in trunk/WebKit/gtk

2010-12-12 Xan Lopez <xlopez@igalia.com>

Rubber-stamped by Martin Robinson.

  • webkit/webkitwebplugin.h: add a note about the extension list being a NULL-terminated array.
4:00 AM Changeset in webkit [73874] by xan@webkit.org
  • 20 edits in trunk/WebKit/gtk

2010-12-12 Xan Lopez <xlopez@igalia.com>

Rubber-stamped by Gustavo Noronha.

Stop checking for glib >= 2.16, we have dependend on a newer
version for a long time now.

  • tests/testatk.c: Stop checking for glib >= 2.16.
  • tests/testatkroles.c: ditto.
  • tests/testdomdocument.c: ditto.
  • tests/testdomdomwindow.c: ditto.
  • tests/testdomnode.c: ditto.
  • tests/testglobals.c: ditto.
  • tests/testhttpbackend.c: ditto.
  • tests/testloading.c: ditto.
  • tests/testmimehandling.c: ditto.
  • tests/testnetworkrequest.c: ditto.
  • tests/testnetworkresponse.c: ditto.
  • tests/testwebbackforwardlist.c: ditto.
  • tests/testwebdatasource.c: ditto.
  • tests/testwebframe.c: ditto.
  • tests/testwebhistoryitem.c: ditto.
  • tests/testwebresource.c: ditto.
  • tests/testwebsettings.c: ditto.
  • tests/testwebview.c: ditto.
  • tests/testwindow.c: ditto.
3:46 AM Changeset in webkit [73873] by commit-queue@webkit.org
  • 2 edits in trunk/WebKitTools

2010-12-12 Alejandro G. Castro <alex@igalia.com>

Reviewed by Eric Seidel.

[GTK] Add new-run-webkit-tests support to gtk
https://bugs.webkit.org/show_bug.cgi?id=50681

Adding the basic support to run the new-run-webkit-tests.

  • Scripts/webkitpy/layout_tests/port/gtk.py:
3:30 AM Changeset in webkit [73872] by Philippe Normand
  • 2 edits in trunk/WebCore

2010-12-12 Philippe Normand <pnormand@igalia.com>

Reviewed by Xan Lopez.

build-webkit --gtk --minimal fails
https://bugs.webkit.org/show_bug.cgi?id=46267

No new tests, build fix only.

  • GNUmakefile.am: Include some JS bindings generated headers in the build even if their corresponding feature is disabled. They are needed to make the DOM bindings build.
3:02 AM Changeset in webkit [73871] by alex
  • 2 edits in trunk/LayoutTests

2010-12-12 Alejandro G. Castro <alex@igalia.com>

Unreviewed, skipping failing tests in the bots.

  • platform/gtk/Skipped:
3:00 AM Changeset in webkit [73870] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-12 Sam Magnuson <smagnuso@gmail.com>

Reviewed by Eric Seidel.

[Qt] Compile with QT_NO_QUUID_STRING.
https://bugs.webkit.org/show_bug.cgi?id=49745

  • platform/UUID.cpp: (WebCore::createCanonicalUUIDString):
2:58 AM Changeset in webkit [73869] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-12 Ragner Magalhaes <ragner.magalhaes@openbossa.org>

Reviewed by Eric Seidel.

[Qt] Missing style for date pickers on Qt Mobile theme
https://bugs.webkit.org/show_bug.cgi?id=50628

  • css/themeQtMobile.css:

Dec 11, 2010:

11:42 PM Changeset in webkit [73868] by alice.liu@apple.com
  • 2 edits in trunk/WebCore

Mac build fix.

  • platform/network/mac/ResourceResponseMac.mm:

(WebCore::ResourceResponse::platformLazyInit):
Resolve string[0] ambiguity by passing 0U.

7:42 PM Changeset in webkit [73867] by commit-queue@webkit.org
  • 8 edits in trunk/WebKit/qt

2010-12-11 Yi Shen <yi.4.shen@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Memory leaks for QWebPageClient
https://bugs.webkit.org/show_bug.cgi?id=50267

Use OwnPtr to solve this memory leak issue.

  • Api/qgraphicswebview.cpp: (QGraphicsWebViewPrivate::overlay): (QGraphicsWebViewPrivate::QWebViewPrivate::pageClient): (QGraphicsWebViewPrivate::syncLayers): (QGraphicsWebViewPrivate::updateResizesToContentsForPage): (QGraphicsWebViewPrivate::_q_scaleChanged): (QGraphicsWebViewPrivate::detachCurrentPage):
  • Api/qwebpage_p.h:
  • Api/qwebview.cpp: (QWebViewPrivate::detachCurrentPage):
  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::platformPageClient):
  • WebCoreSupport/EditorClientQt.cpp: (WebCore::EditorClientQt::setInputMethodState):
  • WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::createPlugin):
7:24 PM Changeset in webkit [73866] by msaboff@apple.com
  • 5 edits in trunk

2010-12-10 Michael Saboff <msaboff@apple.com>

Reviewed by Gavin Barraclough.

REGRESSION Hang inside Yarr::RegexCodeBlock::execute when visiting
bugs.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=50816

First nested parentheses of the second or greater alternative
where backtracking to the prior parentheses. Changed the default
handling of initial parentheses for all alternatives to go back
to the immediate outer paren.

  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::GenerationState::addParenthesesTail): (JSC::Yarr::RegexGenerator::TermGenerationState::TermGenerationState): (JSC::Yarr::RegexGenerator::TermGenerationState::isLastTerm): (JSC::Yarr::RegexGenerator::TermGenerationState::getTermIndex): (JSC::Yarr::RegexGenerator::TermGenerationState::setParenthesesTail): (JSC::Yarr::RegexGenerator::TermGenerationState::getParenthesesTail): (JSC::Yarr::RegexGenerator::ParenthesesTail::ParenthesesTail): (JSC::Yarr::RegexGenerator::ParenthesesTail::processBacktracks): (JSC::Yarr::RegexGenerator::ParenthesesTail::generateCode): (JSC::Yarr::RegexGenerator::generateParenthesesSingle):

2010-12-10 Michael Saboff <msaboff@apple.com>

Reviewed by Gavin Barraclough.

REGRESSION Hang inside Yarr::RegexCodeBlock::execute when visiting
bugs.webkit.org
https://bugs.webkit.org/show_bug.cgi?id=50816

New test to verify proper backtracking of alternative nested parens.

  • fast/regex/parentheses-expected.txt:
  • fast/regex/script-tests/parentheses.js:
7:21 PM Changeset in webkit [73865] by commit-queue@webkit.org
  • 3 edits in trunk/WebKit/qt

2010-12-11 Jan Erik Hanssen <jhanssen@sencha.com>

Reviewed by Andreas Kling.

[Qt] QWebFrame does not support QNetworkRequest::CacheLoadControl
https://bugs.webkit.org/show_bug.cgi?id=35671

Make QWebFrame respect the QNetworkRequest::CacheLoadControl attribute
set on the request, if any.

  • Api/qwebframe.cpp: (cacheLoadControlToCachePolicy): (QWebFrame::load):
  • tests/qwebframe/tst_qwebframe.cpp:
4:35 PM Changeset in webkit [73864] by abarth@webkit.org
  • 4 edits in trunk/WebCore

2010-12-11 Adam Barth <abarth@webkit.org>

Reviewed by Sam Weinig.

[V8] Move to DOMWindow::setLocation
https://bugs.webkit.org/show_bug.cgi?id=50876

Recently, JavaScriptCore moved to implementing setLocation in WebCore.
This patch change V8 to use that common code path. I haven't removed
the old code path because it's still used for other things (like
assigning window.location.href), but I'll move the rest over in a
future patch.

  • bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::V8DOMWindow::locationAccessorSetter):
  • bindings/v8/specialization/V8BindingState.cpp: (WebCore::::getFirstWindow):
  • bindings/v8/specialization/V8BindingState.h:
12:55 PM Changeset in webkit [73863] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-11 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Updated chromium test expectations.

  • platform/chromium/test_expectations.txt:
12:44 PM XBL2UseCases edited by Dimitri Glazkov
(diff)
11:52 AM XBL2UseCases edited by Dimitri Glazkov
(diff)
10:49 AM Changeset in webkit [73862] by diegohcg@webkit.org
  • 13 edits
    2 adds in trunk

[Qt] Mock DeviceOrientation client for DRT
https://bugs.webkit.org/show_bug.cgi?id=47490

Reviewed by Kenneth Rohde Christiansen.

WebCore:

  • WebCore.pro:

WebKit/qt:

  • WebCoreSupport/DeviceOrientationClientMockQt.cpp: Added.

(WebCore::DeviceOrientationClientMockQt::client):
(WebCore::DeviceOrientationClientMockQt::DeviceOrientationClientMockQt):
(WebCore::DeviceOrientationClientMockQt::~DeviceOrientationClientMockQt):
(WebCore::DeviceOrientationClientMockQt::setController):
(WebCore::DeviceOrientationClientMockQt::startUpdating):
(WebCore::DeviceOrientationClientMockQt::stopUpdating):
(WebCore::DeviceOrientationClientMockQt::lastOrientation):
(WebCore::DeviceOrientationClientMockQt::deviceOrientationControllerDestroyed):
(WebCore::DeviceOrientationClientMockQt::setOrientation):

  • WebCoreSupport/DeviceOrientationClientMockQt.h: Added.
  • WebCoreSupport/DeviceOrientationClientQt.cpp:
  • WebCoreSupport/DeviceOrientationProviderQt.cpp:

(WebCore::DeviceOrientationProviderQt::DeviceOrientationProviderQt):
(WebCore::DeviceOrientationProviderQt::~DeviceOrientationProviderQt):
(WebCore::DeviceOrientationProviderQt::changeDeviceOrientation):

  • WebCoreSupport/DeviceOrientationProviderQt.h:
  • WebCoreSupport/DumpRenderTreeSupportQt.cpp:

(DumpRenderTreeSupportQt::activeMockDeviceOrientationClient):
(DumpRenderTreeSupportQt::removeMockDeviceOrientation):
(DumpRenderTreeSupportQt::setMockDeviceOrientation):

  • WebCoreSupport/DumpRenderTreeSupportQt.h:

WebKitTools:

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:

(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):

  • DumpRenderTree/qt/LayoutTestControllerQt.cpp:

(LayoutTestController::setMockDeviceOrientation):

LayoutTests:

  • platform/qt/Skipped:
10:45 AM Changeset in webkit [73861] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-11 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Update chromium test expectations.

  • platform/chromium/test_expectations.txt:
10:20 AM Changeset in webkit [73860] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-11 Joone Hur <joone@kldp.org>

Reviewed by Alexey Proskuryakov.

enumeration value ‘ResponseTypeArrayBuffer’ not handled in switch
https://bugs.webkit.org/show_bug.cgi?id=50871

Fix the warning which occurs when enumeration value is not handled in switch.

No new tests, no change in behavior.

  • bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::response):
9:14 AM Changeset in webkit [73859] by Philippe Normand
  • 2 edits in trunk/WebKitTools

2010-12-11 Philippe Normand <pnormand@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GTK] launcher: disable the Mozilla-style fullscreen API
https://bugs.webkit.org/show_bug.cgi?id=50874

Disabling the fullscreen API until its implementation for GTK is
mature enough. The webview setting for it is already FALSE by
default.

  • GtkLauncher/main.c: (createWindow):
8:25 AM Changeset in webkit [73858] by xan@webkit.org
  • 6 edits
    7 adds in trunk/WebKit/gtk

2010-12-11 Xan Lopez <xlopez@igalia.com>

Reviewed by Martin Robinson.

[GTK] Add APIs for plugin management
https://bugs.webkit.org/show_bug.cgi?id=50827

Add WebKitWebPluginDatabase and WebKitWebPlugin classes for basic
plugin management at the client level. For now they provide
"read-only" access to the plugin list.

  • GNUmakefile.am: add new files to the build.
  • tests/testwebplugindatabase.c: Test that the database contains the test plugin, which should always be loaded.
  • webkit/webkit.h: add new headers.
  • webkit/webkitdefines.h: add new defines.
  • webkit/webkitwebplugin.cpp: An new class representing a plugin object.
  • webkit/webkitwebplugin.h: ditto.
  • webkit/webkitwebplugindatabase.cpp: A new class that contains the list of active plugins.
  • webkit/webkitwebplugindatabase.h: ditto.
  • webkit/webkitwebplugindatabaseprivate.h: Private header.
  • webkit/webkitwebpluginprivate.h: Private header.
  • webkit/webkitwebview.cpp: (webkit_get_web_plugin_database): returns the WebKitWebPluginDatabase for this session.
  • webkit/webkitwebview.h: add method to header.
7:44 AM Changeset in webkit [73857] by alex
  • 2 edits in trunk/LayoutTests

2010-12-11 Alejandro G. Castro <alex@igalia.com>

Unreviewed, skipping failing tests in the bots.

  • platform/gtk/Skipped:
7:38 AM Changeset in webkit [73856] by xan@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-11 Xan Lopez <xlopez@igalia.com>

Skip failing http test.

  • platform/gtk/Skipped:
5:05 AM Changeset in webkit [73855] by kov@webkit.org
  • 21 edits
    11 adds in trunk/WebKit/gtk

2010-12-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Split webkitprivate.{cpp,h} in more manageable chunks
https://bugs.webkit.org/show_bug.cgi?id=50698

Split private bits of several objects to their own private
headers, and to their implementation files.

  • GNUmakefile.am:
  • WebCoreSupport/ChromeClientGtk.cpp:
  • WebCoreSupport/EditorClientGtk.cpp:
  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchWillSendRequest):
  • webkit/webkitdownload.cpp: (webkit_download_set_response):
  • webkit/webkitdownloadprivate.h: Added.
  • webkit/webkithittestresult.cpp: (WebKit::kit):
  • webkit/webkithittestresultprivate.h: Added.
  • webkit/webkitnetworkresponse.cpp: (WebKit::core): (WebKit::kitNew):
  • webkit/webkitnetworkresponseprivate.h: Added.
  • webkit/webkitprivate.cpp:
  • webkit/webkitprivate.h:
  • webkit/webkitsecurityorigin.cpp: (webkit_security_origin_get_web_database): (WebKit::core): (WebKit::kit):
  • webkit/webkitsecurityoriginprivate.h: Added.
  • webkit/webkitviewportattributes.cpp:
  • webkit/webkitviewportattributesprivate.h: Added.
  • webkit/webkitwebbackforwardlist.cpp:
  • webkit/webkitwebbackforwardlistprivate.h: Added.
  • webkit/webkitwebdatabase.cpp:
  • webkit/webkitwebframe.cpp: (webkit_web_frame_get_network_response):
  • webkit/webkitwebhistoryitem.cpp:
  • webkit/webkitwebhistoryitemprivate.h: Added.
  • webkit/webkitwebnavigationaction.cpp: (WebKit::kit): (WebKit::core):
  • webkit/webkitwebnavigationactionprivate.h: Added.
  • webkit/webkitwebpolicydecision.cpp:
  • webkit/webkitwebpolicydecisionprivate.h: Added.
  • webkit/webkitwebresource.cpp:
  • webkit/webkitwebresourceprivate.h: Added.
  • webkit/webkitwebsettings.cpp:
  • webkit/webkitwebsettingsprivate.h: Added.
  • webkit/webkitwebview.cpp:
4:51 AM Changeset in webkit [73854] by xan@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-11 Xan Lopez <xlopez@igalia.com>

Another crashing inspector test.

  • platform/gtk/Skipped:
4:48 AM Changeset in webkit [73853] by Patrick Gansterer
  • 7 edits in trunk

2010-12-11 Patrick Gansterer <Patrick Gansterer>

Reviewed by Darin Adler.

Add an overload to makeString for Vector<char>
https://bugs.webkit.org/show_bug.cgi?id=50123

Also cleanup StringTypeAdapter.

  • wtf/text/StringConcatenate.h:

2010-12-11 Patrick Gansterer <Patrick Gansterer>

Reviewed by Darin Adler.

Add an overload to makeString for Vector<char>
https://bugs.webkit.org/show_bug.cgi?id=50123

This also contains a segfault fix for ImageBuffer::toDataURL of the Haiku port.

  • platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::toDataURL):
  • platform/graphics/gtk/ImageBufferGtk.cpp: (WebCore::ImageBuffer::toDataURL):
  • platform/graphics/haiku/ImageBufferHaiku.cpp: (WebCore::ImageBuffer::toDataURL):
  • platform/graphics/skia/ImageBufferSkia.cpp: (WebCore::ImageBuffer::toDataURL):
4:36 AM Changeset in webkit [73852] by jhoneycutt@apple.com
  • 7 edits in trunk/WebKit2

Select menus with short option titles do not paint properly
https://bugs.webkit.org/show_bug.cgi?id=50860
<rdar://problem/8660807>

The backing stores used for painting the popup menu items were only as
wide as the widest option title, but the popup window that we create is
at least as wide as the <select> element. This adjusts the backing
stores to be at least as wide as the <select>, as well.

Reviewed by Sam Weinig.

  • UIProcess/win/WebPopupMenuProxyWin.cpp:

(WebKit::WebPopupMenuProxyWin::paint):
Paint using the width of the backing store.

  • WebProcess/WebCoreSupport/WebPopupMenu.cpp:

(WebKit::WebPopupMenu::show):
Pass the page coordinates of the <select> element to
setUpPlatformData().

  • WebProcess/WebCoreSupport/WebPopupMenu.h:

Added new parameter to setUpPlatformData().

  • WebProcess/WebCoreSupport/mac/WebPopupMenuMac.mm:

(WebKit::WebPopupMenu::setUpPlatformData):
Ditto.

  • WebProcess/WebCoreSupport/qt/WebPopupMenuQt.cpp:

(WebKit::WebPopupMenu::setUpPlatformData):
Ditto.

  • WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:

(WebKit::WebPopupMenu::setUpPlatformData):
Fixed a typo in a comment. Adjust the backing store size to be at least
as wide as the <select> element, and use that width when painting the
items to the backing store.

3:37 AM Changeset in webkit [73851] by xan@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-11 Xan Lopez <xlopez@igalia.com>

inspector/debugger-step-out.html crashing intermittently in the bots
https://bugs.webkit.org/show_bug.cgi?id=50868

  • platform/gtk/Skipped:
3:26 AM Changeset in webkit [73850] by Philippe Normand
  • 2 edits in trunk/LayoutTests

2010-12-11 Philippe Normand <pnormand@igalia.com>

Unreviewed, unskip some media tests on GTK that don't fail locally.

  • platform/gtk/Skipped:
2:53 AM Changeset in webkit [73849] by kov@webkit.org
  • 1 copy in releases/WebKitGTK/webkit-1.3.7

Late tagging of 1.3.7.

1:49 AM Changeset in webkit [73848] by Csaba Osztrogonác
  • 2 edits in trunk/WebKit2

Unreviewed Qt buildfix after r73808.

WebKit2: Need a WebKit2 equivalent of the WebKit1 WebDatabaseManager
https://bugs.webkit.org/show_bug.cgi?id=50606

  • DerivedSources.pro:
1:10 AM Changeset in webkit [73847] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit2

2010-12-11 Sheriff Bot <webkit.review.bot@gmail.com>

Unreviewed, rolling out r73834.
http://trac.webkit.org/changeset/73834
https://bugs.webkit.org/show_bug.cgi?id=50866

It broke Qt-WebKit2 build, because of missing WK2_DIR variable
(Requested by Ossy on #webkit).

  • WebKit2.pro:

Dec 10, 2010:

11:29 PM Changeset in webkit [73846] by sfalken@apple.com
  • 3 edits in tags/Safari-534.14.2/WebCore

Merge r73840.

11:26 PM Changeset in webkit [73845] by sfalken@apple.com
  • 2 edits in tags/Safari-534.14.2/JavaScriptCore

Merge r73837.

11:21 PM Changeset in webkit [73844] by ap@apple.com
  • 2 edits in trunk/WebCore

Mac build fix.

  • platform/network/cf/ResourceResponseCFNet.cpp: (WebCore::ResourceResponse::platformLazyInit): Resolve string[0] ambiguity by passing 0U.
11:19 PM Changeset in webkit [73843] by sfalken@apple.com
  • 5 edits in tags/Safari-534.14.2

Versioning.

11:14 PM Changeset in webkit [73842] by commit-queue@webkit.org
  • 2 edits in trunk/JavaScriptCore

2010-12-10 Siddharth Mathur <siddharth.mathur@nokia.com>

Reviewed by Eric Seidel.

[Qt] Build fix for Symbian: don't compile POSIX memory management implementation
https://bugs.webkit.org/show_bug.cgi?id=50707

  • wtf/wtf.pri:
11:10 PM Changeset in webkit [73841] by sfalken@apple.com
  • 1 copy in tags/Safari-534.14.2

New tag.

11:03 PM Changeset in webkit [73840] by sfalken@apple.com
  • 3 edits in trunk/WebCore

Windows production build fix.

Only the vsprops are indirected through WebKitVSPropsRedirectionDir, not the scripts in WebKitLibraries/win/tools/scripts.

  • WebCore.vcproj/WebCoreGeneratedCommon.vsprops:
  • WebCore.vcproj/build-generated-files.sh:
10:50 PM Changeset in webkit [73839] by commit-queue@webkit.org
  • 1 edit
    2 deletes in trunk/WebCore

2010-12-10 John Knottenbelt <jknotten@chromium.org>

Reviewed by Eric Seidel.

Remove WebCore/platform/mac/GeolocationService.{h,mm}
https://bugs.webkit.org/show_bug.cgi?id=50074

Remove unused non-client-based geolocation code.

  • platform/mac/GeolocationServiceMac.h: Removed.
  • platform/mac/GeolocationServiceMac.mm: Removed.
10:47 PM Changeset in webkit [73838] by eric@webkit.org
  • 6 edits in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

commit-queue flaky test messages show cryptic version information for mac os x
https://bugs.webkit.org/show_bug.cgi?id=50864

Turns out platform.platform() returns kernel version information
which isn't helpful, and just plain confusing on Mac
(OS X 10.6.5 uses Darwin Kernel 10.5.0).

So I've updated PlatformInfo.display_name() to special case
mac. I also found a bad use of sys.platform in the process
and fixed that. (sys.platform always returns 'darwin' on mac).

  • Scripts/webkitpy/common/system/platforminfo.py:
  • Scripts/webkitpy/common/system/user.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
10:40 PM Changeset in webkit [73837] by sfalken@apple.com
  • 2 edits in trunk/JavaScriptCore

Windows production build fix.

Don't stop if react-to-vsprops-changes.py exits with an error,
since this will occur in production builds.

10:15 PM Changeset in webkit [73836] by ap@apple.com
  • 4 edits
    2 adds in trunk

2010-12-10 Alexey Proskuryakov <ap@apple.com>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=46573
<rdar://problem/8479389> REGRESSION: charset="utf-8" (with quotes) doesn't work

  • http/tests/mime/quoted-charset-expected.txt: Added.
  • http/tests/mime/quoted-charset.php: Added.

2010-12-10 Alexey Proskuryakov <ap@apple.com>

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=46573
<rdar://problem/8479389> REGRESSION: charset="utf-8" (with quotes) doesn't work

Test: http/tests/mime/quoted-charset.php

  • platform/network/cf/ResourceResponseCFNet.cpp: (WebCore::ResourceResponse::platformLazyInit):
  • platform/network/mac/ResourceResponseMac.mm: (WebCore::ResourceResponse::platformLazyInit): Work around a CFNetwork issue, strip quotes if they are present.
9:34 PM Changeset in webkit [73835] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Unreviewed.

Exception seen while reporting flaky test with commit-queue.
Just a missing include.

  • Scripts/webkitpy/tool/bot/flakytestreporter.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
8:58 PM Changeset in webkit [73834] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit2

2010-12-10 Siddharth Mathur <siddharth.mathur@nokia.com>

Reviewed by Eric Seidel.

[Qt][WK2] Make WebKit2 static library compile on Symbian
https://bugs.webkit.org/show_bug.cgi?id=50861

  • WebKit2.pro:
7:25 PM Changeset in webkit [73833] by kinuko@chromium.org
  • 3 edits in trunk/WebKitTools

2010-12-10 Kinuko Yasuda <kinuko@chromium.org>

Reviewed by Eric Seidel.

[Chromium] Remove old JSONResultsGenerator script that existed for backward-compatibility
https://bugs.webkit.org/show_bug.cgi?id=50796

Also updating the test code to use JSONResultsGeneratorBase and
to improve test coverage for incremental cases.

  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
  • Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
7:00 PM Changeset in webkit [73832] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-10 Vincent Scheib <scheib@chromium.org>

Reviewed by James Robinson.

Shader::loadShader() must initialize variable passed to getShaderiv
https://bugs.webkit.org/show_bug.cgi?id=50842

Test: fast/canvas/canvas-largedraws.html

  • platform/graphics/gpu/Shader.cpp: (WebCore::Shader::loadShader):
6:53 PM Changeset in webkit [73831] by commit-queue@webkit.org
  • 3 edits in trunk/WebCore

2010-12-10 Vincent Scheib <scheib@chromium.org>

Reviewed by James Robinson.

Texture::updateSubRect should pass IntRect by reference
https://bugs.webkit.org/show_bug.cgi?id=50845

No test, changing to pass by ref.

  • platform/graphics/gpu/Texture.cpp: (WebCore::Texture::updateSubRect):
  • platform/graphics/gpu/Texture.h:
6:43 PM Changeset in webkit [73830] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-10 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium test expectation update.

Attach more specific bug IDs to Philip canvas test suite failures.

  • platform/chromium/test_expectations.txt:
6:20 PM Changeset in webkit [73829] by Darin Adler
  • 6 edits in trunk/WebCore

2010-12-10 Darin Adler <Darin Adler>

Reviewed by Sam Weinig.

Move open and showModalDialog implementations from bindings into DOM class DOMWindow
https://bugs.webkit.org/show_bug.cgi?id=50836

  • bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::open): Removed most of the code and changed to call DOMWindow::open. (WebCore::DialogHandler::DialogHandler): Added. Object is used to handle the arguments and return value in showModalDialog. (WebCore::DialogHandler::dialogCreated): Ditto. (WebCore::DialogHandler::returnValue): Ditto. (WebCore::setUpDialog): Added. Function passed to showModalDialog that just casts pointer to DialogHandler can calls dialogCreated. (WebCore::JSDOMWindow::showModalDialog): Removed most of the code and changed to call DOMWindow::showModalDialog. (WebCore::JSDOMWindow::postMessage): Made style match the rest of the file by renaming local variables and getting rid of a needless ones.
  • page/DOMWindow.cpp: (WebCore::DOMWindow::parseModalDialogFeatures): Moved body of this function to the WindowFeatures class. (WebCore::DOMWindow::allowPopUp): Renamed argument from activeFrame to firstFrame, because that's the frame we pass in here. Also added an overload so this can be called on a window rather than a frame. (WebCore::DOMWindow::setLocation): Renamed a couple variables so the names are the same as in open and showModalDialog. Factored the JavaScript security check into a new function named isInsecureScriptAccess. (WebCore::DOMWindow::isInsecureScriptAccess): Here is the new function. (WebCore::DOMWindow::createWindow): Added. Contains logic shared by open and showModalDialog just as the function named createWindow in JSDOMWindowCustom.cpp used to. (WebCore::DOMWindow::open): Added. Code from JSDOMWindowCustom without the JavaScript language binding part, and with a bit of refactoring to share code with the rest of the DOMWindow class. (WebCore::DOMWindow::showModalDialog): Ditto.
  • page/DOMWindow.h: Moved conditional parts of the file into separate paragraphs in alphabetical order so they are not scattered thorugh the file. Removed redundant includes. Added some blank lines for clarity. Added an open function and a showModalDialog function. Added private createWindow and isInsecureScriptAccess functions.
  • page/WindowFeatures.cpp: (WebCore::isWindowFeaturesSeparator): Renamed from isSeparator for clarity. (WebCore::WindowFeatures::WindowFeatures): Updated for name change. Used isEmpty instead of checking length. Added a new constructor for use when making dialogs, with code from the showModalDialog function. (WebCore::WindowFeatures::boolFeature): Use DialogFeaturesMap typedef. (WebCore::WindowFeatures::floatFeature): Use DialogFeaturesMap typedef. Renamed a local variable and tweaked the comments a bit. (WebCore::WindowFeatures::parseDialogFeatures): Added. Code moved here from DOMWindow::parseDialogFeatures and refactored a bit.
  • page/WindowFeatures.h: Added new constructor, new parseDialogFeatures function, DialogFeaturesMap typedef, and made setWindowFeature function private.
6:14 PM Changeset in webkit [73828] by weinig@apple.com
  • 4 edits in trunk/WebKit2

Ensure that we are not getting too many wheel events
<rdar://problem/7881465>

Reviewed by Anders Carlsson.

Add simple coalescing of wheel events being sent to the WebProcess. This
adds two models, one which drops interim events and one which merges events
together. For now, we are using the simpler dropping model.

  • Shared/WebEvent.h:

(WebKit::WebEvent::modifiers):

  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):
(WebKit::coalesceWheelEvents):
(WebKit::WebPageProxy::handleWheelEvent):
(WebKit::WebPageProxy::didReceiveEvent):

  • UIProcess/WebPageProxy.h:
6:08 PM Changeset in webkit [73827] by Joseph Pecoraro
  • 8 edits in trunk/WebKitTools

2010-12-10 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Darin Adler.

prepare-ChangeLog --help doesn't mention --bug shorthand -b
https://bugs.webkit.org/show_bug.cgi?id=50835

  • Scripts/prepare-ChangeLog: be more explicit about -b and match file style.
6:02 PM Changeset in webkit [73826] by Joseph Pecoraro
  • 2 edits in trunk/WebKitTools

2010-12-10 Joseph Pecoraro <Joseph Pecoraro>

Reviewed by Darin Adler.

prepare-ChangeLog --help doesn't mention --bug shorthand -b
https://bugs.webkit.org/show_bug.cgi?id=50835

  • Scripts/prepare-ChangeLog: be more explicit about -b and match file style.
6:00 PM Changeset in webkit [73825] by Chris Fleizach
  • 14 edits in trunk

AX: refactor AccessibilityRenderObject::doAccessibilityHitTest
https://bugs.webkit.org/show_bug.cgi?id=50574

Reviewed by Darin Adler.

WebCore:

Refactors accessibility hit testing to allow for a more flexible model when handling elements
with fake sub-elements (like sliders or list boxes).

Renamed doAccessibilityHitTest -> accessibilityHitTest, which is called on the root
accessibility render object. Then subclassers are able to override
elementAccessibilityHitTest to return their own specific elements.

  • accessibility/AccessibilityListBox.cpp:

(WebCore::AccessibilityListBox::elementAccessibilityHitTest):

  • accessibility/AccessibilityListBox.h:
  • accessibility/AccessibilityObject.h:

(WebCore::AccessibilityObject::accessibilityHitTest):
(WebCore::AccessibilityObject::elementAccessibilityHitTest):

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::accessibilityHitTest):

  • accessibility/AccessibilityRenderObject.h:
  • accessibility/AccessibilitySlider.cpp:

(WebCore::AccessibilitySlider::elementAccessibilityHitTest):

  • accessibility/AccessibilitySlider.h:
  • accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:

(webkit_accessible_component_ref_accessible_at_point):

  • accessibility/mac/AccessibilityObjectWrapper.mm:

(-[AccessibilityObjectWrapper accessibilityHitTest:]):

WebKit/chromium:

  • src/WebAccessibilityObject.cpp:

(WebKit::WebAccessibilityObject::hitTest):

WebKit/win:

  • AccessibleBase.cpp:

(AccessibleBase::accHitTest):

5:48 PM Changeset in webkit [73824] by commit-queue@webkit.org
  • 6 edits
    5 adds
    40 deletes in trunk/LayoutTests

2010-12-10 W. James MacLean <wjmaclean@chromium.org>

Reviewed by Ojan Vafai.

Remove unnecessary pixel results, use platform-independent text results, re Changeset 72802
https://bugs.webkit.org/show_bug.cgi?id=50233

First part of two-part patch to remove unnecessary pixel tests, and (in part two)
have a single set of text expectations for all platforms. The standardized text
expectations are added in this patch.

  • platform/chromium-linux/svg/custom/svg-parse-overflow-1-expected.checksum: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-1-expected.png: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-2-expected.checksum: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-2-expected.png: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-3-expected.checksum: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-3-expected.png: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-4-expected.checksum: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-4-expected.png: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-5-expected.checksum: Removed.
  • platform/chromium-linux/svg/custom/svg-parse-overflow-5-expected.png: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-1-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-1-expected.png: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-2-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-2-expected.png: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-3-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-3-expected.png: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-4-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-4-expected.png: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-5-expected.checksum: Removed.
  • platform/chromium-mac/svg/custom/svg-parse-overflow-5-expected.png: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-1-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-1-expected.png: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-2-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-2-expected.png: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-3-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-3-expected.png: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-4-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-4-expected.png: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-5-expected.checksum: Removed.
  • platform/chromium-win/svg/custom/svg-parse-overflow-5-expected.png: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-1-expected.checksum: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-1-expected.png: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-2-expected.checksum: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-2-expected.png: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-3-expected.checksum: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-3-expected.png: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-4-expected.checksum: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-4-expected.png: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-5-expected.checksum: Removed.
  • platform/mac/svg/custom/svg-parse-overflow-5-expected.png: Removed.
  • svg/custom/svg-parse-overflow-1-expected.txt: Added.
  • svg/custom/svg-parse-overflow-1.html:
  • svg/custom/svg-parse-overflow-2-expected.txt: Added.
  • svg/custom/svg-parse-overflow-2.html:
  • svg/custom/svg-parse-overflow-3-expected.txt: Added.
  • svg/custom/svg-parse-overflow-3.html:
  • svg/custom/svg-parse-overflow-4-expected.txt: Added.
  • svg/custom/svg-parse-overflow-4.html:
  • svg/custom/svg-parse-overflow-5-expected.txt: Added.
  • svg/custom/svg-parse-overflow-5.html:
5:35 PM Changeset in webkit [73823] by eric@webkit.org
  • 7 edits in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Teach webkitpy how to follow duplicate chains when posting comments on flake bugs
https://bugs.webkit.org/show_bug.cgi?id=50853

I also discovered when doing this that the code was posting
the comment on the wrong bug, but that's fixed here too.

  • Scripts/webkitpy/common/net/bugzilla/bug.py:
  • Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
  • Scripts/webkitpy/tool/mocktool.py:
5:31 PM Changeset in webkit [73822] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed Chromium test expectations update.

  • platform/chromium/test_expectations.txt:
5:25 PM Changeset in webkit [73821] by kbr@google.com
  • 2 edits in trunk/WebCore

2010-12-10 Kenneth Russell <kbr@google.com>

Reviewed by Darin Adler.

Clean up assertion in Extensions3DOpenGL.cpp
https://bugs.webkit.org/show_bug.cgi?id=50852

Built Release mode to test. No functionality change.

  • platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::ensureEnabled):
5:23 PM Changeset in webkit [73820] by commit-queue@webkit.org
  • 9 edits
    4 adds in trunk

2010-12-10 Cosmin Truta <ctruta@chromium.org>

Reviewed by Eric Seidel.

Crash while processing ill-formed <textPath> ouside of <text>
https://bugs.webkit.org/show_bug.cgi?id=47759

Ensure that ill-formed text content child elements do not crash.

  • svg/custom/invalid-text-content.svg: Added.
  • svg/custom/invalid-text-content-expected.checksum: Added.
  • svg/custom/invalid-text-content-expected.png: Added.
  • svg/custom/invalid-text-content-expected.txt: Added.

2010-12-10 Cosmin Truta <ctruta@chromium.org>

Reviewed by Eric Seidel.

Crash while processing ill-formed <textPath> ouside of <text>
https://bugs.webkit.org/show_bug.cgi?id=47759

Renderers within a <text> subtree are created only when their corresponding elements
satisfy the content model.

Test: svg/custom/invalid-text-content.svg

  • svg/SVGTRefElement.cpp: (WebCore::SVGTRefElement::childShouldCreateRenderer): Fixed to comply with the content model. (WebCore::SVGTRefElement::rendererIsNeeded): Added.
  • svg/SVGTRefElement.h:
  • svg/SVGTSpanElement.cpp: (WebCore::SVGTSpanElement::childShouldCreateRenderer): Fixed to comply with the content model. (WebCore::SVGTSpanElement::rendererIsNeeded): Added.
  • svg/SVGTSpanElement.h: Changed indentation.
  • svg/SVGTextElement.cpp: (WebCore::SVGTextElement::childShouldCreateRenderer): Reformatted.
  • svg/SVGTextPathElement.cpp: (WebCore::SVGTextPathElement::childShouldCreateRenderer): Fixed to comply with the content model. (WebCore::SVGTextPathElement::rendererIsNeeded): Added.
  • svg/SVGTextPathElement.h:
5:19 PM Changeset in webkit [73819] by zmo@google.com
  • 24 edits in trunk

2010-12-10 Zhenyao Mo <zmo@google.com>

Reviewed by Adam Barth.

Use enums instead of booleans in ImageSource/ImageDecoder constructors
https://bugs.webkit.org/show_bug.cgi?id=50818

  • src/WebImageDecoder.cpp: (WebKit::WebImageDecoder::init): Use enums instead of boolean in ImageDecoder constructor.

2010-12-10 Zhenyao Mo <zmo@google.com>

Reviewed by Adam Barth.

Use enums instead of booleans in ImageSource/ImageDecoder constructors
https://bugs.webkit.org/show_bug.cgi?id=50818

This patch basically defines two enum type in ImageSource: AlphaOption
and GammaAndColorProfileOption and use them as ImageSource and ImageDecoder
constructor parameters instead of boolean typs.

  • platform/graphics/ImageSource.cpp: (WebCore::ImageSource::ImageSource): (WebCore::ImageSource::setData):
  • platform/graphics/ImageSource.h: Define the two enum types.
  • platform/graphics/cg/GraphicsContext3DCG.cpp: (WebCore::GraphicsContext3D::getImageData):
  • platform/graphics/cg/ImageSourceCG.cpp: (WebCore::ImageSource::ImageSource):
  • platform/graphics/qt/ImageDecoderQt.cpp: (WebCore::ImageDecoder::create): (WebCore::ImageDecoderQt::ImageDecoderQt):
  • platform/graphics/qt/ImageDecoderQt.h:
  • platform/graphics/skia/GraphicsContext3DSkia.cpp: (WebCore::GraphicsContext3D::getImageData):
  • platform/image-decoders/ImageDecoder.cpp: (WebCore::ImageDecoder::create):
  • platform/image-decoders/ImageDecoder.h: (WebCore::ImageDecoder::ImageDecoder):
  • platform/image-decoders/bmp/BMPImageDecoder.cpp: (WebCore::BMPImageDecoder::BMPImageDecoder):
  • platform/image-decoders/bmp/BMPImageDecoder.h:
  • platform/image-decoders/gif/GIFImageDecoder.cpp: (WebCore::GIFImageDecoder::GIFImageDecoder):
  • platform/image-decoders/gif/GIFImageDecoder.h:
  • platform/image-decoders/ico/ICOImageDecoder.cpp: (WebCore::ICOImageDecoder::ICOImageDecoder): (WebCore::ICOImageDecoder::decodeAtIndex):
  • platform/image-decoders/ico/ICOImageDecoder.h:
  • platform/image-decoders/jpeg/JPEGImageDecoder.cpp: (WebCore::JPEGImageDecoder::JPEGImageDecoder):
  • platform/image-decoders/jpeg/JPEGImageDecoder.h:
  • platform/image-decoders/png/PNGImageDecoder.cpp: (WebCore::PNGImageDecoder::PNGImageDecoder):
  • platform/image-decoders/png/PNGImageDecoder.h:
  • platform/image-decoders/webp/WEBPImageDecoder.cpp: (WebCore::WEBPImageDecoder::WEBPImageDecoder):
  • platform/image-decoders/webp/WEBPImageDecoder.h:
4:30 PM Changeset in webkit [73818] by rniwa@webkit.org
  • 2 edits in trunk/WebCore

2010-12-10 Ryosuke Niwa <rniwa@webkit.org>

Reviewed by Darin Adler.

REGRESSION(r73799): editing/execCommand/4920488.html fails
https://bugs.webkit.org/show_bug.cgi?id=50854

The regression was caused by Range::processContents's not extracting
m_end.container()->firstChild(). Fixed the bug by always adding the first child.

  • dom/Range.cpp: (WebCore::Range::processContents):
4:12 PM Changeset in webkit [73817] by abarth@webkit.org
  • 4 edits
    6 adds in trunk

2010-12-10 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

REGRESSION: Infinite redirect on developer.apple.com
https://bugs.webkit.org/show_bug.cgi?id=45627

Tests: fast/loader/form-submit-aborts-parsing.html

fast/loader/location-change-aborts-parsing.html

This patch is not pretty, but it fixes the bug. I stole this approach
from the old HTML parser (as suggested by Eric Seidel). The other
approaches that folks tried for this bug are better, but it's inclear
how to get them to work correctly. I've added a large FIXME comment.

  • html/parser/HTMLDocumentParser.cpp: (WebCore::HTMLDocumentParser::pumpTokenizer):
  • html/parser/HTMLTreeBuilder.h: (WebCore::HTMLTreeBuilder::isParsingFragment):

2010-12-10 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

REGRESSION: Infinite redirect on developer.apple.com
https://bugs.webkit.org/show_bug.cgi?id=45627

Tests originally by Tony Gentilcore.

  • fast/loader/form-submit-aborts-parsing-expected.txt: Added.
  • fast/loader/form-submit-aborts-parsing.html: Added.
  • fast/loader/location-change-aborts-parsing-expected.txt: Added.
  • fast/loader/location-change-aborts-parsing.html: Added.
  • fast/loader/resources/location-change-aborts-parsing-fail.html: Added.
  • fast/loader/resources/location-change-aborts-parsing-pass.html: Added.
3:49 PM Changeset in webkit [73816] by andersca@apple.com
  • 13 edits in trunk

Make WKContextGetStatistics gather global statistics
https://bugs.webkit.org/show_bug.cgi?id=50850

Reviewed by John Sullivan.

WebKit2:

Change WKContextGetStatistics to work on all objects in the process, and
make it more robust by incrementing/decrementing the counts in the constructor
and destructor respectively.

Also, rename WKContextGetStatistics to WKContextGetGlobalStatistics to better match
what it's actually doing.

  • UIProcess/API/C/WKContext.cpp:

(WKContextGetStatistics):

  • UIProcess/API/C/WKContextPrivate.h:
  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:pageNamespaceRef:pageGroupRef:]):
(-[WKView dealloc]):

  • UIProcess/WebContext.cpp:

(WebKit::WebContext::statistics):

  • UIProcess/WebContext.h:
  • UIProcess/WebFrameProxy.cpp:

(WebKit::WebFrameProxy::WebFrameProxy):
(WebKit::WebFrameProxy::~WebFrameProxy):

  • UIProcess/WebPageNamespace.cpp:
  • UIProcess/WebPageNamespace.h:
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::WebPageProxy):
(WebKit::WebPageProxy::~WebPageProxy):

  • UIProcess/WebPageProxy.h:

WebKitTools:

Remove the code that gets the statistics and fills in the per context
statistics information for now.

  • MiniBrowser/mac/BrowserStatisticsWindowController.m:

(-[BrowserStatisticsWindowController refreshStatistics:]):

3:43 PM Changeset in webkit [73815] by bweinstein@apple.com
  • 4 edits in trunk/WebKit2

WebKit2: Context menu support on Windows
<https://bugs.webkit.org/show_bug.cgi?id=50514>

Reviewed by Darin Adler.

Implment showing of the context menu on Windows for WebKit2, and calling through to
WebPageProxy::contextMenuItemSelected.

  • UIProcess/win/WebContextMenuProxyWin.cpp:

(WebKit::WebContextMenuProxyWin::WebContextMenuProxyWin): Initialize the member variables.
(WebKit::WebContextMenuProxyWin::populateMenu): Iterate over the vector of WebContextMenuItemData

that was passed in, adding the menu items and recursively calling back into this function to populate
any submenus that are needed. This function also sets up the map from action identifierss to WebContextMenuItemData,
to use to find the WebContextMenuItemData from a selected menu item.

(WebKit::WebContextMenuProxyWin::showContextMenu): Destroy any menu we have already created, populate the menu

to show, and show the context menu. Once TrackPopupMenuEx returns, it returns identifier of the selected menu item.
Look up that identifier in the map we created, and tell the WebPageProxy that a context menu item was selected.

(WebKit::WebContextMenuProxyWin::hideContextMenu): Destroy the HMENU if it is non-null, and clear the identifier map.

  • UIProcess/win/WebContextMenuProxyWin.h:

(WebKit::WebContextMenuProxyWin::create): Call through to the constructor, and change the arguments that it takes.

  • UIProcess/win/WebView.cpp:

(WebKit::WebView::createContextMenuProxy): Call with the correct arguments.

3:41 PM Changeset in webkit [73814] by jberlin@webkit.org
  • 2 edits in trunk/WebKit2

Qt Build Fix. Unreviewed.

  • WebKit2.pro:

Add the Messages.h and MessageReceivers.h.

3:41 PM Changeset in webkit [73813] by bweinstein@apple.com
  • 2 edits in trunk/WebCore

When we are creating a ContextMenuItem, only call setSubMenu if we have
a subMenu to set.

Reviewed by Ada Chan.

  • platform/ContextMenuItem.cpp:

(WebCore::ContextMenuItem::ContextMenuItem):

3:40 PM Changeset in webkit [73812] by kbr@google.com
  • 2 edits in trunk/LayoutTests

2010-12-10 Kenneth Russell <kbr@google.com>

Reviewed by James Robinson.

Regression: fast/canvas/webgl/constants.html failing
https://bugs.webkit.org/show_bug.cgi?id=50851

  • fast/canvas/webgl/constants.html:
3:33 PM Changeset in webkit [73811] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-10 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium test expectation update.

Attach more specific bug IDs to Philip canvas test suite failures (for
existing bugs only).

  • platform/chromium/test_expectations.txt:
3:19 PM Changeset in webkit [73810] by kbr@google.com
  • 2 edits in trunk/WebCore

2010-12-10 Kenneth Russell <kbr@google.com>

Unreviewed, another build fix. #include <wtf/UnusedParam.h> needed
for Release builds.

  • platform/graphics/opengl/Extensions3DOpenGL.cpp:
3:14 PM Changeset in webkit [73809] by kbr@google.com
  • 2 edits in trunk/WebCore

2010-12-10 Kenneth Russell <kbr@google.com>

Unreviewed, build fix. Change #ifndef NDEBUG to #ifdef NDEBUG.

  • platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::ensureEnabled):
3:12 PM Changeset in webkit [73808] by jberlin@webkit.org
  • 20 edits
    6 adds in trunk/WebKit2

WebKit2: Need a WebKit2 equivalent of the WebKit1 WebDatabaseManager
https://bugs.webkit.org/show_bug.cgi?id=50606

Reviewed by Adam Roben and Sam Weinig.

Add a WebDatabaseManagerProxy owned by the WebContext.

Expose API (similar to the WebKit1 API) to get a list of origins for which there are
Databases, delete all the databases for a given origin, and delete all the databases.

Add WebDatabaseManager and WebDatabaseManagerProxy as messages receivers.

  • DerivedSources.make:
  • Platform/CoreIPC/MessageID.h:

Add the WebDatabaseManagerProxy as a UIProcess type (DatabaseManager).

  • Shared/API/c/WKBase.h:
  • Shared/APIObject.h:
  • UIProcess/API/C/WKAPICast.h:
  • UIProcess/API/C/WKContext.cpp:

(WKContextGetDatabaseManager):
Expose API to get the DatabaseManager.

  • UIProcess/API/C/WKContext.h:
  • UIProcess/API/C/WKDatabaseManager.cpp: Added.

(WKDatabaseManagerGetTypeID):
(WKDatabaseManagerGetDatabaseOrigins):
(callGetDatabaseOriginsBlockBlockAndDispose):
(WKDatabaseManagerGetDatabaseOrigins_b):
(WKDatabaseManagerDeleteDatabasesForOrigin):
(WKDatabaseManagerDeleteAllDatabases):

  • UIProcess/API/C/WKDatabaseManager.h: Added.
  • UIProcess/WebContext.cpp:

(WebKit::WebContext::WebContext):
Create the WebDatabaseManagerProxy.
(WebKit::WebContext::processDidClose):
Invalidate the WebDatabaseManagerProxy.
(WebKit::WebContext::didReceiveMessage):
Forward messages to the WebDatabaseManagerProxy.

  • UIProcess/WebContext.h:

(WebKit::WebContext::databaseManagerProxy):

  • UIProcess/WebDatabaseManagerProxy.cpp: Added.

(WebKit::WebDatabaseManagerProxy::create):
(WebKit::WebDatabaseManagerProxy::WebDatabaseManagerProxy):
(WebKit::WebDatabaseManagerProxy::~WebDatabaseManagerProxy):
(WebKit::WebDatabaseManagerProxy::invalidate):
Invalidate the map of callbacks for getDatabaseOrigins.
(WebKit::WebDatabaseManagerProxy::getDatabaseOrigins):
Store the callback and send the request for the origins which have databases to the
WebProcess.
(WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
Call the callback function with the SecurityOrigins created from the identifiers received.
(WebKit::WebDatabaseManagerProxy::deleteDatabasesForOrigin):
If the origin exists, send the message on to the WebProcess to delete the databases
associated with that origin.
(WebKit::WebDatabaseManagerProxy::deleteAllDatabases):
Send the message to the WebProcess to delete all the databases.

  • UIProcess/WebDatabaseManagerProxy.h: Added.

(WebKit::WebDatabaseManagerProxy::type):

  • UIProcess/WebDatabaseManagerProxy.messages.in: Added.
  • UIProcess/WebPageProxy.cpp:

Move invalidateCallbackMap from here ...

  • UIProcess/GenericCallback.h:

(WebKit::invalidateCallbackMap):
.. to here so that it can be used elsewhere (e.g. by WebDatabaseManagerProxy).

  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::didReceiveMessage):
Forward on all messages destined for the WebDatabaseManagerProxy to the WebContext.

  • WebProcess/WebCoreSupport/WebDatabaseManager.cpp:

(WebKit::WebDatabaseManager::didReceiveMessage):
(WebKit::WebDatabaseManager::getDatabaseOrigins):
Send an array of the identifiers for the SecurityOrigins for which there are databases to
the UIProcess.
(WebKit::WebDatabaseManager::deleteDatabasesForOrigin):
If the SecurityOrigin with that identifier exists, tell the DatabaseTracker to delete the
databases for that origin.
(WebKit::WebDatabaseManager::deleteAllDatabases):
Tell the DatabaseTracker to delete the databases for that origin.

  • WebProcess/WebCoreSupport/WebDatabaseManager.h:
  • WebProcess/WebCoreSupport/WebDatabaseManager.messages.in: Added.
  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::didReceiveMessage):

  • WebKit2.pro:

Add WKDatabaseManager.cpp/.h and WebDatabaseManagerProxy.cpp/.h

  • WebKit2.xcodeproj/project.pbxproj:

Ditto, also add WebDatabaseManagerProxy.messages.in and WebDatabaseManager.messages.in.

  • win/WebKit2.vcproj:

Ditto.

  • win/WebKit2Generated.make:

Make sure WKDatabaseManager.h is copied into WebKitBuild on Windows.

2:58 PM Changeset in webkit [73807] by adachan@apple.com
  • 3 edits in trunk/WebKit2

Reviewed by Anders Carlsson.

Implement Download::start() and Download::startWithHandle() on Windows.
https://bugs.webkit.org/show_bug.cgi?id=50844

  • WebProcess/Downloads/Download.h:
  • WebProcess/Downloads/cf/DownloadCFNet.cpp: (WebKit::Download::start): Create a CFURLDownloadRef and schedule it. (WebKit::Download::startWithHandle): Create a CFURLDownloadRef with the loading connection retrieved from the ResourceHandle. (WebKit::Download::platformInvalidate): (WebKit::downloadFromClientInfo): (WebKit::didStartCallback): (WebKit::willSendRequestCallback): (WebKit::didReceiveAuthenticationChallengeCallback): (WebKit::didReceiveResponseCallback): (WebKit::willResumeWithResponseCallback): (WebKit::didReceiveDataCallback): (WebKit::shouldDecodeDataOfMIMETypeCallback): (WebKit::decideDestinationWithSuggestedObjectNameCallback): (WebKit::didCreateDestinationCallback): (WebKit::didFinishCallback): (WebKit::didFailCallback):
2:50 PM Changeset in webkit [73806] by kbr@google.com
  • 29 edits
    5 adds in trunk

2010-12-10 Kenneth Russell <kbr@google.com>

Reviewed by James Robinson.

Implement extension entry points and remove EXTENSIONS enum
https://bugs.webkit.org/show_bug.cgi?id=40316

Added support for ensuring that a particular OpenGL extension is
enabled.

  • public/WebGraphicsContext3D.h:
  • src/Extensions3DChromium.cpp: (WebCore::Extensions3DChromium::ensureEnabled):
  • src/GraphicsContext3DChromium.cpp: (WebCore::GraphicsContext3DInternal::initializeExtensions): (WebCore::GraphicsContext3DInternal::supportsExtension): (WebCore::GraphicsContext3DInternal::ensureExtensionEnabled):
  • src/GraphicsContext3DInternal.h:
  • src/WebGraphicsContext3DDefaultImpl.cpp: (WebKit::WebGraphicsContext3DDefaultImpl::getRequestableExtensionsCHROMIUM): (WebKit::WebGraphicsContext3DDefaultImpl::requestExtensionCHROMIUM):
  • src/WebGraphicsContext3DDefaultImpl.h:

2010-12-10 Kenneth Russell <kbr@google.com>

Reviewed by James Robinson.

Implement extension entry points and remove EXTENSIONS enum
https://bugs.webkit.org/show_bug.cgi?id=40316

Implemented WebGLRenderingContext's getSupportedExtensions and
getExtensions entry points, and, to verify them, added support for
the first specified WebGL extension, OES_texture_float. This
extension is now advertised in the Chromium and WebKit ports when
the underlying hardware supports it.

The new OES_texture_float test in the WebGL conformance suite
verifies the allocation and population of floating point textures,
and their use as render targets. However, because this extension
is optional, it is not easily testable with a layout test; there
is only one set of expectations for a given test, and two would be
needed, one when the extension is available and one when it is not.

Tested with the oes-texture-float.html WebGL conformance test in
Chromium and WebKit on Mac OS X on hardware that supports the
extension. Also verified with a configuration that does not
advertise the extension that this same test passes.

  • CMakeLists.txt:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pri:
  • WebCore.pro:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::toJS): (WebCore::JSWebGLRenderingContext::markChildren): (WebCore::JSWebGLRenderingContext::getExtension): (WebCore::JSWebGLRenderingContext::getSupportedExtensions):
  • bindings/v8/custom/V8WebGLRenderingContextCustom.cpp: (WebCore::toV8Object): (WebCore::V8WebGLRenderingContext::getExtensionCallback): (WebCore::V8WebGLRenderingContext::getSupportedExtensionsCallback):
  • html/canvas/OESTextureFloat.cpp: Added. (WebCore::OESTextureFloat::OESTextureFloat): (WebCore::OESTextureFloat::~OESTextureFloat): (WebCore::OESTextureFloat::getName): (WebCore::OESTextureFloat::create):
  • html/canvas/OESTextureFloat.h: Added.
  • html/canvas/OESTextureFloat.idl: Added.
  • html/canvas/WebGLExtension.cpp: Added. (WebCore::WebGLExtension::WebGLExtension): (WebCore::WebGLExtension::~WebGLExtension):
  • html/canvas/WebGLExtension.h: Added.
  • html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::getExtension): (WebCore::WebGLRenderingContext::getSupportedExtensions): (WebCore::WebGLRenderingContext::validateTexFuncFormatAndType): (WebCore::WebGLRenderingContext::validateTexFuncData): (WebCore::WebGLRenderingContext::getNumberOfExtensions): (WebCore::WebGLRenderingContext::getExtensionNumber):
  • html/canvas/WebGLRenderingContext.h:
  • html/canvas/WebGLRenderingContext.idl:
  • platform/graphics/Extensions3D.h:
  • platform/graphics/GraphicsContext3D.cpp: (WebCore::GraphicsContext3D::computeFormatAndTypeParameters): (WebCore::GraphicsContext3D::extractTextureData): (WebCore::doUnpackingAndPacking): (WebCore::doPacking): (WebCore::doFloatingPointPacking): (WebCore::GraphicsContext3D::packPixels):
  • platform/graphics/GraphicsContext3D.h:
  • platform/graphics/chromium/Extensions3DChromium.h:
  • platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::supports): (WebCore::Extensions3DOpenGL::ensureEnabled):
  • platform/graphics/opengl/Extensions3DOpenGL.h:
  • platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: (WebCore::GraphicsContext3D::texImage2D):
  • platform/graphics/qt/Extensions3DQt.cpp: (WebCore::Extensions3DQt::ensureEnabled):
  • platform/graphics/qt/Extensions3DQt.h:
2:30 PM Changeset in webkit [73805] by Darin Adler
  • 2 edits in trunk/WebCore

Try to fix Windows build.

  • dom/Range.cpp:

(WebCore::Range::processContents): Put typedef of NodeVector inside the function
instead of at the top of the file, since the use is restricted to this function.
There's another NodeVector in ContainerNode.cpp.

2:30 PM Changeset in webkit [73804] by eric@webkit.org
  • 3 edits
    1 move in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Unreviewed.

commit-queue should report port/platform information when commenting on flaky test bugs
https://bugs.webkit.org/show_bug.cgi?id=50839

Renamed platform.py to platforminfo.py. This broke import platform in executive.py
which was only used by new run webkit tests (and clearly not unit tested).

  • Scripts/webkitpy/common/system/platforminfo.py: Renamed from WebKitTools/Scripts/webkitpy/common/system/platform.py.
  • Scripts/webkitpy/tool/main.py:
  • Scripts/webkitpy/tool/mocktool.py:
2:30 PM Changeset in webkit [73803] by enrica@apple.com
  • 4 edits in trunk/WebKit2

Windows build fix. Unreviewed.

Adding a dummy synchronous message for platforms
that don't have any.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::dummy):

  • WebProcess/WebPage/WebPage.h:
  • WebProcess/WebPage/WebPage.messages.in:
2:21 PM Changeset in webkit [73802] by bweinstein@apple.com
  • 22 edits
    2 adds in trunk

JavaScriptCore: Turn on USE(CROSS_PLATFORM_CONTEXT_MENUS) for Windows.

Reviewed by Adam Roben.

  • wtf/Platform.h:

WebCore: Prep for WebKit2: Context menu support on Windows
https://bugs.webkit.org/show_bug.cgi?id=50514

Reviewed by Adam Roben.

Before this patch ContextMenu on Windows were backed by HMENUs, and ContextMenuItems
were backed by MENUITEMINFOs. This meant they couldn't be copied, and they needed to
be to work in WebKit2.

This patch adds a new USE flag - CROSS_PLATFORM_CONTEXT_MENUS that are for a cross-platform
representation of context menus. This patch also has Windows adopt them.

Cross-platform context menus change the API of context menus and the ContextMenuClient. There
is no more idea of a PlatformMenuDescription or a PlatformMenuItemDescription. Menus are backed
by a Vector of ContextMenuItems, and menu items are backed by the variables they need (enabled, checked
title, action, type, and submenu).

This patch also refactors the ContextMenuClient interface to use a variation on the getCustomMenuFromDefaultItems
function to allow for customization of the context menu.

For other ports to use CROSS_PLATFORM_CONTEXT_MENUS, all they need to do is write conversion functions from
a ContextMenu <-> native menu type, and ContextMenuItem <-> native menu item type. For Windows, this is done
in ContextMenuWin.cpp and ContextMenuItemWin.cpp.

No new tests, no change in behavior.

  • WebCore.vcproj/WebCore.vcproj: Add new files (only needed on Windows for now).
  • loader/EmptyClients.h:

(WebCore::EmptyContextMenuClient::customizeMenu): Define this function if CROSS_PLATFORM_CONTEXT_MENUS

is on.

  • page/ContextMenuClient.h: Ditto.
  • page/ContextMenuController.cpp:

(WebCore::ContextMenuController::showContextMenu): Call customizeMenu instead of

getCustomMenuFromDefaultItems if CROSS_PLATFORM_CONTEXT_MENUS is on.

  • platform/ContextMenu.cpp: Added.

(WebCore::ContextMenu::ContextMenu): Empty constructor.
(WebCore::ContextMenu::setItems): Sets the items in the menu.
(WebCore::ContextMenu::items): Returns the items in the menu.
(WebCore::ContextMenu::itemAtIndex):
(WebCore::itemWithActionInMenu): Returns the item with the correct action, recursively descending

into submenus.

(WebCore::ContextMenu::itemWithAction): Calls through to itemWithActionInMenu.

  • platform/ContextMenu.h: Added a new set of functions and member variables that are defined for

CROSS_PLATFORM_CONTEXT_MENUS.

(WebCore::ContextMenu::appendItem): Appends an item to the menu.

  • platform/ContextMenuItem.cpp: Added.

(WebCore::ContextMenuItem::ContextMenuItem):
(WebCore::ContextMenuItem::~ContextMenuItem):
(WebCore::ContextMenuItem::setSubMenu):

  • platform/ContextMenuItem.h:

(WebCore::ContextMenuItem::type): Returns the type.
(WebCore::ContextMenuItem::setType): Sets the type.
(WebCore::ContextMenuItem::action): Returns the action.
(WebCore::ContextMenuItem::setAction): Sets the action.
(WebCore::ContextMenuItem::title): Returns the title.
(WebCore::ContextMenuItem::setTitle): Sets the title.
(WebCore::ContextMenuItem::checked): Returns whether or not the menu item is checked.
(WebCore::ContextMenuItem::setChecked): Sets whether ot not the menu item is checked.
(WebCore::ContextMenuItem::enabled): Returns whether or not the menu item is enabled.
(WebCore::ContextMenuItem::setEnabled): Sets whether or not the menu item is enabled.
(WebCore::ContextMenuItem::submenu): Returns the submenu.

  • platform/PlatformMenuDescription.h: Remove the idea if a PlatformMenuDescription if

CROSS_PLATFORM_CONTEXT_MENUS is on.

  • platform/win/ContextMenuItemWin.cpp:

(WebCore::ContextMenuItem::ContextMenuItem): Creates a ContextMenuItem from a MENUITEMINFO.
(WebCore::ContextMenuItem::nativeMenuItem): Creates and returns a MENUITEMINFO.

  • platform/win/ContextMenuWin.cpp:

(WebCore::ContextMenu::ContextMenu): Creates a ContextMenu from an HMENU.
(WebCore::ContextMenu::nativeMenu): Creates and returns an HMENU.

WebKit/win: Prep for WebKit2: Context menu support on Windows
https://bugs.webkit.org/show_bug.cgi?id=50514

Reviewed by Adam Roben.

Update WebKit for the new CROSS_PLATFORM_CONTEXT_MENUS flag, and define customizeMenu
instead of getCustomMenuFromDefaultItems.

  • WebCoreSupport/WebContextMenuClient.cpp:

(WebContextMenuClient::customizeMenu): getCustomMenuFromDefaultItems was turned into

this function, with refactoring using nativeMenu instead of platformDescription.

(WebContextMenuClient::contextMenuItemSelected): Use nativeMenu instead of platformDescription.

  • WebCoreSupport/WebContextMenuClient.h:
  • WebView.cpp:

(WebView::handleContextMenuEvent): Call nativeMenu instead of platformDescription.
(WebView::performContextMenuAction): Only call itemAtIndex with one argument, no need

for the second.

WebKit2: Prep for WebKit2: Context menu support on Windows
https://bugs.webkit.org/show_bug.cgi?id=50514

Reviewed by Adam Roben.

Update WebKit2 to call the correct code when CROSS_PLATFORM_CONTEXT_MENUS is set.

  • Shared/WebContextMenuItemData.cpp:

(WebKit::WebContextMenuItemData::WebContextMenuItemData): Add a branch based on whether or not

CROSS_PLATFORM_CONTEXT_MENUS is set.

  • WebProcess/WebCoreSupport/WebContextMenuClient.cpp:

(WebKit::WebContextMenuClient::customizeMenu): Define different functions based on

whether or not CROSS_PLATFORM_CONTEXT_MENUS. Both of these are stubs, so functionality
doesn't need to be shared.

  • WebProcess/WebCoreSupport/WebContextMenuClient.h: Define different functions based on

whether or not CROSS_PLATFORM_CONTEXT_MENUS.

  • WebProcess/WebPage/WebContextMenu.cpp:

(WebKit::WebContextMenu::show): Add a branch based on whether or not

CROSS_PLATFORM_CONTEXT_MENUS is set.

2:09 PM Changeset in webkit [73801] by inferno@chromium.org
  • 3 edits
    2 adds in trunk

2010-12-10 Emil Eklund <eae@chromium.org>

Reviewed by Adam Barth.

Fix crash in ReplaceSelectionCommand::doApply when selection is modified
during execution.
https://bugs.webkit.org/show_bug.cgi?id=50840

Test: editing/execCommand/insertHTML-mutation-crash.html

  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::copyStyleToChildren): Replaced raw node pointer with RefPtr.


(WebCore::ReplaceSelectionCommand::doApply):
Replaced raw node pointer with RefPtr and added null check.

2010-12-10 Emil Eklund <eae@chromium.org>

Reviewed by Adam Barth.

Add testcase for ReplaceSelectionCommand crash.
https://bugs.webkit.org/show_bug.cgi?id=50840

  • editing/execCommand/insertHTML-mutation-crash.html: Added.
2:02 PM Changeset in webkit [73800] by pkasting@chromium.org
  • 2 edits in trunk/LayoutTests

Unreviewed Chromium test expectations update.

Fix broken expectation from r73797.

  • platform/chromium/test_expectations.txt:
1:42 PM Changeset in webkit [73799] by inferno@chromium.org
  • 3 edits
    2 adds in trunk

2010-12-10 Emil Eklund <eae@chromium.org>

Reviewed by Adam Barth.

Fix crash in Range::processContents when modified during mutation event.
https://bugs.webkit.org/show_bug.cgi?id=50710

Test: fast/dom/Range/range-extractContents.html

  • dom/Range.cpp: (WebCore::Range::processContents): Replace raw pointers with RefPtrs and add checks.

2010-12-10 Emil Eklund <eae@chromium.org>

Reviewed by Adam Barth.

Add testcase for range.extractContents crash.
https://bugs.webkit.org/show_bug.cgi?id=50710

  • fast/dom/Range/range-extractContents-expected.txt: Added.
  • fast/dom/Range/range-extractContents.html: Added.
1:42 PM Changeset in webkit [73798] by eric@webkit.org
  • 6 edits
    1 add in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Reviewed by Tony Chang.

commit-queue should report port/platform information when commenting on flaky test bugs
https://bugs.webkit.org/show_bug.cgi?id=50839

This was a suggestion from Tony Chang this morning.
I added a platform.py class so I could easily mock the platform call,
but that may not be the final solution for this mocking.
We'll try it and see.

  • Scripts/webkitpy/common/system/platform.py: Added.
  • Scripts/webkitpy/tool/bot/flakytestreporter.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
  • Scripts/webkitpy/tool/main.py:
  • Scripts/webkitpy/tool/mocktool.py:
1:36 PM Changeset in webkit [73797] by pkasting@chromium.org
  • 3 edits
    2 adds in trunk/LayoutTests

Unreviewed Chromium test expectations update.

  • platform/chromium-gpu/test_expectations.txt:
  • platform/chromium/fast/encoding: Added.
  • platform/chromium/fast/encoding/meta-in-script-expected.txt: Added V8-specific expectation.
  • platform/chromium/test_expectations.txt:
1:24 PM Changeset in webkit [73796] by enrica@apple.com
  • 25 edits in trunk

WebCore: Implement IME support for Mac.
<rdar://problem/7660589> WebKit2: Implement IME support for Mac.
https://bugs.webkit.org/show_bug.cgi?id=50788

Reviewed by Alexey Proskuryakov.

  • dom/KeyboardEvent.h:

(WebCore::KeypressCommand::KeypressCommand): Removed ASSERT in constructor,
since it is now used for more than one command.

WebKit2: Implement IME support for Mac.
<rdar://problem/7660589> WebKit2: Implement IME support for Mac.
https://bugs.webkit.org/show_bug.cgi?id=50788

Reviewed by Alexey Proskuryakov.

This patch addes support for input methods in WebKit2.
In order to support IME, it was necessary to add synchronous calls from the UIProcess
to the WebProcess. These calls all have a timeout of 1 second.
The current implementation still uses the NSTextInput protocol, but the plan is to move
to the NSTextInputClient protocol. This has not been done yet for ease of comparison with
WebKit. attributedSubstringFromRange is the only method that has not been implemented, because
I have not yet decided what is the best way to send an NSAttributedString across the process
boundary.

  • Platform/CoreIPC/HandleMessage.h:

(CoreIPC::callMemberFunction): Added template for member function.
with four reply arguments.

  • Scripts/webkit2/messages.py: Added CompositionUnderline and relevant header.
  • Shared/WebCoreArgumentCoders.h:

(CoreIPC::): Added encoder/decoder for CompositionUnderline.

  • UIProcess/API/mac/PageClientImpl.h: Added parameters to interceptKeyEvent and selectionChanged.
  • UIProcess/API/mac/PageClientImpl.mm:

(WebKit::PageClientImpl::selectionChanged): Added parameters.
(WebKit::PageClientImpl::interceptKeyEvent): Added parameters.

  • UIProcess/API/mac/WKView.mm:

(-[WKView initWithFrame:pageNamespaceRef:pageGroupRef:]): Added initialization of new private members.
(-[WKView insertText:]):
(-[WKView _selectionChanged:isEditable:isPassword:hasMarkedText:range:]): Added parameters.
(-[WKView _interceptKeyEvent:hasComposition:start:end:lines:WebCore::]): Added parameters.
(-[WKView keyDown:]): Modified to reset state on each keyDown.
(-[WKView selectedRange]): Added.
(-[WKView hasMarkedText]): Added.
(-[WKView unmarkText]): Added.
(-[WKView validAttributesForMarkedText]): Added.
(extractUnderlines): Added.
(-[WKView setMarkedText:selectedRange:]): Added.
(-[WKView markedRange]): Added.
(-[WKView attributedSubstringFromRange:]): Added.
(-[WKView characterIndexForPoint:]): Added.
(-[WKView firstRectForCharacterRange:]): Added.
(-[WKView conversationIdentifier]): Added.

  • UIProcess/API/mac/WKViewInternal.h: Added parameters to _interceptKeyEvent and _selectionChanged.
  • UIProcess/PageClient.h: Added parameters to interpretKeyEvent and selectionChanged.
  • UIProcess/WebPageProxy.cpp:

(WebKit::WebPageProxy::getMarkedRange): Added.
(WebKit::WebPageProxy::characterIndexForPoint): Added.
(WebKit::WebPageProxy::firstRectForCharacterRange): Added.
(WebKit::WebPageProxy::interpretKeyEvent): Additional parameters.
(WebKit::WebPageProxy::didSelectionChange): Additional parameters for Mac platform.

  • UIProcess/WebPageProxy.h: Added new methods and parameters to didSelectionChange

and interpretKeyEvent.

  • UIProcess/WebPageProxy.messages.in: Added parameters to interpretKeyEvent and selectionChanged messages.
  • UIProcess/WebProcessProxy.h:

(WebKit::WebProcessProxy::sendSync): Added support for synchronous messages.
The default timeout is 1 second.

  • WebProcess/WebCoreSupport/WebEditorClient.cpp: respondToChangedSelection is now

only for non Mac platform.

  • WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:

(WebKit::WebEditorClient::respondToChangedSelection): Added implementation for Mac platform.

  • WebProcess/WebPage/WebPage.cpp:

(WebKit::WebPage::didReceiveSyncMessage): Added.

  • WebProcess/WebPage/WebPage.h: Added new methods and support for synchronous messages.
  • WebProcess/WebPage/WebPage.messages.in: Added new messages.
  • WebProcess/WebPage/mac/WebPageMac.mm:

(WebKit::WebPage::interceptEditingKeyboardEvent): Added parameters.
(WebKit::WebPage::convertRangeToPlatformRange): Added.
(WebKit::WebPage::getMarkedRange): Added.
(WebKit::characterRangeAtPoint): Added.
(WebKit::WebPage::characterIndexForPoint): Added.
(WebKit::convertToRange): Added.
(WebKit::WebPage::firstRectForCharacterRange): Added.

  • WebProcess/WebProcess.cpp:

(WebKit::WebProcess::didReceiveSyncMessage): Added.

  • WebProcess/WebProcess.h: Added didReceiveSyncMessage.
1:15 PM Changeset in webkit [73795] by inferno@chromium.org
  • 1 edit
    2 copies in branches/chromium/597

Merge 73620

BUG=65764
Review URL: http://codereview.chromium.org/5787002

1:13 PM Changeset in webkit [73794] by inferno@chromium.org
  • 3 edits
    2 copies in branches/chromium/597

Merge 73559

BUG=65764
Review URL: http://codereview.chromium.org/5753004

1:10 PM Changeset in webkit [73793] by inferno@chromium.org
  • 3 edits
    2 copies in branches/chromium/552

Merge 73620

BUG=65764

1:08 PM Changeset in webkit [73792] by inferno@chromium.org
  • 5 edits
    2 copies in branches/chromium/552

Merge 73559

BUG=65764

1:06 PM Changeset in webkit [73791] by inferno@chromium.org
  • 19 edits
    2 copies in branches/chromium/597

Merge 73488

BUG=64331
Review URL: http://codereview.chromium.org/5772004

1:05 PM Changeset in webkit [73790] by cmarrin@apple.com
  • 3 edits in trunk/WebKitLibraries

2010-12-10 Chris Marrin <cmarrin@apple.com>

Reviewed by Adam Roben.

Add CACFContextGetLastCommitTime to WebKitSystemInterface for Windows.
Also got rid of WebKitSystemInterface_debug.lib as recommended by
Adam Roben. No OpenSource builds use it since r72327.

  • win/include/WebKitSystemInterface/WebKitSystemInterface.h:
  • win/lib/WebKitSystemInterface.lib:
  • win/lib/WebKitSystemInterface_debug.lib: Removed.
1:01 PM Changeset in webkit [73789] by chang.shu@nokia.com
  • 15 edits in trunk

2010-12-10 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>

Reviewed by Joseph Pecoraro.

Bug 43455 - [Qt]: Implement Application Cache Quotas
https://bugs.webkit.org/show_bug.cgi?id=43455

Added new signal to report ApplicationCache Database
quota.

  • Api/qwebpage.cpp:
  • Api/qwebpage.h:

Added new functions to accomodate new appcache layout
test origin-quota.html.

  • Api/qwebsecurityorigin.cpp: (QWebSecurityOrigin::setApplicationCacheQuota):
  • Api/qwebsecurityorigin.h:
  • WebCoreSupport/ChromeClientQt.cpp: (WebCore::ChromeClientQt::reachedApplicationCacheOriginQuota):
  • WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::clearAllApplicationCaches):
  • WebCoreSupport/DumpRenderTreeSupportQt.h:

2010-12-10 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>

Reviewed by Joseph Pecoraro.

[Qt]: Implement Application Cache Quotas
https://bugs.webkit.org/show_bug.cgi?id=43455

  • platform/qt/Skipped: Unskip now passing test origin-quota.html

2010-12-10 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com>

Reviewed by Joseph Pecoraro.

Bug 43455 - [Qt]: Implement Application Cache Quotas
https://bugs.webkit.org/show_bug.cgi?id=43455

Introduce functions to allow new appcache layout test origin-quota.html
to work correctly under Qt.

  • DumpRenderTree/qt/DumpRenderTreeQt.cpp: (WebCore::DumpRenderTree::DumpRenderTree): (WebCore::DumpRenderTree::dumpApplicationCacheQuota):
  • DumpRenderTree/qt/DumpRenderTreeQt.h:

Introduce functions to allow new appcache layout test origin-quota.html
to be successful under qt. Changes required because LayoutTestControllerQt
does not inherit from LayoutController.

  • DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::reset): (LayoutTestController::clearAllApplicationCaches): (LayoutTestController::setApplicationCacheOriginQuota):
  • DumpRenderTree/qt/LayoutTestControllerQt.h: (LayoutTestController::shouldDumpApplicationCacheDelegateCallbacks): (LayoutTestController::dumpApplicationCacheDelegateCallbacks):
1:00 PM Changeset in webkit [73788] by inferno@chromium.org
  • 18 edits
    2 copies in branches/chromium/552

Merge 73488

BUG=64331

12:38 PM Changeset in webkit [73787] by timothy@apple.com
  • 1 delete in releases/Apple/Safari 4.0.6

Remove empty tag.

12:37 PM Changeset in webkit [73786] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.3/WebKit

Tag for WebKit in Safari 5.0.3 (WebKit 533.19.4)

12:37 PM Changeset in webkit [73785] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.3/WebCore

Tag for WebCore in Safari 5.0.3 (WebCore 533.19.4)

12:37 PM Changeset in webkit [73784] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.3/JavaScriptCore

Tag for JavaScriptCore in Safari 5.0.3 (JavaScriptCore 533.19.4)

12:37 PM Changeset in webkit [73783] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.3/JavaScriptGlue

Tag for JavaScriptGlue in Safari 5.0.3 (JavaScriptGlue 533.19.4)

12:35 PM Changeset in webkit [73782] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.2/JavaScriptGlue

Tag for JavaScriptGlue in Safari 5.0.2 (unchanged from Safari 5.0)

12:35 PM Changeset in webkit [73781] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.2/JavaScriptCore

Tag for JavaScriptCore in Safari 5.0.2 (JavaScriptCore 533.18.1)

12:34 PM Changeset in webkit [73780] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.2/WebCore

Tag for WebCore in Safari 5.0.2 (WebCore 533.18.1)

12:34 PM Changeset in webkit [73779] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.2/WebKit

Tag for WebKit in Safari 5.0.2 (WebKit 533.18.1)

12:29 PM Changeset in webkit [73778] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.1/WebKit

Tag for WebKit in Safari 5.0.1 (WebKit 533.17.8)

12:29 PM Changeset in webkit [73777] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.1/WebCore

Tag for WebCore in Safari 5.0.1 (WebCore 533.17.8)

12:29 PM Changeset in webkit [73776] by eric@webkit.org
  • 4 edits
    2 moves
    2 adds in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

Move buildbot.py into its own module so we can split it out into one-file-per-class
https://bugs.webkit.org/show_bug.cgi?id=50806

We're adding more buildbot logic these days, so it makes sense
to give buildbot its own module.

  • Scripts/webkitpy/common/net/buildbot/init.py: Added.
  • Scripts/webkitpy/common/net/buildbot/buildbot.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/buildbot.py.
  • Scripts/webkitpy/common/net/buildbot/buildbot_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/buildbot_unittest.py.
  • Scripts/webkitpy/common/net/failuremap.py:
  • Scripts/webkitpy/common/net/regressionwindow.py:
  • Scripts/webkitpy/tool/commands/rebaseline.py:
12:29 PM Changeset in webkit [73775] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.1/JavaScriptCore

Tag for JavaScriptCore in Safari 5.0.1 (JavaScriptCore 533.17.8)

12:28 PM Changeset in webkit [73774] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0.1/JavaScriptGlue

Tag for JavaScriptGlue in Safari 5.0.1 (unchanged from Safari 5.0)

12:26 PM Changeset in webkit [73773] by jberlin@webkit.org
  • 2 edits in trunk/WebCore

Windows build fix. Unreviewed.

  • WebCore.vcproj/WebCore.vcproj:

Remove duplicate </File> tag.

12:24 PM Changeset in webkit [73772] by timothy@apple.com
  • 1 add in releases/Apple/Safari 5.0.3

Release tag for Safari 5.0.3.

12:23 PM Changeset in webkit [73771] by timothy@apple.com
  • 1 add in releases/Apple/Safari 5.0.2

Release tag for Safari 5.0.2.

12:23 PM Changeset in webkit [73770] by timothy@apple.com
  • 1 add in releases/Apple/Safari 5.0.1

Release tag for Safari 5.0.1.

12:23 PM Changeset in webkit [73769] by tony@chromium.org
  • 3 edits in trunk/WebKitTools

2010-12-10 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

Use FileSystem::remove when cleaning up http lock files
https://bugs.webkit.org/show_bug.cgi?id=50830

  • Scripts/webkitpy/layout_tests/port/http_lock.py:
12:23 PM Changeset in webkit [73768] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0/WebKit

Tag for WebKit in Safari 5.0 (WebKit 533.16)

12:22 PM Changeset in webkit [73767] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0/WebCore

Tag for WebCore in Safari 5.0 (WebCore 533.16)

12:22 PM Changeset in webkit [73766] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0/JavaScriptCore

Tag for JavaScriptCore in Safari 5.0 (JavaScriptCore 533.16)

12:22 PM Changeset in webkit [73765] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 5.0/JavaScriptGlue

Tag for JavaScriptGlue in Safari 5.0 (JavaScriptGlue 533.16)

12:22 PM Changeset in webkit [73764] by timothy@apple.com
  • 1 add in releases/Apple/Safari 5.0

Release tag for Safari 5.0.

12:06 PM Changeset in webkit [73763] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.5/WebKit

Tag for WebKit in Safari 4.0.5 (WebKit 531.22.7)

12:06 PM Changeset in webkit [73762] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.5/WebCore

Tag for WebCore in Safari 4.0.5 (WebCore 531.22.7)

12:05 PM Changeset in webkit [73761] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.5/JavaScriptCore

Tag for JavaScriptCore in Safari 4.0.5 (JavaScriptCore 531.22.7)

12:05 PM Changeset in webkit [73760] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.5/JavaScriptGlue

Tag for JavaScriptGlue in Safari 4.0.5 (JavaScriptGlue 531.22.7)

12:02 PM Changeset in webkit [73759] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.4/JavaScriptGlue

Tag for JavaScriptGlue in Safari 4.0.4 (unchanged from Safari 4.0.3)

11:57 AM Changeset in webkit [73758] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.4/WebCore

Tag for WebCore in Safari 4.0.4 (WebCore 531.21.11)

11:54 AM Changeset in webkit [73757] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.4/WebKit

Tag for WebKit in Safari 4.0.4 (WebKit 531.21.11)

11:50 AM Changeset in webkit [73756] by commit-queue@webkit.org
  • 13 edits
    152 adds in trunk

2010-12-09 Jenn Braithwaite <jennb@chromium.org>

Reviewed by Adam Barth.

TextResourceDecoder::checkForHeadCharset can look way past the limit.
https://bugs.webkit.org/show_bug.cgi?id=47397

Replaced charset detection algorithm with real parser.
Added tests for parser bugs mentioned in the thread for this bug report.
Converted hixie's encoding parsing tests to a layout test.

Tests: fast/encoding/bracket-in-script.html

fast/encoding/bracket-in-tag.html
fast/encoding/escaped-bracket.html
fast/encoding/meta-in-body.html
fast/encoding/meta-in-script.html
fast/encoding/meta-in-title.html
fast/encoding/mismatched-end-tag.html
fast/encoding/namespace-meta.html
fast/encoding/not-http-equiv-content.html
fast/encoding/parser-tests.html
fast/encoding/quotes-in-title.html
fast/encoding/tag-name-digit.html
http/tests/misc/charset-sniffer-end-sniffing.html

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • html/parser/HTMLMetaCharsetParser.cpp: Added. (WebCore::HTMLMetaCharsetParser::HTMLMetaCharsetParser): (WebCore::HTMLMetaCharsetParser::~HTMLMetaCharsetParser): (WebCore::HTMLMetaCharsetParser::extractCharset): (WebCore::HTMLMetaCharsetParser::processMeta): (WebCore::HTMLMetaCharsetParser::checkForMetaCharset):
  • html/parser/HTMLMetaCharsetParser.h: Added. (WebCore::HTMLMetaCharsetParser::create): (WebCore::HTMLMetaCharsetParser::encoding):
  • loader/TextResourceDecoder.cpp: (WebCore::TextResourceDecoder::checkForHeadCharset): (WebCore::TextResourceDecoder::checkForMetaCharset):
  • loader/TextResourceDecoder.h:

2010-12-09 Jenn Braithwaite <jennb@chromium.org>

Reviewed by Adam Barth.

TextResourceDecoder::checkForHeadCharset can look way past the limit.
https://bugs.webkit.org/show_bug.cgi?id=47397

Replaced charset detection algorithm with real parser.
Added tests for parser bugs mentioned in the thread for this bug report.
Converted hixie's encoding parsing tests to a layout test.
Added http-equiv attribute to meta tag in 2 existing tests.

  • fast/encoding/bracket-in-script-expected.txt: Added.
  • fast/encoding/bracket-in-script.html: Added.
  • fast/encoding/bracket-in-tag-expected.txt: Added.
  • fast/encoding/bracket-in-tag.html: Added.
  • fast/encoding/escaped-bracket-expected.txt: Added.
  • fast/encoding/escaped-bracket.html: Added.
  • fast/encoding/meta-in-body-expected.txt: Added.
  • fast/encoding/meta-in-body.html: Added.
  • fast/encoding/meta-in-script-expected.txt: Added.
  • fast/encoding/meta-in-script.html: Added.
  • fast/encoding/meta-in-title-expected.txt: Added.
  • fast/encoding/meta-in-title.html: Added.
  • fast/encoding/mismatched-end-tag-expected.txt: Added.
  • fast/encoding/mismatched-end-tag.html: Added.
  • fast/encoding/namespace-meta-expected.txt: Added.
  • fast/encoding/namespace-meta.html: Added.
  • fast/encoding/namespace-tolerance.html:
  • fast/encoding/not-http-equiv-content-expected.txt: Added.
  • fast/encoding/not-http-equiv-content.html: Added.
  • fast/encoding/parser-tests-expected.txt: Added.
  • fast/encoding/parser-tests.html: Added.
  • fast/encoding/quotes-in-title-expected.txt: Added.
  • fast/encoding/quotes-in-title.html: Added.
  • fast/encoding/resources/001.html: Added.
  • fast/encoding/resources/002.html: Added.
  • fast/encoding/resources/003.html: Added.
  • fast/encoding/resources/004.html: Added.
  • fast/encoding/resources/005.html: Added.
  • fast/encoding/resources/006.html: Added.
  • fast/encoding/resources/007.html: Added.
  • fast/encoding/resources/008.html: Added.
  • fast/encoding/resources/009.html: Added.
  • fast/encoding/resources/010.html: Added.
  • fast/encoding/resources/011.html: Added.
  • fast/encoding/resources/012.html: Added.
  • fast/encoding/resources/013.html: Added.
  • fast/encoding/resources/014.html: Added.
  • fast/encoding/resources/015.html: Added.
  • fast/encoding/resources/016.html: Added.
  • fast/encoding/resources/017.html: Added.
  • fast/encoding/resources/018.html: Added.
  • fast/encoding/resources/019.html: Added.
  • fast/encoding/resources/020.html: Added.
  • fast/encoding/resources/021.html: Added.
  • fast/encoding/resources/022.html: Added.
  • fast/encoding/resources/023.html: Added.
  • fast/encoding/resources/024.html: Added.
  • fast/encoding/resources/025.html: Added.
  • fast/encoding/resources/026.html: Added.
  • fast/encoding/resources/027.html: Added.
  • fast/encoding/resources/028.html: Added.
  • fast/encoding/resources/029.html: Added.
  • fast/encoding/resources/030.html: Added.
  • fast/encoding/resources/031.html: Added.
  • fast/encoding/resources/032.html: Added.
  • fast/encoding/resources/033.html: Added.
  • fast/encoding/resources/034.html: Added.
  • fast/encoding/resources/035.html: Added.
  • fast/encoding/resources/036.html: Added.
  • fast/encoding/resources/037.html: Added.
  • fast/encoding/resources/038.html: Added.
  • fast/encoding/resources/039.html: Added.
  • fast/encoding/resources/040.html: Added.
  • fast/encoding/resources/041.html: Added.
  • fast/encoding/resources/042.html: Added.
  • fast/encoding/resources/043.html: Added.
  • fast/encoding/resources/044.html: Added.
  • fast/encoding/resources/045.html: Added.
  • fast/encoding/resources/046.html: Added.
  • fast/encoding/resources/047.html: Added.
  • fast/encoding/resources/048.html: Added.
  • fast/encoding/resources/049.html: Added.
  • fast/encoding/resources/050.html: Added.
  • fast/encoding/resources/051.html: Added.
  • fast/encoding/resources/052.html: Added.
  • fast/encoding/resources/053.html: Added.
  • fast/encoding/resources/054.html: Added.
  • fast/encoding/resources/055.html: Added.
  • fast/encoding/resources/056.html: Added.
  • fast/encoding/resources/057.html: Added.
  • fast/encoding/resources/058.html: Added.
  • fast/encoding/resources/059.html: Added.
  • fast/encoding/resources/060.html: Added.
  • fast/encoding/resources/061.html: Added.
  • fast/encoding/resources/062.html: Added.
  • fast/encoding/resources/063.html: Added.
  • fast/encoding/resources/064.html: Added.
  • fast/encoding/resources/065.html: Added.
  • fast/encoding/resources/066.html: Added.
  • fast/encoding/resources/067.html: Added.
  • fast/encoding/resources/068.html: Added.
  • fast/encoding/resources/069.html: Added.
  • fast/encoding/resources/070.html: Added.
  • fast/encoding/resources/071.html: Added.
  • fast/encoding/resources/072.html: Added.
  • fast/encoding/resources/073.html: Added.
  • fast/encoding/resources/074.html: Added.
  • fast/encoding/resources/075.html: Added.
  • fast/encoding/resources/076.html: Added.
  • fast/encoding/resources/077.html: Added.
  • fast/encoding/resources/078.html: Added.
  • fast/encoding/resources/079.html: Added.
  • fast/encoding/resources/080.html: Added.
  • fast/encoding/resources/081.html: Added.
  • fast/encoding/resources/082.html: Added.
  • fast/encoding/resources/083.html: Added.
  • fast/encoding/resources/084.html: Added.
  • fast/encoding/resources/085.html: Added.
  • fast/encoding/resources/086.html: Added.
  • fast/encoding/resources/087.html: Added.
  • fast/encoding/resources/088.html: Added.
  • fast/encoding/resources/089.html: Added.
  • fast/encoding/resources/090.html: Added.
  • fast/encoding/resources/091.html: Added.
  • fast/encoding/resources/092.html: Added.
  • fast/encoding/resources/093.html: Added.
  • fast/encoding/resources/094.html: Added.
  • fast/encoding/resources/095.html: Added.
  • fast/encoding/resources/096.html: Added.
  • fast/encoding/resources/097.html: Added.
  • fast/encoding/resources/098.html: Added.
  • fast/encoding/resources/099.html: Added.
  • fast/encoding/resources/100.html: Added.
  • fast/encoding/resources/101.html: Added.
  • fast/encoding/resources/102.html: Added.
  • fast/encoding/resources/103.html: Added.
  • fast/encoding/resources/104.html: Added.
  • fast/encoding/resources/105.html: Added.
  • fast/encoding/resources/106.html: Added.
  • fast/encoding/resources/107.html: Added.
  • fast/encoding/resources/108.html: Added.
  • fast/encoding/resources/109.html: Added.
  • fast/encoding/resources/110.html: Added.
  • fast/encoding/resources/111.html: Added.
  • fast/encoding/resources/112.html: Added.
  • fast/encoding/resources/113.html: Added.
  • fast/encoding/resources/114.html: Added.
  • fast/encoding/resources/115.html: Added.
  • fast/encoding/resources/116.html: Added.
  • fast/encoding/resources/117.html: Added.
  • fast/encoding/resources/118.html: Added.
  • fast/encoding/resources/119.html: Added.
  • fast/encoding/resources/120.html: Added.
  • fast/encoding/resources/121.html: Added.
  • fast/encoding/resources/122.html: Added.
  • fast/encoding/resources/123.html: Added.
  • fast/encoding/tag-name-digit-expected.txt: Added.
  • fast/encoding/tag-name-digit.html: Added.
  • fast/text/international/bidi-innertext.html:
  • http/tests/misc/charset-sniffer-end-sniffing-expected.txt: Added.
  • http/tests/misc/charset-sniffer-end-sniffing.html: Added.
  • http/tests/misc/resources/charset-sniffer-end-sniffing.php: Added.
11:49 AM Changeset in webkit [73755] by timothy@apple.com
  • 1 copy in releases/Apple/Safari 4.0.4/JavaScriptCore

Tag for JavaScriptCore in Safari 4.0.4 (JavaScriptCore 531.21.11)

11:44 AM Changeset in webkit [73754] by timothy@apple.com
  • 1 add in releases/Apple/Safari 4.0.6

Release tag for Safari 4.0.6.

11:43 AM Changeset in webkit [73753] by timothy@apple.com
  • 1 add in releases/Apple/Safari 4.0.5

Release tag for Safari 4.0.5.

11:43 AM Changeset in webkit [73752] by timothy@apple.com
  • 1 add in releases/Apple/Safari 4.0.4

Release tag for Safari 4.0.4.

11:41 AM Changeset in webkit [73751] by commit-queue@webkit.org
  • 2 edits in trunk/WebKitTools

2010-12-10 Joone Hur <joone@kldp.org>

Reviewed by Martin Robinson.

[GTK] DRT needs layoutTestController.setCacheModel
https://bugs.webkit.org/show_bug.cgi?id=50705

webkit_set_cache_mode() is called to set the cache model.

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::setCacheModel): Set the cache model.
11:40 AM Changeset in webkit [73750] by mihaip@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-10 Mihai Parparita <mihaip@chromium.org>

Unreviewed Chromium test expectation update.

Group Philip canvas test suite expectations better (by platform).

  • platform/chromium/test_expectations.txt:
11:26 AM Changeset in webkit [73749] by Nate Chapin
  • 18 edits
    2 deletes in trunk/WebCore

2010-12-10 Nate Chapin <Nate Chapin>

Reviewed by Antti Koivisto.

Merge Loader and Request. Currently, Loader is a singleton attached
to MemoryCache. Our goal is to remove knowledge of the loading process
from MemoryCache, so we should attach Loader to CachedResourceLoader instead.
Once Loader is moved off of MemoryCache, there's no reason it needs to be a singleton,
which removes the main reason for Request existing as a separate class (to store per-request
state that Loader couldn't).

Loader will be given a more descriptive name in a later patch.

https://bugs.webkit.org/show_bug.cgi?id=49837

Refactor only, no new tests.

  • Android.mk:
  • CMakeLists.txt:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • loader/FrameLoader.cpp:
  • loader/Request.cpp:
  • loader/Request.h:
  • loader/cache/CachedFont.cpp:
  • loader/cache/CachedImage.cpp:
  • loader/cache/CachedResource.cpp:
  • loader/cache/CachedResource.h:
  • loader/cache/CachedResourceLoader.cpp: (WebCore::CachedResourceLoader::CachedResourceLoader): (WebCore::CachedResourceLoader::~CachedResourceLoader): (WebCore::CachedResourceLoader::requestImage): (WebCore::CachedResourceLoader::setAutoLoadImages): (WebCore::CachedResourceLoader::load): (WebCore::CachedResourceLoader::loadDone): Was setLoadInProgress(false),

plus other CachedResourceLoader cleanup that had been handled in Loader.

(WebCore::CachedResourceLoader::cancelRequests): Moved from Loader.
(WebCore::CachedResourceLoader::requestCount):

  • loader/cache/CachedResourceLoader.h: (WebCore::CachedResourceLoader::loadFinishing): Was setLoadInProgress(true)
  • loader/cache/MemoryCache.h:
  • loader/loader.cpp: (WebCore::Loader::Loader): (WebCore::Loader::~Loader): (WebCore::Loader::load): (WebCore::Loader::willSendRequest): (WebCore::Loader::didFinishLoading): (WebCore::Loader::didFail): (WebCore::Loader::didReceiveResponse): (WebCore::Loader::didReceiveData): (WebCore::Loader::didReceiveCachedMetadata):
  • loader/loader.h: (WebCore::Loader::cachedResourceLoader):
11:24 AM Changeset in webkit [73748] by tony@chromium.org
  • 15 edits
    1 delete in trunk

2010-12-10 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

[chromium] remove --use-drt and add --use-test-shell
https://bugs.webkit.org/show_bug.cgi?id=50701

Remove drt_expectations.txt since we don't need it anymore.

  • platform/chromium/drt_expectations.txt: Removed.

2010-12-10 Tony Chang <tony@chromium.org>

Reviewed by Ojan Vafai.

[chromium] remove --use-drt and add --use-test-shell
https://bugs.webkit.org/show_bug.cgi?id=50701

  • Scripts/webkitpy/common/config/ports.py:
  • Scripts/webkitpy/common/config/ports_unittest.py:
  • Scripts/webkitpy/layout_tests/port/chromium.py:
  • Scripts/webkitpy/layout_tests/port/chromium_gpu.py:
  • Scripts/webkitpy/layout_tests/port/chromium_gpu_unittest.py:
  • Scripts/webkitpy/layout_tests/port/chromium_linux.py:
  • Scripts/webkitpy/layout_tests/port/chromium_mac.py:
  • Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
  • Scripts/webkitpy/layout_tests/port/chromium_win.py:
  • Scripts/webkitpy/layout_tests/port/webkit.py:
  • Scripts/webkitpy/layout_tests/run_webkit_tests.py:
  • Scripts/webkitpy/style/checkers/test_expectations.py:
  • Scripts/webkitpy/tool/commands/queries.py:
11:14 AM Changeset in webkit [73747] by alex
  • 2 edits in trunk/LayoutTests

2010-12-10 Alejandro G. Castro <alex@igalia.com>

Unreviewed, rolling out r73743.
http://trac.webkit.org/changeset/73743

We need gtk+ specific results

  • http/tests/misc/dns-prefetch-control-expected.txt:
11:10 AM Changeset in webkit [73746] by Martin Robinson
  • 6 edits in trunk

2010-12-10 Martin Robinson <mrobinson@igalia.com>

Unreviewed, rolling out r73703.
http://trac.webkit.org/changeset/73703
https://bugs.webkit.org/show_bug.cgi?id=49658

This patch is causing crashes on the GTK+ bots.

  • wtf/PlatformRefPtr.h:

2010-12-10 Martin Robinson <mrobinson@igalia.com>

Unreviewed, rolling out r73703.
http://trac.webkit.org/changeset/73703
https://bugs.webkit.org/show_bug.cgi?id=49658

This patch is causing crashes on the GTK+ bots.

  • platform/ContextMenuItem.h: (WebCore::PlatformMenuItemDescription::PlatformMenuItemDescription):
  • platform/gtk/ContextMenuGtk.cpp: (WebCore::ContextMenu::appendItem):
  • platform/gtk/ContextMenuItemGtk.cpp: (WebCore::ContextMenuItem::ContextMenuItem): (WebCore::ContextMenuItem::~ContextMenuItem): (WebCore::ContextMenuItem::createNativeMenuItem): (WebCore::ContextMenuItem::releasePlatformDescription): (WebCore::ContextMenuItem::type): (WebCore::ContextMenuItem::setType): (WebCore::ContextMenuItem::action): (WebCore::ContextMenuItem::setAction): (WebCore::ContextMenuItem::title): (WebCore::ContextMenuItem::setTitle): (WebCore::ContextMenuItem::platformSubMenu): (WebCore::ContextMenuItem::setSubMenu): (WebCore::ContextMenuItem::setChecked): (WebCore::ContextMenuItem::setEnabled):
10:54 AM Changeset in webkit [73745] by commit-queue@webkit.org
  • 8 edits
    2 adds in trunk

2010-12-10 John Knottenbelt <jknotten@chromium.org>

Reviewed by Steve Block.

[Chromium] Implement mocks for client-based geolocation
https://bugs.webkit.org/show_bug.cgi?id=46895

  • WebKit.gyp:
  • public/WebGeolocationClientMock.h: Added. (WebKit::WebGeolocationClientMock::~WebGeolocationClientMock): (WebKit::WebGeolocationClientMock::WebGeolocationClientMock):
  • src/WebGeolocationClientMock.cpp: Added. (WebKit::WebGeolocationClientMock::create): (WebKit::WebGeolocationClientMock::initialize): (WebKit::WebGeolocationClientMock::reset): (WebKit::WebGeolocationClientMock::setMockGeolocationPosition): (WebKit::WebGeolocationClientMock::setMockGeolocationError): (WebKit::WebGeolocationClientMock::setMockGeolocationPermission): (WebKit::WebGeolocationClientMock::resetMock): (WebKit::WebGeolocationClientMock::startUpdating): (WebKit::WebGeolocationClientMock::stopUpdating): (WebKit::WebGeolocationClientMock::setEnableHighAccuracy): (WebKit::WebGeolocationClientMock::geolocationDestroyed): (WebKit::WebGeolocationClientMock::setController): (WebKit::WebGeolocationClientMock::lastPosition): (WebKit::WebGeolocationClientMock::requestPermission): (WebKit::WebGeolocationClientMock::cancelPermissionRequest):
  • src/WebGeolocationServiceMock.cpp:

2010-12-10 John Knottenbelt <jknotten@chromium.org>

Reviewed by Steve Block.

[Chromium] Implement mocks for client-based geolocation
https://bugs.webkit.org/show_bug.cgi?id=46895

  • DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::setGeolocationPermission): (LayoutTestController::setMockGeolocationPosition): (LayoutTestController::setMockGeolocationError):
  • DumpRenderTree/chromium/LayoutTestController.h:
  • DumpRenderTree/chromium/WebViewHost.cpp: (WebViewHost::geolocationClient): (WebViewHost::geolocationClientMock): (WebViewHost::reset):
  • DumpRenderTree/chromium/WebViewHost.h:
10:47 AM Changeset in webkit [73744] by mihaip@chromium.org
  • 5 edits
    2 adds in trunk

2010-12-08 Mihai Parparita <mihaip@chromium.org>

Reviewed by Darin Adler.

fast/canvas/canvas-getImageData-negative-source.html fails on Mac
https://bugs.webkit.org/show_bug.cgi?id=47901

Add test for rounding behavior. Remove now-passing tests from
test_expectations.txt.

  • fast/canvas/canvas-getImageData-rounding-expected.txt: Added.
  • fast/canvas/canvas-getImageData-rounding.html: Added.
  • platform/chromium/test_expectations.txt:

2010-12-08 Mihai Parparita <mihaip@chromium.org>

Reviewed by Darin Adler.

fast/canvas/canvas-getImageData-negative-source.html fails on Mac
https://bugs.webkit.org/show_bug.cgi?id=47901

Test: fast/canvas/canvas-getImageData-rounding.html

static_cast<unsigned> is generally not what we want in
convertLogicalToDevice. It produces inconsistent results when compiling
for 32-bit vs. 64-bit, and in any case we weren't getting correct
rounding behavior for source rectangles (e.g. we should get a source rect
of width 2 if the source X is 0.9 and the source width is 0.2, but we
were getting only one of width 1).

  • html/HTMLCanvasElement.cpp: (WebCore::HTMLCanvasElement::convertLogicalToDevice): (WebCore::HTMLCanvasElement::convertToValidDeviceSize):
  • html/HTMLCanvasElement.h:
10:39 AM Changeset in webkit [73743] by alex
  • 2 edits in trunk/LayoutTests

2010-12-10 Alejandro G. Castro <alex@igalia.com>

Unreviewed GTK test expectation update.

  • http/tests/misc/dns-prefetch-control-expected.txt:
10:26 AM Changeset in webkit [73742] by pkasting@chromium.org
  • 3 edits in trunk/LayoutTests

Unreviewed Chromium test expectation update.

  • platform/chromium-gpu/test_expectations.txt:
  • platform/chromium/test_expectations.txt:
10:18 AM Changeset in webkit [73741] by alex
  • 2 edits in trunk/WebKit/gtk

2010-12-10 Alejandro G. Castro <alex@igalia.com>

Unreviewed, fixed small typo in the name of a function.

  • webkit/webkitwebsettings.cpp: (getAvailableDictionariesCallback): (webkit_web_settings_set_property):
10:16 AM Changeset in webkit [73740] by alex
  • 7 edits
    1 add in trunk

2010-12-09 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[GTK] Add hasSpellingMarker support to the DRT
https://bugs.webkit.org/show_bug.cgi?id=50739

Added a new private API function to support the spelling marker
tests in the DRT.

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::webkitWebFrameSelectionHasSpellingMarker):
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

2010-12-10 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[GTK] Add hasSpellingMarker support to the DRT
https://bugs.webkit.org/show_bug.cgi?id=50739

Implemented the hasSpellingMarker to support spelling tests.

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::hasSpellingMarker):

2010-12-10 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[GTK] Add hasSpellingMarker support to the DRT
https://bugs.webkit.org/show_bug.cgi?id=50739

Unskipped spelling tests and added a bug for the one failing,
added results for a new ones also.

  • platform/gtk/Skipped:
  • platform/gtk/editing/spelling/inline_spelling_markers-expected.txt: Added.
9:56 AM Changeset in webkit [73739] by sfalken@apple.com
  • 2 edits in tags/Safari-534.14.1/WebCore

Merge r73723.

9:53 AM Changeset in webkit [73738] by sfalken@apple.com
  • 5 edits in tags/Safari-534.14.1

Versioning.

9:36 AM Changeset in webkit [73737] by alex
  • 2 edits in trunk/WebKit/gtk

2010-12-10 Alejandro G. Castro <alex@igalia.com>

Reviewed by Martin Robinson.

[GTK] Choose a dictionary in case there is no one defined or the
env LANG does not propose one
https://bugs.webkit.org/show_bug.cgi?id=50738

In case no dict is set and we can not find one using the
environment just get the first dictionary installed in the list.

  • webkit/webkitwebsettings.cpp: (getAvilableDictionariesCallback): (webkit_web_settings_set_property):
9:16 AM Changeset in webkit [73736] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-10 Hironori Bono <hbono@chromium.org>

Reviewed by Ojan Vafai.

[Chromium] Use libjpeg-turbo instead of libjpeg
https://bugs.webkit.org/show_bug.cgi?id=50054

This change replaces the hard-coded path to the GYP files of the JPEG
library with a 'libjpeg_gyp_path' variable, which is added by Chromium
r68453. (When building WebKit Chromium, this change sets its value to
'<(chromium_src_dir)/third_party/libjpeg/libjpeg.gyp' to avoid changing
the current behavior.)

No new tests since this does not change the code at all.

  • WebCore.gyp/WebCore.gyp:
9:16 AM Changeset in webkit [73735] by commit-queue@webkit.org
  • 7 edits in trunk

2010-12-10 Joone Hur <joone@kldp.org>

Reviewed by Xan Lopez.

[GTK] Unskipping some test cases in userscripts dependent on addUserStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=50808

Unskipping the following test cases:
userscripts/mixed-case-stylesheet.html
userscripts/simple-stylesheet.html
userscripts/user-style-all-frames.html

  • platform/gtk/Skipped:

2010-12-10 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

Remove unnecessary variable names from DumpRenderTreeSupportGtk
https://bugs.webkit.org/show_bug.cgi?id=50815

There were some unnecessary variable names in DumpRenderTreeSupportGtk,
so remove them.

  • WebCoreSupport/DumpRenderTreeSupportGtk.h: Do it.

2010-12-10 Eric Seidel <eric@webkit.org>

Reviewed by Ojan Vafai.

webkit-patch: not possible to use build-and-test with local commits
https://bugs.webkit.org/show_bug.cgi?id=33378

Make --no-clean not even check if we have local commits.
It's unclear to me why the code was originally written this way.
I was unable to dig up a reason from svn history.

  • Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
  • Scripts/webkitpy/tool/steps/cleanworkingdirectory_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/steps/cleanworkingdirectory.py.
9:12 AM Changeset in webkit [73734] by sfalken@apple.com
  • 1 copy in tags/Safari-534.14.1

New tag.

9:00 AM Changeset in webkit [73733] by eric@webkit.org
  • 2 edits
    1 copy in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Reviewed by Ojan Vafai.

webkit-patch: not possible to use build-and-test with local commits
https://bugs.webkit.org/show_bug.cgi?id=33378

Make --no-clean not even check if we have local commits.
It's unclear to me why the code was originally written this way.
I was unable to dig up a reason from svn history.

  • Scripts/webkitpy/tool/steps/cleanworkingdirectory.py:
  • Scripts/webkitpy/tool/steps/cleanworkingdirectory_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/steps/cleanworkingdirectory.py.
8:50 AM Changeset in webkit [73732] by mario@webkit.org
  • 4 edits in trunk

2010-12-10 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Martin Robinson.

[GTK] AX: implement isEnabled in DRT
https://bugs.webkit.org/show_bug.cgi?id=50814

Unskip passing accessibility/aria-disabled.html test.

  • platform/gtk/Skipped: Unskip test.

2010-12-10 Mario Sanchez Prada <msanchez@igalia.com>

Reviewed by Martin Robinson.

[GTK] AX: implement isEnabled in DRT
https://bugs.webkit.org/show_bug.cgi?id=50814

Implement AccessibilityUIElement::isEnabled() for GTK.

  • DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp: (checkElementState): New function to refactor common code. (AccessibilityUIElement::isEnabled): Implement this by checking the current state of the AtkObject. (AccessibilityUIElement::isSelected): Use the new checkElementState function.
8:41 AM Changeset in webkit [73731] by cmarrin@apple.com
  • 4 edits in trunk/WebCore

2010-12-10 Chris Marrin <cmarrin@apple.com>

Reviewed by Simon Fraser.

Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
https://bugs.webkit.org/show_bug.cgi?id=49388

Got rid of the NonZeroBeginTimeFlag. Functionality is now hidden inside
the implementation.

  • platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::setAnimationOnLayer):
  • platform/graphics/ca/PlatformCAAnimation.h:
  • platform/graphics/ca/mac/PlatformCAAnimationMac.mm: (hasNonZeroBeginTimeFlag): (setNonZeroBeginTimeFlag): (PlatformCAAnimation::PlatformCAAnimation): (PlatformCAAnimation::setBeginTime):
8:33 AM Changeset in webkit [73730] by podivilov@chromium.org
  • 7 edits in trunk/WebCore

2010-12-10 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: eliminate SourceFrameDelegate by passing scripts to SourceFrame constructor.
https://bugs.webkit.org/show_bug.cgi?id=50679

  • inspector/front-end/Script.js:
  • inspector/front-end/ScriptView.js: (WebInspector.ScriptView):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.reset):
  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame): (WebInspector.SourceFrame.prototype._createViewerIfNeeded): (WebInspector.SourceFrame.prototype._breakpointAdded): (WebInspector.SourceFrame.prototype._doEditLine): (WebInspector.SourceFrame.prototype._commitEditLine): (WebInspector.SourceFrame.prototype._breakpoints): (WebInspector.SourceFrame.prototype._sourceIDForLine):
  • inspector/front-end/SourceView.js: (WebInspector.SourceView):
8:05 AM Changeset in webkit [73729] by andreas.kling@nokia.com
  • 16 edits in trunk/WebCore

2010-12-10 Andreas Kling <kling@webkit.org>

Reviewed by Eric Seidel.

Don't do GraphicsContext save/restore just to preserve the CompositeOperator
https://bugs.webkit.org/show_bug.cgi?id=50070

Add GraphicsContext::compositeOperation() so we don't have to do a full
save/restore if the only context-tainting call is setCompositeOperation().

GraphicsContext::setCompositeOperation() now stores the op in its state
and calls a port-specific setPlatformCompositeOperation().

No new tests, this is an optimization.

  • platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::setCompositeOperation): (WebCore::GraphicsContext::compositeOperation):
  • platform/graphics/GraphicsContext.h:
  • platform/graphics/GraphicsContextPrivate.h: (WebCore::GraphicsContextState::GraphicsContextState):
  • platform/graphics/Image.cpp: (WebCore::Image::fillWithSolidColor):
  • platform/graphics/cairo/GraphicsContextCairo.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/haiku/GraphicsContextHaiku.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/mac/GraphicsContextMac.mm: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/openvg/GraphicsContextOpenVG.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/skia/GraphicsContextSkia.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/skia/SkiaUtils.cpp: (WebCore::WebCoreCompositeToSkiaComposite):
  • platform/graphics/wince/GraphicsContextWinCE.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • platform/graphics/wx/GraphicsContextWx.cpp: (WebCore::GraphicsContext::setPlatformCompositeOperation):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended):
  • rendering/RenderView.cpp: (WebCore::RenderView::paintBoxDecorations):
7:36 AM Changeset in webkit [73728] by reni@webkit.org
  • 14 edits
    1 delete in trunk/WebCore

GraphicsContext: Merge m_common and m_data
https://bugs.webkit.org/show_bug.cgi?id=49914

Patch by Renata Hodovan <reni@webkit.org> on 2010-12-10
Reviewed by Andreas Kling.

Move data members from GraphicsContextPrivate into GraphicsContext. So GraphicsContextPlatform.h
and m_common became unnecessary. They are removed.
Add two methods to GraphicsContext: platformInit() and platformDestroy(), which
make the constructor of GraphicsContext clearer.
Besides add a getter to the private GraphicsContext::m_state member, because some inline
functions in cairo need it.

No new test is needed, because this is a refactoring.

  • WebCore.xcodeproj/project.pbxproj:
  • platform/graphics/GraphicsContext.cpp:

(WebCore::GraphicsContext::GraphicsContext):
(WebCore::GraphicsContext::~GraphicsContext):
(WebCore::GraphicsContext::save):
(WebCore::GraphicsContext::restore):
(WebCore::GraphicsContext::setStrokeThickness):
(WebCore::GraphicsContext::setStrokeStyle):
(WebCore::GraphicsContext::setStrokeColor):
(WebCore::GraphicsContext::setShadow):
(WebCore::GraphicsContext::clearShadow):
(WebCore::GraphicsContext::getShadow):
(WebCore::GraphicsContext::strokeThickness):
(WebCore::GraphicsContext::strokeStyle):
(WebCore::GraphicsContext::strokeColor):
(WebCore::GraphicsContext::strokeColorSpace):
(WebCore::GraphicsContext::fillRule):
(WebCore::GraphicsContext::setFillRule):
(WebCore::GraphicsContext::setFillColor):
(WebCore::GraphicsContext::fillColor):
(WebCore::GraphicsContext::fillColorSpace):
(WebCore::GraphicsContext::setShouldAntialias):
(WebCore::GraphicsContext::shouldAntialias):
(WebCore::GraphicsContext::state):
(WebCore::GraphicsContext::setStrokePattern):
(WebCore::GraphicsContext::setFillPattern):
(WebCore::GraphicsContext::setStrokeGradient):
(WebCore::GraphicsContext::setFillGradient):
(WebCore::GraphicsContext::fillGradient):
(WebCore::GraphicsContext::strokeGradient):
(WebCore::GraphicsContext::fillPattern):
(WebCore::GraphicsContext::strokePattern):
(WebCore::GraphicsContext::setShadowsIgnoreTransforms):
(WebCore::GraphicsContext::updatingControlTints):
(WebCore::GraphicsContext::setUpdatingControlTints):
(WebCore::GraphicsContext::setPaintingDisabled):
(WebCore::GraphicsContext::paintingDisabled):
(WebCore::GraphicsContext::textDrawingMode):
(WebCore::GraphicsContext::setTextDrawingMode):

  • platform/graphics/GraphicsContext.h:

(WebCore::GraphicsContextState::GraphicsContextState):

  • platform/graphics/GraphicsContextPrivate.h: Removed.
  • platform/graphics/cairo/GraphicsContextCairo.cpp:

(WebCore::setPlatformFill):
(WebCore::setPlatformStroke):
(WebCore::drawPathShadow):
(WebCore::fillCurrentCairoPath):
(WebCore::strokeCurrentCairoPath):
(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::setPlatformShadow):
(WebCore::GraphicsContext::strokeRect):
(WebCore::GraphicsContext::setAlpha):
(WebCore::GraphicsContext::getAlpha):

  • platform/graphics/cg/GraphicsContextCG.cpp:

(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):
(WebCore::GraphicsContext::applyStrokePattern):
(WebCore::GraphicsContext::applyFillPattern):
(WebCore::GraphicsContext::drawPath):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::setPlatformShadow):
(WebCore::GraphicsContext::strokeRect):

  • platform/graphics/haiku/GraphicsContextHaiku.cpp:

(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):

  • platform/graphics/openvg/GraphicsContextOpenVG.cpp:

(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::clip):
(WebCore::GraphicsContext::clipOut):
(WebCore::GraphicsContext::addInnerRoundedRectClip):

  • platform/graphics/qt/GraphicsContextQt.cpp:

(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::strokePath):
(WebCore::GraphicsContext::fillRect):
(WebCore::GraphicsContext::setPlatformShadow):

  • platform/graphics/skia/GraphicsContextSkia.cpp:

(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::setPlatformShadow):

  • platform/graphics/win/GraphicsContextCGWin.cpp:

(WebCore::GraphicsContext::GraphicsContext):
(WebCore::GraphicsContext::platformInit):

  • platform/graphics/win/GraphicsContextCairoWin.cpp:

(WebCore::GraphicsContext::GraphicsContext):
(WebCore::GraphicsContext::platformInit):

  • platform/graphics/wince/GraphicsContextWinCE.cpp:

(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):
(WebCore::GraphicsContext::fillPath):
(WebCore::GraphicsContext::fillRect):

  • platform/graphics/wx/GraphicsContextWx.cpp:

(WebCore::GraphicsContext::platformInit):
(WebCore::GraphicsContext::platformDestroy):

7:34 AM Changeset in webkit [73727] by Martin Robinson
  • 2 edits in trunk/WebKit/gtk

2010-12-10 Martin Robinson <mrobinson@igalia.com>

Reviewed by Gustavo Noronha Silva.

Remove unnecessary variable names from DumpRenderTreeSupportGtk
https://bugs.webkit.org/show_bug.cgi?id=50815

There were some unnecessary variable names in DumpRenderTreeSupportGtk,
so remove them.

  • WebCoreSupport/DumpRenderTreeSupportGtk.h: Do it.
7:33 AM Changeset in webkit [73726] by podivilov@chromium.org
  • 10 edits in trunk/WebCore

2010-12-10 Pavel Podivilov <podivilov@chromium.org>

Reviewed by Yury Semikhatsky.

Web Inspector: introduce a pair of set/remove methods for each breakpoint type.
https://bugs.webkit.org/show_bug.cgi?id=50809

  • inspector/Inspector.idl:
  • inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::setEventListenerBreakpoint): (WebCore::InspectorController::removeEventListenerBreakpoint): (WebCore::InspectorController::hasEventListenerBreakpoint): (WebCore::InspectorController::setXHRBreakpoint): (WebCore::InspectorController::removeXHRBreakpoint): (WebCore::InspectorController::hasXHRBreakpoint): (WebCore::InspectorController::clearNativeBreakpoints):
  • inspector/InspectorController.h:
  • inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::setDOMBreakpoint): (WebCore::InspectorDOMAgent::removeDOMBreakpoint): (WebCore::InspectorDOMAgent::shouldBreakOnNodeInsertion): (WebCore::InspectorDOMAgent::shouldBreakOnNodeRemoval): (WebCore::InspectorDOMAgent::shouldBreakOnAttributeModification): (WebCore::InspectorDOMAgent::descriptionForDOMEvent): (WebCore::InspectorDOMAgent::didRemoveDOMNode):
  • inspector/InspectorDOMAgent.h:
  • inspector/InspectorInstrumentation.cpp: (WebCore::InspectorInstrumentation::willInsertDOMNodeImpl): (WebCore::InspectorInstrumentation::willRemoveDOMNodeImpl): (WebCore::InspectorInstrumentation::willModifyDOMAttrImpl): (WebCore::InspectorInstrumentation::willSendXMLHttpRequestImpl): (WebCore::InspectorInstrumentation::pauseOnNativeEventIfNeeded):
  • inspector/front-end/BreakpointManager.js: (WebInspector.BreakpointManager): (WebInspector.NativeBreakpoint): (WebInspector.DOMBreakpoint): (WebInspector.EventListenerBreakpoint): (WebInspector.XHRBreakpoint):
  • inspector/front-end/CallStackSidebarPane.js: (WebInspector.CallStackSidebarPane): (WebInspector.CallStackSidebarPane.prototype._nativeBreakpointHit):
  • inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel.prototype.debuggerPaused):
7:17 AM Changeset in webkit [73725] by Csaba Osztrogonác
  • 1 edit
    2 deletes in trunk/LayoutTests

Unreviewed. Remove platform specific expected files after r73720.

  • platform/gtk/fast/forms/ValidityState-patternMismatch-expected.txt: Removed.
  • platform/qt/fast/forms/ValidityState-patternMismatch-expected.txt: Removed.
7:11 AM Changeset in webkit [73724] by commit-queue@webkit.org
  • 8 edits
    7 copies
    2 adds in trunk/WebKit/chromium

2010-12-10 John Knottenbelt <jknotten@chromium.org>

Reviewed by Steve Block.

[chromium] Implement client based geolocation bindings
https://bugs.webkit.org/show_bug.cgi?id=45752

Implements the necessary plumbing to expose client-based geolocation in Chromium
webkit. The plan is to remove the non-client-based geolocation code (GeolocationService*)
in the future.

  • WebKit.gyp:
  • public/WebGeolocationClient.h: Added. (WebKit::WebGeolocationClient::~WebGeolocationClient):
  • public/WebGeolocationController.h: Added. (WebKit::WebGeolocationController::WebGeolocationController): (WebKit::WebGeolocationController::reset):
  • public/WebGeolocationError.h:
  • public/WebGeolocationPermissionRequest.h: Added. (WebKit::WebGeolocationPermissionRequest::WebGeolocationPermissionRequest): (WebKit::WebGeolocationPermissionRequest::geolocation):
  • public/WebGeolocationPermissionRequestManager.h: Added. (WebKit::WebGeolocationPermissionRequestManager::WebGeolocationPermissionRequestManager): (WebKit::WebGeolocationPermissionRequestManager::~WebGeolocationPermissionRequestManager):
  • public/WebGeolocationPosition.h:
  • public/WebViewClient.h: (WebKit::WebViewClient::geolocationClient):
  • src/ChromeClientImpl.cpp: (WebKit::ChromeClientImpl::requestGeolocationPermissionForFrame): (WebKit::ChromeClientImpl::cancelGeolocationPermissionRequestForFrame):
  • src/GeolocationClientProxy.cpp: Added. (WebKit::GeolocationClientProxy::GeolocationClientProxy): (WebKit::GeolocationClientProxy::~GeolocationClientProxy): (WebKit::GeolocationClientProxy::setController): (WebKit::GeolocationClientProxy::geolocationDestroyed): (WebKit::GeolocationClientProxy::startUpdating): (WebKit::GeolocationClientProxy::stopUpdating): (WebKit::GeolocationClientProxy::setEnableHighAccuracy): (WebKit::GeolocationClientProxy::lastPosition): (WebKit::GeolocationClientProxy::requestPermission): (WebKit::GeolocationClientProxy::cancelPermissionRequest):
  • src/GeolocationClientProxy.h: Added.
  • src/WebGeolocationController.cpp: Added. (WebKit::WebGeolocationController::positionChanged): (WebKit::WebGeolocationController::errorOccurred): (WebKit::WebGeolocationController::controller):
  • src/WebGeolocationPermissionRequest.cpp: Added. (WebKit::WebGeolocationPermissionRequest::securityOrigin): (WebKit::WebGeolocationPermissionRequest::setIsAllowed):
  • src/WebGeolocationPermissionRequestManager.cpp: Added. (WebGeolocationPermissionRequestManager::add): (WebGeolocationPermissionRequestManager::remove): (WebGeolocationPermissionRequestManager::init): (WebGeolocationPermissionRequestManager::reset):
  • src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl):
  • src/WebViewImpl.h:
6:52 AM Changeset in webkit [73723] by Adam Roben
  • 2 edits in trunk/WebCore

Windows production build fix after r72555

  • WebCore.vcproj/WebCoreGeneratedCommon.vsprops: Use

"$(WebKitVSPropsRedirectionDir)..\..\WebKitLibraries\win" to find the
.vsprops files, rather than $(WebKitLibrariesDir).

6:48 AM Changeset in webkit [73722] by jocelyn.turcotte@nokia.com
  • 3 edits in trunk/WebCore

[Qt] Second attempt to fix the build with Qt 4.6 broken in 73710.

Reviewed by nobody, build fix.

  • platform/network/qt/QtNAMThreadSafeProxy.cpp:

(WebCore::QtNetworkReplyThreadSafeProxy::QtNetworkReplyThreadSafeProxy):
(WebCore::QtNetworkReplyThreadSafeProxy::localCustomRequest):

  • platform/network/qt/QtNAMThreadSafeProxy.h:
6:35 AM Changeset in webkit [73721] by mario@webkit.org
  • 2 edits in trunk/LayoutTests

2010-12-10 Mario Sanchez Prada <msanchez@igalia.com>

Unreviewed, unskip passing accessibility tests on GTK.

  • platform/gtk/Skipped: Unskip passing tests.
6:20 AM Changeset in webkit [73720] by pfeldman@chromium.org
  • 3 edits in trunk/LayoutTests

2010-12-10 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Get rid of spaces in ValidityState-patternMismatch test.

  • fast/forms/ValidityState-patternMismatch-expected.txt:
  • fast/forms/ValidityState-patternMismatch.html:
5:04 AM Changeset in webkit [73719] by Csaba Osztrogonác
  • 1 edit
    2 adds in trunk/LayoutTests

Unreviewed. Add platform specific expected files after r73715.

  • platform/gtk/fast/forms/ValidityState-patternMismatch-expected.txt: Added.
  • platform/qt/fast/forms/ValidityState-patternMismatch-expected.txt: Added.
4:30 AM Changeset in webkit [73718] by jocelyn.turcotte@nokia.com
  • 3 edits in trunk/WebCore

[Qt] Fix the build with Qt 4.6 broken in 73710.

Reviewed by nobody, build fix.

  • platform/network/qt/QtNAMThreadSafeProxy.cpp:

(WebCore::QtNetworkReplyThreadSafeProxy::QtNetworkReplyThreadSafeProxy):

  • platform/network/qt/QtNAMThreadSafeProxy.h:
4:14 AM Changeset in webkit [73717] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-10 Emil Eklund <eae@chromium.org>

Reviewed by Eric Seidel.

Change EventHandler::dispatchMouseEvent code to use DOM traversal instead of render tree traversal
https://bugs.webkit.org/show_bug.cgi?id=49982

  • page/EventHandler.cpp: (WebCore::EventHandler::dispatchMouseEvent): Walk up DOM/hosted tree rather than render tree.
4:03 AM Changeset in webkit [73716] by jocelyn.turcotte@nokia.com
  • 12 edits
    2 copies
    1 add in trunk

2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt][WK2] Add the QWKContext API class to wrap the WebContext.
https://bugs.webkit.org/show_bug.cgi?id=50750

  • UIProcess/API/qt/WKView.h:
  • UIProcess/API/qt/qgraphicswkview.cpp: (QGraphicsWKView::QGraphicsWKView): Change the WKPageNamespaceRef argument to QWKContext*
  • UIProcess/API/qt/qgraphicswkview.h:
  • UIProcess/API/qt/qwkcontext.cpp: Added.
  • UIProcess/API/qt/qwkcontext.h: Added.
  • UIProcess/API/qt/qwkcontext_p.h: Added.
  • UIProcess/API/qt/qwkpage.cpp: (QWKPagePrivate::QWKPagePrivate): (QWKPage::QWKPage): Change the WKPageNamespaceRef argument to QWKContext*
  • UIProcess/API/qt/qwkpage.h:
  • UIProcess/API/qt/qwkpage_p.h:
  • WebKit2.pro:

2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt][WK2] Add the QWKContext API class to wrap the WebContext.
https://bugs.webkit.org/show_bug.cgi?id=50750

  • MiniBrowser/qt/BrowserView.cpp: (BrowserView::BrowserView):
  • MiniBrowser/qt/BrowserView.h:
  • WebKitTestRunner/qt/PlatformWebViewQt.cpp: (WTR::WebView::WebView):
3:42 AM Changeset in webkit [73715] by commit-queue@webkit.org
  • 1 edit
    4 adds
    22 deletes in trunk/LayoutTests

2010-12-10 Dai Mikurube <dmikurube@google.com>

Reviewed by Kent Tamura.

Refactor by merging tests for ValidityState (patternMismatch and customError)
https://bugs.webkit.org/show_bug.cgi?id=50802

  • fast/forms/ValidityState-customError-expected.txt: Added.
  • fast/forms/ValidityState-customError.html: Added.
  • fast/forms/ValidityState-customError-001-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
  • fast/forms/ValidityState-customError-001.html: Removed. Merged to ValidityState-customError.html.
  • fast/forms/ValidityState-customError-002-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
  • fast/forms/ValidityState-customError-002.html: Removed. Merged to ValidityState-customError.html.
  • fast/forms/ValidityState-customError-003-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
  • fast/forms/ValidityState-customError-003.html: Removed. Merged to ValidityState-customError.html.
  • fast/forms/ValidityState-customError-004-expected.txt: Removed. Merged to ValidityState-customError-expected.txt.
  • fast/forms/ValidityState-customError-004.html: Removed. Merged to ValidityState-customError.html.
  • fast/forms/ValidityState-patternMismatch-expected.txt: Added.
  • fast/forms/ValidityState-patternMismatch.html: Added.
  • fast/forms/ValidityState-patternMismatch-001-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
  • fast/forms/ValidityState-patternMismatch-001.html: Removed. Merged to ValidityState-patternMismatch.html.
  • fast/forms/ValidityState-patternMismatch-002-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
  • fast/forms/ValidityState-patternMismatch-002.html: Removed. Merged to ValidityState-patternMismatch.html.
  • fast/forms/ValidityState-patternMismatch-003-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
  • fast/forms/ValidityState-patternMismatch-003.html: Removed. Merged to ValidityState-patternMismatch.html.
  • fast/forms/ValidityState-patternMismatch-004-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
  • fast/forms/ValidityState-patternMismatch-004.html: Removed. Merged to ValidityState-patternMismatch.html.
  • fast/forms/ValidityState-patternMismatch-005-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
  • fast/forms/ValidityState-patternMismatch-005.html: Removed. Merged to ValidityState-patternMismatch.html.
  • fast/forms/ValidityState-patternMismatch-006-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
  • fast/forms/ValidityState-patternMismatch-006.html: Removed. Merged to ValidityState-patternMismatch.html.
  • fast/forms/ValidityState-patternMismatch-007-expected.txt: Removed. Merged to ValidityState-patternMismatch-expected.txt.
  • fast/forms/ValidityState-patternMismatch-007.html: Removed. Merged to ValidityState-patternMismatch.html.
3:04 AM Changeset in webkit [73714] by commit-queue@webkit.org
  • 7 edits in trunk

2010-12-10 Joone Hur <joone@kldp.org>

Reviewed by Eric Seidel.

[GTK] Add DRT support for pageProperty, isPageBoxVisible, pageSizeAndMarginsInPixels, and addUserStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=50783

Unskip the following test cases:
printing/page-rule-selection.html
printing/page-format-data.html

  • platform/gtk/Skipped:

2010-12-10 Joone Hur <joone@kldp.org>

Reviewed by Eric Seidel.

[GTK] Add DRT support for pageProperty, isPageBoxVisible, pageSizeAndMarginsInPixels, and addUserStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=50783

This patch allows to unskip the following test cases:
printing/page-rule-selection.html
printing/page-format-data.html

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp: (DumpRenderTreeSupportGtk::pageProperty): Added. (DumpRenderTreeSupportGtk::isPageBoxVisible): Ditto. (DumpRenderTreeSupportGtk::pageSizeAndMarginsInPixels): Ditto. (DumpRenderTreeSupportGtk::addUserStyleSheet): Ditto.
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

2010-12-10 Joone Hur <joone@kldp.org>

Reviewed by Eric Seidel.

[GTK] Add DRT support for pageProperty, isPageBoxVisible, pageSizeAndMarginsInPixels, and addUserStyleSheet
https://bugs.webkit.org/show_bug.cgi?id=50783

This patch allows to unskip the following test cases:
printing/page-rule-selection.html
printing/page-format-data.html

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageProperty): Added. (LayoutTestController::isPageBoxVisible): Ditto. (LayoutTestController::pageSizeAndMarginsInPixels): Ditto. (LayoutTestController::addUserStyleSheet): Ditto.
3:00 AM Changeset in webkit [73713] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-10 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Updated chromium test expectations.

  • platform/chromium/test_expectations.txt:
2:51 AM Changeset in webkit [73712] by jocelyn.turcotte@nokia.com
  • 5 edits in trunk/WebKitTools

2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Make QtTestBrowser spawn QNAM in a secondary thread.

A menu allows to switch QNAM back to the same thread.

  • QtTestBrowser/launcherwindow.cpp: (LauncherWindow::initializeView): (LauncherWindow::createChrome): (LauncherWindow::toggleThreadedQnam):
  • QtTestBrowser/launcherwindow.h: (WindowOptions::WindowOptions):
  • QtTestBrowser/webpage.cpp: (WebPage::WebPage): (WebPage::setQnamThreaded):
  • QtTestBrowser/webpage.h: (QnamThread::QnamThread): (QnamThread::~QnamThread): (QnamThread::networkAccessManager): (QnamThread::run):
2:50 AM Changeset in webkit [73711] by pfeldman@chromium.org
  • 2 edits in trunk/LayoutTests

2010-12-10 Pavel Feldman <pfeldman@chromium.org>

Not reviewed. Mark inspector tests as slow in Chromium expectations.

  • platform/chromium/test_expectations.txt:
2:50 AM Changeset in webkit [73710] by jocelyn.turcotte@nokia.com
  • 10 edits
    2 adds in trunk

2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Support a QNetworkAccessManager affined to a different thread.
https://bugs.webkit.org/show_bug.cgi?id=50080

This patch introduce thread safe proxy classes for QNetworkAccessManager
and QNetworkReply.
If run in the same thread, these objects will forward the calls with
Qt::DirectConnection bindings, while in the other case they will use
Qt::QueuedConnection to carry requests accross threads.

This patch basically:

  • Makes sure that all access goes through these objects
  • Reorders signal connections to make sure we are connected when the signal comes
  • Makes sure that no QObject in the WebCore thread is a child of the reply which might be in a different thread.
  • Forward the data directly in QByteArrays in signals instead of collecting the data when the signal is handled.

New test: tst_QWebPage::networkAccessManagerOnDifferentThread

  • WebCore.pro:
  • platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivateQt::commitLoad):
  • platform/network/qt/QNetworkReplyHandler.cpp: (WebCore::FormDataIODevice::FormDataIODevice): (WebCore::QNetworkReplyHandler::QNetworkReplyHandler): (WebCore::QNetworkReplyHandler::~QNetworkReplyHandler): (WebCore::QNetworkReplyHandler::setLoadMode): (WebCore::QNetworkReplyHandler::abort): (WebCore::QNetworkReplyHandler::release): (WebCore::ignoreHttpError): (WebCore::QNetworkReplyHandler::finish): (WebCore::QNetworkReplyHandler::sendResponseIfNeeded): (WebCore::QNetworkReplyHandler::forwardData): (WebCore::QNetworkReplyHandler::start): (WebCore::QNetworkReplyHandler::sendQueuedItems):
  • platform/network/qt/QNetworkReplyHandler.h:
  • platform/network/qt/QtNAMThreadSafeProxy.cpp: Added.
  • platform/network/qt/QtNAMThreadSafeProxy.h: Added.
  • platform/network/qt/ResourceHandleQt.cpp: (WebCore::ResourceHandle::willLoadFromCache):
  • platform/qt/CookieJarQt.cpp: (WebCore::networkAccessManager): (WebCore::setCookies): (WebCore::cookies): (WebCore::cookieRequestHeaderFieldValue): (WebCore::cookiesEnabled):

2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Support a QNetworkAccessManager affined to a different thread.
https://bugs.webkit.org/show_bug.cgi?id=50080

This patch introduce thread safe proxy classes for QNetworkAccessManager
and QNetworkReply.
If run in the same thread, these objects will forward the calls with
Qt::DirectConnection bindings, while in the other case they will use
Qt::QueuedConnection to carry requests accross threads.

This patch basically:

  • Makes sure that all access goes through these objects
  • Reorders signal connections to make sure we are connected when the signal comes
  • Makes sure that no QObject in the WebCore thread is a child of the reply which might be in a different thread.
  • Forward the data directly in QByteArrays in signals instead of collecting the data when the signal is handled.

New test: tst_QWebPage::networkAccessManagerOnDifferentThread

  • WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::download):
  • tests/qwebpage/tst_qwebpage.cpp: (QtNAMThread::QtNAMThread): (QtNAMThread::~QtNAMThread): (QtNAMThread::networkAccessManager): (QtNAMThread::run): (tst_QWebPage::networkAccessManagerOnDifferentThread):
2:49 AM Changeset in webkit [73709] by commit-queue@webkit.org
  • 2 edits in trunk/WebKit2

2010-12-10 Kimmo Kinnunen <kimmo.t.kinnunen@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

Flush IPC connection send buffer after each message.

[Qt] [WK2] IPC messages are not sent until send buffer fills up
https://bugs.webkit.org/show_bug.cgi?id=50667

  • Platform/CoreIPC/qt/ConnectionQt.cpp: (CoreIPC::Connection::sendOutgoingMessage):
2:41 AM Changeset in webkit [73708] by jocelyn.turcotte@nokia.com
  • 2 edits in trunk/WebCore

[Qt] Refactor QNetworkReplyHandler::finish() to prevent crashes.
https://bugs.webkit.org/show_bug.cgi?id=50761

Reviewed by Kenneth Rohde Christiansen.

This patch change the order to check if m_reply is null instead,
explicitly deleting the reply before calling start() for a redirect,
or after calling didFinishLoading()/didFail() in other cases.

  • platform/network/qt/QNetworkReplyHandler.cpp:

(WebCore::QNetworkReplyHandler::finish):

2:41 AM Changeset in webkit [73707] by jocelyn.turcotte@nokia.com
  • 3 edits in trunk/WebCore

[Qt] Make sure we send the response before any data.
https://bugs.webkit.org/show_bug.cgi?id=50760

Reviewed by Kenneth Rohde Christiansen.

This patch make sure the data available flag is set before
we call sendResponseIfNeeded.

  • platform/network/qt/QNetworkReplyHandler.cpp:

(WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
(WebCore::QNetworkReplyHandler::finish):
(WebCore::QNetworkReplyHandler::sendResponseIfNeeded):
(WebCore::QNetworkReplyHandler::forwardData):
(WebCore::QNetworkReplyHandler::resetState):

  • platform/network/qt/QNetworkReplyHandler.h:
2:36 AM Changeset in webkit [73706] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-10 Koan-Sin Tan <koansin.tan@gmail.com>

Reviewed by Dan Bernstein.

Bopomofo should be part of CJK Ideographs in WebCore/platform/graphics/Font.cpp
https://bugs.webkit.org/show_bug.cgi?id=50668

No new tests. Note that, as said in the bug report discussion,
I did have a test case for the bug. However, to show the test
case you need some "broken" Microsoft copyrighted fonts, such
as DFKai-SB.

  • platform/graphics/Font.cpp: (WebCore::Font::isCJKIdeograph):
2:34 AM Changeset in webkit [73705] by Philippe Normand
  • 3 edits in trunk/WebCore

2010-12-10 Philippe Normand <pnormand@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GStreamer] un-needed methods
https://bugs.webkit.org/show_bug.cgi?id=50805

No new tests, code cleanup only.

  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
2:33 AM Changeset in webkit [73704] by Patrick Gansterer
  • 2 edits in trunk/JavaScriptCore

2010-12-10 Patrick Gansterer <Patrick Gansterer>

Reviewed by Eric Seidel.

Cleanup StringWx.cpp
https://bugs.webkit.org/show_bug.cgi?id=50525

Use StringImpl::createUninitialized to avoid memcpy and fix style issues.

  • wtf/wx/StringWx.cpp: (WTF::String::String):
2:31 AM Changeset in webkit [73703] by Martin Robinson
  • 6 edits in trunk

2010-12-10 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Simplify context-menu handling code
https://bugs.webkit.org/show_bug.cgi?id=49658

  • wtf/PlatformRefPtr.h:

2010-12-10 Carlos Garcia Campos <cgarcia@igalia.com>

Reviewed by Martin Robinson.

[GTK] Simplify context-menu handling code
https://bugs.webkit.org/show_bug.cgi?id=49658

  • platform/ContextMenuItem.h:
  • platform/gtk/ContextMenuGtk.cpp: (WebCore::ContextMenu::appendItem):
  • platform/gtk/ContextMenuItemGtk.cpp: (WebCore::ContextMenuItem::ContextMenuItem): (WebCore::ContextMenuItem::~ContextMenuItem): (WebCore::ContextMenuItem::releasePlatformDescription): (WebCore::ContextMenuItem::type): (WebCore::ContextMenuItem::setType): (WebCore::ContextMenuItem::action): (WebCore::ContextMenuItem::setAction): (WebCore::ContextMenuItem::title): (WebCore::ContextMenuItem::setTitle): (WebCore::ContextMenuItem::platformSubMenu): (WebCore::ContextMenuItem::setSubMenu): (WebCore::ContextMenuItem::setChecked): (WebCore::ContextMenuItem::setEnabled):
2:27 AM Changeset in webkit [73702] by kov@webkit.org
  • 6 edits
    1 add in trunk/WebKit/gtk

2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Split webkitprivate.{cpp,h} in more manageable chunks
https://bugs.webkit.org/show_bug.cgi?id=50698

Split private bits of WebKitWebInspector to its own private
header, and to its implementation file.

  • WebCoreSupport/InspectorClientGtk.cpp:
  • webkit/webkitprivate.cpp:
  • webkit/webkitprivate.h:
  • webkit/webkitwebinspector.cpp: (isSchemaAvailable): (inspectorGSettings):
  • webkit/webkitwebinspectorprivate.h: Added.
  • webkit/webkitwebview.cpp:
2:26 AM Changeset in webkit [73701] by kov@webkit.org
  • 8 edits
    1 add in trunk/WebKit/gtk

2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Split webkitprivate.{cpp,h} in more manageable chunks
https://bugs.webkit.org/show_bug.cgi?id=50698

Split private bits of WebKitNetworkRequest to its own private
header, and to its implementation file. Also take the opportunity
to use PlatformRefPtr for NetworkRequest where it makes sense, and
make the creation less verbose by adding kitNew.

  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchWillSendRequest): (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType): (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction): (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction): (WebKit::FrameLoaderClient::download): (WebKit::FrameLoaderClient::startDownload):
  • webkit/webkitdownload.cpp:
  • webkit/webkitnetworkrequest.cpp: (WebKit::kitNew): (WebKit::core):
  • webkit/webkitnetworkrequestprivate.h: Added.
  • webkit/webkitprivate.cpp:
  • webkit/webkitprivate.h:
  • webkit/webkitwebdatasource.cpp: (webkit_web_data_source_get_initial_request): (webkit_web_data_source_get_request):
  • webkit/webkitwebframe.cpp:
2:25 AM Changeset in webkit [73700] by Philippe Normand
  • 5 edits
    2 deletes in trunk

2010-12-10 Philippe Normand <pnormand@igalia.com>

Reviewed by Gustavo Noronha Silva.

[GStreamer] data: source could also support non-base64 encoded URIs
https://bugs.webkit.org/show_bug.cgi?id=30007

Removed our ancient implementation of dataurisrc. We should now
use the one in gst-plugins-bad which is more mature.

  • GNUmakefile.am:
  • platform/graphics/gstreamer/DataSourceGStreamer.cpp: Removed.
  • platform/graphics/gstreamer/DataSourceGStreamer.h: Removed.
  • platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp: (WebCore::doGstInit):

LayoutTests:

Reviewed by Gustavo Noronha Silva.

[GStreamer] data: source could also support non-base64 encoded URIs
https://bugs.webkit.org/show_bug.cgi?id=30007

  • platform/gtk/Skipped: Unskipped media/audio-data-url.html. It should now be much more reliable on the bots running latest GStreamer versions.
2:20 AM Changeset in webkit [73699] by zherczeg@webkit.org
  • 2 edits in trunk/WebCore

2010-12-10 Zoltan Herczeg <zherczeg@webkit.org>

Reviewed by Eric Seidel.

[Qt] Fix crashes in debug mode
https://bugs.webkit.org/show_bug.cgi?id=49976

The m_methods hashmap of QtInstance contains InternalFunctions
whose depend on the current RuntimeObject. When we recreate the
RuntimeObject, we should also reset this hashmap.

  • bridge/qt/qt_instance.cpp: (JSC::Bindings::QtInstance::newRuntimeObject):
2:17 AM Changeset in webkit [73698] by commit-queue@webkit.org
  • 2 edits in trunk/WebCore

2010-12-10 François Sausset <François Sausset>

Reviewed by Eric Seidel.

MathML: update baselinePosition() call in RenderMathMLBlock.cpp
https://bugs.webkit.org/show_bug.cgi?id=50540

The call of baselinePosition() is outdated: new arguments added.

  • mathml/RenderMathMLBlock.cpp: (WebCore::RenderMathMLBlock::paint):
2:12 AM Changeset in webkit [73697] by hans@chromium.org
  • 16 edits in trunk

2010-12-10 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Numeric keys are floats.
https://bugs.webkit.org/show_bug.cgi?id=50674

Update layout tests to use floating-point values for keys.

  • storage/indexeddb/keyrange-expected.txt:
  • storage/indexeddb/keyrange.html: Make sure creating the keys works.
  • storage/indexeddb/objectstore-cursor-expected.txt:
  • storage/indexeddb/objectstore-cursor.html: Make sure retrieving the keys from the DB objectstore works.

2010-12-10 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Numeric keys are floats.
https://bugs.webkit.org/show_bug.cgi?id=50674

Use floating point to represent numeric keys,
add version meta data to the SQLite db,
and migrate object stores that use integers.

  • bindings/v8/IDBBindingUtilities.cpp: (WebCore::createIDBKeyFromValue):
  • bindings/v8/custom/V8IDBKeyCustom.cpp: (WebCore::toV8):
  • storage/IDBFactoryBackendImpl.cpp: (WebCore::createTables): (WebCore::migrateDatabase): (WebCore::IDBFactoryBackendImpl::open):
  • storage/IDBKey.cpp: (WebCore::IDBKey::IDBKey): (WebCore::IDBKey::fromQuery): (WebCore::IDBKey::bind): (WebCore::IDBKey::bindWithNulls):
  • storage/IDBKey.h: (WebCore::IDBKey::create): (WebCore::IDBKey::number):

2010-12-10 Hans Wennborg <hans@chromium.org>

Reviewed by Jeremy Orlow.

IndexedDB: Numeric keys are floats.
https://bugs.webkit.org/show_bug.cgi?id=50674

Represent numeric keys as floating point values.

  • public/WebIDBKey.h: (WebKit::WebIDBKey::WebIDBKey):
  • src/WebIDBKey.cpp: (WebKit::WebIDBKey::assign): (WebKit::WebIDBKey::number):
2:06 AM Changeset in webkit [73696] by kov@webkit.org
  • 12 edits
    1 add in trunk/WebKit/gtk

2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Martin Robinson.

[GTK] Split webkitprivate.{cpp,h} in more manageable chunks
https://bugs.webkit.org/show_bug.cgi?id=50698

Split private bits of WebKitWebFrame to its own private header, and
to its implementation file.

  • GNUmakefile.am:
  • WebCoreSupport/ChromeClientGtk.cpp:
  • WebCoreSupport/DragClientGtk.cpp:
  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
  • WebCoreSupport/FrameLoaderClientGtk.cpp:
  • webkit/webkitprivate.cpp:
  • webkit/webkitprivate.h:
  • webkit/webkitwebdatasource.cpp:
  • webkit/webkitwebframe.cpp: (WebKit::getViewFromFrame): (WebKit::core): (WebKit::kit):
  • webkit/webkitwebframeprivate.h: Added.
  • webkit/webkitwebpolicydecision.cpp:
  • webkit/webkitwebview.cpp:
1:54 AM Changeset in webkit [73695] by Martin Robinson
  • 8 edits
    5 adds in trunk

2010-12-10 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[Gtk] style="font-family: courier" makes text disappear
https://bugs.webkit.org/show_bug.cgi?id=47452

Added a GTK+ test for invalid fonts.

  • platform/gtk/fonts/font-with-no-valid-encoding-expected.checksum: Added.
  • platform/gtk/fonts/font-with-no-valid-encoding-expected.png: Added.
  • platform/gtk/fonts/font-with-no-valid-encoding-expected.txt: Added.
  • platform/gtk/fonts/font-with-no-valid-encoding.html: Added.

2010-12-10 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[Gtk] style="font-family: courier" makes text disappear
https://bugs.webkit.org/show_bug.cgi?id=47452

Don't ever use fonts that do not have any of the three charmaps that
Fontconfig supports (Unicode, Apple Roman and Symbol). If we select
a font that doesn't have one of these charmaps, use the next font in
the list.

Test: platform/gtk/fonts/font-with-no-valid-encoding.html

  • platform/graphics/freetype/FontCacheFreeType.cpp: (WebCore::FontCache::createFontPlatformData): Check whether the font we selected has a valid Fontconfig charmap.
  • platform/graphics/freetype/FontPlatformData.h: Added new method definition.
  • platform/graphics/freetype/FontPlatformDataFreeType.cpp: (WebCore::FontPlatformData::hasCompatibleCharmap): Added this method which verifies that a font has a valid Fontconfig charmap.

2010-12-10 Martin Robinson <mrobinson@igalia.com>

Reviewed by Xan Lopez.

[Gtk] style="font-family: courier" makes text disappear
https://bugs.webkit.org/show_bug.cgi?id=47452

Add a test that verifies that fonts without valid charmaps are
never selected.

  • DumpRenderTree/gtk/DumpRenderTree.cpp: (initializeFonts): Initialize DRT with our font (derived from Ahem) that has no valid charmap.
  • DumpRenderTree/gtk/fonts/FontWithNoValidEncoding.fon: Added.
  • DumpRenderTree/gtk/fonts/fonts.conf: Updated settings to override users' settings which may disable selection of bitmap fonts.
1:29 AM Changeset in webkit [73694] by eric@webkit.org
  • 3 edits in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Unreviewed.

The commit-queue should file bugs about flaky tests it encounters
https://bugs.webkit.org/show_bug.cgi?id=50803

create_bug_for_flaky_test was insufficiently tested, thus buggy.
Now it's tested.

  • Scripts/webkitpy/tool/bot/flakytestreporter.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py:
1:13 AM Changeset in webkit [73693] by Csaba Osztrogonác
  • 5 edits
    2 adds in trunk/LayoutTests

Unreviewed fix after r73687.

[Qt] enable orientation flag when QtMobility available
https://bugs.webkit.org/show_bug.cgi?id=50781

  • platform/qt/fast/dom/Orientation/create-event-orientationchange-expected.txt: Added.
  • platform/qt/fast/dom/Window/window-properties-expected.txt:
  • platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
  • platform/qt/fast/dom/prototype-inheritance-expected.txt:
  • platform/qt/fast/js/global-constructors-expected.txt:
12:31 AM Changeset in webkit [73692] by eric@webkit.org
  • 2 edits in trunk/WebKitTools

2010-12-10 Eric Seidel <eric@webkit.org>

Unreviewed. Somehow this last-minute edit didn't quite get committed.

The commit-queue should file bugs about flaky tests it encounters
https://bugs.webkit.org/show_bug.cgi?id=50803

  • Scripts/webkitpy/tool/bot/flakytestreporter.py:
12:26 AM Changeset in webkit [73691] by eric@webkit.org
  • 15 edits
    2 copies
    1 add in trunk/WebKitTools

2010-12-09 Eric Seidel <eric@webkit.org>

Reviewed by Adam Barth.

The commit-queue should file bugs about flaky tests it encounters
https://bugs.webkit.org/show_bug.cgi?id=50803

This change got a bit big. I also added a new config.urls file
because I needed to share the view_source_url code with committervalidator.py.

This adds a new class FlakyTestReporter which holds all the logic about
reporting flaky tests to bugzilla.

Right now this code knows how to look up bugs for flaky tests.
If it can't find a bug filed from the commit-queue, it will open a new
one, ccing the relevant people and adding information about the failure.

It is not yet smart enough to chase down duplicate chains, or to include
the actual failure diff. But those can be added in later iterations.

  • Scripts/webkitpy/common/checkout/api.py:
  • Scripts/webkitpy/common/checkout/changelog.py:
  • Scripts/webkitpy/common/checkout/commitinfo.py:
  • Scripts/webkitpy/common/config/committervalidator.py:
  • Scripts/webkitpy/common/config/urls.py: Copied from WebKitTools/Scripts/webkitpy/tool/comments.py.
  • Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
  • Scripts/webkitpy/tool/bot/flakytestreporter.py: Added.
  • Scripts/webkitpy/tool/bot/flakytestreporter_unittest.py: Copied from WebKitTools/Scripts/webkitpy/tool/comments.py.
  • Scripts/webkitpy/tool/bot/irc_command.py:
  • Scripts/webkitpy/tool/bot/sheriff.py:
  • Scripts/webkitpy/tool/commands/download.py:
  • Scripts/webkitpy/tool/commands/queues.py:
  • Scripts/webkitpy/tool/commands/queues_unittest.py:
  • Scripts/webkitpy/tool/comments.py:
  • Scripts/webkitpy/tool/mocktool.py:
  • Scripts/webkitpy/tool/steps/commit.py:
Note: See TracTimeline for information about the timeline view.