WebKit.git
12 years ago2010-08-26 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 26 Aug 2010 19:46:48 +0000 (19:46 +0000)]
2010-08-26  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        new-run-webkit-tests: add rebaselining tests for test_expectations

        This patch adds more unit tests for the rebaselining code in the
        test_expectations module. It doesn't add any tests for
        rebaseline_chromium_webkit_tests itself; that will come some other
        time.

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

        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66125 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 26 Aug 2010 19:44:28 +0000 (19:44 +0000)]
2010-08-26  Tony Chang  <tony@chromium.org>

        Not reviewed.  Removing chromium-win test results that deduplicate-tests says are not necessary.

        * platform/chromium-win-vista/fast/backgrounds/repeat/negative-offset-repeat-expected.checksum: Removed.
        * platform/chromium-win-vista/fast/backgrounds/repeat/negative-offset-repeat-expected.png: Removed.
        * platform/chromium-win-vista/fast/css/css2-system-fonts-expected.checksum: Removed.
        * platform/chromium-win-vista/fast/css/css2-system-fonts-expected.png: Removed.
        * platform/chromium-win-vista/fast/forms/search-styled-expected.checksum: Removed.
        * platform/chromium-win-vista/fast/forms/search-styled-expected.png: Removed.
        * platform/chromium-win-vista/fast/text/basic/006-expected.checksum: Removed.
        * platform/chromium-win-vista/fast/text/basic/006-expected.png: Removed.
        * platform/chromium-win-vista/fast/text/cg-vs-atsui-expected.checksum: Removed.
        * platform/chromium-win-vista/fast/text/cg-vs-atsui-expected.png: Removed.
        * platform/chromium-win-vista/fast/text/complex-text-opacity-expected.checksum: Removed.
        * platform/chromium-win-vista/fast/text/complex-text-opacity-expected.png: Removed.
        * platform/chromium-win-vista/svg/W3C-SVG-1.1/text-fonts-01-t-expected.checksum: Removed.
        * platform/chromium-win-vista/svg/W3C-SVG-1.1/text-fonts-01-t-expected.png: Removed.
        * platform/chromium-win-xp/editing/pasteboard/block-wrappers-necessary-expected.checksum: Removed.
        * platform/chromium-win-xp/editing/pasteboard/block-wrappers-necessary-expected.png: Removed.
        * platform/chromium-win-xp/fast/backgrounds/repeat/negative-offset-repeat-expected.checksum: Removed.
        * platform/chromium-win-xp/fast/backgrounds/repeat/negative-offset-repeat-expected.png: Removed.
        * platform/chromium-win-xp/fast/css/nested-rounded-corners-expected.png: Removed.
        * platform/chromium-win-xp/fast/dom/timer-clear-interval-in-handler-and-generate-error-expected.txt: Removed.
        * platform/chromium-win-xp/fast/forms/search-styled-expected.txt: Removed.
        * platform/chromium-win-xp/fast/lists/anonymous-items-expected.png: Removed.
        * platform/chromium-win-xp/fast/repaint/fixed-tranformed-expected.png: Removed.
        * platform/chromium-win-xp/fast/replaced/border-radius-clip-expected.checksum: Removed.
        * platform/chromium-win-xp/fast/replaced/border-radius-clip-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-empty-rt-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-length-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-run-break-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-runs-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-runs-spans-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-simple-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-simple-rp-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/ruby-trailing-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-insert-rt-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-insert-text1-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-insert-text2-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-insert-text3-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-remove-rt1-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-remove-rt2-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-remove-text1-expected.png: Removed.
        * platform/chromium-win-xp/fast/ruby/rubyDOM-remove-text2-expected.png: Removed.
        * platform/chromium-win-xp/fast/text/atsui-kerning-and-ligatures-expected.checksum: Removed.
        * platform/chromium-win-xp/fast/text/atsui-kerning-and-ligatures-expected.png: Removed.
        * platform/chromium-win-xp/fast/text/stroking-decorations-expected.checksum: Removed.
        * platform/chromium-win-xp/fast/text/stroking-decorations-expected.png: Removed.
        * platform/chromium-win-xp/fast/text/stroking-expected.checksum: Removed.
        * platform/chromium-win-xp/fast/text/stroking-expected.png: Removed.
        * platform/chromium-win-xp/svg/batik/text/textEffect2-expected.png: Removed.
        * platform/chromium-win-xp/svg/batik/text/textFeatures-expected.txt: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-child-clipped-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-childs-clipped-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-clipped-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-clipped-nonzero-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-evenodd-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-evenodd-nonzero-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-nonzero-evenodd-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-nonzero-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-objectBoundingBox-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-on-clipped-use-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-on-g-and-child-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-on-g-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-on-svg-and-child-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-on-svg-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-text-and-shape-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-text-and-stroke-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-text-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child2-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child3-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-use-as-child4-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-userSpaceOnUse-expected.png: Removed.
        * platform/chromium-win-xp/svg/clip-path/clip-path-with-text-clipped-expected.png: Removed.
        * platform/chromium-win-xp/svg/custom/foreign-object-skew-expected.checksum: Removed.
        * platform/chromium-win-xp/svg/custom/foreign-object-skew-expected.png: Removed.
        * platform/chromium-win-xp/svg/custom/js-late-gradient-and-object-creation-expected.checksum: Removed.
        * platform/chromium-win-xp/svg/custom/js-late-gradient-and-object-creation-expected.png: Removed.
        * platform/chromium-win-xp/svg/custom/js-late-pattern-and-object-creation-expected.checksum: Removed.
        * platform/chromium-win-xp/svg/custom/js-late-pattern-and-object-creation-expected.png: Removed.
        * platform/chromium-win-xp/svg/custom/mask-invalidation-expected.png: Removed.
        * platform/chromium-win/editing/deleting/transpose-empty-expected.txt: Removed.
        * platform/chromium-win/editing/execCommand/boldSelection-expected.txt: Removed.
        * platform/chromium-win/editing/pasteboard/paste-plaintext-user-select-none-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/bgCompositeCopy-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize02-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize03-expected.checksum: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize10-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize11-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize13-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize14-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize17-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize18-expected.txt: Removed.
        * platform/chromium-win/fast/backgrounds/size/backgroundSize19-expected.txt: Removed.
        * platform/chromium-win/fast/block/float/009-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/034-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/4145535Crash-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/br-with-clear-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/float-on-zero-height-line-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/narrow-after-wide-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/negative-margin-clear-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/nowrap-clear-min-width-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/overhanging-after-height-decrease-offsets-expected.checksum: Removed.
        * platform/chromium-win/fast/block/float/relative-painted-twice-expected.txt: Removed.
        * platform/chromium-win/fast/block/positioning/003-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/004-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/005-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/006-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/007-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/008-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/009-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/010-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/011-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/012-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/013-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/014-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/015-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/016-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/017-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/018-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/019-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/020-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/021-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/022-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/023-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/024-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/025-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/026-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/027-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/028-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/029-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/030-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/031-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/032-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/033-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/034-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/035-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/036-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/037-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/038-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/039-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/040-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/041-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/042-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/043-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/044-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/045-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/046-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/048-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/049-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/050-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/062-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/move-with-auto-width-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/relative-overconstrained-expected.checksum: Removed.
        * platform/chromium-win/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt: Removed.
        * platform/chromium-win/fast/borders/border-image-omit-right-slice-expected.txt: Removed.
        * platform/chromium-win/fast/borders/outline-offset-min-assert-expected.checksum: Removed.
        * platform/chromium-win/fast/canvas/access-zero-sized-canvas-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-as-image-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-as-image-incremental-repaint-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-bg-zoom-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-text-alignment-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-text-baseline-expected.txt: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-identity-expected.checksum: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-infinity-expected.checksum: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-multiply-expected.checksum: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-nan-expected.checksum: Removed.
        * platform/chromium-win/fast/canvas/canvas-transform-non-invertible-expected.checksum: Removed.
        * platform/chromium-win/fast/clip/017-expected.checksum: Removed.
        * platform/chromium-win/fast/css/006-expected.checksum: Removed.
        * platform/chromium-win/fast/css/affected-by-hover-after-style-change-expected.checksum: Removed.
        * platform/chromium-win/fast/css/content-dynamic-expected.checksum: Removed.
        * platform/chromium-win/fast/css/last-child-style-sharing-expected.checksum: Removed.
        * platform/chromium-win/fast/css/transition-color-unspecified-expected.checksum: Removed.
        * platform/chromium-win/fast/css/variables/invalid-identifier-expected.txt: Removed.
        * platform/chromium-win/fast/dom/HTMLStyleElement/insert-parser-generated-expected.checksum: Removed.
        * platform/chromium-win/fast/dom/Window/console-trace-expected.txt: Removed.
        * platform/chromium-win/fast/dom/Window/window-open-pending-url-expected.txt: Removed.
        * platform/chromium-win/fast/dom/css-cached-import-rule-expected.checksum: Removed.
        * platform/chromium-win/fast/dom/css-insert-import-rule-expected.checksum: Removed.
        * platform/chromium-win/fast/dom/delete-contents-expected.checksum: Removed.
        * platform/chromium-win/fast/dom/delete-contents-expected.txt: Removed.
        * platform/chromium-win/fast/dynamic/001-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/005-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/float-no-longer-overhanging-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/float-withdrawal-2-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/floating-to-positioned-2-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/floating-to-positioned-2-expected.txt: Removed.
        * platform/chromium-win/fast/dynamic/floating-to-positioned-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/floating-to-positioned-expected.txt: Removed.
        * platform/chromium-win/fast/dynamic/genContentDestroyChildren-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/insertAdjacentElement-expected.txt: Removed.
        * platform/chromium-win/fast/dynamic/positioned-movement-with-positioned-children-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/staticY-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/subtree-boundary-percent-height-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/subtree-no-common-root-static-y-expected.checksum: Removed.
        * platform/chromium-win/fast/dynamic/subtree-table-cell-height-expected.checksum: Removed.
        * platform/chromium-win/fast/events/mouse-drag-from-frame-to-other-frame-expected.txt: Removed.
        * platform/chromium-win/fast/events/onloadFrameCrash-expected.checksum: Removed.
        * platform/chromium-win/fast/events/onunload-clears-onbeforeunload-expected.txt: Removed.
        * platform/chromium-win/fast/events/onunload-not-on-body-expected.txt: Removed.
        * platform/chromium-win/fast/forms/005-expected.txt: Removed.
        * platform/chromium-win/fast/forms/drag-out-of-textarea-expected.txt: Removed.
        * platform/chromium-win/fast/forms/form-and-frame-interaction-retains-values-expected.txt: Removed.
        * platform/chromium-win/fast/forms/selected-index-assert-expected.txt: Removed.
        * platform/chromium-win/fast/forms/slider-onchange-event-expected.txt: Removed.
        * platform/chromium-win/fast/forms/slider-transformed-expected.txt: Removed.
        * platform/chromium-win/fast/forms/textarea-no-scroll-on-blur-expected.txt: Removed.
        * platform/chromium-win/fast/forms/textarea-scrolled-endline-caret-expected.txt: Removed.
        * platform/chromium-win/fast/frames/002-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/calculate-fixed-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/calculate-order-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/calculate-percentage-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/calculate-relative-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/calculate-round-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/empty-cols-attribute-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/empty-frame-src-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/frame-length-fractional-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/frame-set-whitespace-attributes-expected.checksum: Removed.
        * platform/chromium-win/fast/frames/no-frame-borders-expected.checksum: Removed.
        * platform/chromium-win/fast/gradients/background-clipped-expected.txt: Removed.
        * platform/chromium-win/fast/gradients/border-image-gradient-expected.txt: Removed.
        * platform/chromium-win/fast/gradients/border-image-gradient-sides-and-corners-expected.txt: Removed.
        * platform/chromium-win/fast/images/image-in-map-expected.checksum: Removed.
        * platform/chromium-win/fast/images/pdf-as-tiled-background-expected.checksum: Removed.
        * platform/chromium-win/fast/images/svg-as-background-expected.checksum: Removed.
        * platform/chromium-win/fast/images/svg-as-image-expected.checksum: Removed.
        * platform/chromium-win/fast/images/svg-as-relative-image-expected.checksum: Removed.
        * platform/chromium-win/fast/images/svg-width-100p-as-background-expected.checksum: Removed.
        * platform/chromium-win/fast/inline-block/004-expected.checksum: Removed.
        * platform/chromium-win/fast/inline-block/005-expected.checksum: Removed.
        * platform/chromium-win/fast/invalid/015-expected.checksum: Removed.
        * platform/chromium-win/fast/invalid/table-residual-style-crash-expected.checksum: Removed.
        * platform/chromium-win/fast/js/exception-linenums-in-html-3-expected.checksum: Removed.
        * platform/chromium-win/fast/js/missing-style-end-tag-js-expected.checksum: Removed.
        * platform/chromium-win/fast/js/missing-title-end-tag-js-expected.checksum: Removed.
        * platform/chromium-win/fast/layers/positioned-inside-root-with-margins-expected.checksum: Removed.
        * platform/chromium-win/fast/layers/self-painting-outline-expected.txt: Removed.
        * platform/chromium-win/fast/layers/zindex-ridonkulous-expected.checksum: Removed.
        * platform/chromium-win/fast/overflow/position-relative-expected.checksum: Removed.
        * platform/chromium-win/fast/overflow/unreachable-content-test-expected.checksum: Removed.
        * platform/chromium-win/fast/parser/comment-in-script-expected.txt: Removed.
        * platform/chromium-win/fast/parser/external-entities-expected.txt: Removed.
        * platform/chromium-win/fast/parser/style-script-head-test-expected.checksum: Removed.
        * platform/chromium-win/fast/reflections/reflection-computed-style-expected.txt: Removed.
        * platform/chromium-win/fast/reflections/table-cell-expected.checksum: Removed.
        * platform/chromium-win/fast/reflections/table-cell-expected.txt: Removed.
        * platform/chromium-win/fast/reflections/teardown-crash-expected.txt: Removed.
        * platform/chromium-win/fast/repaint/button-spurious-layout-hint-expected.checksum: Removed.
        * platform/chromium-win/fast/repaint/float-in-new-block-with-layout-delta-expected.checksum: Removed.
        * platform/chromium-win/fast/replaced/008-expected.checksum: Removed.
        * platform/chromium-win/fast/table/024-expected.checksum: Removed.
        * platform/chromium-win/fast/table/031-expected.checksum: Removed.
        * platform/chromium-win/fast/table/caption-relayout-expected.checksum: Removed.
        * platform/chromium-win/fast/table/div-as-col-span-expected.checksum: Removed.
        * platform/chromium-win/fast/table/giantCellspacing-expected.checksum: Removed.
        * platform/chromium-win/fast/table/growCellForImageQuirk-expected.checksum: Removed.
        * platform/chromium-win/fast/table/max-width-integer-overflow-expected.checksum: Removed.
        * platform/chromium-win/fast/table/percent-widths-stretch-expected.checksum: Removed.
        * platform/chromium-win/fast/table/vertical-align-baseline-readjust-expected.checksum: Removed.
        * platform/chromium-win/fast/text/align-center-rtl-spill-expected.checksum: Removed.
        * platform/chromium-win/fast/text/apply-start-width-after-skipped-text-expected.checksum: Removed.
        * platform/chromium-win/fast/text/fixed-pitch-control-characters-expected.checksum: Removed.
        * platform/chromium-win/fast/text/selection-painted-separately-expected.checksum: Removed.
        * platform/chromium-win/fast/text/soft-hyphen-3-expected.checksum: Removed.
        * platform/chromium-win/fast/text/stripNullFromText-expected.checksum: Removed.
        * platform/chromium-win/fast/text/whitespace/017-expected.txt: Removed.
        * platform/chromium-win/fast/tokenizer/missing-style-end-tag-1-expected.checksum: Removed.
        * platform/chromium-win/fast/tokenizer/missing-style-end-tag-2-expected.checksum: Removed.
        * platform/chromium-win/fast/tokenizer/script-after-frameset-expected.checksum: Removed.
        * platform/chromium-win/fast/xsl/mozilla-tests-expected.txt: Removed.
        * platform/chromium-win/fast/xsl/xslt-mismatched-tags-in-xslt-expected.checksum: Removed.
        * platform/chromium-win/media/video-play-pause-events-expected.txt: Removed.
        * platform/chromium-win/plugins/embed-attributes-setting-expected.txt: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1/struct-frag-01-t-expected.checksum: Removed.
        * platform/chromium-win/svg/carto.net/tabgroup-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/SVGNumber-interface-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/SVGPoint-interface-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/SVGRect-interface-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/attribute-namespace-check-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/class-selector-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/clip-path-child-changes-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/clip-path-href-changes-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/clip-path-units-changes-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/clip-path-with-transform-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/conditional-processing-outside-switch-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/create-metadata-element-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/createelement-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/css-pixels-dpi-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/display-none-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/dynamic-viewBox-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/evt-onload-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/fill-update-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/filter-source-alpha-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/gradient-add-stops-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/gradient-attr-update-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/gradient-stop-style-change-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/hover-default-fill-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/image-clipped-hit-expected.txt: Removed.
        * platform/chromium-win/svg/custom/image-with-aspect-ratio-stretch-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/inner-percent-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/inner-svg-hit-test-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/invalid-transforms-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/mask-excessive-malloc-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/mask-inside-defs-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/pattern-in-defs-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/percentage-rect2-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/poly-identify-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/polyline-hittest-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/polyline-invalid-points-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/polyline-setattribute-points-null-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/prevent-default-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/repaint-on-image-bounds-change-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/resource-client-removal-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/rgbcolor-syntax-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/rootelement-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/scroll-hit-test-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/sheet-title-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/svg-absolute-children-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/text-gradient-no-content-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/transform-ignore-after-invalid-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/transform-invalid-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/transform-removeAttributeNS-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/transform-scale-parse-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/transform-with-ending-space-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/transformedMaskFails-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/use-empty-reference-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/use-infinite-recursion-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/use-recalcStyle-crash-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/use-symbol-overflow-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/viewport-clip-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/viewport-no-width-height-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/viewport-update-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/viewport-update2-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/visibility-override-clip-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/visibility-override-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/visibility-override-mask-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/xhtml-no-svg-renderer-expected.checksum: Removed.
        * platform/chromium-win/svg/custom/xml-stylesheet-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/dynamic/003-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/dynamic/004-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/dynamic/006-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/001-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/006-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/007-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/008-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/009-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/014-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/014-test-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/015-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/error/016-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/painting/001-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/processing-model/005-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/rendering-model/003a-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/use/001-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/use/002-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/use/002-test-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/viewbox/001-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/viewbox/002-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/viewbox/003-expected.checksum: Removed.
        * platform/chromium-win/svg/hixie/viewbox/004-expected.checksum: Removed.
        * platform/chromium-win/svg/webarchive/svg-script-subresouces-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/adforce_imgis_com-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug103533-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug1818-6-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug196870-expected.txt: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug222336-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug222467-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug269566-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug277062-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug28933-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug2954-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug8032-2-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/bugs/bug9024-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla/core/col_widths_fix_autoFixPer-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug128876-expected.checksum: Removed.
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug3517-expected.checksum: Removed.
        * platform/chromium-win/transforms/3d/hit-testing/backface-hit-test-expected.txt: Removed.
        * platform/chromium-win/transitions/transition-end-event-rendering-expected.checksum: Removed.
        * platform/chromium-win/webarchive/archive-with-unencoded-url-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-body-background-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-img-src-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-input-src-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-link-rel-icon-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-object-data-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-script-src-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-table-background-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-td-background-expected.checksum: Removed.
        * platform/chromium-win/webarchive/test-xml-stylesheet-expected.checksum: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66124 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoFix QT bustage.
