1. 06 Jan, 2012 40 commits
    • caio.oliveira@openbossa.org's avatar
      Use HashMap<OwnPtr> in SVGAttributeToPropertyMap · 1b16c7c6
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75734
      
      Reviewed by Daniel Bates.
      
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::addProperty): use HashMap::add() to avoid an
      extra hash lookup to set a new PropertiesVector.
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * svg/properties/SVGAttributeToPropertyMap.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b16c7c6
    • dslomov@google.com's avatar
      Unreviewed: more rebaselines in chromium after r104240. · 255ff1bf
      dslomov@google.com authored
      * platform/chromium-cg-mac-leopard/fast/css/input-search-padding-expected.png: Removed.
      * platform/chromium-cg-mac-leopard/fast/events/context-no-deselect-expected.png: Removed.
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-disabled-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-focus-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-height-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-preventDefault-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-readonly-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-appearance-selection-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-double-click-selection-gap-bug-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-readonly-autoscroll-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-text-click-inside-expected.png: Added.
      * platform/chromium-cg-mac-leopard/fast/forms/input-text-scroll-left-on-blur-expected.png:
      * platform/chromium-cg-mac-leopard/fast/forms/input-text-word-wrap-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug12384-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/textfield-overflow-expected.png.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug18359-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug24200-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug28928-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug4382-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug46368-1-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug46368-2-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug51037-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug55545-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/forms/number/input-appearance-spinbutton-layer-expected.png.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug59354-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug96334-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug99948-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-disabled-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-focus-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-height-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-preventDefault-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-readonly-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-appearance-selection-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-text-click-inside-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-text-scroll-left-on-blur-expected.png:
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-text-word-wrap-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-width-expected.png: Removed.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug12384-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/textfield-overflow-expected.png.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug18359-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug28928-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug4382-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug4527-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug46368-1-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug46368-2-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug51037-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug55545-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug59354-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug96334-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug99948-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Added.
      * platform/chromium-cg-mac/editing/selection/3690703-2-expected.png: Removed.
      * platform/chromium-cg-mac/editing/selection/3690703-expected.png: Removed.
      * platform/chromium-cg-mac/editing/selection/3690719-expected.png: Removed.
      * platform/chromium-cg-mac/editing/selection/4975120-expected.png: Removed.
      * platform/chromium-cg-mac/fast/block/margin-collapse/103-expected.png: Removed.
      * platform/chromium-cg-mac/fast/dom/isindex-001-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-bkcolor-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-focus-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-height-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-appearance-readonly-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/input-double-click-selection-gap-bug-expected.png: Removed.
      * platform/chromium-cg-mac/fast/forms/minWidthPercent-expected.png: Removed.
      * platform/chromium-linux-x86/tables/mozilla/bugs/bug4527-expected.png: Added.
      * platform/chromium-linux/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium-mac-leopard/editing/inserting/before-after-input-element-expected.png:
      * platform/chromium-mac-leopard/editing/pasteboard/4806874-expected.png:
      * platform/chromium-mac-leopard/editing/pasteboard/drop-text-without-selection-expected.png:
      * platform/chromium-mac-leopard/editing/pasteboard/input-field-1-expected.png:
      * platform/chromium-mac-leopard/editing/selection/3690703-2-expected.png:
      * platform/chromium-mac-leopard/editing/selection/3690703-expected.png:
      * platform/chromium-mac-leopard/editing/selection/3690719-expected.png:
      * platform/chromium-mac-leopard/editing/selection/4895428-3-expected.png:
      * platform/chromium-mac-leopard/editing/selection/4975120-expected.png:
      * platform/chromium-mac-leopard/editing/selection/drag-select-1-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-1-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-2-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-3-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-4-expected.png:
      * platform/chromium-mac-leopard/editing/selection/select-across-readonly-input-5-expected.png:
      * platform/chromium-mac-leopard/fast/block/margin-collapse/103-expected.png:
      * platform/chromium-mac-leopard/fast/css/input-search-padding-expected.png:
      * platform/chromium-mac-leopard/fast/css/line-height-expected.png:
      * platform/chromium-mac-leopard/fast/dom/isindex-001-expected.png:
      * platform/chromium-mac-leopard/fast/dom/isindex-002-expected.png:
      * platform/chromium-mac-leopard/fast/events/autoscroll-expected.png:
      * platform/chromium-mac-leopard/fast/events/context-no-deselect-expected.png:
      * platform/chromium-mac-leopard/fast/forms/basic-inputs-expected.png:
      * platform/chromium-mac-leopard/fast/forms/encoding-test-expected.png:
      * platform/chromium-mac-leopard/fast/forms/fieldset-align-expected.png:
      * platform/chromium-mac-leopard/fast/forms/floating-textfield-relayout-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-bkcolor-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-default-bkcolor-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-disabled-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-focus-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-height-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-preventDefault-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-readonly-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-selection-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-visibility-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-appearance-width-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-baseline-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-double-click-selection-gap-bug-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-field-text-truncated-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-placeholder-visibility-1-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-placeholder-visibility-3-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-readonly-autoscroll-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-readonly-dimmed-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-readonly-empty-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-spaces-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-table-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-click-inside-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-click-outside-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-self-emptying-click-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-text-word-wrap-expected.png:
      * platform/chromium-mac-leopard/fast/forms/input-type-text-min-width-expected.png:
      * platform/chromium-mac-leopard/fast/forms/minWidthPercent-expected.png:
      * platform/chromium-mac-leopard/fast/forms/number/input-appearance-number-rtl-expected.png:
      * platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png:
      * platform/chromium-mac-leopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png:
      * platform/chromium-mac-leopard/fast/forms/placeholder-position-expected.png:
      * platform/chromium-mac-leopard/fast/forms/placeholder-pseudo-style-expected.png:
      * platform/chromium-mac-leopard/fast/forms/plaintext-mode-2-expected.png:
      * platform/chromium-mac-leopard/fast/forms/text-style-color-expected.png:
      * platform/chromium-mac-leopard/fast/forms/textfield-focus-ring-expected.png:
      * platform/chromium-mac-leopard/fast/forms/validation-message-appearance-expected.png:
      * platform/chromium-mac-leopard/fast/forms/visual-hebrew-text-field-expected.png:
      * platform/chromium-mac-leopard/fast/frames/take-focus-from-iframe-expected.png:
      * platform/chromium-mac-leopard/fast/html/details-no-summary4-expected.png:
      * platform/chromium-mac-leopard/fast/html/details-open-javascript-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug12384-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug18359-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug24200-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug28928-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug4382-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-1-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug46368-2-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug51037-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug55545-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/number/input-appearance-spinbutton-layer-expected.png.
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug59354-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug96334-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug99948-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png:
      * platform/chromium-mac-snowleopard/editing/inserting/before-after-input-element-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/pasteboard/4806874-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/pasteboard/drop-text-without-selection-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/pasteboard/input-field-1-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/3690703-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/3690703-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/3690719-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/4895428-3-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/4975120-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/drag-select-1-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-1-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-3-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-4-expected.png: Added.
      * platform/chromium-mac-snowleopard/editing/selection/select-across-readonly-input-5-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/block/margin-collapse/103-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/input-search-padding-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/css/line-height-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/dom/isindex-001-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/dom/isindex-002-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/events/autoscroll-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/events/context-no-deselect-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/minWidthPercent-expected.png.
      * platform/chromium-mac-snowleopard/fast/forms/basic-inputs-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/encoding-test-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/fieldset-align-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/floating-textfield-relayout-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-bkcolor-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-default-bkcolor-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-disabled-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-focus-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-height-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-preventDefault-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-readonly-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-selection-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-visibility-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-appearance-width-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-baseline-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-double-click-selection-gap-bug-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-field-text-truncated-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-placeholder-visibility-1-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/input-placeholder-visibility-3-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/input-readonly-autoscroll-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-readonly-dimmed-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-readonly-empty-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-spaces-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-table-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-click-inside-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-click-outside-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-self-emptying-click-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-text-word-wrap-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/input-type-text-min-width-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-number-rtl-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-spinbutton-disabled-readonly-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/number/input-appearance-spinbutton-layer-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-snowleopard/fast/forms/minWidthPercent-expected.png.
      * platform/chromium-mac-snowleopard/fast/forms/placeholder-position-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/placeholder-pseudo-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/plaintext-mode-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/text-style-color-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/textfield-focus-ring-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/textfield-overflow-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/tables/mozilla/bugs/bug12384-expected.png.
      * platform/chromium-mac-snowleopard/fast/forms/validation-message-appearance-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/visual-hebrew-text-field-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/forms/visual-hebrew-text-field-expected.png.
      * platform/chromium-mac-snowleopard/fast/frames/take-focus-from-iframe-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/html/details-no-summary4-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/forms/minWidthPercent-expected.png.
      * platform/chromium-mac-snowleopard/fast/html/details-open-javascript-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug12384-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug12384-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug18359-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug28928-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug4382-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug4527-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46368-1-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug46368-1-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug46368-2-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug51037-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug55545-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/html/details-no-summary4-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug59354-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug7342-expected.png:
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug96334-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug99948-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Added.
      * platform/chromium-mac/editing/inserting/before-after-input-element-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/4806874-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/drop-text-without-selection-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/input-field-1-expected.png: Removed.
      * platform/chromium-mac/editing/selection/3690703-2-expected.png: Removed.
      * platform/chromium-mac/editing/selection/3690703-expected.png: Removed.
      * platform/chromium-mac/editing/selection/3690719-expected.png: Removed.
      * platform/chromium-mac/editing/selection/4895428-3-expected.png: Removed.
      * platform/chromium-mac/editing/selection/4975120-expected.png: Removed.
      * platform/chromium-mac/editing/selection/drag-select-1-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-1-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-2-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-3-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-4-expected.png: Removed.
      * platform/chromium-mac/editing/selection/select-across-readonly-input-5-expected.png: Removed.
      * platform/chromium-mac/fast/block/margin-collapse/103-expected.png: Removed.
      * platform/chromium-mac/fast/css/input-search-padding-expected.png: Removed.
      * platform/chromium-mac/fast/css/line-height-expected.png: Removed.
      * platform/chromium-mac/fast/dom/isindex-001-expected.png: Removed.
      * platform/chromium-mac/fast/dom/isindex-002-expected.png: Removed.
      * platform/chromium-mac/fast/events/autoscroll-expected.png: Removed.
      * platform/chromium-mac/fast/events/context-no-deselect-expected.png: Removed.
      * platform/chromium-mac/fast/forms/encoding-test-expected.png: Removed.
      * platform/chromium-mac/fast/forms/fieldset-align-expected.png: Removed.
      * platform/chromium-mac/fast/forms/floating-textfield-relayout-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-bkcolor-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-default-bkcolor-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-focus-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-height-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-height-expected.txt: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-preventDefault-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-readonly-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-selection-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-visibility-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-appearance-width-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-baseline-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-double-click-selection-gap-bug-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-field-text-truncated-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-readonly-autoscroll-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-readonly-dimmed-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-readonly-empty-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-spaces-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-table-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-click-inside-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-click-outside-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-self-emptying-click-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-text-word-wrap-expected.png: Removed.
      * platform/chromium-mac/fast/forms/input-type-text-min-width-expected.png: Removed.
      * platform/chromium-mac/fast/forms/number/input-appearance-number-rtl-expected.png: Removed.
      * platform/chromium-mac/fast/forms/plaintext-mode-2-expected.png: Removed.
      * platform/chromium-mac/fast/forms/text-style-color-expected.png: Removed.
      * platform/chromium-mac/fast/forms/textfield-focus-ring-expected.png: Removed.
      * platform/chromium-mac/fast/frames/take-focus-from-iframe-expected.png: Removed.
      * platform/chromium-mac/fast/html/details-open-javascript-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug18359-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug28928-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug4382-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug46368-2-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug51037-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug59354-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug96334-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug99948-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla_expected_failures/bugs/bug92647-1-expected.png: Removed.
      * platform/chromium-win/tables/mozilla/bugs/bug4527-expected.png:
      * platform/chromium/fast/block/float/032-expected.png: Added.
      * platform/chromium/fast/forms/input-appearance-height-expected.txt: Renamed from LayoutTests/platform/chromium-cg-mac/fast/forms/input-appearance-height-expected.txt.
      * platform/chromium/fast/forms/input-width-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/input-width-expected.png.
      * platform/chromium/fast/forms/minWidthPercent-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac-leopard/fast/forms/minWidthPercent-expected.png.
      * platform/chromium/tables/mozilla/bugs/bug24200-expected.png: Added.
      * platform/chromium/test_expectations.txt:
      * platform/mac-snowleopard/fast/forms/basic-inputs-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/fieldset-align-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/input-appearance-height-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/input-table-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/placeholder-position-expected.txt: Removed.
      * platform/mac/editing/input/caret-at-the-edge-of-input-expected.txt: Renamed from LayoutTests/editing/input/caret-at-the-edge-of-input-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      255ff1bf
    • simon.fraser@apple.com's avatar
      Fix DRT build on case-sensitive file systems. · 9e96b9c7
      simon.fraser@apple.com authored
      Fix case of include of WebDynamicScrollBarsView.h
      
      * DumpRenderTree/mac/DumpRenderTree.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e96b9c7
    • commit-queue@webkit.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=75296 · 58bd5c51
      commit-queue@webkit.org authored
      JSString should not have JS_EXPORTCLASS annotation
      
      Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-06
      Reviewed by Kevin Ollivier.
      
      * runtime/JSString.h: Removed JS_EXPORTCLASS annotation.
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      Added missing symbols which were hidden by JS_EXPORTCLASS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58bd5c51
    • abarth@webkit.org's avatar
      Source/WebCore: WebCore implementation of the Intent object · be27cd7c
      abarth@webkit.org authored
      See http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html
      for draft spec.
      
      https://bugs.webkit.org/show_bug.cgi?id=73051
      
      Patch by Greg Billock <gbillock@google.com> on 2012-01-06
      Reviewed by Adam Barth.
      
      Test: web-intents/web-intents-api.html
      
      * WebCore.gypi:
      * page/DOMWindow.idl:
      * Modules/intents/Intent.cpp: Added.
      (WebCore::Intent::Intent):
      (WebCore::Intent::action):
      (WebCore::Intent::setAction):
      (WebCore::Intent::type):
      (WebCore::Intent::setType):
      (WebCore::Intent::data):
      (WebCore::Intent::setData):
      (WebCore::Intent::create):
      * Modules/intents/Intent.h: Added.
      * Modules/intents/Intent.idl: Added.
      
      Source/WebKit/chromium: [Web Intents] Flagged-off WebCore implementation of navigator.startActivity
      https://bugs.webkit.org/show_bug.cgi?id=73051
      
      Patch by Greg Billock <gbillock@google.com> on 2012-01-06
      Reviewed by Adam Barth.
      
      * features.gypi:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be27cd7c
    • timothy_horton@apple.com's avatar
      [cg] userSpaceOnUse SVG Patterns have the wrong origin · 359441bd
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75741
      <rdar://problem/9383222>
      
      Reviewed by Simon Fraser.
      
      The transformation from pattern space to user space should use the userToBase CTM,
      not the current CTM.
      
      Test: svg/custom/pattern-userSpaceOnUse-userToBaseTransform.xhtml
      
      * platform/graphics/cg/GraphicsContextCG.cpp:
      (WebCore::GraphicsContext::applyStrokePattern):
      (WebCore::GraphicsContext::applyFillPattern):
      (WebCore::GraphicsContext::getCTM):
      * platform/graphics/cg/TransformationMatrixCG.cpp:
      (WebCore::AffineTransform::AffineTransform): Add a AffineTransform(CGAffineTransform) constructor
      * platform/graphics/transforms/AffineTransform.h:
      
      Add a test that ensures that userSpaceOnUse patterns are rendered in the
      correct orientation and location in both the accelerated compositing and
      regular cases, as well as with SVG translation.
      
      * platform/mac/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png: Added.
      * platform/mac/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.txt: Added.
      * svg/custom/pattern-userSpaceOnUse-userToBaseTransform.xhtml: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      359441bd
    • msaboff@apple.com's avatar
      JSArray::pop() should compare SparseArrayValueMap::find() to SparseArrayValueMap::notFound() · 7ecb1d83
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75757
      
      Reviewed by Gavin Barraclough.
      
      * runtime/JSArray.cpp:
      (JSC::JSArray::pop): Changed map->end() to map->notFound().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ecb1d83
    • commit-queue@webkit.org's avatar
      [chromium] Rebaseline media/media-document-audio-repaint after 74123 goes in. · 56cae44a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75505
      
      Patch by Dale Curtis <dalecurtis@chromium.org> on 2012-01-06
      Reviewed by Dimitri Glazkov.
      
      * platform/chromium-cg-mac-leopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-cg-mac-snowleopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-gpu-cg-mac/media/media-document-audio-repaint-expected.png:
      * platform/chromium-gpu-win/media/media-document-audio-repaint-expected.png:
      * platform/chromium-linux/media/media-document-audio-repaint-expected.png:
      * platform/chromium-mac-leopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-mac-snowleopard/media/media-document-audio-repaint-expected.png:
      * platform/chromium-win/media/media-document-audio-repaint-expected.png:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56cae44a
    • commit-queue@webkit.org's avatar
      LayoutTests/platform/chromium/fast/events/intercept-postmessage.html failing · 2135975e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75718
      
      Patch by Charlie Reis <creis@chromium.org> on 2012-01-06
      Reviewed by Adam Barth.
      
      Removing unnecessary log messages.
      
      * platform/chromium/fast/events/intercept-postmessage-expected.txt:
      * platform/chromium/fast/events/intercept-postmessage.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2135975e
    • simon.fraser@apple.com's avatar
      Avoid falling into tiled layers more often when the device scale factor is > 1 · b6cf421a
      simon.fraser@apple.com authored
      <rdar://problem/10588725>
      
      Source/WebCore:
      
      Reviewed by John Sullivan.
      
      Stop taking the device scale factor into account when deciding to make
      tiled layers.
      
      Test: compositing/tiled-layers-hidpi.html
      
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::requiresTiledLayer):
      
      LayoutTests:
      
      Reviewed by John Sullivan.
      
      Tests that a large layer with a device scale factor of 2 is not tiled.
      
      * compositing/tiled-layers-hidpi-expected.txt: Added.
      * compositing/tiled-layers-hidpi.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6cf421a
    • simon.fraser@apple.com's avatar
      Pixel results from DumpRenderTree and WebKitTestRunner don't match because of colorspace issues · e87b8372
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75662
      
      Reviewed by Dan Bernstein.
      
      The pixel results generated by DumpRenderTree and WebKitTestRunner differed because
      of color profile issues. Fix by keeping everything in device RGB and ensuring that the
      test window uses the main display's color space, so that the pixel values in the bitmap
      that gets checksummed are identical to the CSS colors.
      
      Removed the code that switches the display profile in DRT, since that is no longer required.
      
      * DumpRenderTree/PixelDumpSupport.h: Remove unused function declarations.
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (crashHandler): Remove code that switches display profiles.
      (prepareConsistentTestingEnvironment): Ditto.
      (dumpRenderTree): Ditto.
      * DumpRenderTree/mac/PixelDumpSupportMac.mm: Ditto.
      (createBitmapContext): Use DeviceRGB for the bitmap colorspace.
      (createBitmapContextFromWebView): Add comment about the colorspace handling.
      * WebKitTestRunner/cg/TestInvocationCG.cpp:
      (WTR::createCGContextFromImage): Use a RetainPtr, add comment.
      (WTR::computeMD5HashStringForContext): Simplify the #ifdefs around the braces.
      * WebKitTestRunner/mac/PlatformWebViewMac.mm:
      (WTR::PlatformWebView::PlatformWebView): Set the window's colorspace to that of the main display.
      (WTR::PlatformWebView::windowSnapshotImage): Add comment about colorspaces.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e87b8372
    • rniwa@webkit.org's avatar
      Touch a bunch of files in an attempt to fix Mac release builds. · e0f6b2a6
      rniwa@webkit.org authored
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::get):
      * accessibility/AccessibilityAllInOne.cpp:
      * editing/visible_units.cpp:
      (WebCore::previousBoundary):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0f6b2a6
    • fpizlo@apple.com's avatar
      JIT stub slow paths that would be identical to that of an interpreter should be factored out · 8ee73bee
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75743
      <rdar://problem/10657024>
      
      Reviewed by Geoff Garen.
      
      * GNUmakefile.list.am:
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      * runtime/CommonSlowPaths.h: Added.
      (JSC::CommonSlowPaths::opInstanceOfSlow):
      (JSC::CommonSlowPaths::opIn):
      (JSC::CommonSlowPaths::opResolve):
      (JSC::CommonSlowPaths::opResolveSkip):
      (JSC::CommonSlowPaths::opResolveWithBase):
      (JSC::CommonSlowPaths::opResolveWithThis):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ee73bee
    • noam.rosenthal@nokia.com's avatar
      Enable a compositing trigger for filters · e7d126ca
      noam.rosenthal@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75658
      
      This will enable forcing the compositing code path when filters exist for a RenderObject.
      
      Reviewed by Simon Fraser.
      
      No new functionality so no new tests.
      
      * page/ChromeClient.h:
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::requiresCompositingLayer):
      (WebCore::RenderLayerCompositor::requiresCompositingForFilters):
      * rendering/RenderLayerCompositor.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7d126ca
    • abarth@webkit.org's avatar
      Rebaseline editing/input/caret-at-the-edge-of-input.html. · bc3238b8
      abarth@webkit.org authored
      * platform/chromium-mac-leopard/editing/input/caret-at-the-edge-of-input-expected.png:
      * platform/chromium-mac-snowleopard/editing/input/caret-at-the-edge-of-input-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc3238b8
    • andersca@apple.com's avatar
      Add and use ScrollElasticityControllerClient::absoluteScrollPosition · 49c0f278
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75744
      
      Reviewed by Dan Bernstein.
      
      * platform/mac/ScrollAnimatorMac.h:
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::absoluteScrollPosition):
      (WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
      * platform/mac/ScrollElasticityController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49c0f278
    • abarth@webkit.org's avatar
      Move FrameDestructionObserver to its own file · e45e18f7
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75693
      
      Reviewed by Eric Seidel.
      
      We should have one class per file, on general principles.  Also, this
      make it possible to use this class in DOMWindow without introducing a
      circular include dependency.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * page/Frame.cpp:
      * page/Frame.h:
      * page/FrameDestructionObserver.cpp: Added.
      (WebCore::FrameDestructionObserver::FrameDestructionObserver):
      (WebCore::FrameDestructionObserver::~FrameDestructionObserver):
      (WebCore::FrameDestructionObserver::frameDestroyed):
      * page/FrameDestructionObserver.h: Added.
      (WebCore::FrameDestructionObserver::frame):
      * plugins/DOMMimeType.h:
      * plugins/DOMPlugin.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e45e18f7
    • ddkilzer@apple.com's avatar
      run-api-tests: specify individual suites and tests on the command-line · 0d876f85
      ddkilzer@apple.com authored
      Reviewed by Adam Roben.
      
      Fixes: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
      
      The run-api-tests script will now accept a list of arguments on
      the command-line that are used as prefix filters.  To run all
      tests in a suite that starts with "WTF" (WTF and WTF_Vector)
      use:
      
          $ run-api-tests WTF
      
      To run only the tests in the "WTF" suite, not the "WTF_Vector"
      suite, use:
      
          $ run-api-tests WTF.
      
      * Scripts/run-api-tests: Filter tests if any prefix arguments
      are passed on the command-line.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d876f85
    • ddkilzer@apple.com's avatar
      run-api-tests: change internal representation of tests to array of "SuiteName.TestName" strings · 4f0b6eb1
      ddkilzer@apple.com authored
      Reviewed by Adam Roben.
      
      Part of: <http://webkit.org/b/75065> run-api-tests should be able to run individual suites and tests
      
      * Scripts/run-api-tests:
      (dumpTestsBySuite): Update to accept array of tests instead of
      hash data structure.
      (runTestsBySuite): Ditto.
      (listAllTests): Rename from populateTests().  Update to return
      an array of tests instad of the hash data structure.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f0b6eb1
    • andersca@apple.com's avatar
      Fix Snow Leopard build. · 6bbd79ff
      andersca@apple.com authored
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::immediateScrollBy):
      Move the function definition inside #if ENABLE(RUBBER_BANDING).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bbd79ff
    • dpranke@chromium.org's avatar
      webkitpy: clean up test/uri conversion routines · d96c4bde
      dpranke@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75648
      
      Reviewed by Eric Seidel.
      
      This change moves test_to_uri and uri_to_test from the Port
      class to the Driver class (the routines were only being
      called by the drivers), and removes a bunch of stale and/or
      busted logic.
      
      * Scripts/webkitpy/layout_tests/port/base.py:
      * Scripts/webkitpy/layout_tests/port/base_unittest.py:
      * Scripts/webkitpy/layout_tests/port/chromium.py:
      * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
      * Scripts/webkitpy/layout_tests/port/driver.py:
      (is_http_test):
      (test_to_uri):
      (uri_to_test):
      * Scripts/webkitpy/layout_tests/port/mock_drt.py:
      (run_one_test):
      * Scripts/webkitpy/layout_tests/port/mock_drt_unittest.py:
      (MockDRTTest.input_line):
      (input_line):
      (expected_output):
      * Scripts/webkitpy/layout_tests/port/test.py:
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (_command_from_driver_input):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d96c4bde
    • weinig@apple.com's avatar
      Fix windows build. · 2c2bf5b4
      weinig@apple.com authored
      * wtf/TypeTraits.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c2bf5b4
    • msaboff@apple.com's avatar
      Default HashTraits for Opcode don't work for Opcode = 0 · 07174d85
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75595
      
      Reviewed by Oliver Hunt.
      
      Removed the populating of the m_opcodeIDTable table in the
      case where the OpcodeID and Opcode are the same (m_enabled is false).
      Instead we just cast the one type to the other.
      
      * interpreter/Interpreter.cpp:
      (JSC::Interpreter::initialize):
      (JSC::Interpreter::isOpcode):
      * interpreter/Interpreter.h:
      (JSC::Interpreter::getOpcodeID):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07174d85
    • dslomov@google.com's avatar
      Unreviewed: filed https://bugs.webkit.org/show_bug.cgi?id=75742 · cca140f1
      dslomov@google.com authored
      and updated chromium-mac expectations for fast/forms/input-disabled-color.html.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cca140f1
    • andersca@apple.com's avatar
      Make JavaScriptCore.framework a reference and put it in a Frameworks group · ae521922
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75740
      
      Reviewed by Mark Rowe.
      
      * gtest/xcode/gtest.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae521922
    • ap@apple.com's avatar
      [Mac] Thread verifier assertions when printing · ea18caae
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=75738
      
              Reviewed by Sam Weinig.
      
              * UIProcess/API/mac/WKPrintingView.mm:
              (-[WKPrintingView dealloc]): Dealloc in main thread, so that WebFrameProxy doesn't get
              deref'ed from a secondary one.
              (-[WKPrintingView _adjustPrintingMarginsForHeaderAndFooter]): This method calls out to client,
              which only expects that on main thread.
              (-[WKPrintingView knowsPageRange:]): Call _adjustPrintingMarginsForHeaderAndFooter on main
              thread.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea18caae
    • weinig@apple.com's avatar
      Add a DecayArray type trait as a first step towards merging OwnPtr and OwnArrayPtr · b87c01c8
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75737
      
      Reviewed by Anders Carlsson.
      
      * wtf/TypeTraits.cpp:
      * wtf/TypeTraits.h:
      Added a DecayArray trait, that can convert T[] and T[3] -> T*. DecayArray
      is composed of some helpers which are also exposed, Conditional<>, which
      can provide one type or another based on a boolean predicate, IsArray<>
      which can deduce array types, and RemoveExtent<>, which removes the extent
      from an array type. 
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b87c01c8
    • jonlee@apple.com's avatar
      Clicking on the cancel button on readonly and disabled search fields darkens... · a41f4b6b
      jonlee@apple.com authored
      Clicking on the cancel button on readonly and disabled search fields darkens as if the search field was editable
      https://bugs.webkit.org/show_bug.cgi?id=69886
      <rdar://problem/10070187>
      
      Reviewed by Adele Peterson.
      
      .:
      
      * ManualTests/search-cancel-button.html: Added.
      
      Source/WebCore:
      
      Tests: ManualTests/search-cancel-button.html
      
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::paintSearchFieldCancelButton): If the input is readonly and/or disabled, force the cell to
      render without highlight.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a41f4b6b
    • simon.fraser@apple.com's avatar
      Mitigate scrollbar differences when running pixel tests · d3ee8b30
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=67217
      
      Source/WebCore:
      
      Reviewed by Dan Bernstein.
      
      Export WebCore::Settings::mockScrollbarsEnabled() for DRT.
      
      * WebCore.exp.in:
      
      Source/WebKit/mac:
      
      Reviewed by Dan Bernstein.
      
      Make it possible to register a custom NSScroller class, which
      the WebDynamicScrollBarsView will use when mock scrollbars are enabled.
      
      Also ensure that the WebPreferences mock scrollbars preference is
      migrated into Settings.
      
      * WebView/WebDynamicScrollBarsView.h:
      * WebView/WebDynamicScrollBarsView.mm:
      (+[WebDynamicScrollBarsView _horizontalScrollerClass]):
      (+[WebDynamicScrollBarsView _verticalScrollerClass]):
      (+[WebDynamicScrollBarsView setCustomScrollerClass:]):
      * WebView/WebView.mm:
      (-[WebView _preferencesChanged:]):
      
      Tools:
      
      Reviewed by Dan Bernstein.
      
      Add an NSScroller subclass that draws mock scrollbars identically
      to the WebCore mock scrollbar theme, and register it with the
      WebDynamicScrollbarsView.
      
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (-[DRTMockScroller rectForPart:]):
      (-[DRTMockScroller drawKnob]):
      (-[DRTMockScroller drawRect:]):
      (registerMockScrollbars):
      (prepareConsistentTestingEnvironment):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3ee8b30
    • oliver@apple.com's avatar
      GetByteArrayLength is incorrect · 5b955fb4
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75735
      
      Reviewed by Filip Pizlo.
      
      Load the byte array length from the correct location.
      This stops an existing test from hanging.
      
      * dfg/DFGSpeculativeJIT32_64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      * dfg/DFGSpeculativeJIT64.cpp:
      (JSC::DFG::SpeculativeJIT::compile):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b955fb4
    • tsepez@chromium.org's avatar
      Source/WebCore: Pass Content-Security-Policy directives to worker threads. · 34a3d9f3
      tsepez@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73242
      
      Reviewed by David Levin.
      
      Tests: http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html
             http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html
             http/tests/security/contentSecurityPolicy/worker-connect-src-allowed.html
             http/tests/security/contentSecurityPolicy/worker-connect-src-blocked.html
      
      * page/ContentSecurityPolicy.h:
      (WebCore::ContentSecurityPolicy::policy):
      (WebCore::ContentSecurityPolicy::headerType):
      * workers/DedicatedWorkerContext.cpp:
      (WebCore::DedicatedWorkerContext::DedicatedWorkerContext):
      * workers/DedicatedWorkerContext.h:
      (WebCore::DedicatedWorkerContext::create):
      * workers/DedicatedWorkerThread.cpp:
      (WebCore::DedicatedWorkerThread::create):
      (WebCore::DedicatedWorkerThread::DedicatedWorkerThread):
      (WebCore::DedicatedWorkerThread::createWorkerContext):
      * workers/DedicatedWorkerThread.h:
      * workers/DefaultSharedWorkerRepository.cpp:
      (WebCore::SharedWorkerScriptLoader::notifyFinished):
      (WebCore::DefaultSharedWorkerRepository::workerScriptLoaded):
      * workers/DefaultSharedWorkerRepository.h:
      * workers/SharedWorkerContext.cpp:
      (WebCore::SharedWorkerContext::SharedWorkerContext):
      * workers/SharedWorkerContext.h:
      (WebCore::SharedWorkerContext::create):
      * workers/SharedWorkerThread.cpp:
      (WebCore::SharedWorkerThread::create):
      (WebCore::SharedWorkerThread::SharedWorkerThread):
      (WebCore::SharedWorkerThread::createWorkerContext):
      * workers/SharedWorkerThread.h:
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::WorkerContext):
      * workers/WorkerContext.h:
      * workers/WorkerMessagingProxy.cpp:
      (WebCore::WorkerMessagingProxy::startWorkerContext):
      * workers/WorkerThread.cpp:
      (WebCore::WorkerThreadStartupData::create):
      (WebCore::WorkerThreadStartupData::WorkerThreadStartupData):
      (WebCore::WorkerThread::WorkerThread):
      (WebCore::WorkerThread::workerThread):
      * workers/WorkerThread.h:
      
      Source/WebKit/chromium: Pass Content-security-policy directive to worker threads.
      https://bugs.webkit.org/show_bug.cgi?id=73242
      
      Reviewed by David Levin.
      
      * src/WebSharedWorkerImpl.cpp:
      (WebKit::WebSharedWorkerImpl::startWorkerContext):
      * src/WebWorkerClientImpl.cpp:
      (WebKit::WebWorkerClientImpl::startWorkerContext):
      
      LayoutTests: Pass Content-Security-Policy directives to worker threads.
      https://bugs.webkit.org/show_bug.cgi?id=73242
      
      Reviewed by David Levin.
      
      * http/tests/security/contentSecurityPolicy/resources/shared-worker-make-xhr.js: Added.
      (onconnect):
      * http/tests/security/contentSecurityPolicy/resources/worker-make-xhr.js: Added.
      * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-allowed.html: Added.
      * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/shared-worker-connect-src-blocked.html: Added.
      * http/tests/security/contentSecurityPolicy/worker-connect-src-allowed-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/worker-connect-src-allowed.html: Added.
      * http/tests/security/contentSecurityPolicy/worker-connect-src-blocked-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/worker-connect-src-blocked.html: Added.
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      34a3d9f3
    • mihnea@adobe.com's avatar
      [CSSRegions]Crash while collecting svg elements in render flow thread. · 240c13fa
      mihnea@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=73735
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Tests: fast/regions/svg-doc-fragment-not-collected-expected.html
             fast/regions/svg-doc-fragment-not-collected.html
             fast/regions/svg-element-not-collected-expected.html
             fast/regions/svg-element-not-collected.html
             fast/regions/svg-root-element-collected.html
      
      By allowing only svg root elements to be collected in a render flow thread,
      the svg render tree is properly constructed, thus prevented a possible further crash.
      
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded):
      
      LayoutTests:
      
      * fast/regions/resources/region-style.css:
      * fast/regions/svg-doc-fragment-not-collected-expected.html: Added.
      * fast/regions/svg-doc-fragment-not-collected.html: Added.
      * fast/regions/svg-element-not-collected-expected.html: Added.
      * fast/regions/svg-element-not-collected.html: Added.
      * fast/regions/svg-root-element-collected-expected.txt: Added.
      * fast/regions/svg-root-element-collected.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      240c13fa
    • eric.carlson@apple.com's avatar
      Make TextTrackCue more mutable · ffedf376
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=72555
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Test: media/track/track-cue-mutable.html
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::updateActiveTextTrackCues): Do nothing if the "ignore cue updates"
          flag is set
      (WebCore::HTMLMediaElement::textTrackAddCues): Block cue updates until all of the new cues have
          been added, then call updateActiveTextTrackCues so update the display if necessary.
      (WebCore::HTMLMediaElement::textTrackRemoveCues): Block cue updates until all of the new cues have
          been removed, then call updateActiveTextTrackCues so update the display if necessary.
      (WebCore::HTMLMediaElement::textTrackAddCue): Call updateActiveTextTrackCues so update the display if necessary.
      (WebCore::HTMLMediaElement::textTrackRemoveCue): Ditto.
      * html/HTMLMediaElement.h:
      (WebCore::HTMLMediaElement::ignoreTrackDisplayUpdateRequests):
      (WebCore::HTMLMediaElement::beginIgnoringTrackDisplayUpdateRequests):
      (WebCore::HTMLMediaElement::endIgnoringTrackDisplayUpdateRequests):
      
      * html/TextTrack.cpp:
      (WebCore::TextTrack::cueWillChange): New, remove the cue from the media element because its
          position in the interval tree is based on start and end times.
      (WebCore::TextTrack::cueDidChange): Add the cue to the media element.
      * html/TextTrack.h:
      
      * html/TextTrackCue.cpp:
      (WebCore::startKeyword): New, use a static String for the constant.
      (WebCore::middleKeyword): Ditto.
      (WebCore::endKeyword): Ditto.
      (WebCore::horizontalKeyword): Ditto.
      (WebCore::verticalKeyword): Ditto.
      (WebCore::verticallrKeyword): Ditto.
      (WebCore::TextTrackCue::cueWillChange): New, tell the track the cue is about to change.
      (WebCore::TextTrackCue::cueDidChange): New, tell the track the cue has changed.
      (WebCore::TextTrackCue::setId): New, attribute is mutable.
      (WebCore::TextTrackCue::setStartTime): Ditto.
      (WebCore::TextTrackCue::setEndTime): Ditto.
      (WebCore::TextTrackCue::setPauseOnExit): Ditto.
      (WebCore::TextTrackCue::direction): Ditto.
      (WebCore::TextTrackCue::setDirection): Ditto.
      (WebCore::TextTrackCue::setSnapToLines): Ditto.
      (WebCore::TextTrackCue::setLinePosition): Ditto.
      (WebCore::TextTrackCue::setTextPosition): Ditto.
      (WebCore::TextTrackCue::setSize): Ditto.
      (WebCore::TextTrackCue::alignment): Ditto.
      (WebCore::TextTrackCue::setAlignment): Ditto.
      (WebCore::TextTrackCue::parseSettings): Use the static strings.
      * html/TextTrackCue.h:
      (WebCore::TextTrackCue::id):
      (WebCore::TextTrackCue::startTime):
      (WebCore::TextTrackCue::endTime):
      (WebCore::TextTrackCue::pauseOnExit):
      * html/TextTrackCue.idl:
      
      LayoutTests: 
      
      * media/track/track-cue-mutable-expected.txt: Added.
      * media/track/track-cue-mutable.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffedf376
    • fpizlo@apple.com's avatar
      Fix build. · ecf6e222
      fpizlo@apple.com authored
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ecf6e222
    • oliver@apple.com's avatar
      DFG no longer optimises CanvasPixelArray · 4b7b9f97
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75729
      
      Reviewed by Gavin Barraclough.
      
      Source/JavaScriptCore:
      
      Rename ByteArray (in its ClassInfo) to Uint8ClampedArray to match
      the future name when we switch over to the new typed-array based
      ImageData specification.
      
      * runtime/JSByteArray.cpp:
      
      Source/WebCore:
      
      Remove the custom ClassInfo for CanvasPixelArray as that is
      defeating ByteArray optimisation, and is no longer needed
      anyway as it was only there to change the visible name.
      
      * bindings/js/JSImageDataCustom.cpp:
      (WebCore::toJS):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b7b9f97
    • benjamin@webkit.org's avatar
      [Mac] Sort the resources of WTF.xcodeproj · e89f05e8
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75639
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-01-06
      Reviewed by Andreas Kling.
      
      * WTF.xcodeproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e89f05e8
    • commit-queue@webkit.org's avatar
      ASSERT failure due to combine-text with preceding spaces · f6c35c0b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=65147
      
      Patch by Ken Buchanan <kenrb@chromium.org> on 2012-01-06
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      A couple of ASSERTs were failing due to a parsing problem when
      advancing an inline iterator to the next linebreak in a
      RenderCombineText. skipLeadingWhitespace advances the iterator
      over leading whitespace but when searching for the line break
      nextLineBreak would call RenderCombineText::combineText(),
      collapsing the text so that the iterator is pointing past the
      end of it.
      
      This patch causes combineText() to be called during
      skipLeadingWhiteSpace before iteration over the RenderCombineText
      begins.
      
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::LineBreaker::nextLineBreak):
      (WebCore::RenderBlock::LineBreaker::skipLeadingWhitespace):
      
      LayoutTests:
      
      New test with combine-text that begins with mutiple spaces,
      showing ASSERT failures in bug 65147.
      
      * fast/text/international/spaces-combined-in-vertical-text.html: Added
      * fast/text/international/spaces-combined-in-vertical-text-expected.txt: Added
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6c35c0b
    • andersca@apple.com's avatar
      Make ScrollAnimatorMac::snapRubberBandTimerFired use m_scrollElasticityController in more places · 40542f9b
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75726
      
      Reviewed by Sam Weinig.
      
      * platform/mac/ScrollAnimatorMac.h:
      * platform/mac/ScrollAnimatorMac.mm:
      (WebCore::ScrollAnimatorMac::canScrollHorizontally):
      (WebCore::ScrollAnimatorMac::canScrollVertically):
      (WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
      * platform/mac/ScrollElasticityController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40542f9b
    • psolanki@apple.com's avatar
      WebKit1 fails to compile with USE(CFNETWORK) and HAVE(NETWORK_CFDATA_ARRAY_CALLBACK) · 6119f4bd
      psolanki@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75675
      
      Reviewed by Oliver Hunt.
      
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::willCacheResponse):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6119f4bd
    • ap@apple.com's avatar
      Need to allow SCNetworkReachability service in sandbox profile · 3c2f9b71
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=75724
              <rdar://problem/10652415>
      
              Reviewed by Mark Rowe.
      
              * WebProcess/com.apple.WebProcess.sb:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c2f9b71