hyatt@apple.com [Thu, 26 Aug 2010 19:43:35 +0000 (19:43 +0000)]
Fix QT bustage.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66123 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agohttps://bugs.webkit.org/show_bug.cgi?id=39647, font face loads do a synchronous recal...
hyatt@apple.com [Thu, 26 Aug 2010 19:33:40 +0000 (19:33 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=39647, font face loads do a synchronous recalcStyle(Force)
on the whole document.  Change these calls to do async recalcStyles instead.

Reviewed by Simon Fraser.

* css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::fontLoaded):
(WebCore::CSSFontSelector::fontCacheInvalidated):
* dom/Document.cpp:
(WebCore::Document::scheduleForcedStyleRecalc):
(WebCore::Document::styleSelectorChanged):
* dom/Document.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66122 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Tony Chang <tony@chromium.org>
tony@chromium.org [Thu, 26 Aug 2010 19:23:59 +0000 (19:23 +0000)]
2010-08-26  Tony Chang  <tony@chromium.org>

        Not reviewed.  Removing chromium-linux test results that deduplicate-tests says are not necessary.

        * platform/chromium-linux/fast/block/basic/min-pref-width-nowrap-floats-expected.txt: Removed.
        * platform/chromium-linux/fast/block/positioning/complex-percentage-height-expected.txt: Removed.
        * platform/chromium-linux/fast/frames/invalid-expected.txt: Removed.
        * platform/chromium-linux/fast/frames/valid-expected.txt: Removed.
        * platform/chromium-linux/fast/lists/item-not-in-list-line-wrapping-expected.txt: Removed.
        * platform/chromium-linux/fast/repaint/multicol-repaint-expected.png: Removed.
        * platform/chromium-linux/fast/ruby/ruby-inline-table-expected.txt: Removed.
        * platform/chromium-linux/fast/runin/generated2-expected.txt: Removed.
        * platform/chromium-linux/fast/runin/generated3-expected.txt: Removed.
        * platform/chromium-linux/fast/runin/generated4-expected.txt: Removed.
        * platform/chromium-linux/fast/text/stripNullFromText-expected.checksum: Removed.
        * platform/chromium-linux/fast/text/stripNullFromText-expected.png: Removed.
        * platform/chromium-linux/fast/url/host-expected.txt: Removed.
        * platform/chromium-linux/fast/url/mailto-expected.txt: Removed.
        * platform/chromium-linux/fast/url/path-expected.txt: Removed.
        * platform/chromium-linux/fast/url/scheme-expected.txt: Removed.
        * platform/chromium-linux/fast/url/standard-url-expected.txt: Removed.
        * platform/chromium-linux/media/video-zoom-expected.txt: Removed.
        * platform/chromium-linux/svg/css/svg-ellipse-render-crash-expected.txt: Removed.
        * platform/chromium-linux/svg/custom/fill-opacity-hsl-expected.png: Removed.
        * platform/chromium-linux/svg/custom/fill-opacity-rgba-expected.png: Removed.
        * platform/chromium-linux/svg/custom/mask-changes-expected.checksum: Removed.
        * platform/chromium-linux/svg/custom/visibility-override-filter-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/big-sized-filter-2-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/big-sized-filter-2-expected.png: Removed.
        * platform/chromium-linux/svg/filters/big-sized-filter-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/big-sized-filter-expected.png: Removed.
        * platform/chromium-linux/svg/filters/feColorMatrix-values-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/feColorMatrix-values-expected.png: Removed.
        * platform/chromium-linux/svg/filters/feMerge-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/feMerge-expected.png: Removed.
        * platform/chromium-linux/svg/filters/feOffset-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/feTile-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/feTile-expected.png: Removed.
        * platform/chromium-linux/svg/filters/parent-children-with-same-filter-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/parent-children-with-same-filter-expected.png: Removed.
        * platform/chromium-linux/svg/filters/subRegion-in-userSpace-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/subRegion-in-userSpace-expected.png: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66121 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Thu, 26 Aug 2010 19:14:03 +0000 (19:14 +0000)]
2010-08-26  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] Add HTTP caching support
        https://bugs.webkit.org/show_bug.cgi?id=44261

        Ignore new soup API that we decided to merge into the soup backend
        while it is being cooked. It follows the libsoup style, and will
        be removed from WebKit as soon as it is merged into libsoup.

        * Scripts/webkitpy/style/checker.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66120 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Thu, 26 Aug 2010 19:00:53 +0000 (19:00 +0000)]
2010-08-25  Oliver Hunt  <oliver@apple.com>

        Reviewed by Geoffrey Garen.

        Improve overflow handling in StringImpl::Replace
        https://bugs.webkit.org/show_bug.cgi?id=42502
        <rdar://problem/8203794>

        Harden StringImpl::replace against overflow -- I can't see how this
        could be abused, but it's better to be safe than sorry.

        * wtf/text/StringImpl.cpp:
        (WTF::StringImpl::replace):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66119 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 26 Aug 2010 18:54:58 +0000 (18:54 +0000)]
2010-08-26  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Fix double free (we were passing const memory to a GOwnPtr) by
        getting rid of unneeded temp variable.

        * platform/gtk/FileSystemGtk.cpp:
        (WebCore::directoryName):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66118 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 26 Aug 2010 18:27:24 +0000 (18:27 +0000)]
2010-08-26  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Store heap snapshots in InspectorProfilerAgent.

        Change the way heap snapshots are transported to Inspector
        to be aligned with CPU profiles. As a result, the Heap snapshots
        view of Profiles panel was upstreamed into WebCore.

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

        * English.lproj/localizedStrings.js:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/ScriptHeapSnapshot.h: Added.
        (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot):
        (WebCore::ScriptHeapSnapshot::title):
        (WebCore::ScriptHeapSnapshot::uid):
        (WebCore::ScriptHeapSnapshot::buildInspectorObjectForHead):
        (WebCore::ScriptHeapSnapshot::ScriptHeapSnapshot):
        * bindings/js/ScriptProfiler.h:
        (WebCore::ScriptProfiler::takeHeapSnapshot):
        * bindings/v8/ScriptHeapSnapshot.cpp: Added.
        (WebCore::ScriptHeapSnapshot::title):
        (WebCore::ScriptHeapSnapshot::uid):
        (WebCore::buildInspectorObjectFor):
        (WebCore::ScriptHeapSnapshot::buildInspectorObjectForHead):
        * bindings/v8/ScriptHeapSnapshot.h: Added.
        (WebCore::ScriptHeapSnapshot::create):
        (WebCore::ScriptHeapSnapshot::~ScriptHeapSnapshot):
        (WebCore::ScriptHeapSnapshot::ScriptHeapSnapshot):
        * bindings/v8/ScriptProfile.cpp:
        (WebCore::buildInspectorObjectFor):
        * bindings/v8/ScriptProfiler.cpp:
        (WebCore::ScriptProfiler::takeHeapSnapshot):
        * bindings/v8/ScriptProfiler.h:
        * inspector/Inspector.idl:
        * inspector/InspectorBackend.cpp:
        * inspector/InspectorBackend.h:
        * inspector/InspectorProfilerAgent.cpp:
        (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
        (WebCore::InspectorProfilerAgent::createSnapshotHeader):
        (WebCore::InspectorProfilerAgent::getProfileHeaders):
        (WebCore::InspectorProfilerAgent::getProfile):
        (WebCore::InspectorProfilerAgent::removeProfile):
        (WebCore::InspectorProfilerAgent::resetState):
        (WebCore::InspectorProfilerAgent::takeHeapSnapshot):
        * inspector/InspectorProfilerAgent.h:
        * inspector/front-end/HeapSnapshotView.js: Added.
        (WebInspector.HeapSnapshotView.profileCallback):
        (WebInspector.HeapSnapshotView.resetCompleted):
        (WebInspector.HeapSnapshotView):
        (WebInspector.HeapSnapshotView.prototype.get statusBarItems):
        (WebInspector.HeapSnapshotView.prototype.get profile):
        (WebInspector.HeapSnapshotView.prototype.set profile):
        (WebInspector.HeapSnapshotView.prototype.show):
        (WebInspector.HeapSnapshotView.prototype.hide):
        (WebInspector.HeapSnapshotView.prototype.resize):
        (WebInspector.HeapSnapshotView.prototype.refresh):
        (WebInspector.HeapSnapshotView.prototype.refreshShowAsPercents):
        (WebInspector.HeapSnapshotView.prototype._deleteSearchMatchedFlags):
        (WebInspector.HeapSnapshotView.prototype.searchCanceled):
        (WebInspector.HeapSnapshotView.prototype.performSearch):
        (WebInspector.HeapSnapshotView.prototype.jumpToFirstSearchResult.WebInspector.CPUProfileView.prototype.jumpToFirstSearchResult.jumpToLastSearchResult.WebInspector.CPUProfileView.prototype.jumpToLastSearchResult.jumpToNextSearchResult.WebInspector.CPUProfileView.prototype.jumpToNextSearchResult.jumpToPreviousSearchResult.WebInspector.CPUProfileView.prototype.jumpToPreviousSearchResult.showingFirstSearchResult.WebInspector.CPUProfileView.prototype.showingFirstSearchResult.showingLastSearchResult.WebInspector.CPUProfileView.prototype.showingLastSearchResult._jumpToSearchResult.WebInspector.CPUProfileView.prototype._jumpToSearchResult.refreshVisibleData):
        (WebInspector.HeapSnapshotView.prototype._changeBase.resetCompleted):
        (WebInspector.HeapSnapshotView.prototype._changeBase):
        (WebInspector.HeapSnapshotView.prototype._createSnapshotDataGridList):
        (WebInspector.HeapSnapshotView.prototype._getProfiles):
        (WebInspector.HeapSnapshotView.prototype._loadProfile.loadedCallback):
        (WebInspector.HeapSnapshotView.prototype._loadProfile):
        (WebInspector.HeapSnapshotView.prototype._mouseDownInDataGrid):
        (WebInspector.HeapSnapshotView.prototype.get _isShowingAsPercent):
        (WebInspector.HeapSnapshotView.prototype._percentClicked):
        (WebInspector.HeapSnapshotView.prototype._prepareProfile.mergeRetainers):
        (WebInspector.HeapSnapshotView.prototype._prepareProfile):
        (WebInspector.HeapSnapshotView.prototype._resetDataGridList.profileLoaded):
        (WebInspector.HeapSnapshotView.prototype._resetDataGridList):
        (WebInspector.HeapSnapshotView.prototype._sortData):
        (WebInspector.HeapSnapshotView.prototype._updateBaseOptions):
        (WebInspector.HeapSnapshotView.prototype._updatePercentButton):
        (WebInspector.HeapSnapshotView.prototype._updateSummaryGraph):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.LESS_OR_EQUAL):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.EQUAL):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER_OR_EQUAL):
        (WebInspector.HeapSnapshotView.SearchHelper.operations.GREATER):
        (WebInspector.HeapSnapshotView.SearchHelper.parseOperationAndNumber):
        (WebInspector.HeapSummaryCalculator):
        (WebInspector.HeapSummaryCalculator.prototype.computeSummaryValues):
        (WebInspector.HeapSummaryCalculator.prototype.formatValue):
        (WebInspector.HeapSummaryCalculator.prototype.get showAsPercent):
        (WebInspector.HeapSummaryCalculator.prototype.set showAsPercent):
        (WebInspector.HeapSummaryCountCalculator):
        (WebInspector.HeapSummaryCountCalculator.prototype._highFromLow):
        (WebInspector.HeapSummaryCountCalculator.prototype._valueToString):
        (WebInspector.HeapSummarySizeCalculator):
        (WebInspector.HeapSummarySizeCalculator.prototype._highFromLow):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _hasRetainers):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get _parent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype._populate):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.produceDiff):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.sort):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.signForDelta):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.showDeltaAsPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalCount):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.getTotalSize):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizePercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get countDeltaPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get sizeDeltaPercent):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.get data):
        (WebInspector.HeapSnapshotDataGridNodeWithRetainers.prototype.createCell):
        (WebInspector.HeapSnapshotDataGridNode):
        (WebInspector.HeapSnapshotDataGridList):
        (WebInspector.HeapSnapshotDataGridList.prototype.appendChild):
        (WebInspector.HeapSnapshotDataGridList.prototype.insertChild):
        (WebInspector.HeapSnapshotDataGridList.prototype.removeChildren):
        (WebInspector.HeapSnapshotDataGridList.prototype.populateChildren):
        (WebInspector.HeapSnapshotDataGridList.propertyComparator.comparator):
        (WebInspector.HeapSnapshotDataGridList.propertyComparator):
        (WebInspector.HeapSnapshotDataGridRetainerNode):
        (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizePercent):
        (WebInspector.HeapSnapshotDataGridRetainerNode.prototype.get sizeDeltaPercent):
        (WebInspector.HeapSnapshotDataGridRetainerNode.prototype._calculateRetainers):
        (WebInspector.HeapSnapshotProfileType):
        (WebInspector.HeapSnapshotProfileType.prototype.get buttonTooltip):
        (WebInspector.HeapSnapshotProfileType.prototype.get buttonStyle):
        (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
        (WebInspector.HeapSnapshotProfileType.prototype.get welcomeMessage):
        (WebInspector.HeapSnapshotProfileType.prototype.createSidebarTreeElementForProfile):
        (WebInspector.HeapSnapshotProfileType.prototype.createView):
        * inspector/front-end/ProfileView.js:
        (WebInspector.CPUProfileView):
        (WebInspector.CPUProfileType.prototype.createSidebarTreeElementForProfile):
        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel.prototype.addProfileHeader):
        (WebInspector.ProfilesPanel.prototype.removeProfileHeader):
        (WebInspector.ProfilesPanel.prototype.getProfiles):
        (WebInspector.ProfilesPanel.prototype.updateProfile):
        (WebInspector.ProfileSidebarTreeElement):
        (WebInspector.ProfileSidebarTreeElement.prototype.get mainTitle):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.css:
        (.heap-snapshot-sidebar-tree-item .icon):
        (.heap-snapshot-sidebar-tree-item.small .icon):
        (.heap-snapshot-view):
        (.heap-snapshot-view.visible):
        (.heap-snapshot-view .data-grid):
        (.heap-snapshot-view .data-grid th.count-column):
        (.heap-snapshot-view .data-grid td.count-column):
        (.heap-snapshot-view .data-grid th.size-column):
        (.heap-snapshot-view .data-grid td.size-column):
        (.heap-snapshot-view .data-grid th.countDelta-column):
        (.heap-snapshot-view .data-grid td.countDelta-column):
        (.heap-snapshot-view .data-grid th.sizeDelta-column):
        (.heap-snapshot-view .data-grid td.sizeDelta-column):
        (#heap-snapshot-summary-container):
        (.heap-snapshot-summary):
        (.heap-snapshot-summary canvas.summary-graph):
        (.heap-snapshot-summary-label):
        * inspector/front-end/inspector.html:
        * inspector/front-end/inspector.js:
        (WebInspector._createPanels):

        * DEPS:
        * WebKit.gypi:
        * src/js/DevTools.js:
        ():
        * src/js/HeapProfilerPanel.js: Removed.
        * src/js/ProfilerAgent.js: Removed.
        * src/js/ProfilerProcessor.js: Removed.
        * src/js/devTools.css:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66117 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoReset results for an incorrect test after my previous checkin.
hyatt@apple.com [Thu, 26 Aug 2010 18:19:34 +0000 (18:19 +0000)]
Reset results for an incorrect test after my previous checkin.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66116 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago<rdar://problem/8302217> recalcStyles called immediately on each change when updating...
hyatt@apple.com [Thu, 26 Aug 2010 18:17:59 +0000 (18:17 +0000)]
<rdar://problem/8302217> recalcStyles called immediately on each change when updating document-level stylesheets
https://bugs.webkit.org/show_bug.cgi?id=36303

Reviewed by Simon Fraser.

Parameterize updateStyleSelector to optionally defer the forced style recalc following the rebuilding of the
sheets used by the CSSStyleSelector.  Rename the method to styleSelectorChanged().  Add the capability to do
a forced style recalc to the style recalc timer.

* css/CSSMutableStyleDeclaration.cpp:
(WebCore::CSSMutableStyleDeclaration::setNeedsStyleRecalc):
* css/CSSStyleSheet.cpp:
(WebCore::CSSStyleSheet::styleSheetChanged):
* css/CSSVariablesDeclaration.cpp:
(WebCore::CSSVariablesDeclaration::setNeedsStyleRecalc):
* dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::scheduleStyleRecalc):
(WebCore::Document::updateStyleIfNeeded):
(WebCore::Document::updateLayoutIgnorePendingStylesheets):
(WebCore::Document::clearPageUserSheet):
(WebCore::Document::clearPageGroupUserSheets):
(WebCore::Document::processHttpEquiv):
(WebCore::Document::setSelectedStylesheetSet):
(WebCore::Document::removePendingSheet):
(WebCore::Document::styleSelectorChanged):
(WebCore::Document::setInPageCache):
* dom/Document.h:
(WebCore::):
* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::removedFromDocument):
* dom/StyleElement.cpp:
(WebCore::StyleElement::removedFromDocument):
* dom/XMLDocumentParser.cpp:
(WebCore::XMLDocumentParser::end):
* dom/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::doEnd):
* html/HTMLDocument.cpp:
(WebCore::HTMLDocument::determineParseMode):
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::setDisabledState):
(WebCore::HTMLLinkElement::process):
(WebCore::HTMLLinkElement::removedFromDocument):
* page/Frame.cpp:
(WebCore::Frame::setPrinting):
(WebCore::Frame::reapplyStyles):
* page/FrameView.cpp:
(WebCore::FrameView::layout):
* page/Page.cpp:
(WebCore::Page::setViewMode):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::setDesiredColumnCountAndWidth):
* svg/SVGFontFaceElement.cpp:
(WebCore::SVGFontFaceElement::rebuildFontFace):
(WebCore::SVGFontFaceElement::removeFromMappedElementSheet):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66115 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-24 Vangelis Kokkevis <vangelis@chromium.org>
vangelis@chromium.org [Thu, 26 Aug 2010 18:09:11 +0000 (18:09 +0000)]
2010-08-24  Vangelis Kokkevis  <vangelis@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Implementing clipping for composited layers. Two
        types of clipping are added: Scissoring for layers that don't
        contain any rotations and stencil-buffer based clipping for
        all other layers.
        https://bugs.webkit.org/show_bug.cgi?id=44573

        Tests: Compositor layout tests that test clipping such as
        compositing/geometry/{clip.html, clipping-foreground.html} now
        work properly.

        * platform/graphics/chromium/LayerChromium.cpp:
        (WebCore::LayerChromium::SharedValues::SharedValues):
        (WebCore::LayerChromium::getDrawRect):
        (WebCore::LayerChromium::drawAsMask):
        * platform/graphics/chromium/LayerChromium.h:
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        (WebCore::LayerRendererChromium::drawLayers):
        (WebCore::LayerRendererChromium::drawLayerIntoStencilBuffer):
        (WebCore::LayerRendererChromium::drawLayersRecursive):
        (WebCore::LayerRendererChromium::scissorToRect):
        (WebCore::LayerRendererChromium::initializeSharedObjects):
        * platform/graphics/chromium/LayerRendererChromium.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66114 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Kenneth Russell <kbr@google.com>
kbr@google.com [Thu, 26 Aug 2010 17:52:00 +0000 (17:52 +0000)]
2010-08-25  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Expose Vector3 and associated operations
        https://bugs.webkit.org/show_bug.cgi?id=44666

        No new tests; ran several 3D CSS demos and did full layout test
        run. New code paths have also been tested by new calling code
        which will be checked in soon.

        * platform/graphics/transforms/TransformationMatrix.cpp:
        (WebCore::decompose):
        * platform/graphics/transforms/TransformationMatrix.h:
        (WebCore::Vector3::Vector3):
        (WebCore::Vector3::x):
        (WebCore::Vector3::y):
        (WebCore::Vector3::z):
        (WebCore::Vector3::setX):
        (WebCore::Vector3::setY):
        (WebCore::Vector3::setZ):
        (WebCore::Vector3::set):
        (WebCore::Vector3::operator =):
        (WebCore::Vector3::operator +):
        (WebCore::Vector3::operator -):
        (WebCore::Vector3::operator[]):
        (WebCore::Vector3::length):
        (WebCore::Vector3::lengthSquared):
        (WebCore::Vector3::scaleTo):
        (WebCore::Vector3::normalize):
        (WebCore::Vector3::dot):
        (WebCore::Vector3::combine):
        (WebCore::Vector3::cross):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66113 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Thu, 26 Aug 2010 17:27:14 +0000 (17:27 +0000)]
2010-08-26  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: fix CPU profile header entries doubling on Inspector re-opening.

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

        * inspector/front-end/ProfilesPanel.js:
        (WebInspector.ProfilesPanel.prototype.show):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66112 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Miroslaw Szymanski <miroslaw.s@samsung.com>
commit-queue@webkit.org [Thu, 26 Aug 2010 16:52:45 +0000 (16:52 +0000)]
2010-08-26  Miroslaw Szymanski  <miroslaw.s@samsung.com>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Added new callback when view's size is changed to fix issue with changing layout size
        https://bugs.webkit.org/show_bug.cgi?id=44337

        * ewk/ewk_view.cpp:
        (_ewk_view_smart_calculate):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66111 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 26 Aug 2010 16:45:43 +0000 (16:45 +0000)]
2010-08-26  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Darin Adler and Maciej Stachowiak.

        https://bugs.webkit.org/show_bug.cgi?id=44013
        HTMLMediaElement should delay document load event

        Test: media/video-delay-load-event.html

        * dom/Document.cpp:
        (WebCore::Document::Document): Initialize incrementLoadEventDelayCount.
        (WebCore::Document::decrementLoadEventDelayCount): New, decrement incrementLoadEventDelayCount
        and call loader->checkCompleted() when it reaches zero.
        * dom/Document.h:
        (WebCore::Document::incrementLoadEventDelayCount): New.
        (WebCore::Document::isDelayingLoadEvent): New.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::~HTMLMediaElement): Stop delaying the load event if necessary.
        (WebCore::HTMLMediaElement::willMoveToNewOwnerDocument): Ditto.
        (WebCore::HTMLMediaElement::didMoveToNewOwnerDocument): Delay the load event if we don't the
        meta data for the movie yet.
        (WebCore::HTMLMediaElement::prepareForLoad): Delay the load event.
        (WebCore::HTMLMediaElement::selectMediaResource): Don't delay the load event when there are
        no more sources to consider. Don't change m_delayingTheLoadEvent directly, call
        setShouldDelayLoadEvent() instead.
        (WebCore::HTMLMediaElement::waitForSourceChange): Stop delaying the load event.
        (WebCore::HTMLMediaElement::noneSupported): Ditto.
        (WebCore::HTMLMediaElement::mediaEngineError): Ditto.
        (WebCore::HTMLMediaElement::setReadyState): Ditto.
        (WebCore::HTMLMediaElement::userCancelledLoad): Ditto.
        (WebCore::HTMLMediaElement::setShouldDelayLoadEvent): New, increment/decrement the document's
        load event delay count.
        * html/HTMLMediaElement.h:

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::checkCompleted): See if the document wants to delay completion for
        elements that don't go through a FrameLoader.
        (WebCore::FrameLoader::checkCallImplicitClose): Ditto
        * page/Frame.cpp:

2010-08-26  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Darin Adler and Maciej Stachowiak.

        https://bugs.webkit.org/show_bug.cgi?id=44013
        HTMLMediaElement should delay document load event

        * media/video-delay-load-event-expected.txt: Added.
        * media/video-delay-load-event.html: Added.
        * media/video-layer-crash.html: Trigger test with script inline in the <body> instead
        of from an onload handler as that runs too late. Reformat script to make it readable.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66110 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWebCore: Fix the same issue as https://bugs.webkit.org/show_bug.cgi?id=41585
mitz@apple.com [Thu, 26 Aug 2010 16:18:59 +0000 (16:18 +0000)]
WebCore: Fix the same issue as https://bugs.webkit.org/show_bug.cgi?id=41585
but this time for the -webkit-font-smoothing property.

Reviewed by Simon Fraser.

Updated fast/css/text-rendering-priority.html to cover all properties that
affect the font.

* css/CSSPropertyNames.in: Moved text-rendering to the â€œhigh priorityâ€\9d section at the top.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::styleForElement): Assert that the font is not dirtied by
applying any of the â€œlow priorityâ€\9d properties, but still handle the case that the assertion
is false.
(WebCore::CSSStyleSelector::applyDeclarations): Updated compile-time assertion.

LayoutTests: Extended this test to cover all properties that dirty the font and therefore
need to have high priority.

Reviewed by Simon Fraser.

* fast/css/text-rendering-priority.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66109 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 26 Aug 2010 16:16:10 +0000 (16:16 +0000)]
2010-08-26  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] The GNUmakefile.am files contain a myriad of confusing preprocessor and compiler flag definitions
        https://bugs.webkit.org/show_bug.cgi?id=44624

        Clean up GNUmakefile.am.

        * GNUmakefile.am: Make the comments describing the global_* variables more readable and
        correct. Move WebKit-specific include lines and definitions out of webkitgtk_cppflags,
        corekit_cppflags and webcoregtk_cppflags and straight to the appropriate CPPFLAGS definition.
        Use global_cppflags for compiler flags that apply to both C++ and C code. Move some JavaScriptCore
        specific includes to the appropriate sub-directory GNUmakefile.am. Make sure the tests build
        with the global CPP flags as well.
2010-08-26  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] The GNUmakefile.am files contain a myriad of confusing preprocessor and compiler flag definitions
        https://bugs.webkit.org/show_bug.cgi?id=44624

        Clean up GNUmakefile.am.

        * GNUmakefile.am: Alphabetize the include order in javascriptcore_cppflags. Move
        a couple include lines from the top-level GNUmakefile.am.
2010-08-26  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] The GNUmakefile.am files contain a myriad of confusing preprocessor and compiler flag definitions
        https://bugs.webkit.org/show_bug.cgi?id=44624

        Clean up GNUmakefile.am.

        * GNUmakefile.am: Remove some WebKit includes from webcore_cppflags. These
        includes are added to the build line by the top-level GNUmakefile.am, since
        WebCore isn't build as an intermediate library.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66108 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoReviewed by Kevin Ollivier.
kevino@webkit.org [Thu, 26 Aug 2010 15:59:59 +0000 (15:59 +0000)]
Reviewed by Kevin Ollivier.

A few tweaks to the wxWebView editing APIs after addition of DOM bindings.
https://bugs.webkit.org/show_bug.cgi?id=44656

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66107 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 26 Aug 2010 15:58:22 +0000 (15:58 +0000)]
2010-08-26  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Revert r66103 since Qt tests are failing.

        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::inspectedPageDestroyed):
        (WebCore::InspectorController::close):
        * inspector/InspectorFrontendClient.h:
        * inspector/InspectorFrontendHost.cpp:
        * inspector/InspectorFrontendHost.h:
        * inspector/InspectorFrontendHost.idl:
        * inspector/front-end/InspectorFrontendHostStub.js:
        * inspector/front-end/inspector.js:
        (WebInspector.inspectedPageDestroyed):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66106 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 William Siegrist <wsiegrist@apple.com>
wsiegrist@apple.com [Thu, 26 Aug 2010 15:55:55 +0000 (15:55 +0000)]
2010-08-26 William Siegrist <wsiegrist@apple.com>

Back out part of the changes in r66104 that were accidentally included.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66105 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 William Siegrist <wsiegrist@apple.com>
wsiegrist@apple.com [Thu, 26 Aug 2010 15:51:28 +0000 (15:51 +0000)]
2010-08-26 William Siegrist <wsiegrist@apple.com>

Fix PATH for PrettyPatch so it can find git.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66104 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Thu, 26 Aug 2010 15:38:08 +0000 (15:38 +0000)]
2010-08-26  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        REGRESSION: Crash occurs at objc_msgSend when closing a window that is displaying the web inspector
        https://bugs.webkit.org/show_bug.cgi?id=44230

        * inspector/Inspector.idl:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::inspectedPageDestroyed):
        (WebCore::InspectorController::close):
        * inspector/InspectorFrontendClient.h:
        * inspector/InspectorFrontendHost.cpp:
        (WebCore::InspectorFrontendHost::disconnectFromBackend): don't try to notify InspectorController
        that frontend closes if InspectorController triggered the action.
        * inspector/InspectorFrontendHost.h:
        * inspector/InspectorFrontendHost.idl:
        * inspector/front-end/InspectorFrontendHostStub.js:
        (.WebInspector.InspectorFrontendHostStub.prototype.disconnectFromBackend):
        * inspector/front-end/inspector.js:
        (WebInspector.disconnectFromBackend):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66103 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Thu, 26 Aug 2010 14:22:59 +0000 (14:22 +0000)]
2010-08-26  Kent Tamura  <tkent@chromium.org>

        Reviewed by Tony Chang.

        [DRT/Chromium] Enable DEVICE_ORIENTATION
        https://bugs.webkit.org/show_bug.cgi?id=44587

        * platform/chromium/drt_expectations.txt:
2010-08-26  Kent Tamura  <tkent@chromium.org>

        Reviewed by Tony Chang.

        [DRT/Chromium] Enable DEVICE_ORIENTATION
        https://bugs.webkit.org/show_bug.cgi?id=44587

        * features.gypi:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66102 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 26 Aug 2010 14:14:27 +0000 (14:14 +0000)]
2010-08-26  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: It would be better to have an explicit type check for the all
        arguments of InspectorBackend functions on front-end side.
        https://bugs.webkit.org/show_bug.cgi?id=44684

        * inspector/CodeGeneratorInspector.pm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66101 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 26 Aug 2010 13:13:43 +0000 (13:13 +0000)]
2010-08-26  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Update gtk specific result after r66093.

        * platform/gtk/svg/css/text-shadow-multiple-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66100 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Gustavo Noronha Silva <gns@gnome.org>
kov@webkit.org [Thu, 26 Aug 2010 13:12:03 +0000 (13:12 +0000)]
2010-08-26  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed by Martin Robinson.

        [GTK] WebKitGTK+ needs proper introspection annotation for most types and methods
        https://bugs.webkit.org/show_bug.cgi?id=44565

        Add documentation and introspection specific information to a few
        getter and setter methods.

        * webkit/webkitwebview.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66099 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 26 Aug 2010 13:11:28 +0000 (13:11 +0000)]
2010-08-26  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        WebInspector: It would be better to rename setBool, pushBool and asBool accessors
        to setBoolean, pushBoolean and asBoolean for better matching with the results of
        JS typeof operator.
        https://bugs.webkit.org/show_bug.cgi?id=44680

        * bindings/js/ScriptProfile.cpp:
        (WebCore::buildInspectorObjectFor):
        * bindings/v8/ScriptProfile.cpp:
        (WebCore::buildInspectorObjectFor):
        * inspector/CodeGeneratorInspector.pm:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::buildObjectForCookie):
        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::buildObjectForEventListener):
        (WebCore::InspectorDOMAgent::populateObjectWithStyleProperties):
        (WebCore::InspectorDOMAgent::buildObjectForStyleSheet):
        (WebCore::InspectorDOMAgent::buildObjectForRule):
        * inspector/InspectorDOMStorageResource.cpp:
        (WebCore::InspectorDOMStorageResource::bind):
        * inspector/InspectorResource.cpp:
        (WebCore::InspectorResource::updateScriptObject):
        * inspector/InspectorValues.cpp:
        (WebCore::InspectorValue::asBoolean):
        (WebCore::InspectorBasicValue::asBoolean):
        (WebCore::InspectorBasicValue::asNumber):
        (WebCore::InspectorBasicValue::writeJSON):
        (WebCore::InspectorObject::getBoolean):
        * inspector/InspectorValues.h:
        (WebCore::InspectorValue::):
        (WebCore::InspectorBasicValue::InspectorBasicValue):
        (WebCore::InspectorObject::setBoolean):
        (WebCore::InspectorArray::pushBoolean):
        * inspector/ScriptBreakpoint.cpp:
        (WebCore::ScriptBreakpoint::sourceBreakpointsFromInspectorObject):
        (WebCore::ScriptBreakpoint::inspectorObjectFromSourceBreakpoints):
        * inspector/TimelineRecordFactory.cpp:
        (WebCore::TimelineRecordFactory::createTimerInstallData):
        (WebCore::TimelineRecordFactory::createResourceSendRequestData):
        (WebCore::TimelineRecordFactory::createResourceFinishData):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66098 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoUnreviewed.
hausmann@webkit.org [Thu, 26 Aug 2010 12:45:09 +0000 (12:45 +0000)]
Unreviewed.

Update test results after clip-rect changes as part of
https://bugs.webkit.org/show_bug.cgi?id=44594

* platform/qt/plugins/resize-from-plugin-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66097 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Benjamin Poulain <benjamin.poulain@nokia.com>
benjamin.poulain@nokia.com [Thu, 26 Aug 2010 12:06:22 +0000 (12:06 +0000)]
2010-08-26  Benjamin Poulain  <benjamin.poulain@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] tst_QWebFrame::popupFocus() hardcode the element position
        https://bugs.webkit.org/show_bug.cgi?id=44674

        This patch dynamically find the position of the combo element instead
        of hardcoding a position to click.

        * tests/qwebframe/tst_qwebframe.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Set the clipRect correctly in windowed and windowless mode.
girish@forwardbias.in [Thu, 26 Aug 2010 11:56:40 +0000 (11:56 +0000)]
[Qt] Set the clipRect correctly in windowed and windowless mode.
In Windowed mode, the values are in page coordinates. In Windowless
mode the values are in drawable coordinates. Setting these values is
purely academic since they are not used by Flash. However, there is a
possibility that plugins might infer a 'null' clipRect to mean 'invisible'.

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

Reviewed by Simon Hausmann.

* plugins/qt/PluginViewQt.cpp:
(WebCore::PluginView::setNPWindowIfNeeded):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66095 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Pavel Podivilov <podivilov@chromium.org>
pfeldman@chromium.org [Thu, 26 Aug 2010 10:55:29 +0000 (10:55 +0000)]
2010-08-26  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: enable debugger after resources are pushed to front-end
        https://bugs.webkit.org/show_bug.cgi?id=44673

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::connectFrontend):
        (WebCore::InspectorController::populateScriptObjects):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66094 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 26 Aug 2010 10:27:20 +0000 (10:27 +0000)]
2010-08-26  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        text-shadow is not respected in RenderSVGText::repaintRectInLocalCoordinates()
        https://bugs.webkit.org/show_bug.cgi?id=44616

        Centralize code to calculate the shadow extents in ShadowData.
        Respect textShadow() when calculating the repaint rect of RenderSVGText.

        Tests: svg/css/composite-shadow-text.svg
               transitions/svg-text-shadow-transition.html

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::adjustRectForOutlineAndShadow):
        * rendering/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::repaintRectInLocalCoordinates):
        (WebCore::RenderSVGRoot::computeRectForRepaint):
        * rendering/RenderSVGText.cpp:
        (WebCore::RenderSVGText::repaintRectInLocalCoordinates):
        * rendering/SVGRenderSupport.cpp:
        (WebCore::SVGRenderSupport::computeRectForRepaint):
        (WebCore::SVGRenderSupport::prepareToRenderSVGContent):
        (WebCore::SVGRenderSupport::finishRenderSVGContent):
        (WebCore::SVGRenderSupport::intersectRepaintRectWithResources):
        * rendering/style/SVGRenderStyle.cpp:
        * rendering/style/SVGRenderStyle.h:
        * rendering/style/ShadowData.cpp:
        (WebCore::calculateShadowExtent):
        (WebCore::ShadowData::adjustRectForShadow):
        * rendering/style/ShadowData.h:

2010-08-26  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        text-shadow is not respected in RenderSVGText::repaintRectInLocalCoordinates()
        https://bugs.webkit.org/show_bug.cgi?id=44616

        * platform/mac/svg/css/composite-shadow-text-expected.checksum: Added.
        * platform/mac/svg/css/composite-shadow-text-expected.png: Added.
        * platform/mac/svg/css/composite-shadow-text-expected.txt: Added.
        * platform/mac/svg/css/text-shadow-multiple-expected.txt:
        * platform/mac/transitions/svg-text-shadow-transition-expected.checksum: Added.
        * platform/mac/transitions/svg-text-shadow-transition-expected.png: Added.
        * platform/mac/transitions/svg-text-shadow-transition-expected.txt: Added.
        * svg/css/composite-shadow-text.svg: Added.
        * transitions/svg-text-shadow-transition.html: Added.
        * transitions/transition-test-helpers.js: Cleanup code, accept negative offsets in the regexp for shadow.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66093 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] DumpRenderTree runs only one test from command mode
abecsi@webkit.org [Thu, 26 Aug 2010 10:17:56 +0000 (10:17 +0000)]
[Qt] DumpRenderTree runs only one test from command mode
https://bugs.webkit.org/show_bug.cgi?id=44012

Patch by Mahesh Kulkarni <mahesh.kulkarni@nokia.com> on 2010-08-26
Reviewed by Kenneth Rohde Christiansen.

Enables support to run multiple test files and single
folder containing html files in stand alone mode

* DumpRenderTree/qt/DumpRenderTreeQt.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::processArgsLine):
(WebCore::DumpRenderTree::loadNextTestInStandAloneMode):
(WebCore::DumpRenderTree::processLine):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/qt/DumpRenderTreeQt.h:
(WebCore::DumpRenderTree::setStandAloneMode):
(WebCore::DumpRenderTree::isStandAloneMode):
* DumpRenderTree/qt/main.cpp:
(main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66092 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 26 Aug 2010 10:05:09 +0000 (10:05 +0000)]
2010-08-26  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skip a flakey test.

        * platform/gtk/Skipped: Skip media/video-buffered.html

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66091 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 26 Aug 2010 08:58:41 +0000 (08:58 +0000)]
2010-08-25  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Rework event definition in the DOM bindings
        https://bugs.webkit.org/show_bug.cgi?id=44597

        Define DOM events in the base classes that implement EventTarget,
        since theoretically you can dispatch any event to any of those
        classes whether it makes sense semantically or not.

        All the existing events in WebKit are not listed anywhere in the
        IDL files, so we need to have the list in the generator script.

        * bindings/scripts/CodeGeneratorGObject.pm:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66090 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Thu, 26 Aug 2010 08:54:34 +0000 (08:54 +0000)]
2010-08-25  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Kent Tamura.

        Local variables 'k' and 'y' in s2b() in dtoa.cpp are computed but not used
        https://bugs.webkit.org/show_bug.cgi?id=29259

        Remove unused code in dtoa.cpp, spotted by Wan-Teh Chang.

        * wtf/dtoa.cpp:
        (WTF::s2b):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66089 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoUnreviewed, updating Chromium's expectations for a flaky test.
dumi@chromium.org [Thu, 26 Aug 2010 08:32:58 +0000 (08:32 +0000)]
Unreviewed, updating Chromium's expectations for a flaky test.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66088 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Thu, 26 Aug 2010 08:29:59 +0000 (08:29 +0000)]
2010-08-25  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: as far as we have 'seq' property in the each inspector message
        it would be better to remove explicit callId argument from Inspector.idl functions
        declarations.
        https://bugs.webkit.org/show_bug.cgi?id=44617

        * WebCore.xcodeproj/project.pbxproj:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/Inspector.idl:
        * inspector/front-end/AuditRules.js:
        * inspector/front-end/BreakpointManager.js:
        * inspector/front-end/CSSStyleModel.js:
        * inspector/front-end/DOMAgent.js:
        * inspector/front-end/DOMStorage.js:
        * inspector/front-end/Database.js:
        * inspector/front-end/ElementsPanel.js:
        * inspector/front-end/ElementsTreeOutline.js:
        * inspector/front-end/InjectedScriptAccess.js:
        * inspector/front-end/MetricsSidebarPane.js:
        * inspector/front-end/ProfileView.js:
        * inspector/front-end/ProfilesPanel.js:
        * inspector/front-end/ResourcesPanel.js:
        * inspector/front-end/ScriptView.js:
        * inspector/front-end/ScriptsPanel.js:
        * inspector/front-end/inspector.js:

2010-08-25  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: as far as we have 'seq' property in the each inspector message
        it would be better to remove explicit callId argument from Inspector.idl functions
        declarations.
        https://bugs.webkit.org/show_bug.cgi?id=44617

        * inspector/elements-panel-search.html:
        * inspector/styles-iframe.html:
        * inspector/styles-source-lines.html:
        * inspector/styles-source-offsets.html:
        * http/tests/inspector/inspect-iframe-from-different-domain.html

2010-08-25  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: as far as we have 'seq' property in the each inspector message
        it would be better to remove explicit callId argument from Inspector.idl functions
        declarations.
        https://bugs.webkit.org/show_bug.cgi?id=44617

        * src/js/ProfilerAgent.js:
        (devtools.ProfilerAgent.prototype._getNextLogLines.else.delayedRequest):
        (devtools.ProfilerAgent.prototype._getNextLogLines):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66087 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Thu, 26 Aug 2010 08:19:28 +0000 (08:19 +0000)]
2010-08-26  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Kent Tamura.

        Add ENABLE(INDEXED_DATABASE) guard
        https://bugs.webkit.org/show_bug.cgi?id=44659

        Build fix for ports with index database disabled.

        * storage/IDBKeyPathBackendImpl.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66086 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Thu, 26 Aug 2010 07:59:02 +0000 (07:59 +0000)]
2010-08-26  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, skipping a flakey test.

        [GStreamer] multiple <video> elements + PulseAudio are crash-prone
        https://bugs.webkit.org/show_bug.cgi?id=44235

        * platform/gtk/Skipped: Skip media/video-transformed.html

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66085 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago[Qt] Replace QLibrary("libgdk-x11-2.0.so.0") with QLibrary("libgdk-x11-2.0", 0)
girish@forwardbias.in [Thu, 26 Aug 2010 07:33:04 +0000 (07:33 +0000)]
[Qt] Replace QLibrary("libgdk-x11-2.0.so.0") with QLibrary("libgdk-x11-2.0", 0)

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

Reviewed by Ariya Hidayat.

* plugins/qt/PluginViewQt.cpp:
(WebCore::getPluginDisplay):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66084 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Thu, 26 Aug 2010 07:27:51 +0000 (07:27 +0000)]
2010-08-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Sam Weinig.

        Deploy adoptPtr to WebCore/loader
        https://bugs.webkit.org/show_bug.cgi?id=44591

        This patch covers the easy cases.  There are a handful of tougher cases
        that I'm leaving to a future patch.  I filed one bug about a possible
        memory leak and I emailed webkit-dev about some infrastructure we'll
        need to tackle some of the harder cases.

        * loader/CrossOriginAccessControl.cpp:
        (WebCore::createAllowedCrossOriginResponseHeadersSet):
        (WebCore::isOnAccessControlResponseHeaderWhitelist):
        * loader/DocLoader.cpp:
        (WebCore::DocLoader::requestPreload):
        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::DocumentLoader):
        (WebCore::DocumentLoader::addAllArchiveResources):
        (WebCore::DocumentLoader::addArchiveResource):
        * loader/DocumentThreadableLoader.cpp:
        (WebCore::DocumentThreadableLoader::DocumentThreadableLoader):
        (WebCore::DocumentThreadableLoader::didReceiveResponse):
        * loader/PingLoader.cpp:
        (WebCore::PingLoader::loadImage):
        * loader/ProgressTracker.cpp:
        (WebCore::ProgressTracker::incrementProgress):
        * loader/RedirectScheduler.cpp:
        (WebCore::RedirectScheduler::scheduleRedirect):
        (WebCore::RedirectScheduler::scheduleLocationChange):
        (WebCore::RedirectScheduler::scheduleFormSubmission):
        (WebCore::RedirectScheduler::scheduleRefresh):
        (WebCore::RedirectScheduler::scheduleHistoryNavigation):
        * loader/WorkerThreadableLoader.cpp:
        (WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
        * loader/icon/IconDatabase.cpp:
        (WebCore::readySQLiteStatement):
        * loader/icon/IconLoader.cpp:
        (WebCore::IconLoader::create):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66083 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-26 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Thu, 26 Aug 2010 07:23:34 +0000 (07:23 +0000)]
2010-08-26  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Dan Bernstein.

        shadowSize parameter is used to pass shadow offset in the
        GraphicsContext::setShadow and getShadow functions
        https://bugs.webkit.org/show_bug.cgi?id=44603

        Change the shadowSize parameter ot the functions getShadow and
        setShadow in GraphicsContext to shadowOffset which is the current
        use of that parameter in the code.

        * platform/graphics/GraphicsContext.cpp:
        (WebCore::GraphicsContext::setShadow):
        (WebCore::GraphicsContext::clearShadow):
        (WebCore::GraphicsContext::getShadow):
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/GraphicsContextPrivate.h:
        * platform/graphics/cairo/FontCairo.cpp:
        (WebCore::Font::drawGlyphs):
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::calculateShadowBufferDimensions):
        (WebCore::drawPathShadow):
        (WebCore::drawBorderlessRectShadow):
        (WebCore::GraphicsContext::setPlatformShadow):
        * platform/graphics/cairo/ImageCairo.cpp:
        (WebCore::BitmapImage::draw):
        * platform/graphics/chromium/FontChromiumWin.cpp:
        (WebCore::TransparencyAwareFontPainter::TransparencyAwareGlyphPainter::drawGlyphs):
        (WebCore::Font::drawComplexText):
        * platform/graphics/gtk/FontGtk.cpp:
        (WebCore::Font::drawComplexText):
        * platform/graphics/mac/FontMac.mm:
        (WebCore::Font::drawGlyphs):
        * platform/graphics/qt/ImageQt.cpp:
        (WebCore::BitmapImage::draw):
        * platform/graphics/qt/StillImageQt.cpp:
        (WebCore::StillImage::draw):
        * platform/graphics/qt/GraphicsContextQt:
        (WebCore::GraphicsContext::setPlatformShadow):
        * platform/graphics/skia/SkiaFontWin.cpp:
        (WebCore::windowsCanHandleDrawTextShadow):
        * platform/graphics/win/FontCGWin.cpp:
        (WebCore::drawGDIGlyphs):
        (WebCore::Font::drawGlyphs):
        * platform/graphics/wince/GraphicsContextWince.cpp:
        (WebCore::GraphicsContext::fillRoundedRect):
        (WebCore::GraphicsContext::drawText):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66082 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>
commit-queue@webkit.org [Thu, 26 Aug 2010 06:29:25 +0000 (06:29 +0000)]
2010-08-25  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Add dummy FullScreenVideoControllerEfl to WebKit EFL
        https://bugs.webkit.org/show_bug.cgi?id=44590

        Add FullScreenVideoControllerEfl to WebCoreSupport. However,
        this is not implemented yet.

        * CMakeListsEfl.txt:
        * WebCoreSupport/FullscreenVideoControllerEfl.cpp: Added.
        (FullscreenVideoController::FullscreenVideoController):
        (FullscreenVideoController::~FullscreenVideoController):
        (FullscreenVideoController::setMediaElement):
        (FullscreenVideoController::showHud):
        (FullscreenVideoController::hideHud):
        (FullscreenVideoController::enterFullscreen):
        (FullscreenVideoController::updateHudPosition):
        (FullscreenVideoController::exitOnUserRequest):
        (FullscreenVideoController::exitFullscreen):
        (FullscreenVideoController::canPlay):
        (FullscreenVideoController::play):
        (FullscreenVideoController::pause):
        (FullscreenVideoController::playStateChanged):
        (FullscreenVideoController::togglePlay):
        (FullscreenVideoController::volume):
        (FullscreenVideoController::muted):
        (FullscreenVideoController::setVolume):
        (FullscreenVideoController::volumeChanged):
        (FullscreenVideoController::muteChanged):
        (FullscreenVideoController::currentTime):
        (FullscreenVideoController::setCurrentTime):
        (FullscreenVideoController::duration):
        (FullscreenVideoController::percentLoaded):
        (FullscreenVideoController::beginSeek):
        (FullscreenVideoController::doSeek):
        (FullscreenVideoController::endSeek):
        (timeToString):
        (FullscreenVideoController::updateHudProgressBar):
        (FullscreenVideoController::createHud):
        * WebCoreSupport/FullscreenVideoControllerEfl.h: Added.
        (FullscreenVideoController::mediaElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66081 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Gyuyoung Kim <gyuyoung.kim@samsung.com>
commit-queue@webkit.org [Thu, 26 Aug 2010 06:13:45 +0000 (06:13 +0000)]
2010-08-25  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Add setting API for enabling local storage.
        https://bugs.webkit.org/show_bug.cgi?id=44319

        Add API for enabling/disabling local storage.

        * ewk/ewk_view.cpp:
        (_ewk_view_priv_new):
        (ewk_view_setting_local_storage_get): Added
        (ewk_view_setting_local_storage_set): Added
        * ewk/ewk_view.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66080 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Thu, 26 Aug 2010 04:02:18 +0000 (04:02 +0000)]
2010-08-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r66074.
        http://trac.webkit.org/changeset/66074
        https://bugs.webkit.org/show_bug.cgi?id=44660

        Chromium canary turned red (Requested by yuzo on #webkit).

        * bindings/generic/RuntimeEnabledFeatures.cpp:
        * bindings/generic/RuntimeEnabledFeatures.h:
        * bindings/js/JSXMLHttpRequestCustom.cpp:
        (WebCore::JSXMLHttpRequest::responseText):
        * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
        (WebCore::V8XMLHttpRequest::responseTextAccessorGetter):
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::responseText):
        (WebCore::XMLHttpRequest::responseXML):
        (WebCore::XMLHttpRequest::open):
        (WebCore::XMLHttpRequest::abort):
        (WebCore::XMLHttpRequest::clearResponse):
        (WebCore::XMLHttpRequest::didFinishLoading):
        * xml/XMLHttpRequest.h:
        * xml/XMLHttpRequest.idl:
2010-08-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r66074.
        http://trac.webkit.org/changeset/66074
        https://bugs.webkit.org/show_bug.cgi?id=44660

        Chromium canary turned red (Requested by yuzo on #webkit).

        * features.gypi:
        * public/WebRuntimeFeatures.h:
        * src/WebRuntimeFeatures.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66079 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Thu, 26 Aug 2010 03:40:45 +0000 (03:40 +0000)]
2010-08-25  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Kevin Ollivier.

        [BREWMP] Add build system
        https://bugs.webkit.org/show_bug.cgi?id=44645

        Make waf script portable so that we can add more ports.

        * wscript:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66078 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago<rdar://problem/8205479> WebCore's icon database often prevents Safari from being...
mrowe@apple.com [Thu, 26 Aug 2010 03:35:10 +0000 (03:35 +0000)]
<rdar://problem/8205479> WebCore's icon database often prevents Safari from being killable via sudden termination

Reviewed by Dan Bernstein.

We need to ensure that each call to disableSuddenTermination is balanced by a corresponding call to enableSuddenTermination.
It's possbile for several calls to IconDatabase::wakeSyncThread to correspond to only a single iteration of the loop within
IconDatabase::syncThreadMainLoop. This results in the sudden termination disable count growing without bound rather than
being balanced when the work completes. We can prevent this by ensuring that we only disable sudden termination once for each
corresponding iteration of the sync thread's main loop.

* loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::IconDatabase):
(WebCore::IconDatabase::wakeSyncThread): Only disable sudden termination if it has not yet been disabled for this iteration of
the sync thread's main loop.
(WebCore::IconDatabase::syncThreadMainLoop): Clear the flag indicating that sudden termination has been disabled after reenabling it
so that future calls to wakeSyncThread disable sudden termination once more.
* loader/icon/IconDatabase.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66077 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Kwang Yul Seo <skyul@company100.net>
commit-queue@webkit.org [Thu, 26 Aug 2010 03:25:24 +0000 (03:25 +0000)]
2010-08-25  Kwang Yul Seo  <skyul@company100.net>

        Reviewed by Kevin Ollivier.

        [BREWMP] Add build system
        https://bugs.webkit.org/show_bug.cgi?id=44645

        Make waf script portable so that we can add more ports.

        * wscript:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66076 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Michael Saboff <msaboff@apple.com>
commit-queue@webkit.org [Thu, 26 Aug 2010 03:09:44 +0000 (03:09 +0000)]
2010-08-25  Michael Saboff  <msaboff@apple.com>

        Reviewed by Oliver Hunt.

        Added new test to check for regression as reported in
        https://bugs.webkit.org/show_bug.cgi?id=44600.

        * fast/js/script-tests/string-split-double-empty.js: Added.
        * fast/js/string-split-double-empty-expected.txt: Added.
        * fast/js/string-split-double-empty.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66075 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Michael Nordman <michaeln@google.com>
commit-queue@webkit.org [Thu, 26 Aug 2010 02:54:04 +0000 (02:54 +0000)]
2010-08-25  Michael Nordman  <michaeln@google.com>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=44133
        IDL bindings for XmlHttpRequest.responseBlob support, doesn't do anything yet.
        Adds two new attributes, asBlob and responseBlob.
        Runtime disabled by default, also behind a new ENABLE_XHR_RESPONSE_BLOB compile time guard.

        No new tests, just adding some stubs.

        * bindings/generic/RuntimeEnabledFeatures.cpp:
        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::setResponseBlobEnabled):
        (WebCore::RuntimeEnabledFeatures::responseBlobEnabled):
        (WebCore::RuntimeEnabledFeatures::asBlobEnabled):
        * bindings/js/JSXMLHttpRequestCustom.cpp:
        (WebCore::JSXMLHttpRequest::responseText): Changed to allow an exceptional return path.
        * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
        (WebCore::V8XMLHttpRequest::responseTextAccessorGetter): Changed to allow an exceptional return path.
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::responseText): Changed to raise an exception when accessed with asBlob set to true.
        (WebCore::XMLHttpRequest::responseXML): Changed to raise an exception when accessed with asBlob set to true.
        (WebCore::XMLHttpRequest::responseBlob): Added stub method, returns 0 for now.
        (WebCore::XMLHttpRequest::setAsBlob): Sets the asBlob attribute, raises exception if called at an inappropriate time.
        (WebCore::XMLHttpRequest::open): Resets asBlob to false, the default value.
        (WebCore::XMLHttpRequest::abort): Clears m_responseBlob.
        (WebCore::XMLHttpRequest::clearResponse): Clears m_responseBlob.
        (WebCore::XMLHttpRequest::didFinishLoading): Added a FIXME to populate m_responseBlob.
        * xml/XMLHttpRequest.h:
        (WebCore::XMLHttpRequest::asBlob):
        * xml/XMLHttpRequest.idl:
2010-08-25  Michael Nordman  <michaeln@google.com>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=44133
        WebKitAPI to allow runtime enablement of XmlHttpRequest.responseBlob.

        * features.gypi: Define ENABLE_XHR_RESPONSE_BLOB.
        * public/WebRuntimeFeatures.h:
        * src/WebRuntimeFeatures.cpp:
        (WebKit::WebRuntimeFeatures::enableXHRResponseBlob):
        (WebKit::WebRuntimeFeatures::isXHRResponseBlobEnabled):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66074 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 26 Aug 2010 01:59:10 +0000 (01:59 +0000)]
2010-08-25  Martin Robinson  <mrobinson@igalia.com>

        Skip a test that requires editing delegate dumps.

        * platform/gtk/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66073 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWebCore: Adding a means of communication between WebKit/WebCore and
hclam@chromium.org [Thu, 26 Aug 2010 01:45:43 +0000 (01:45 +0000)]
WebCore: Adding a means of communication between WebKit/WebCore and
chromium in order to share video frames. This adds the necessary
WebKit-side classes and methods, but does not actually use them
yet - that will be committed in a separate patch after the
corresponding Chromium side is committed.

Reviewed by Darin Fisher.
Submitted for Victoria Kirst (vrk@google.com).

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

No new tests, as these new classes/APIs are not yet used.

* platform/graphics/chromium/VideoFrameChromium.h: Added.
(WebCore::VideoFrameChromium::):
* platform/graphics/chromium/VideoFrameProvider.h: Added.
* platform/graphics/chromium/VideoLayerChromium.cpp:
(WebCore::VideoLayerChromium::create):
(WebCore::VideoLayerChromium::VideoLayerChromium):
* platform/graphics/chromium/VideoLayerChromium.h:

WebKit/chromium: Adding a way to communicate video frames between Chromium and WebKit.
The WebKit side acts as a middleman between Chromium and WebCore.
The VideoFrameChromiumImpl is not being used by WebCore yet, as there
still needs to be an implementation of WebVideoFrame in Chromium
-- coming soon in a subsequent patch.

Reviewed by Darin Fisher.
Submitted for Victoria Kirst (vrk@google.com).

API changes for Video Frame sharing between WebKit and Chromium
https://bugs.webkit.org/show_bug.cgi?id=44539

* WebKit.gyp:
* public/WebMediaPlayer.h:
(WebKit::WebMediaPlayer::getCurrentFrame):
(WebKit::WebMediaPlayer::putCurrentFrame):
* public/WebVideoFrame.h: Added.
* src/VideoFrameChromiumImpl.cpp: Added.
(WebKit::VideoFrameChromiumImpl::toWebVideoFrame):
(WebKit::VideoFrameChromiumImpl::VideoFrameChromiumImpl):
(WebKit::VideoFrameChromiumImpl::type):
(WebKit::VideoFrameChromiumImpl::format):
(WebKit::VideoFrameChromiumImpl::width):
(WebKit::VideoFrameChromiumImpl::height):
(WebKit::VideoFrameChromiumImpl::planes):
(WebKit::VideoFrameChromiumImpl::stride):
(WebKit::VideoFrameChromiumImpl::data):
* src/VideoFrameChromiumImpl.h: Added.
* src/WebMediaPlayerClientImpl.cpp:
(WebKit::WebMediaPlayerClientImpl::getCurrentFrame):
(WebKit::WebMediaPlayerClientImpl::putCurrentFrame):
(WebKit::WebMediaPlayerClientImpl::create):
* src/WebMediaPlayerClientImpl.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66071 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 26 Aug 2010 01:39:33 +0000 (01:39 +0000)]
2010-08-25  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        confirm dialog should show OK/Cancel instead of Yes/No for consistency
        https://bugs.webkit.org/show_bug.cgi?id=32877

        Change the button labels for the fallback confirmation dialog to be
        OK and Cancel.

        * webkit/webkitwebview.cpp:
        (webkit_web_view_script_dialog):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66070 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 26 Aug 2010 01:37:17 +0000 (01:37 +0000)]
2010-08-25  Martin Robinson  <mrobinson@igalia.com>

        Updating webkitpy test expectations.

        * Scripts/webkitpy/tool/steps/steps_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66069 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Kenneth Russell <kbr@google.com>
kbr@google.com [Thu, 26 Aug 2010 01:00:25 +0000 (01:00 +0000)]
2010-08-25  Kenneth Russell  <kbr@google.com>

        Reviewed by Simon Fraser.

        Source data passed to TypedArray creators should be const
        https://bugs.webkit.org/show_bug.cgi?id=44649

        Compiled and ran existing WebGL tests to verify.

        * html/canvas/Float32Array.cpp:
        (WebCore::Float32Array::create):
        * html/canvas/Float32Array.h:
        * html/canvas/TypedArrayBase.h:
        (WebCore::TypedArrayBase::create):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66066 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 26 Aug 2010 00:40:51 +0000 (00:40 +0000)]
2010-08-25  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        fix the always squash git config
        https://bugs.webkit.org/show_bug.cgi?id=44651

        Fix help text and apparently underscores are not allowed
        in git config keys.

        * Scripts/webkitpy/common/checkout/scm.py:
        * Scripts/webkitpy/tool/steps/commit.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66064 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Thu, 26 Aug 2010 00:40:10 +0000 (00:40 +0000)]
2010-08-25  Chris Marrin  <cmarrin@apple.com>

        Unreviewed.

        Skipping a couple of compositing tests because layerTreeAsText() is not implemented on Wk2 yet.

        * platform/mac-wk2/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66063 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 26 Aug 2010 00:33:40 +0000 (00:33 +0000)]
2010-08-25  Eric Seidel  <eric@webkit.org>

        Unreviewed, just removing a dead enum.

        Remove endTagRequirement now that the LegacyHTMLDocumentParser is dead
        https://bugs.webkit.org/show_bug.cgi?id=44626

        Remove HTMLTagStatus since it's not used anymore.

        * html/HTMLElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66062 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoAX: CSS first letter text transform causes crash
cfleizach@apple.com [Thu, 26 Aug 2010 00:31:19 +0000 (00:31 +0000)]
AX: CSS first letter text transform causes crash
https://bugs.webkit.org/show_bug.cgi?id=44352

Reviewed by David Kilzer.

WebCore:

Test: accessibility/first-letter-text-transform-causes-crash.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::nextContinuation):

LayoutTests:

* accessibility/first-letter-text-transform-causes-crash-expected.txt: Added.
* accessibility/first-letter-text-transform-causes-crash.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66061 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 26 Aug 2010 00:23:14 +0000 (00:23 +0000)]
2010-08-25  Eric Seidel  <eric@webkit.org>

        Unreviewed.  Build fix.

        Make Chromiums Broken WebPageSerializerImpl compile again
        https://bugs.webkit.org/show_bug.cgi?id=44652

        Make it compile again.  This code is still horribly wrong.

        * src/WebPageSerializerImpl.cpp:
        (WebKit::WebPageSerializerImpl::endTagToString):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66060 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago* Scripts/commit-log-editor: Fix perl warning for people who have no
darin@apple.com [Thu, 26 Aug 2010 00:10:20 +0000 (00:10 +0000)]
* Scripts/commit-log-editor: Fix perl warning for people who have no
value for SVN_LOG_EDITOR or CVS_LOG_EDITOR.

Reviewed by John Sullivan.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66059 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Thu, 26 Aug 2010 00:07:42 +0000 (00:07 +0000)]
2010-08-25  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        stop blocking commits when the bots are red
        https://bugs.webkit.org/show_bug.cgi?id=44644

        This check currently is just annoying. It doesn't actually
        help keep the tree green. We can always add it back later
        if we decide the tree is generally more green.

        * Scripts/webkitpy/tool/commands/download_unittest.py:
        * Scripts/webkitpy/tool/mocktool.py:
        * Scripts/webkitpy/tool/steps/ensurebuildersaregreen.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66058 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 26 Aug 2010 00:02:46 +0000 (00:02 +0000)]
2010-08-25  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Remove endTagRequirement now that the LegacyHTMLDocumentParser is dead
        https://bugs.webkit.org/show_bug.cgi?id=44626

        Serialization is covered by a bunch of tests.  innerHTML behavior is sadly not.
        In either case, this is just moving code and should have no functional change.

        * editing/markup.cpp:
        (WebCore::elementCannotHaveEndTag):
        (WebCore::MarkupAccumulator::shouldSelfClose):
        (WebCore::MarkupAccumulator::appendEndMarkup):
        (WebCore::serializeNodesWithNamespaces):
        * html/HTMLAnchorElement.h:
        * html/HTMLAreaElement.h:
        * html/HTMLBRElement.h:
        * html/HTMLBaseElement.h:
        * html/HTMLBaseFontElement.h:
        * html/HTMLBlockquoteElement.h:
        * html/HTMLBodyElement.h:
        * html/HTMLCanvasElement.cpp:
        * html/HTMLCanvasElement.h:
        * html/HTMLDListElement.h:
        * html/HTMLDataGridCellElement.h:
        * html/HTMLDataGridColElement.h:
        * html/HTMLDirectoryElement.h:
        * html/HTMLDivElement.h:
        * html/HTMLElement.cpp:
        (WebCore::HTMLElement::nodeName):
        (WebCore::HTMLElement::ieForbidsInsertHTML):
        (WebCore::HTMLElement::deprecatedCreateContextualFragment):
        (WebCore::HTMLElement::setInnerText):
        (WebCore::HTMLElement::setOuterText):
        * html/HTMLElement.h:
        * html/HTMLEmbedElement.h:
        * html/HTMLFontElement.h:
        * html/HTMLFormControlElement.h:
        * html/HTMLFormElement.h:
        * html/HTMLFrameElement.h:
        * html/HTMLFrameSetElement.h:
        * html/HTMLHRElement.h:
        * html/HTMLHeadElement.h:
        * html/HTMLHeadingElement.h:
        * html/HTMLHtmlElement.h:
        * html/HTMLIFrameElement.h:
        * html/HTMLImageElement.h:
        * html/HTMLInputElement.h:
        * html/HTMLIsIndexElement.h:
        * html/HTMLLIElement.h:
        * html/HTMLLinkElement.h:
        * html/HTMLMapElement.h:
        * html/HTMLMarqueeElement.h:
        * html/HTMLMenuElement.h:
        * html/HTMLMetaElement.h:
        * html/HTMLModElement.h:
        * html/HTMLOListElement.h:
        * html/HTMLOptionElement.h:
        * html/HTMLParagraphElement.h:
        * html/HTMLParamElement.h:
        * html/HTMLPlugInElement.h:
        * html/HTMLPreElement.h:
        * html/HTMLQuoteElement.h:
        * html/HTMLScriptElement.h:
        * html/HTMLSourceElement.h:
        * html/HTMLStyleElement.h:
        * html/HTMLTableCaptionElement.h:
        * html/HTMLTableCellElement.h:
        * html/HTMLTableColElement.cpp:
        * html/HTMLTableColElement.h:
        * html/HTMLTableElement.h:
        * html/HTMLTableRowElement.h:
        * html/HTMLTableSectionElement.h:
        * html/HTMLUListElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66057 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 25 Aug 2010 23:55:52 +0000 (23:55 +0000)]
2010-08-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        test conversion: editing/style/typing-style-003.html should use runDumpAsTextEditingTest instead of runEditingTest
        https://bugs.webkit.org/show_bug.cgi?id=44646

        * editing/style/typing-style-003-expected.txt: Added.
        * editing/style/typing-style-003.html: Calls runDumpAsTextEditingTest instead of runEditingTest.
        * platform/chromium-linux/editing/style/typing-style-003-expected.checksum: Removed.
        * platform/chromium-win/editing/style/typing-style-003-expected.checksum: Removed.
        * platform/chromium-win/editing/style/typing-style-003-expected.png: Removed.
        * platform/chromium-win/editing/style/typing-style-003-expected.txt: Removed.
        * platform/gtk/editing/style/typing-style-003-expected.txt: Removed.
        * platform/mac/editing/style/typing-style-003-expected.checksum: Removed.
        * platform/mac/editing/style/typing-style-003-expected.png: Removed.
        * platform/mac/editing/style/typing-style-003-expected.txt: Removed.
        * platform/qt/Skipped: Run typing-style-003.html on qt again.
        * platform/qt/editing/style/typing-style-003-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66056 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-20 Zhenyao Mo <zmo@google.com>
zmo@google.com [Wed, 25 Aug 2010 23:40:58 +0000 (23:40 +0000)]
2010-08-20  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        WebGL must enforce restrictions even if running on OpenGL ES 2.0
        https://bugs.webkit.org/show_bug.cgi?id=42908

        * public/WebGraphicsContext3D.h: Add two new flags.
        * src/GraphicsContext3D.cpp: Ditto.
        (WebCore::GraphicsContext3DInternal::isGLES2NPOTStrict):
        (WebCore::GraphicsContext3DInternal::isErrorGeneratedOnOutOfBoundsAccesses):
        (WebCore::GraphicsContext3D::isGLES2NPOTStrict):
        (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
        * src/WebGraphicsContext3DDefaultImpl.cpp: Ditto.
        (WebKit::WebGraphicsContext3DDefaultImpl::isGLES2NPOTStrict):
        (WebKit::WebGraphicsContext3DDefaultImpl::isErrorGeneratedOnOutOfBoundsAccesses):
        * src/WebGraphicsContext3DDefaultImpl.h: Ditto.
2010-08-20  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        WebGL must enforce restrictions even if running on OpenGL ES 2.0
        https://bugs.webkit.org/show_bug.cgi?id=42908

        * html/canvas/WebGLFramebuffer.cpp:
        (WebCore::WebGLFramebuffer::getColorBufferFormat): Get format at given level instead of 0.
        * html/canvas/WebGLRenderingContext.cpp: Add two new flags and use them to replace the original isGLES2Compliant().
        (WebCore::WebGLRenderingContext::WebGLRenderingContext):
        (WebCore::WebGLRenderingContext::bindTexture):
        (WebCore::WebGLRenderingContext::blendEquation):
        (WebCore::WebGLRenderingContext::blendEquationSeparate):
        (WebCore::WebGLRenderingContext::bufferData):
        (WebCore::WebGLRenderingContext::bufferSubData):
        (WebCore::WebGLRenderingContext::checkFramebufferStatus):
        (WebCore::WebGLRenderingContext::clear):
        (WebCore::WebGLRenderingContext::copyTexImage2D):
        (WebCore::WebGLRenderingContext::copyTexSubImage2D):
        (WebCore::WebGLRenderingContext::disable):
        (WebCore::WebGLRenderingContext::drawArrays):
        (WebCore::WebGLRenderingContext::drawElements):
        (WebCore::WebGLRenderingContext::enable):
        (WebCore::WebGLRenderingContext::generateMipmap):
        (WebCore::WebGLRenderingContext::hint):
        (WebCore::WebGLRenderingContext::isEnabled):
        (WebCore::WebGLRenderingContext::texImage2DBase):
        (WebCore::WebGLRenderingContext::texParameter):
        (WebCore::WebGLRenderingContext::isGLES2NPOTStrict):
        (WebCore::WebGLRenderingContext::isErrorGeneratedOnOutOfBoundsAccesses):
        * html/canvas/WebGLRenderingContext.h: Declare two new flags.
        * html/canvas/WebGLTexture.cpp: Get format at given level instead of 0.
        (WebCore::WebGLTexture::getInternalFormat):
        * html/canvas/WebGLTexture.h: Ditto.
        * platform/graphics/GraphicsContext3D.h: Add three new flags.
        * platform/graphics/mac/GraphicsContext3DMac.mm: Ditto.
        (WebCore::GraphicsContext3D::isGLES2NPOTStrict):
        (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):
        * platform/graphics/qt/GraphicsContext3DQt.cpp: Ditto.
        (WebCore::GraphicsContext3D::isGLES2NPOTStrict):
        (WebCore::GraphicsContext3D::isErrorGeneratedOnOutOfBoundsAccesses):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66055 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoWebCore: Build correction, no review.
bfulgham@webkit.org [Wed, 25 Aug 2010 23:38:58 +0000 (23:38 +0000)]
WebCore: Build correction, no review.

* WebCore.vcproj/WebCore.vcproj: Add missing implementation
  for PlatformRefPtrCairo.

WebKit2: Build fix, no review.

Add conditional guards around Safari-specific
include files.

* WebProcess/WebPage/win/WebPageWin.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66054 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Eric Seidel <eric@webkit.org>
eric@webkit.org [Wed, 25 Aug 2010 23:37:26 +0000 (23:37 +0000)]
2010-08-25  Eric Seidel  <eric@webkit.org>

        Reviewed by Simon Fraser.

        REGRESSION: media/video-loop.html is timing out on the commit-queue Leopard Bot
        https://bugs.webkit.org/show_bug.cgi?id=38912

        I know of nothing else to do but skip all media tests for the cq.

        * Scripts/webkitpy/tool/steps/runtests.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66053 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Cris Neckar <cdn@chromium.org>
inferno@chromium.org [Wed, 25 Aug 2010 23:10:28 +0000 (23:10 +0000)]
2010-08-25  Cris Neckar  <cdn@chromium.org>

        Reviewed by Darin Adler.

        Added abort condition for RenderCounters when traversing a detached render tree.
        https://bugs.webkit.org/show_bug.cgi?id=43812

        Test: fast/css/counters/counter-traverse-object-crash.html

        * rendering/RenderCounter.cpp:
        (WebCore::findPlaceForCounter):
2010-08-25  Cris Neckar  <cdn@chromium.org>

        Reviewed by Darin Adler.

        Assertion failure in RenderCounter when traversing a detached render trees.
        https://bugs.webkit.org/show_bug.cgi?id=43812

        * fast/css/counters/counter-traverse-object-crash-expected.txt: Added.
        * fast/css/counters/counter-traverse-object-crash.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66052 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Wed, 25 Aug 2010 22:49:38 +0000 (22:49 +0000)]
2010-08-25  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        https://bugs.webkit.org/show_bug.cgi?id=44629
        Add layer consistency checking and fix found crashing bug

        The crash was being caused by some of the calls which mutated
        the sublayer list leaving the list in an inconsistent state.
        This eventually lead to a crash. It would also lead to visual
        artifacts if the crash didn't occur. Added consistency checking
        to catch this and any other inconsistencies in the sublayer list.

        The particular bug in this case was caused by clamping an index
        for insertion to the current size of the sublayer list. CACF uses
        an index equal to the current length to indicate an append operation.
        With tiled layers the apparent size of the list is one less than its
        actual size (to accomodate the layer which holds the list of tiles)
        so this clamping was causing the new layer to get inserted before the
        tile parent. The tile parent was then mistaken for a WKCACFLayer and
        it eventually tried to deref that layer, causing the crash.

        I also added some protection when destroying a WKCACFLayer. The user data
        for the corresponding CACFLayer is now changed to 0xDeadBeef rather than
        null. This allows dangling layers to be more easily identified. This
        value is checked and ASSERTed if seen. I also remove the sublayers
        on destruction to make the consistency checks work properly while
        a layer is being destroyed.

        Test: compositing/tiling/crash-reparent-tiled-layer.html

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66050 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 25 Aug 2010 22:17:19 +0000 (22:17 +0000)]
2010-08-25  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: add more unit tests for test_expectations
        This adds unit tests to cover (almost?) all of the non-rebaselining
        functionality.

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

        * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
        * Scripts/webkitpy/layout_tests/layout_package/test_expectations_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66049 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 25 Aug 2010 22:15:47 +0000 (22:15 +0000)]
2010-08-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        WebCore::InsertListCommand::modifyRange infinite loop (100% CPU usage)
        https://bugs.webkit.org/show_bug.cgi?id=33668

        The bug was caused by enclosingListChild returning a list child whose enclosing list is
        a sibling of the current list child. Fixed enclosingListChild to traverse upwards
        in the DOM to find the list child which is a sibling of the current list child.
        Also fixed adjacentEnclosingList to only returns the list that belongs to the same outer list.

        In doApplyForSingleParagraph, if the start or the end of currentSelection existed inside a list content
        moved by moveParagraphWithClones, either end could point to a wrong position after the move.
        Fixed this problem by checking this condition upfront and restoring later.

        In doApply, if moveParagraph or moveParagraphWithClones, endOfSelection or startOfLastParagraph
        could be null or orphaned, fixed this problem by indexForVisiblePosition.

        Test: editing/execCommand/insert-list-orphaned-item-with-nested-lists.html

        * editing/InsertListCommand.cpp:
        (WebCore::InsertListCommand::doApply):
        (WebCore::enclosingListChild):
        (WebCore::InsertListCommand::doApplyForSingleParagraph):
        (WebCore::adjacentEnclosingList):
        (WebCore::InsertListCommand::listifyParagraph):
2010-08-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        WebCore::InsertListCommand::modifyRange infinite loop (100% CPU usage)
        https://bugs.webkit.org/show_bug.cgi?id=33668

        Added a test to convert nested lists with an orphaned list child to an ordered nested list.
        Selection in switch-list-type-with-inner-list.html is restored correctly after inserting list.

        * editing/execCommand/insert-list-orphaned-item-with-nested-lists-expected.txt: Added.
        * editing/execCommand/insert-list-orphaned-item-with-nested-lists.html: Added.
        * editing/execCommand/switch-list-type-with-inner-list-expected.txt: Selection is restored correctly.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66048 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoBuild corrections, no review.
bfulgham@webkit.org [Wed, 25 Aug 2010 21:58:55 +0000 (21:58 +0000)]
Build corrections, no review.

* platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h:
  Add include for new (missing) "CairoPath.h" class.
* platform/graphics/cairo/PlatformRefPtrCairo.h: Correct
  include and compilation guards to match coding conventions.
* platform/graphics/win/FontCustomPlatformDataCairo.cpp:
  Change implementation to match CG version, using the
  FontCustomPlatformData name, rather than the original
  FontCustomPlatformDataCairo.
* platform/graphics/win/FontCustomPlatformDataCairo.h:
  Same as for the .cpp file.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66047 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 25 Aug 2010 21:45:26 +0000 (21:45 +0000)]
2010-08-25  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: add more unit tests

        This change adds more unit tests for the image_diff, test_failures,
        and test_files modules, bringing them to 100% coverage (and adds a
        couple tests to run_webkit_tests while we're at it).

        This test also turns on the "dryrun" port for testing when run on
        the mac, increasing coverage in a few other places.

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

        * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.checksum: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/checksum-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/checksum.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/image_checksum.html.
        * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.png: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check-expected.txt: Added.
        * Scripts/webkitpy/layout_tests/data/failures/expected/missing_check.html: Copied from WebKitTools/Scripts/webkitpy/layout_tests/data/failures/expected/missing_image.html.
        * Scripts/webkitpy/layout_tests/data/failures/expected/timeout.html: Added.
        * Scripts/webkitpy/layout_tests/data/platform/test/test_expectations.txt:
        * Scripts/webkitpy/layout_tests/data/resources/README.txt: Added.
        * Scripts/webkitpy/layout_tests/layout_package/test_failures_unittest.py:
        * Scripts/webkitpy/layout_tests/port/test.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66045 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 25 Aug 2010 21:41:12 +0000 (21:41 +0000)]
2010-08-25  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: add more unit tests for layout_package/printing.py

        This change adds more unit tests to get the test coverage to 100%
        for the printing module. This code is actually pretty crufty and
        has some layering violations that need to be cleaned up but I'll
        save that for another CL after we get all the unit tests written and
        we fix the multithreading issues. At least now we'll be able to tell
        if we break things.

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

        * Scripts/webkitpy/layout_tests/layout_package/printing.py:
        * Scripts/webkitpy/layout_tests/layout_package/printing_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66043 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Krzysztof Czech <k.czech@samsung.com>
commit-queue@webkit.org [Wed, 25 Aug 2010 21:27:36 +0000 (21:27 +0000)]
2010-08-25  Krzysztof Czech  <k.czech@samsung.com>

        Reviewed by Kenneth Rohde Christiansen.

        [EFL] Crash while calling PopupMenuEfl destructor
        https://bugs.webkit.org/show_bug.cgi?id=44497

        Condition checks if m_view is defined
        before popup is hide

        * platform/efl/PopupMenuEfl.cpp:
        (WebCore::PopupMenuEfl::~PopupMenuEfl):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66042 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 25 Aug 2010 21:16:47 +0000 (21:16 +0000)]
2010-08-25  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Adam Barth.

        new-run-webkit-tests should respect set-webkit-configuration
        https://bugs.webkit.org/show_bug.cgi?id=44633

        Moves the getting of the configuration into the base Port so that
        chromium ports use it as well. In the downstream chromium port,
        this should still just return Release.

        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/webkit.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66041 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-24 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 25 Aug 2010 21:15:34 +0000 (21:15 +0000)]
2010-08-24  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        Creating a link when selecting multiple nodes creates multiple links
        https://bugs.webkit.org/show_bug.cgi?id=30836

        The bug was caused by applyInlineStyleToRange calling addInlineStyleIfNeeded
        on each inline element. Modified applyInlineStyleToRange to call addInlineStyleIfNeeded
        once for all inline elements with the same style difference.

        Because this implies that anchor element may wrap other inline elements when added,
        modified pushDownInlineStyleAroundNode to push down styled elements.

        Removed pushPartiallySelectedAnchorElementsDown from CompositeEditCommand since
        ApplyStyleCommand now correctly pushes down anchors at the start and the end of the selection.

        Test: editing/execCommand/toggle-link.html

        * editing/ApplyStyleCommand.cpp:
        (WebCore::StyleChange::operator==): Added.
        (WebCore::StyleChange::operator!=): Added.
        (WebCore::ApplyStyleCommand::applyInlineStyleToRange): Wraps inline elements with
        the same style difference by one element instead of wrapping each element separately.
        (WebCore::ApplyStyleCommand::extractInlineStyleToPushDown): Extracts styled element.
        (WebCore::ApplyStyleCommand::applyInlineStyleToPushDown): Avoids adding styled element.
        (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): Pushes down styled element.
        (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement): No longer checks inline-ness.
        (WebCore::ApplyStyleCommand::addInlineStyleIfNeeded): Adds style even when m_removeOnly.
        Callers should set addStyledElement = DoNotAddStyledElement to avoid adding styled element.
        * editing/ApplyStyleCommand.h:
        * editing/CompositeEditCommand.cpp: Removed pushPartiallySelectedAnchorElementsDown.
        * editing/CompositeEditCommand.h: Removed pushPartiallySelectedAnchorElementsDown.
        * editing/CreateLinkCommand.cpp:
        (WebCore::CreateLinkCommand::doApply): used to call pushPartiallySelectedAnchorElementsDown.
        * editing/UnlinkCommand.cpp:
        (WebCore::UnlinkCommand::doApply): Used to call pushPartiallySelectedAnchorElementsDown.
2010-08-24  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        Creating a link when selecting multiple nodes creates multiple links
        https://bugs.webkit.org/show_bug.cgi?id=30836

        Added a test to ensure WebKit creates single anchor element on execCommand('createLink') if possible.
        Also rebaselined several tests to match new behavior.

        * editing/execCommand/createLink-expected.txt: Merged some anchor elements.
        * editing/execCommand/script-tests/toggle-link.js: Added.
        (testSingleToggle):
        (selectAll):
        (selectFirstTwoWords):
        (selectLastWord):
        * editing/execCommand/script-tests/toggle-style-3.js: i elements are merged.
        * editing/execCommand/toggle-style-3-expected.txt: Ditto.
        * editing/execCommand/toggle-link-expected.txt: Added.
        * editing/execCommand/toggle-link.html: Added.
        * editing/execCommand/unlink-expected.txt: Merged some anchor elements.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66040 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-24 Zhenyao Mo <zmo@google.com>
zmo@google.com [Wed, 25 Aug 2010 20:28:59 +0000 (20:28 +0000)]
2010-08-24  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
        https://bugs.webkit.org/show_bug.cgi?id=38282

        * src/WebImageDecoder.cpp:
        (WebKit::WebImageDecoder::init): Add premultiplyAlpha flag.
2010-08-24  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
        https://bugs.webkit.org/show_bug.cgi?id=38282

        Test: fast/canvas/webgl/gl-teximage.html

        * platform/graphics/GraphicsContext3D.cpp: Fix a bug where alpha channel is ignored.
        * platform/graphics/ImageSource.cpp: Add premultiplyAlpha flag.
        (WebCore::ImageSource::ImageSource):
        (WebCore::ImageSource::setData):
        * platform/graphics/ImageSource.h: Ditto.
        * platform/graphics/cg/ImageSourceCG.cpp: Ditto.
        (WebCore::ImageSource::ImageSource):
        * platform/graphics/qt/ImageDecoderQt.cpp: Ditto.
        (WebCore::ImageDecoder::create):
        (WebCore::ImageDecoderQt::ImageDecoderQt):
        (WebCore::ImageDecoderQt::frameCount):
        (WebCore::ImageDecoderQt::forceLoadEverything):
        * platform/graphics/qt/ImageDecoderQt.h: Ditto.
        * platform/graphics/skia/GraphicsContext3DSkia.cpp: Fix the premultiplyAlpha data loss issue in skia.
        (WebCore::GraphicsContext3D::getImageData):
        * platform/image-decoders/ImageDecoder.cpp: Add premultiplyAlpha flag.
        (WebCore::ImageDecoder::create):
        (WebCore::RGBA32Buffer::RGBA32Buffer):
        (WebCore::RGBA32Buffer::operator=):
        * platform/image-decoders/ImageDecoder.h: Ditto.
        (WebCore::RGBA32Buffer::premultiplyAlpha):
        (WebCore::RGBA32Buffer::setPremultiplyAlpha):
        (WebCore::RGBA32Buffer::setRGBA):
        (WebCore::ImageDecoder::ImageDecoder):
        * platform/image-decoders/bmp/BMPImageDecoder.cpp: Ditto.
        (WebCore::BMPImageDecoder::BMPImageDecoder):
        (WebCore::BMPImageDecoder::frameBufferAtIndex):
        * platform/image-decoders/bmp/BMPImageDecoder.h: Ditto.
        * platform/image-decoders/gif/GIFImageDecoder.cpp: Ditto.
        (WebCore::GIFImageDecoder::GIFImageDecoder):
        (WebCore::GIFImageDecoder::frameCount):
        * platform/image-decoders/gif/GIFImageDecoder.h: Ditto.
        * platform/image-decoders/ico/ICOImageDecoder.cpp: Ditto.
        (WebCore::ICOImageDecoder::ICOImageDecoder):
        (WebCore::ICOImageDecoder::frameCount):
        (WebCore::ICOImageDecoder::decodeAtIndex):
        * platform/image-decoders/ico/ICOImageDecoder.h: Ditto.
        * platform/image-decoders/jpeg/JPEGImageDecoder.cpp: Ditto.
        (WebCore::JPEGImageDecoder::JPEGImageDecoder):
        (WebCore::JPEGImageDecoder::frameBufferAtIndex):
        * platform/image-decoders/jpeg/JPEGImageDecoder.h: Ditto.
        * platform/image-decoders/png/PNGImageDecoder.cpp: Ditto.
        (WebCore::PNGImageDecoder::PNGImageDecoder):
        (WebCore::PNGImageDecoder::frameBufferAtIndex):
        * platform/image-decoders/png/PNGImageDecoder.h: Ditto.
        * platform/image-decoders/skia/ImageDecoderSkia.cpp: Ditto.
        (WebCore::RGBA32Buffer::RGBA32Buffer):
        (WebCore::RGBA32Buffer::operator=):
2010-08-24  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Passing premultiplyAlpha=false to tex{Sub}Image2D loses information (skia)
        https://bugs.webkit.org/show_bug.cgi?id=38282

        * fast/canvas/webgl/gl-teximage-expected.txt: Added.
        * fast/canvas/webgl/gl-teximage.html: Added.
        * fast/canvas/webgl/resources/3x3.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-256-with-128-alpha.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-256.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-default-gamma.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-gamma0.1.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-gamma1.0.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-gamma2.0.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-gamma4.0.png: Added.
        * fast/canvas/webgl/resources/gray-ramp-gamma9.0.png: Added.
        * fast/canvas/webgl/resources/gray-ramp.png: Added.
        * fast/canvas/webgl/resources/webgl-test-utils.js: Sync with khronos.
        (WebGLTestUtils):
        * fast/canvas/webgl/resources/zero-alpha.png: Added.
        * platform/chromium/test_expectations.txt: Don't run gl-teximage.html for mac.
        * platform/mac/Skipped: Don't run gl-teximage.html for mac.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66039 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Jaehun Lim <ljaehun.lim@samsung.com>
demarchi@webkit.org [Wed, 25 Aug 2010 20:27:56 +0000 (20:27 +0000)]
2010-08-25  Jaehun Lim  <ljaehun.lim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] enable libsoup's content decode feature
        https://bugs.webkit.org/show_bug.cgi?id=44147

        libsoup's content decode feature is enabled during initializaton.

        * ewk/ewk_main.cpp:
        (ewk_init):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66038 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 25 Aug 2010 20:23:58 +0000 (20:23 +0000)]
2010-08-25  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove XBL
        https://bugs.webkit.org/show_bug.cgi?id=44621

        This patch removes support for XBL.  XBL seems cool, but this code is
        old and pretty bitrotten.  If we decide to support XBL in the future,
        we can recover this code from this revision.  As it stands, it doesn't
        seem worth half-maintaining this code.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseValue):
        * css/CSSPropertyNames.in:
        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::~Document):
        * dom/Document.h:
        * loader/Cache.cpp:
        (WebCore::createResource):
        (WebCore::Cache::getStatistics):
        * loader/Cache.h:
        * loader/CachedResource.h:
        (WebCore::CachedResource::):
        * loader/CachedResourceClient.h:
        (WebCore::CachedResourceClient::setXSLStyleSheet):
        (WebCore::CachedResourceClient::fontLoaded):
        * loader/CachedXBLDocument.cpp: Removed.
        * loader/CachedXBLDocument.h: Removed.
        * loader/DocLoader.cpp:
        (WebCore::DocLoader::canRequest):
        * loader/DocLoader.h:
        * loader/loader.cpp:
        (WebCore::cachedResourceTypeToTargetType):
        (WebCore::Loader::determinePriority):
        * rendering/style/BindingURI.cpp: Removed.
        * rendering/style/BindingURI.h: Removed.
        * rendering/style/RenderStyle.cpp:
        * rendering/style/RenderStyle.h:
        * rendering/style/StyleRareNonInheritedData.cpp:
        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
        (WebCore::StyleRareNonInheritedData::operator==):
        * rendering/style/StyleRareNonInheritedData.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66037 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Wed, 25 Aug 2010 20:08:20 +0000 (20:08 +0000)]
2010-08-25  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] GraphicsContext: Construct with the correct default LineJoin (MiterJoin)

        We weren't setting it explicitly which caused us to use Qt::MiterJoin when
        we actually want Qt::SvgMiterJoin.

        Fixes display glitches on the "Monster" chrome experiment among other things.

        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContext::GraphicsContext):
2010-08-25  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Ariya Hidayat.

        [Qt] GraphicsContext: Construct with the correct default LineJoin (MiterJoin)

        Skip canvas/philip/tests/2d.path.rect.zero.1.html
        It was working because we didn't properly initialize the GC's LineJoin mode.

        * platform/qt/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66036 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoClean up Connection::open on Windows
aroben@apple.com [Wed, 25 Aug 2010 20:06:53 +0000 (20:06 +0000)]
Clean up Connection::open on Windows

Fixes <http://webkit.org/b/44185>.

Reviewed by Steve Falkenburg.

* Platform/CoreIPC/win/ConnectionWin.cpp:
(CoreIPC::Connection::platformInitialize): Set m_isConnected to true
since the pipe got connected before it was even given to us.
(CoreIPC::Connection::readEventHandler): Removed code that will never
run now that m_isConnected is always true when this function is
called. Since no outgoing messages will have been queued before
m_isConnected is set to true, there's no need to send them explicitly
here; they'll get sent as they're queued.
(CoreIPC::Connection::open): Removed the call to ::ConnectNamedPipe,
since the pipe is already connected by this point. Changed to schedule
a read in the server and client the same way (rather than using
::SetEvent in the server).

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66035 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Fady Samuel <fsamuel@chromium.org>
dglazkov@chromium.org [Wed, 25 Aug 2010 19:54:31 +0000 (19:54 +0000)]
2010-08-25  Fady Samuel  <fsamuel@chromium.org>

        Reviewed by Dimitri Glazkov.

        Table Rendering Layout Test Expectations Updated
        https://bugs.webkit.org/show_bug.cgi?id=44429

        Simple Paint test appears to render the same on Mac, Windows, and Linux.

        Updated test expectations to match this and moved the expectations into the test directory.

        * fast/table/simple_paint-expected.checksum: Renamed from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.checksum.
        * fast/table/simple_paint-expected.png: Renamed from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.png.
        * fast/table/simple_paint-expected.txt: Renamed from LayoutTests/platform/chromium-linux/fast/table/simple_paint-expected.txt.
        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66034 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Rafael Antognolli <antognolli@profusion.mobi>
demarchi@webkit.org [Wed, 25 Aug 2010 19:25:01 +0000 (19:25 +0000)]
2010-08-25  Rafael Antognolli  <antognolli@profusion.mobi>

        Unreviewed build fix.

        [EFL] Build fix for revision 66024
        https://bugs.webkit.org/show_bug.cgi?id=44631

        No new features added, so no new tests.

        * CMakeListsEfl.txt: change GRefPtrCairo.cpp by PlatformRefPtrCairo.cpp.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66033 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 25 Aug 2010 19:19:26 +0000 (19:19 +0000)]
2010-08-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Various designmode=&quot;on&quot;/&quot;off&quot; &amp; execCommand(&quot;Undo&quot;) NULL pointer crashes
        https://bugs.webkit.org/show_bug.cgi?id=32823

        The bug was caused by changeSelectionAfterCommand which updates the selection
        without checking the whether new selection is valid or not.

        Fixed changeSelectionAfterCommand so that it won't update the selection
        when either end of the new selection is orphaned. Also fixed various editing commands
        to exit early if either end of the selection is orphaned.

        Tests: editing/undo/orphaned-selection-crash-bug32823-1.html
               editing/undo/orphaned-selection-crash-bug32823-2.html
               editing/undo/orphaned-selection-crash-bug32823-3.html
               editing/undo/orphaned-selection-crash-bug32823-4.html

        * editing/Editor.cpp:
        (WebCore::Editor::changeSelectionAfterCommand): No longer sets orphaned selection.
        * editing/VisibleSelection.h:
        (WebCore::VisibleSelection::isNonOrphanedRange): Added.
        (WebCore::VisibleSelection::isNonOrphanedCaretOrRange): Added.
        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::doApply): Added an early exist. See above.
        * editing/FormatBlockCommand.cpp:
        (WebCore::FormatBlockCommand::doApply): Ditto.
        * editing/IndentOutdentCommand.cpp:
        (WebCore::IndentOutdentCommand::doApply): Ditto.
        * editing/InsertLineBreakCommand.cpp:
        (WebCore::InsertLineBreakCommand::doApply): Ditto.
        * editing/InsertListCommand.cpp:
        (WebCore::InsertListCommand::doApply): Ditto.
        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::doApply): Ditto.
        * editing/InsertTextCommand.cpp:
        (WebCore::InsertTextCommand::input): Ditto.
        * editing/MoveSelectionCommand.cpp:
        (WebCore::MoveSelectionCommand::doApply): Ditto.
        * editing/RemoveFormatCommand.cpp:
        (WebCore::RemoveFormatCommand::doApply): Ditto.
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::doApply): Ditto.
        * editing/TypingCommand.cpp:
        (WebCore::TypingCommand::doApply): Ditto.
        * editing/UnlinkCommand.cpp:
        (WebCore::UnlinkCommand::doApply): Ditto.
2010-08-25  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Darin Adler.

        Various designmode="on"/"off" & execCommand("Undo") NULL pointer crashes
        https://bugs.webkit.org/show_bug.cgi?id=32823

        These tests ensure WebKit doesn't crash when undoing some editing commands failed
        and either end of endingSelection() became orphaned.
        All tests are copied from the bug to prevent regression.

        * editing/undo/orphaned-selection-crash-bug32823-1-expected.txt: Added.
        * editing/undo/orphaned-selection-crash-bug32823-1.html: Added.
        * editing/undo/orphaned-selection-crash-bug32823-2-expected.txt: Added.
        * editing/undo/orphaned-selection-crash-bug32823-2.html: Added.
        * editing/undo/orphaned-selection-crash-bug32823-3-expected.txt: Added.
        * editing/undo/orphaned-selection-crash-bug32823-3.html: Added.
        * editing/undo/orphaned-selection-crash-bug32823-4-expected.txt: Added.
        * editing/undo/orphaned-selection-crash-bug32823-4.html: Added.
        * editing/undo/redo-split-text-with-removal-expected.txt: Caret is restored.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66032 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Michael Saboff <msaboff@apple.com>
commit-queue@webkit.org [Wed, 25 Aug 2010 18:55:26 +0000 (18:55 +0000)]
2010-08-25  Michael Saboff  <msaboff@apple.com>

        Reviewed by Sam Weinig.

        Remove the single entry regular expression cache introduced as part of
        the fix for https://bugs.webkit.org/show_bug.cgi?id=41238.
        The performance problem in Dromaeo that initiated that bug is no
        longer present. Dromaeo has been modified so that the regular
        expression tests are somewhat random and don't benefit from a
        single entry cache.

        * runtime/RegExp.cpp:
        (JSC::RegExp::RegExp):
        (JSC::RegExp::match):
        * runtime/RegExp.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66031 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Leo Yang <leo.yang@torchmobile.com.cn>
commit-queue@webkit.org [Wed, 25 Aug 2010 18:30:20 +0000 (18:30 +0000)]
2010-08-25  Leo Yang  <leo.yang@torchmobile.com.cn>

        Reviewed by Simon Hausmann.

        In FrameLoaderClientQt::createFrame we should call loadURLIntoChildFrame
        with parent frame's loader instead of child frame's loader.
        https://bugs.webkit.org/show_bug.cgi?id=43930

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::createFrame):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66030 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 25 Aug 2010 18:26:22 +0000 (18:26 +0000)]
2010-08-25  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        make perf tests work with V8
        https://bugs.webkit.org/show_bug.cgi?id=44623

        V8 doesn't support getJSObjectCount.

        * resources/magnitude-perf.js:
        (Magnitude._runIteration):
        (Magnitude):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66029 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 25 Aug 2010 18:24:17 +0000 (18:24 +0000)]
2010-08-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Flash content draws in front of site's drop down menu at http://www.monster.com/
        https://bugs.webkit.org/show_bug.cgi?id=41330

        If an iframe with composited content became overlapped, we failed to
        consider that iframe for compositing if it had no RenderLayer, so the layering
        would be incorrect.

        Overlap is detected at painting time, but it's bad for FrameView::setIsOverlapped()
        to call setNeedsStyleRecalc(), because this would cause subsequent calls to
        FrameView::paintContents() in the same painting batch to bail with needsLayout().

        Instead, we do the setNeedsStyleRecalc() from RenderLayerCompositor::notifyIFramesOfCompositingChange(),
        so that the parent document has a chance to update style, and give the iframe a RenderLayer.
        Then setIsOverlapped() simply needs to schedule a layer update, which we do on a timer.

        When dumping layers via Frame::layerTreeAsText(), if a layer update is pending, then
        update the layers.

        Test: compositing/iframes/become-overlapped-iframe.html

        * page/Frame.cpp:
        (WebCore::Frame::layerTreeAsText):
        * page/FrameView.cpp:
        (WebCore::FrameView::setIsOverlapped):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::RenderLayerCompositor):
        (WebCore::RenderLayerCompositor::scheduleCompositingLayerUpdate):
        (WebCore::RenderLayerCompositor::compositingLayerUpdatePending):
        (WebCore::RenderLayerCompositor::updateCompositingLayersTimerFired):
        (WebCore::RenderLayerCompositor::updateCompositingLayers):
        (WebCore::RenderLayerCompositor::notifyIFramesOfCompositingChange):
        * rendering/RenderLayerCompositor.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66028 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 25 Aug 2010 18:22:17 +0000 (18:22 +0000)]
2010-08-25  Tony Chang  <tony@chromium.org>

        Not reviewed, changing svn props for a script.

        * Scripts/deduplicate-tests: Added properties svn:executable and svn:eol-style.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66027 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 25 Aug 2010 18:17:47 +0000 (18:17 +0000)]
2010-08-25  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove WebKit2 from core builders
        https://bugs.webkit.org/show_bug.cgi?id=44625

        This builder was added to the core builders by accident.  It doesn't
        appear to be green enough to be a core builder yet.

        * Scripts/webkitpy/common/net/buildbot.py:
        * Scripts/webkitpy/common/net/buildbot_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66026 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years agoCall NP_GetEntryPoints before NP_Initialize on Windows
aroben@apple.com [Wed, 25 Aug 2010 18:12:47 +0000 (18:12 +0000)]
Call NP_GetEntryPoints before NP_Initialize on Windows

Doing otherwise will cause Flash and QuickTime to crash inside
NP_Initialize.

Fixes <http://webkit.org/b/44270> <rdar://problem/8330393> Crash in
NP_Initialize when loading QuickTime when running
plugins/embed-attributes-setting.html in WebKit2 on Windows

Reviewed by John Sullivan.

WebKit2:

* WebProcess/Plugins/Netscape/NetscapePluginModule.cpp:
(WebKit::NetscapePluginModule::tryLoad): On Windows, first call
NP_GetEntryPoints, then NP_Initialize. Do the reverse on Mac to
prevent Silverlight (e.g.) from crashing (see r38858).

WebKitTools:

Test that NP_Initialize and NP_GetEntryPoints are called in the
correct order

The order differs between Mac and Windows (see r38858).

* DumpRenderTree/TestNetscapePlugIn/main.cpp: Added a CRASH macro and
a boolean to record whether NP_GetEntryPoints has been called.
(NP_Initialize): Crash on Windows if NP_GetEntryPoints hasn't been
called yet. This matches Flash and QuickTime's behavior.
(NP_GetEntryPoints): Crash on Mac if NP_Initialize hasn't been called
yet. This matches Silverlight's behavior.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66025 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Wed, 25 Aug 2010 18:00:13 +0000 (18:00 +0000)]
2010-08-25  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        Cairo and EFL port shouldn't depend on glib.
        https://bugs.webkit.org/show_bug.cgi?id=44354

        Replace GRefPtr with PlatformRefPtr. Keep GLib specific bits in
        GRefPtr.h.

        * GNUmakefile.am: Add PlatformRefPtr.h to the source list.
        * wtf/PlatformRefPtr.h: Migrated from GRefPtr.h.
        (WTF::PlatformRefPtr::PlatformRefPtr): Ditto.
        (WTF::PlatformRefPtr::~PlatformRefPtr): Ditto.
        (WTF::PlatformRefPtr::clear): Ditto.
        (WTF::PlatformRefPtr::get): Ditto.
        (WTF::PlatformRefPtr::operator*): Ditto.
        (WTF::PlatformRefPtr::operator->): Ditto.
        (WTF::PlatformRefPtr::operator!): Ditto.
        (WTF::PlatformRefPtr::operator UnspecifiedBoolType): Ditto.
        (WTF::PlatformRefPtr::hashTableDeletedValue): Ditto.
        (WTF::::operator): Ditto.
        (WTF::::swap): Ditto.
        (WTF::swap): Ditto.
        (WTF::operator==): Ditto.
        (WTF::operator!=): Ditto.
        (WTF::static_pointer_cast): Ditto.
        (WTF::const_pointer_cast): Ditto.
        (WTF::getPtr): Ditto.
        (WTF::adoptPlatformRef): Ditto.
        * wtf/gobject/GRefPtr.cpp: Changes to reflect new names.
        (WTF::refPlatformPtr):
        (WTF::derefPlatformPtr):
        * wtf/gobject/GRefPtr.h: Ditto.
        (WTF::refPlatformPtr):
        (WTF::derefPlatformPtr):
2010-08-25  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        Cairo and EFL port shouldn't depend on glib.
        https://bugs.webkit.org/show_bug.cgi?id=44354

        No new tests as functionality has not changed.

        Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
        adoptPlatformRef. Rename GRefPtrCairo to PlatformRefPtrCairo.

        * GNUmakefile.am:
        * platform/Cursor.h:
        * platform/graphics/cairo/GRefPtrCairo.cpp: Removed.
        * platform/graphics/cairo/GRefPtrCairo.h: Removed.
        * platform/graphics/cairo/ImageCairo.cpp:
        (WebCore::Image::drawPattern):
        * platform/graphics/cairo/PlatformRefPtrCairo.cpp: Added.
        (WTF::refPlatformPtr):
        (WTF::derefPlatformPtr):
        * platform/graphics/cairo/PlatformRefPtrCairo.h: Added.
        * platform/graphics/gtk/ImageBufferGtk.cpp:
        (WebCore::ImageBuffer::toDataURL):
        * platform/gtk/ClipboardGtk.cpp:
        (WebCore::ClipboardGtk::declareAndWriteDragImage):
        * platform/gtk/CursorGtk.cpp:
        (WebCore::createNamedCursor):
        (WebCore::createCustomCursor):
        (WebCore::Cursor::ensurePlatformCursor):
        * platform/gtk/DataObjectGtk.h:
        * platform/gtk/GRefPtrGtk.cpp:
        (WTF::refPlatformPtr):
        (WTF::derefPlatformPtr):
        * platform/gtk/GRefPtrGtk.h:
        * platform/gtk/PasteboardGtk.cpp:
        (WebCore::Pasteboard::writeImage):
        * platform/gtk/PasteboardHelper.cpp:
        (WebCore::PasteboardHelper::dropAtomsForContext):
        * platform/gtk/PopupMenuGtk.h:
        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::RenderThemeGtk):
        (WebCore::paintMozillaGtkWidget):
        * platform/gtk/RenderThemeGtk.h:
2010-08-25  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        Cairo and EFL port shouldn't depend on glib.
        https://bugs.webkit.org/show_bug.cgi?id=44354

        Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
        adoptPlatformRef.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::requestGeolocationPermissionForFrame):
        * WebCoreSupport/DragClientGtk.cpp:
        (WebKit::DragClient::startDrag):
        * WebCoreSupport/EditorClientGtk.h:
        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::dispatchWillSendRequest):
        (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
        (WebKit::FrameLoaderClient::createPlugin):
        * WebCoreSupport/FullscreenVideoController.h:
        * WebCoreSupport/InspectorClientGtk.cpp:
        (WebKit::InspectorClient::populateSetting):
        (WebKit::InspectorClient::storeSetting):
        * webkit/webkitdownload.cpp:
        (webkit_download_error):
        * webkit/webkitnetworkrequest.cpp:
        (webkit_network_request_new_with_core_request):
        * webkit/webkitnetworkresponse.cpp:
        (webkit_network_response_new_with_core_response):
2010-08-25  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Gustavo Noronha Silva.

        Cairo and EFL port shouldn't depend on glib.
        https://bugs.webkit.org/show_bug.cgi?id=44354

        Replace occurrences of GRefPtr and adoptGRef with PlatformRefPtr and
        adoptPlatformRef.

        * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
        (AccessibilityUIElement::isSelected):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66024 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Wed, 25 Aug 2010 17:51:26 +0000 (17:51 +0000)]
2010-08-25  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Alexey Proskuryakov.

        HTMLMediaElement.canPlayType must be case insensitive for MIME type.
        https://bugs.webkit.org/show_bug.cgi?id=44577

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::load):
        (WebCore::MediaPlayer::supportsType):

2010-08-24  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Alexey Proskuryakov.

        HTMLMediaElement.canPlayType must be case insensitive for MIME type.
        https://bugs.webkit.org/show_bug.cgi?id=44577

        * media/media-can-play-octet-stream-expected.txt:
        * media/media-can-play-octet-stream.html:
        * media/media-can-play-ogg-expected.txt:
        * media/media-can-play-ogg.html:
        * media/video-can-play-type-expected.txt:
        * media/video-can-play-type.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66023 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Wed, 25 Aug 2010 17:35:24 +0000 (17:35 +0000)]
2010-08-25  Ojan Vafai  <ojan@chromium.org>

        Fix order of Timothy's email address. The script, and
        other tools all assume that the first email is the bugzilla address.

        * Scripts/webkitpy/common/config/committers.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66022 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 25 Aug 2010 17:33:22 +0000 (17:33 +0000)]
2010-08-25  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] CodeGeneratorGObject not picking up FEATURE_DEFINES
        https://bugs.webkit.org/show_bug.cgi?id=44608

        Move FEATURE_DEFINES declaration here, since it's used by the
        bindings code generator. Also, fix typo in the variable holding
        the defines.

        * GNUmakefile.am:

WebCore:

2010-08-25  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] CodeGeneratorGObject not picking up FEATURE_DEFINES
        https://bugs.webkit.org/show_bug.cgi?id=44608

        Move FEATURE_DEFINES declaration to the toplevel GNUmakefile.am,
        since it's used there now too.

        * GNUmakefile.am:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66021 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Tony Chang <tony@chromium.org>
tony@chromium.org [Wed, 25 Aug 2010 17:10:11 +0000 (17:10 +0000)]
2010-08-25  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] remove chromium.Interval layout test
        https://bugs.webkit.org/show_bug.cgi?id=44614

        chromium.Interval is moving into the benchmarking namespace
        and not being exposed by default.

        * platform/chromium/fast/dom/interval-expected.txt: Removed.
        * platform/chromium/fast/dom/interval.html: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66020 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 years ago2010-08-25 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Wed, 25 Aug 2010 17:02:20 +0000 (17:02 +0000)]
2010-08-25  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Alexey Proskuryakov.

        Remove dead code in JSGlobalObject
        https://bugs.webkit.org/show_bug.cgi?id=44615

        The recursion data member in the JSGlobalObject and its getter
        plus inc/dec methods seems to be unused, remove them.

        * runtime/JSGlobalObject.cpp:
        (JSC::JSGlobalObject::init):
        * runtime/JSGlobalObject.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66019 268f45cc-cd09-0410-ab3c-d52691b4dbfc