<rdar://problem/11575112> and https://bugs.webkit.org/show_bug.cgi?id=88428
REGRESSION (r115654): Opening many non-English WebArchives shows obvious encoding issues

Reviewed by Nate Chapin.

Source/WebCore:

Test: fast/loader/webarchive-encoding-respected.html

* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::commitData): Properly set the main resource encoding from the webarchive.

LayoutTests:

* fast/loader/resources/utf8-encoded.webarchive: Added.
* fast/loader/webarchive-encoding-respected-expected.txt: Added.
* fast/loader/webarchive-encoding-respected.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Chromium rebaseline after r119617 part 4.

* platform/chromium-linux-x86/fast/text/international: Added.
* platform/chromium-linux-x86/fast/text/international/bidi-neutral-run-expected.png: Added.
* platform/chromium-linux-x86/ietestcenter: Added.
* platform/chromium-linux-x86/ietestcenter/css3: Added.
* platform/chromium-linux-x86/ietestcenter/css3/bordersbackgrounds: Added.
* platform/chromium-linux-x86/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png: Added.
* platform/chromium-linux-x86/platform/chromium/compositing: Removed.
* platform/chromium-linux/fast/text/international/bidi-LDB-2-formatting-characters-expected.png:
* platform/chromium-linux/fast/text/international/bidi-european-terminators-expected.png:
* platform/chromium-linux/fast/text/international/bidi-neutral-run-expected.png:
* platform/chromium-linux/fast/text/softHyphen-expected.png:
* platform/chromium-linux/fast/text/wbr-expected.png:
* platform/chromium-linux/fast/text/whitespace/024-expected.png:
* platform/chromium-linux/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png:
* platform/chromium-linux/fast/writing-mode/fieldsets-expected.png:
* platform/chromium-linux/fonts/cursive-expected.png:
* platform/chromium-linux/fonts/default-expected.png:
* platform/chromium-linux/fonts/fantasy-expected.png:
* platform/chromium-linux/fonts/serif-expected.png:
* platform/chromium-linux/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png:
* platform/chromium-linux/media/video-zoom-expected.png:
* platform/chromium-linux/platform/chromium/compositing/layout-width-change-expected.png:
* platform/chromium-linux/platform/chromium/media/video-frame-size-change-expected.png:
* platform/chromium-linux/platform/chromium/virtual/gpu/fast/canvas/canvas-bg-expected.png:
* platform/chromium-linux/printing/return-from-printing-mode-expected.png:
* platform/chromium-linux/scrollbars/basic-scrollbar-expected.png:
* platform/chromium-linux/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-linux/scrollbars/scrollbar-orientation-expected.png:
* platform/chromium-linux/svg/custom/altglyph-expected.png:
* platform/chromium-linux/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
* platform/chromium-linux/svg/custom/text-xy-updates-SVGList-expected.png:
* platform/chromium-linux/svg/dom/SVGLengthList-basics-expected.png:
* platform/chromium-linux/svg/dom/SVGLengthList-insertItemBefore-expected.png:
* platform/chromium-linux/svg/dom/SVGLengthList-replaceItem-expected.png:
* platform/chromium-linux/svg/dom/SVGLengthList-xml-dom-modifications-expected.png:
* platform/chromium-linux/svg/dom/SVGPathSegList-appendItem-expected.png:
* platform/chromium-linux/svg/dom/SVGPathSegList-clear-and-initialize-expected.png:
* platform/chromium-linux/svg/dom/SVGPathSegList-insertItemBefore-expected.png:
* platform/chromium-linux/svg/dom/SVGPathSegList-removeItem-expected.png:
* platform/chromium-linux/svg/dom/SVGPathSegList-replaceItem-expected.png:
* platform/chromium-linux/svg/dom/SVGPointList-basics-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGImageElement-svgdom-preserveAspectRatio-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGTextElement-dom-lengthAdjust-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGTextElement-dom-textLength-attr-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGTextElement-svgdom-lengthAdjust-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop-expected.png:
* platform/chromium-linux/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
* platform/chromium-linux/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png:
* platform/chromium-linux/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png:
* platform/chromium-linux/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png:
* platform/chromium-linux/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png:
* platform/chromium-linux/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
* platform/chromium-linux/svg/text/multichar-glyph-expected.png:
* platform/chromium-linux/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
* platform/chromium-linux/svg/zoom/text/zoom-svg-float-border-padding-expected.png:
* platform/chromium-mac-leopard/media/video-zoom-expected.png:
* platform/chromium-mac-leopard/scrollbars/basic-scrollbar-expected.png:
* platform/chromium-mac-leopard/scrollbars/disabled-scrollbar-expected.png:
* platform/chromium-mac-leopard/scrollbars/listbox-scrollbar-combinations-expected.png:
* platform/chromium-mac-leopard/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-mac-leopard/scrollbars/scrollbar-orientation-expected.png:
* platform/chromium-mac-snowleopard/media/video-zoom-expected.png:
* platform/chromium-mac-snowleopard/platform/chromium/compositing/layout-width-change-expected.png:
* platform/chromium-mac-snowleopard/scrollbars/basic-scrollbar-expected.png:
* platform/chromium-mac-snowleopard/scrollbars/disabled-scrollbar-expected.png:
* platform/chromium-mac-snowleopard/scrollbars/listbox-scrollbar-combinations-expected.png:
* platform/chromium-mac-snowleopard/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-mac-snowleopard/scrollbars/scrollbar-orientation-expected.png:
* platform/chromium-mac/media/video-zoom-expected.png:
* platform/chromium-mac/platform/chromium/compositing/img-layer-grow-expected.png:
* platform/chromium-mac/platform/chromium/compositing/layout-width-change-expected.png:
* platform/chromium-mac/scrollbars/basic-scrollbar-expected.png:
* platform/chromium-mac/scrollbars/disabled-scrollbar-expected.png:
* platform/chromium-mac/scrollbars/listbox-scrollbar-combinations-expected.png:
* platform/chromium-mac/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-mac/scrollbars/scrollbar-orientation-expected.png:
* platform/chromium-win-vista/platform/chromium/compositing: Added.
* platform/chromium-win-vista/platform/chromium/compositing/layout-width-change-expected.png: Added.
* platform/chromium-win-xp/platform/chromium/compositing: Added.
* platform/chromium-win-xp/platform/chromium/compositing/layout-width-change-expected.png: Added.
* platform/chromium-win/fast/text/international/bidi-european-terminators-expected.png:
* platform/chromium-win/fast/text/word-break-expected.png:
* platform/chromium-win/fast/writing-mode/fieldsets-expected.png:
* platform/chromium-win/ietestcenter/css3/bordersbackgrounds/background_position_three_four_values-expected.png:
* platform/chromium-win/media/video-zoom-expected.png:
* platform/chromium-win/platform/chromium/compositing/img-layer-grow-expected.png: Added.
* platform/chromium-win/platform/chromium/compositing/layout-width-change-expected.png:
* platform/chromium-win/platform/chromium/media/video-frame-size-change-expected.png:
* platform/chromium-win/platform/chromium/virtual/gpu/fast/canvas/canvas-bg-expected.png:
* platform/chromium-win/scrollbars/basic-scrollbar-expected.png:
* platform/chromium-win/scrollbars/overflow-scrollbar-combinations-expected.png:
* platform/chromium-win/scrollbars/scrollbar-orientation-expected.png:
* platform/chromium-win/scrollbars/scrollbars-on-positioned-content-expected.png:
* platform/chromium-win/svg/custom/altglyph-expected.png:
* platform/chromium-win/svg/custom/invisible-text-after-scrolling-expected.png:
* platform/chromium-win/svg/custom/junk-data-expected.png:
* platform/chromium-win/svg/custom/missing-xlink-expected.png:
* platform/chromium-win/svg/custom/path-bad-data-expected.png:
* platform/chromium-win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
* platform/chromium-win/svg/custom/text-xy-updates-SVGList-expected.png:
* platform/chromium-win/svg/custom/use-font-face-crash-expected.png:
* platform/chromium-win/svg/dom/SVGLengthList-initialize-expected.png:
* platform/chromium-win/svg/dom/SVGLengthList-xml-dom-modifications-expected.png:
* platform/chromium-win/svg/dom/SVGNumberList-basics-expected.png:
* platform/chromium-win/svg/dom/SVGPathSegList-clear-and-initialize-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEBlendElement-dom-in-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEBlendElement-dom-in2-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEBlendElement-dom-mode-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEBlendElement-svgdom-in-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEBlendElement-svgdom-in2-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEBlendElement-svgdom-mode-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-dom-in-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-dom-type-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-dom-values-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-in-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-type-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEColorMatrixElement-svgdom-values-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGFEComponentTransferElement-svgdom-type-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGLineElement-svgdom-requiredFeatures-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGTextElement-dom-textLength-attr-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGTextElement-svgdom-textLength-prop-expected.png:
* platform/chromium-win/svg/dynamic-updates/SVGUseElement-dom-requiredFeatures-expected.png:
* platform/chromium-win/svg/hixie/error/012-expected.png:
* platform/chromium-win/svg/overflow/overflow-on-outermost-svg-element-defaults-expected.png:
* platform/chromium-win/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-1-expected.png:
* platform/chromium-win/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-2-expected.png:
* platform/chromium-win/svg/overflow/overflow-on-outermost-svg-element-ignore-attribute-3-expected.png:
* platform/chromium-win/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
* platform/chromium-win/svg/repaint/image-with-clip-path-expected.png:
* platform/chromium-win/svg/text/multichar-glyph-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
DFG arguments access slow path should not crash if the arguments haven't been created
https://bugs.webkit.org/show_bug.cgi?id=88471

Reviewed by Gavin Barraclough.

Source/JavaScriptCore: 

* dfg/DFGCCallHelpers.h:
(JSC::DFG::CCallHelpers::setupArgumentsWithExecState):
(CCallHelpers):
* dfg/DFGOperations.cpp:
* dfg/DFGOperations.h:
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::callOperation):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):

LayoutTests: 

* fast/js/dfg-arguments-out-of-bounds-expected.txt: Added.
* fast/js/dfg-arguments-out-of-bounds.html: Added.
* fast/js/dfg-inline-arguments-out-of-bounds-expected.txt: Added.
* fast/js/dfg-inline-arguments-out-of-bounds.html: Added.
* fast/js/script-tests/dfg-arguments-out-of-bounds.js: Added.
(foo.bar):
(foo):
* fast/js/script-tests/dfg-inline-arguments-out-of-bounds.js: Added.
(foo):
(bar):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r119624.
http://trac.webkit.org/changeset/119624
https://bugs.webkit.org/show_bug.cgi?id=88472

Caused worker tests to become flaky (Requested by mhahnenberg
on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-06-06

* workers/AbstractWorker.cpp:
(WebCore::AbstractWorker::~AbstractWorker):
* workers/WorkerMessagingProxy.cpp:
(WebCore::WorkerMessagingProxy::workerObjectDestroyed):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
nrwt should look in 'out' for binaries on chromium win to support ninja
https://bugs.webkit.org/show_bug.cgi?id=88273

Reviewed by Tony Chang.

This patch standardizes the search algorithm the chromium ports
use to figure out which driver to run. We will look in a
chromium location before a webkit location (e.g., in
Source/WebKit/chromium/out before out/) and we will look in the
"legacy" directory (xcodebuild) before the directory ninja uses
(out).

Unfortunately due to the way the test code is set up testing the
properly requires some duplication of test code. I will fix that
in a followup patch.

* Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort):
(ChromiumPort._static_build_path):
(ChromiumPort._build_path):
* Scripts/webkitpy/layout_tests/port/chromium_linux.py:
(ChromiumLinuxPort):
(ChromiumLinuxPort._determine_driver_path_statically):
* Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
(ChromiumLinuxPortTest.test_build_path):
(ChromiumLinuxPortTest):
(ChromiumLinuxPortTest.test_driver_name_option):
(ChromiumLinuxPortTest.path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_mac.py:
(ChromiumMacPort):
* Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
(ChromiumMacPortTest.test_build_path):
(ChromiumMacPortTest):
(ChromiumMacPortTest.test_driver_name_option):
(ChromiumMacPortTest.path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
(ChromiumPortTest.test_overrides_and_builder_names):
* Scripts/webkitpy/layout_tests/port/chromium_win.py:
(ChromiumWinPort):
* Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
(ChromiumWinTest.test_build_path):
(ChromiumWinTest.test_operating_system):
(ChromiumWinTest):
(ChromiumWinTest.test_driver_name_option):
(ChromiumWinPortTest.path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/port_testcase.py:
(PortTestCase.assert_build_path):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Chromium rebaseline after r119617 part 5.

* platform/chromium-linux-x86/tables/mozilla_expected_failures/bugs/bug10140-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/bugs/bug101759-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/bugs/bug10216-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/bugs/bug22122-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/core: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/core/captions3-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/core/columns-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/marvin: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.png: Added.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.png: Added.
* platform/chromium-linux/tables/mozilla/bugs/bug1055-1-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug113235-3-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug11944-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug131020-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug137388-2-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug149275-1-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug16252-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug22019-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug2947-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug32205-2-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug3977-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug43039-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug43854-1-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug46480-2-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug5797-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug650-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug96343-expected.png:
* platform/chromium-linux/tables/mozilla/collapsing_borders/bug41262-3-expected.png:
* platform/chromium-linux/tables/mozilla/core/borders-expected.png:
* platform/chromium-linux/tables/mozilla/core/captions-expected.png:
* platform/chromium-linux/tables/mozilla/core/col_widths_auto_fix-expected.png:
* platform/chromium-linux/tables/mozilla/core/col_widths_fix_fixPer-expected.png:
* platform/chromium-linux/tables/mozilla/core/row_span-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-column-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-column-group-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-row-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/backgr_simple-table-row-group-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/x_table_bgcolor_name-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/x_td_height-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/x_td_nowrap-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/x_th_height-expected.png:
* platform/chromium-linux/tables/mozilla/marvin/x_th_nowrap-expected.png:
* platform/chromium-linux/tables/mozilla/other/nestedTables-expected.png:
* platform/chromium-linux/tables/mozilla/other/test6-expected.png:
* platform/chromium-linux/tables/mozilla/other/wa_table_tr_align-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug10140-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug101759-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug10216-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug14007-2-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug22122-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug32205-1-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug80762-2-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions1-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions3-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/columns-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/standards1-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_border-table-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_border-table-row-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_position-table-cell-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_position-table-column-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/backgr_position-table-row-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/other/test4-expected.png:
* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-expected.png:
* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-origins-expected.png:
* platform/chromium-linux/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.png:
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug10140-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug101759-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug10216-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug106966-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug131020-3-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug19526-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug22122-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/bugs/bug85016-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/core: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/core/captions2-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/core/captions3-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/core/col_span2-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/core/columns-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.png: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/other: Added.
* platform/chromium-win-vista/tables/mozilla_expected_failures/other/empty_cells-expected.png: Added.
* platform/chromium-win-xp/tables/mozilla/bugs/bug131020-expected.png: Removed.
* platform/chromium-win/tables/mozilla/bugs/bug101674-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug10269-2-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug1055-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug113235-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug137388-2-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug149275-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug22019-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug2997-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug38916-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug3977-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug43854-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug46480-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug50695-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug56405-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug625-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug7112-1-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug7112-2-expected.png:
* platform/chromium-win/tables/mozilla/core/borders-expected.png:
* platform/chromium-win/tables/mozilla/core/captions-expected.png:
* platform/chromium-win/tables/mozilla/core/col_span-expected.png:
* platform/chromium-win/tables/mozilla/core/row_span-expected.png:
* platform/chromium-win/tables/mozilla/marvin/backgr_simple-table-row-group-expected.png:
* platform/chromium-win/tables/mozilla/marvin/x_table_bgcolor_name-expected.png:
* platform/chromium-win/tables/mozilla/marvin/x_table_bgcolor_rgb-expected.png:
* platform/chromium-win/tables/mozilla/marvin/x_td_nowrap-expected.png:
* platform/chromium-win/tables/mozilla/marvin/x_th_nowrap-expected.png:
* platform/chromium-win/tables/mozilla/other/cell_widths-expected.png:
* platform/chromium-win/tables/mozilla/other/nestedTables-expected.png:
* platform/chromium-win/tables/mozilla/other/wa_table_thtd_rowspan-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug10140-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug101759-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug10216-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug1055-2-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug106966-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug131020-3-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug19526-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug22122-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/bugs/bug85016-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/core/captions2-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/core/captions3-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/core/col_span2-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/core/columns-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_border-table-column-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_border-table-row-group-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_layers-hide-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.png:
* platform/chromium-win/tables/mozilla_expected_failures/other/empty_cells-expected.png:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Move implementation of WebCore::GraphicsContext3D and related from WebKit/chromium/src to WebCore/platform/chromium/support
https://bugs.webkit.org/show_bug.cgi?id=86257

Reviewed by Kenneth Russell.

Source/WebCore:

The WebCore platform interfaces GraphicsContext3D and Extensions3DChromium are implemented in chromium
on top of the Platform interface WebGraphicsContext3D. This moves the implementation support code from
WebKit/chromium/src to WebCore/platform/chromium/support, which avoids having code in WebKit/ implementing WebCore
interfaces and allows code in WebCore/platform to use this support code directly where appropriate.

Refactor only, no new functionality or tests.

* WebCore.gypi:
* platform/chromium/support/Extensions3DChromium.cpp: Renamed from Source/WebKit/chromium/src/Extensions3DChromium.cpp.
(WebCore):
(WebCore::Extensions3DChromium::Extensions3DChromium):
(WebCore::Extensions3DChromium::~Extensions3DChromium):
(WebCore::Extensions3DChromium::supports):
(WebCore::Extensions3DChromium::ensureEnabled):
(WebCore::Extensions3DChromium::isEnabled):
(WebCore::Extensions3DChromium::getGraphicsResetStatusARB):
(WebCore::Extensions3DChromium::blitFramebuffer):
(WebCore::Extensions3DChromium::renderbufferStorageMultisample):
(WebCore::Extensions3DChromium::postSubBufferCHROMIUM):
(WebCore::Extensions3DChromium::mapBufferSubDataCHROMIUM):
(WebCore::Extensions3DChromium::unmapBufferSubDataCHROMIUM):
(WebCore::Extensions3DChromium::mapTexSubImage2DCHROMIUM):
(WebCore::Extensions3DChromium::unmapTexSubImage2DCHROMIUM):
(WebCore::Extensions3DChromium::setVisibilityCHROMIUM):
(WebCore::Extensions3DChromium::discardFramebufferEXT):
(WebCore::Extensions3DChromium::ensureFramebufferCHROMIUM):
(WebCore::Extensions3DChromium::setGpuMemoryAllocationChangedCallbackCHROMIUM):
(WebCore::Extensions3DChromium::createVertexArrayOES):
(WebCore::Extensions3DChromium::deleteVertexArrayOES):
(WebCore::Extensions3DChromium::isVertexArrayOES):
(WebCore::Extensions3DChromium::bindVertexArrayOES):
(WebCore::Extensions3DChromium::getTranslatedShaderSourceANGLE):
(WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
(WebCore::Extensions3DChromium::rateLimitOffscreenContextCHROMIUM):
(WebCore::Extensions3DChromium::paintFramebufferToCanvas):
(WebCore::Extensions3DChromium::texImageIOSurface2DCHROMIUM):
(WebCore::Extensions3DChromium::texStorage2DEXT):
(WebCore::Extensions3DChromium::createQueryEXT):
(WebCore::Extensions3DChromium::deleteQueryEXT):
(WebCore::Extensions3DChromium::isQueryEXT):
(WebCore::Extensions3DChromium::beginQueryEXT):
(WebCore::Extensions3DChromium::endQueryEXT):
(WebCore::Extensions3DChromium::getQueryivEXT):
(WebCore::Extensions3DChromium::getQueryObjectuivEXT):
* platform/chromium/support/GraphicsContext3DChromium.cpp: Renamed from Source/WebKit/chromium/src/GraphicsContext3DChromium.cpp.
(WebCore):
(WebCore::GraphicsContext3D::GraphicsContext3D):
(WebCore::GraphicsContext3D::~GraphicsContext3D):
(WebCore::GraphicsContext3D::setContextLostCallback):
(WebCore::GraphicsContext3D::setErrorMessageCallback):
(WebCore::GraphicsContext3D::create):
(WebCore::GraphicsContext3D::platformGraphicsContext3D):
(WebCore::GraphicsContext3D::platformTexture):
(WebCore::GraphicsContext3D::grContext):
(WebCore::GraphicsContext3D::platformLayer):
(WebCore::GraphicsContext3D::isGLES2Compliant):
(WebCore::GraphicsContext3D::isResourceSafe):
(WebCore::GraphicsContext3D::bindAttribLocation):
(WebCore::GraphicsContext3D::bufferData):
(WebCore::GraphicsContext3D::getActiveAttrib):
(WebCore::GraphicsContext3D::getActiveUniform):
(WebCore::GraphicsContext3D::getAttribLocation):
(WebCore::GraphicsContext3D::getContextAttributes):
(WebCore::GraphicsContext3D::getProgramInfoLog):
(WebCore::GraphicsContext3D::getShaderInfoLog):
(WebCore::GraphicsContext3D::getShaderSource):
(WebCore::GraphicsContext3D::getString):
(WebCore::GraphicsContext3D::getUniformLocation):
(WebCore::GraphicsContext3D::shaderSource):
(WebCore::GraphicsContext3D::texImage2D):
(WebCore::GraphicsContext3D::texSubImage2D):
(WebCore::GraphicsContext3D::reshape):
(WebCore::GraphicsContext3D::markContextChanged):
(WebCore::GraphicsContext3D::layerComposited):
(WebCore::GraphicsContext3D::markLayerComposited):
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::paintRenderingResultsToImageData):
(WebCore::GraphicsContext3D::paintCompositedResultsToCanvas):
(WebCore::GraphicsContext3D::getExtensions):
(WebCore::GraphicsContext3D::getInternalFramebufferSize):
* platform/chromium/support/GraphicsContext3DPrivate.cpp: Renamed from Source/WebKit/chromium/src/GraphicsContext3DPrivate.cpp.
(WebCore):
(WebCore::GraphicsContext3DPrivate::GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::~GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::createGraphicsContextFromWebContext):
(WebCore::GraphicsContext3DPrivate::extractWebGraphicsContext3D):
(GrMemoryAllocationChangedCallback):
(WebCore::GrMemoryAllocationChangedCallback::GrMemoryAllocationChangedCallback):
(WebCore::GrMemoryAllocationChangedCallback::onGpuMemoryAllocationChanged):
(WebCore::GraphicsContext3DPrivate::grContext):
(WebCore::GraphicsContext3DPrivate::markContextChanged):
(WebCore::GraphicsContext3DPrivate::layerComposited):
(WebCore::GraphicsContext3DPrivate::markLayerComposited):
(WebCore::GraphicsContext3DPrivate::paintFramebufferToCanvas):
(GraphicsContext3DContextLostCallbackAdapter):
(WebCore::GraphicsContext3DContextLostCallbackAdapter::GraphicsContext3DContextLostCallbackAdapter):
(WebCore::GraphicsContext3DContextLostCallbackAdapter::~GraphicsContext3DContextLostCallbackAdapter):
(WebCore::GraphicsContext3DContextLostCallbackAdapter::onContextLost):
(WebCore::GraphicsContext3DPrivate::setContextLostCallback):
(GraphicsContext3DErrorMessageCallbackAdapter):
(WebCore::GraphicsContext3DErrorMessageCallbackAdapter::GraphicsContext3DErrorMessageCallbackAdapter):
(WebCore::GraphicsContext3DErrorMessageCallbackAdapter::~GraphicsContext3DErrorMessageCallbackAdapter):
(WebCore::GraphicsContext3DErrorMessageCallbackAdapter::onErrorMessage):
(WebCore::GraphicsContext3DPrivate::setErrorMessageCallback):
(WebCore::GraphicsContext3DPrivate::getExtensions):
(WebCore::GraphicsContext3DPrivate::initializeExtensions):
(WebCore::GraphicsContext3DPrivate::supportsExtension):
(WebCore::GraphicsContext3DPrivate::ensureExtensionEnabled):
(WebCore::GraphicsContext3DPrivate::isExtensionEnabled):
(WebCore::GraphicsContext3DPrivate::isResourceSafe):
(GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
(WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
(WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::~GraphicsContext3DMemoryAllocationChangedCallbackAdapter):
(WebCore::GraphicsContext3DMemoryAllocationChangedCallbackAdapter::onMemoryAllocationChanged):
(WebCore::GraphicsContext3DPrivate::setGpuMemoryAllocationChangedCallbackCHROMIUM):
(GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
(WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
(WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::~GraphicsContext3DSwapBuffersCompleteCallbackAdapter):
(WebCore::GraphicsContext3DSwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
(WebCore::GraphicsContext3DPrivate::setSwapBuffersCompleteCallbackCHROMIUM):
* platform/chromium/support/GraphicsContext3DPrivate.h: Renamed from Source/WebKit/chromium/src/GraphicsContext3DPrivate.h.
(WebKit):
(WebCore):
(GraphicsContext3DPrivate):
(WebCore::GraphicsContext3DPrivate::webContext):
(WebCore::GraphicsContext3DPrivate::preserveDrawingBuffer):

Source/WebKit/chromium:

* WebKit.gyp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed gardening. Unit test fails on GTK 64bit debug bot.

* gtk/run-api-tests:
(TestRunner): Skip TestWebKitAPI/WTF/TestHashMap.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Win] ASSERT(m_manualStream) failed in PluginView::didFinishLoading running
fast/loader/reload-zero-byte-plugin.html

Skip another affected test on Windows to get the bots greener.

* platform/win/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
webkitpy: add support for an ordered dict of test expectations
https://bugs.webkit.org/show_bug.cgi?id=87802

Reviewed by Ojan Vafai.

As per https://bugs.webkit.org/show_bug.cgi?id=65834 we want to
support a cascaded list of test expectations files. An easy way
to think of this is as an ordered dictionary of name -> contents
for files, where the name is usually a path on disk (I say
usually because we want to support other kinds of expectations
like the compile-time skips for unsupported features in
webkit.py, and we want to continue to support "in-memory" test
expectations that don't require a filesystem).

Conveniently there is an OrderedDict implementation in Python
2.7+ and it is available as a backport, so the first step in
adding this support is to use that implementation. Subsequent
patches will update the test_expectations.py module (and other
callers) to access the dict directly.

This patch just changes the base internal implementation and
provides wrappers for compatibility. The derived ports
(WebKitPort, TestPort, etc.) still need to be updated.

* Scripts/webkitpy/layout_tests/port/base.py:
(Port._expectations_dict):
(Port.test_expectations):
(Port):
(Port._expectations_overrides_dict):
(Port.test_expectations_overrides):
* Scripts/webkitpy/layout_tests/port/port_testcase.py:
(PortTestCase.test_expectations_ordering):
(PortTestCase):
(PortTestCase.test_expectations_overrides_ordering):
* Scripts/webkitpy/thirdparty/ordered_dict.py: Added.
(OrderedDict):
(OrderedDict.__init__):
(OrderedDict.clear):
(OrderedDict.__setitem__):
(OrderedDict.__delitem__):
(OrderedDict.__iter__):
(OrderedDict.__reversed__):
(OrderedDict.popitem):
(OrderedDict.__reduce__):
(OrderedDict.__repr__):
(OrderedDict.copy):
(OrderedDict.fromkeys):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Global object variable accesses should not require an extra load
https://bugs.webkit.org/show_bug.cgi?id=88385

Source/JavaScriptCore: 

Reviewed by Gavin Barraclough and Geoffrey Garen.
        
Previously, if you wanted to access a global variable, you'd first have
to load the register array from the appropriate global object and then
either load or store at an offset to the register array. This is because
JSGlobalObject inherited from JSVariableObject, and JSVariableObject is
designed with the pessimistic assumption that its register array may
point into the call stack. This is never the case for global objects.
Hence, even though the global object may add more registers at any time,
it does not need to store them in a contiguous array. It can use a
SegmentedVector or similar.
        
This patch refactors global objects and variable objects as follows:
        
- The functionality to track variables in an indexable array using a
  SymbolTable to map names to indices is moved into JSSymbolTableObject,
  which is now a supertype of JSVariableObject. JSVariableObject is now
  just a holder for a registers array and implements the registerAt()
  method that is left abstract in JSSymbolTableObject. Because all users
  of JSVariableObject know whether they are a JSStaticScopeObject,
  JSActivation, or JSGlobalObject, this "abstract" method is not virtual;
  instead the utility methods that would call registerAt() are now
  template functions that require you to know statically what subtype of
  JSSymbolTableObject you're using (JSVariableObject or something else),
  so that registerAt() can be statically bound.
        
- A new class is added called JSSegmentedVariableObject, which only
  differs from JSVariableObject in how it allocates registers. It uses a
  SegmentedVector instead of manually managing a pointer to a contiguous
  slab of registers. This changes the interface somewhat; for example
  with JSVariableObject if you wanted to add a register you had to do
  it yourself since the JSVariableObject didn't know how the registers
  array ought to be allocated. With JSSegmentedVariableObject you can
  just call addRegisters(). JSSegmentedVariableObject preserves the
  invariant that once you get a pointer into a register, that pointer
  will continue to be valid so long as the JSSegmentedVariableObject is
  alive. This allows the JITs and interpreters to skip the extra load.
        
- JSGlobalObject now inherits from JSSegmentedVariableObject. For now
  (and possibly forever) it is the only subtype of this new class.
        
- The bytecode format is changed so that get_global_var and
  put_global_var have a pointer to the register directly rather than
  having an index. A convenience method is provided in
  JSSegmentedVariableObject to get the index given a a pointer, which is
  used for assertions and debug dumps.
        
This appears to be a 1% across the board win.

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* Target.pri:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
* bytecode/Instruction.h:
(Instruction):
(JSC::Instruction::Instruction):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::ResolveResult::registerPointer):
(JSC):
(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::retrieveLastUnaryOp):
(JSC::BytecodeGenerator::resolve):
(JSC::BytecodeGenerator::resolveConstDecl):
(JSC::BytecodeGenerator::emitGetStaticVar):
(JSC::BytecodeGenerator::emitPutStaticVar):
* bytecompiler/BytecodeGenerator.h:
(ResolveResult):
(BytecodeGenerator):
* dfg/DFGAssemblyHelpers.h:
(AssemblyHelpers):
* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::globalVarLoadElimination):
(JSC::DFG::CSEPhase::globalVarStoreElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::dump):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::globalObjectFor):
(Graph):
* dfg/DFGNode.h:
(JSC::DFG::Node::hasVarNumber):
(Node):
(JSC::DFG::Node::hasRegisterPointer):
(JSC::DFG::Node::registerPointer):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* heap/Heap.h:
(Heap):
(JSC::Heap::isWriteBarrierEnabled):
(JSC):
* interpreter/Interpreter.cpp:
(JSC::Interpreter::execute):
(JSC::Interpreter::privateExecute):
* jit/JITPropertyAccess.cpp:
(JSC::JIT::emit_op_get_global_var):
(JSC::JIT::emit_op_put_global_var):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::emit_op_get_global_var):
(JSC::JIT::emit_op_put_global_var):
* llint/LowLevelInterpreter32_64.asm:
* llint/LowLevelInterpreter64.asm:
* runtime/JSGlobalObject.cpp:
(JSC):
(JSC::JSGlobalObject::put):
(JSC::JSGlobalObject::putDirectVirtual):
(JSC::JSGlobalObject::defineOwnProperty):
(JSC::JSGlobalObject::visitChildren):
(JSC::JSGlobalObject::addStaticGlobals):
(JSC::JSGlobalObject::getOwnPropertySlot):
(JSC::JSGlobalObject::getOwnPropertyDescriptor):
* runtime/JSGlobalObject.h:
(JSGlobalObject):
(JSC::JSGlobalObject::JSGlobalObject):
(JSC):
(JSC::JSGlobalObject::hasOwnPropertyForWrite):
* runtime/JSSegmentedVariableObject.cpp: Added.
(JSC):
(JSC::JSSegmentedVariableObject::findRegisterIndex):
(JSC::JSSegmentedVariableObject::addRegisters):
(JSC::JSSegmentedVariableObject::visitChildren):
* runtime/JSSegmentedVariableObject.h: Added.
(JSC):
(JSSegmentedVariableObject):
(JSC::JSSegmentedVariableObject::registerAt):
(JSC::JSSegmentedVariableObject::assertRegisterIsInThisObject):
(JSC::JSSegmentedVariableObject::JSSegmentedVariableObject):
(JSC::JSSegmentedVariableObject::finishCreation):
* runtime/JSStaticScopeObject.cpp:
(JSC::JSStaticScopeObject::put):
(JSC::JSStaticScopeObject::putDirectVirtual):
(JSC::JSStaticScopeObject::getOwnPropertySlot):
* runtime/JSSymbolTableObject.cpp: Added.
(JSC):
(JSC::JSSymbolTableObject::destroy):
(JSC::JSSymbolTableObject::deleteProperty):
(JSC::JSSymbolTableObject::getOwnPropertyNames):
(JSC::JSSymbolTableObject::putDirectVirtual):
(JSC::JSSymbolTableObject::isDynamicScope):
* runtime/JSSymbolTableObject.h: Added.
(JSC):
(JSSymbolTableObject):
(JSC::JSSymbolTableObject::symbolTable):
(JSC::JSSymbolTableObject::JSSymbolTableObject):
(JSC::JSSymbolTableObject::finishCreation):
(JSC::symbolTableGet):
(JSC::symbolTablePut):
(JSC::symbolTablePutWithAttributes):
* runtime/JSVariableObject.cpp:
(JSC):
* runtime/JSVariableObject.h:
(JSVariableObject):
(JSC::JSVariableObject::JSVariableObject):
(JSC::JSVariableObject::finishCreation):
(JSC):
* runtime/WriteBarrier.h:

Source/WebCore: 

Reviewed by Gavin Barraclough and Geoffrey Garen.

Updated JSDOMWindowBase.cpp to use the new symbol table API. this->symbolTableFoo(...)
becomes symbolTableFoo(this, ...).
                
No new tests because no change in behavior.

* bindings/js/JSDOMWindowBase.cpp:
(WebCore::JSDOMWindowBase::updateDocument):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revert erroneous change in r119637.

* platform/chromium/TestExpectations:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use enclosingIntRect instead of pixelSnappedIntRect in RenderFileUploadControl
https://bugs.webkit.org/show_bug.cgi?id=88454

Reviewed by Kent Tamura.

Source/WebCore: 

Properly clipping the file upload control to avoid clipping out the top of the file upload button
when the control is positioned at a sub-pixel offset that rounds up.

Test: fast/sub-pixel/file-upload-control-at-fractional-offset.html

* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):

LayoutTests: 

Skipping new test on non-chromium platforms, and correcting a typo in several skipped files.
Also updating the bug number in the gtk skipped file to 85532 from 60318 to better reflect
the outstanding work of enabling each port to support sub-pixel layout, instead of sub-pixel
layout itself.

* fast/sub-pixel/file-upload-control-at-fractional-offset.html: Added.
* platform/chromium-mac-snowleopard/fast/sub-pixel: Added.
* platform/chromium-mac-snowleopard/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/sub-pixel/file-upload-control-at-fractional-offset-expected.txt: Added.
* platform/chromium/TestExpectations:
* platform/efl/Skipped:
* platform/gtk-wk2/Skipped:
* platform/gtk/TestExpectations:
* platform/mac-lion/Skipped:
* platform/mac-snowleopard/Skipped:
* platform/mac-wk2/Skipped:
* platform/mac/Skipped:
* platform/qt-4.8/Skipped:
* platform/qt/Skipped:
* platform/win-wk2/Skipped:
* platform/win-xp/Skipped:
* platform/win/Skipped:
* platform/wincairo/Skipped:
* platform/wk2/Skipped:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
PredictedType should be called SpeculatedType
https://bugs.webkit.org/show_bug.cgi?id=88477

Rubber stamped by Gavin Barraclough.

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* Target.pri:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::shouldOptimizeNow):
(JSC::CodeBlock::dumpValueProfiles):
* bytecode/CodeBlock.h:
(JSC::CodeBlock::valueProfilePredictionForBytecodeOffset):
* bytecode/LazyOperandValueProfile.cpp:
(JSC::LazyOperandValueProfileParser::prediction):
* bytecode/LazyOperandValueProfile.h:
(LazyOperandValueProfileParser):
* bytecode/PredictedType.cpp: Removed.
* bytecode/PredictedType.h: Removed.
* bytecode/SpeculatedType.cpp: Copied from Source/JavaScriptCore/bytecode/PredictedType.cpp.
(JSC::speculationToString):
(JSC::speculationToAbbreviatedString):
(JSC::speculationFromClassInfo):
(JSC::speculationFromStructure):
(JSC::speculationFromCell):
(JSC::speculationFromValue):
* bytecode/SpeculatedType.h: Copied from Source/JavaScriptCore/bytecode/PredictedType.h.
(JSC):
(JSC::isAnySpeculation):
(JSC::isCellSpeculation):
(JSC::isObjectSpeculation):
(JSC::isFinalObjectSpeculation):
(JSC::isFinalObjectOrOtherSpeculation):
(JSC::isFixedIndexedStorageObjectSpeculation):
(JSC::isStringSpeculation):
(JSC::isArraySpeculation):
(JSC::isFunctionSpeculation):
(JSC::isInt8ArraySpeculation):
(JSC::isInt16ArraySpeculation):
(JSC::isInt32ArraySpeculation):
(JSC::isUint8ArraySpeculation):
(JSC::isUint8ClampedArraySpeculation):
(JSC::isUint16ArraySpeculation):
(JSC::isUint32ArraySpeculation):
(JSC::isFloat32ArraySpeculation):
(JSC::isFloat64ArraySpeculation):
(JSC::isArgumentsSpeculation):
(JSC::isActionableIntMutableArraySpeculation):
(JSC::isActionableFloatMutableArraySpeculation):
(JSC::isActionableTypedMutableArraySpeculation):
(JSC::isActionableMutableArraySpeculation):
(JSC::isActionableArraySpeculation):
(JSC::isArrayOrOtherSpeculation):
(JSC::isMyArgumentsSpeculation):
(JSC::isInt32Speculation):
(JSC::isDoubleRealSpeculation):
(JSC::isDoubleSpeculation):
(JSC::isNumberSpeculation):
(JSC::isBooleanSpeculation):
(JSC::isOtherSpeculation):
(JSC::isEmptySpeculation):
(JSC::mergeSpeculations):
(JSC::mergeSpeculation):
* bytecode/StructureSet.h:
(JSC::StructureSet::speculationFromStructures):
* bytecode/ValueProfile.h:
(JSC::ValueProfileBase::ValueProfileBase):
(JSC::ValueProfileBase::dump):
(JSC::ValueProfileBase::computeUpdatedPrediction):
(ValueProfileBase):
* dfg/DFGAbstractState.cpp:
(JSC::DFG::AbstractState::initialize):
(JSC::DFG::AbstractState::execute):
(JSC::DFG::AbstractState::mergeStateAtTail):
* dfg/DFGAbstractState.h:
(JSC::DFG::AbstractState::speculateInt32Unary):
(JSC::DFG::AbstractState::speculateNumberUnary):
(JSC::DFG::AbstractState::speculateBooleanUnary):
(JSC::DFG::AbstractState::speculateInt32Binary):
(JSC::DFG::AbstractState::speculateNumberBinary):
* dfg/DFGAbstractValue.h:
(JSC::DFG::StructureAbstractValue::filter):
(JSC::DFG::StructureAbstractValue::speculationFromStructures):
(JSC::DFG::AbstractValue::AbstractValue):
(JSC::DFG::AbstractValue::clear):
(JSC::DFG::AbstractValue::isClear):
(JSC::DFG::AbstractValue::makeTop):
(JSC::DFG::AbstractValue::clobberStructures):
(JSC::DFG::AbstractValue::isTop):
(JSC::DFG::AbstractValue::set):
(JSC::DFG::AbstractValue::merge):
(JSC::DFG::AbstractValue::filter):
(JSC::DFG::AbstractValue::validateIgnoringValue):
(JSC::DFG::AbstractValue::validate):
(JSC::DFG::AbstractValue::checkConsistency):
(JSC::DFG::AbstractValue::dump):
(AbstractValue):
* dfg/DFGArgumentPosition.h:
(JSC::DFG::ArgumentPosition::ArgumentPosition):
(JSC::DFG::ArgumentPosition::mergeArgumentAwareness):
(JSC::DFG::ArgumentPosition::prediction):
(ArgumentPosition):
* dfg/DFGArgumentsSimplificationPhase.cpp:
(JSC::DFG::ArgumentsSimplificationPhase::run):
* dfg/DFGByteCodeParser.cpp:
(ByteCodeParser):
(JSC::DFG::ByteCodeParser::injectLazyOperandSpeculation):
(JSC::DFG::ByteCodeParser::getLocal):
(JSC::DFG::ByteCodeParser::getArgument):
(JSC::DFG::ByteCodeParser::addCall):
(JSC::DFG::ByteCodeParser::getSpeculationWithoutOSRExit):
(JSC::DFG::ByteCodeParser::getSpeculation):
(InlineStackEntry):
(JSC::DFG::ByteCodeParser::handleCall):
(JSC::DFG::ByteCodeParser::handleIntrinsic):
(JSC::DFG::ByteCodeParser::handleGetById):
(JSC::DFG::ByteCodeParser::parseBlock):
(JSC::DFG::ByteCodeParser::fixVariableAccessSpeculations):
(JSC::DFG::ByteCodeParser::parse):
* dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::getIndexedPropertyStorageLoadElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
* dfg/DFGConstantFoldingPhase.cpp:
(JSC::DFG::ConstantFoldingPhase::run):
* dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::fixDoubleEdge):
* dfg/DFGGraph.cpp:
(JSC::DFG::Graph::nameOfVariableAccessData):
(JSC::DFG::Graph::dump):
(JSC::DFG::Graph::predictArgumentTypes):
* dfg/DFGGraph.h:
(JSC::DFG::Graph::getJSConstantSpeculation):
(JSC::DFG::Graph::isPredictedNumerical):
(JSC::DFG::Graph::byValIsPure):
* dfg/DFGJITCompiler.h:
(JSC::DFG::JITCompiler::getSpeculation):
* dfg/DFGNode.h:
(JSC::DFG::Node::Node):
(JSC::DFG::Node::getHeapPrediction):
(JSC::DFG::Node::predictHeap):
(JSC::DFG::Node::prediction):
(JSC::DFG::Node::predict):
(JSC::DFG::Node::shouldSpeculateInteger):
(JSC::DFG::Node::shouldSpeculateDouble):
(JSC::DFG::Node::shouldSpeculateNumber):
(JSC::DFG::Node::shouldSpeculateBoolean):
(JSC::DFG::Node::shouldSpeculateFinalObject):
(JSC::DFG::Node::shouldSpeculateFinalObjectOrOther):
(JSC::DFG::Node::shouldSpeculateArray):
(JSC::DFG::Node::shouldSpeculateArguments):
(JSC::DFG::Node::shouldSpeculateInt8Array):
(JSC::DFG::Node::shouldSpeculateInt16Array):
(JSC::DFG::Node::shouldSpeculateInt32Array):
(JSC::DFG::Node::shouldSpeculateUint8Array):
(JSC::DFG::Node::shouldSpeculateUint8ClampedArray):
(JSC::DFG::Node::shouldSpeculateUint16Array):
(JSC::DFG::Node::shouldSpeculateUint32Array):
(JSC::DFG::Node::shouldSpeculateFloat32Array):
(JSC::DFG::Node::shouldSpeculateFloat64Array):
(JSC::DFG::Node::shouldSpeculateArrayOrOther):
(JSC::DFG::Node::shouldSpeculateObject):
(JSC::DFG::Node::shouldSpeculateCell):
(Node):
* dfg/DFGPredictionPropagationPhase.cpp:
(JSC::DFG::PredictionPropagationPhase::setPrediction):
(JSC::DFG::PredictionPropagationPhase::mergePrediction):
(JSC::DFG::PredictionPropagationPhase::propagate):
(JSC::DFG::PredictionPropagationPhase::doRoundOfDoubleVoting):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::fillStorage):
(JSC::DFG::SpeculativeJIT::writeBarrier):
(JSC::DFG::GPRTemporary::GPRTemporary):
(JSC::DFG::FPRTemporary::FPRTemporary):
(JSC::DFG::SpeculativeJIT::compilePeepHoleDoubleBranch):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectEquality):
(JSC::DFG::SpeculativeJIT::compilePeepHoleBranch):
(JSC::DFG::SpeculativeJIT::compile):
(JSC::DFG::SpeculativeJIT::checkArgumentTypes):
(JSC::DFG::SpeculativeJIT::compileGetCharCodeAt):
(JSC::DFG::SpeculativeJIT::compileGetByValOnString):
(JSC::DFG::SpeculativeJIT::compileValueToInt32):
(JSC::DFG::SpeculativeJIT::compileDoubleAsInt32):
(JSC::DFG::SpeculativeJIT::compileInt32ToDouble):
(JSC::DFG::SpeculativeJIT::compileGetTypedArrayLength):
(JSC::DFG::SpeculativeJIT::compileGetByValOnIntTypedArray):
(JSC::DFG::SpeculativeJIT::compilePutByValForIntTypedArray):
(JSC::DFG::SpeculativeJIT::compileGetByValOnFloatTypedArray):
(JSC::DFG::SpeculativeJIT::compilePutByValForFloatTypedArray):
(JSC::DFG::SpeculativeJIT::compileInstanceOf):
(JSC::DFG::SpeculativeJIT::compileAdd):
(JSC::DFG::SpeculativeJIT::compileArithSub):
(JSC::DFG::SpeculativeJIT::compileArithNegate):
(JSC::DFG::SpeculativeJIT::compileArithMul):
(JSC::DFG::SpeculativeJIT::compileArithMod):
(JSC::DFG::SpeculativeJIT::compare):
(JSC::DFG::SpeculativeJIT::compileStrictEq):
(JSC::DFG::SpeculativeJIT::compileGetIndexedPropertyStorage):
(JSC::DFG::SpeculativeJIT::compileGetByValOnArguments):
(JSC::DFG::SpeculativeJIT::compileGetArgumentsLength):
(JSC::DFG::SpeculativeJIT::compileRegExpExec):
* dfg/DFGSpeculativeJIT.h:
(DFG):
(JSC::DFG::ValueSource::forSpeculation):
(SpeculativeJIT):
(GPRTemporary):
(FPRTemporary):
(JSC::DFG::SpecDoubleOperand::SpecDoubleOperand):
(JSC::DFG::SpecDoubleOperand::~SpecDoubleOperand):
(JSC::DFG::SpecDoubleOperand::fpr):
(JSC::DFG::SpecCellOperand::SpecCellOperand):
(JSC::DFG::SpecCellOperand::~SpecCellOperand):
(JSC::DFG::SpecCellOperand::gpr):
(JSC::DFG::SpecBooleanOperand::SpecBooleanOperand):
(JSC::DFG::SpecBooleanOperand::~SpecBooleanOperand):
(JSC::DFG::SpecBooleanOperand::gpr):
* dfg/DFGSpeculativeJIT32_64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpecDouble):
(JSC::DFG::SpeculativeJIT::fillSpecCell):
(JSC::DFG::SpeculativeJIT::fillSpecBoolean):
(JSC::DFG::SpeculativeJIT::compileObjectEquality):
(JSC::DFG::SpeculativeJIT::compileObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compileDoubleCompare):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitBranch):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT64.cpp:
(JSC::DFG::SpeculativeJIT::fillSpeculateIntInternal):
(JSC::DFG::SpeculativeJIT::fillSpecDouble):
(JSC::DFG::SpeculativeJIT::fillSpecCell):
(JSC::DFG::SpeculativeJIT::fillSpecBoolean):
(JSC::DFG::SpeculativeJIT::compileObjectEquality):
(JSC::DFG::SpeculativeJIT::compileObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compilePeepHoleObjectToObjectOrOtherEquality):
(JSC::DFG::SpeculativeJIT::compileDoubleCompare):
(JSC::DFG::SpeculativeJIT::compileLogicalNot):
(JSC::DFG::SpeculativeJIT::emitBranch):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGVariableAccessData.h:
(JSC::DFG::VariableAccessData::VariableAccessData):
(JSC::DFG::VariableAccessData::predict):
(JSC::DFG::VariableAccessData::nonUnifiedPrediction):
(JSC::DFG::VariableAccessData::prediction):
(JSC::DFG::VariableAccessData::argumentAwarePrediction):
(JSC::DFG::VariableAccessData::mergeArgumentAwarePrediction):
(JSC::DFG::VariableAccessData::shouldUseDoubleFormatAccordingToVote):
(JSC::DFG::VariableAccessData::makePredictionForDoubleFormat):
(VariableAccessData):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/chromium: [Chromium] DeviceOrientation cleanup
https://bugs.webkit.org/show_bug.cgi?id=88406

Patch by Amy Ousterhout <aousterh@chromium.org> on 2012-06-06
Reviewed by Kent Tamura.

Made default constructor public and added a set function for each property.
This will allow us to remove the 8-parameter constructor.

* public/WebDeviceOrientation.h:
(WebKit::WebDeviceOrientation::WebDeviceOrientation):
(WebKit::WebDeviceOrientation::setNull):
(WebKit::WebDeviceOrientation::setAlpha):
(WebKit::WebDeviceOrientation::setBeta):
(WebKit::WebDeviceOrientation::setGamma):
(WebKit::WebDeviceOrientation::setAbsolute):
(WebDeviceOrientation):

Tools: [WebKit] DeviceOrientation cleanup
https://bugs.webkit.org/show_bug.cgi?id=88406

Patch by Amy Ousterhout <aousterh@chromium.org> on 2012-06-06
Reviewed by Kent Tamura.

Updated LayoutTestController to use new public default constructor in WebDeviceOrientation.h.

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::setMockDeviceOrientation):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Remove header dependency of ImageDiff to WTF
https://bugs.webkit.org/show_bug.cgi?id=88422

Reviewed by Adam Barth.

* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
* DumpRenderTree/chromium/ImageDiff.cpp:
(untestedCompareImages):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix border-image-slice failures on http://css3test.com.
https://bugs.webkit.org/show_bug.cgi?id=88328

Reviewed by Tony Chang.

Source/WebCore:

The old parsing code was assuming that the fill keyword comes after the
numbers or the percentage values. http://www.w3.org/TR/css3-background/#the-border-image-slice
defines the property like this : [<number> | <percentage>]{1,4} && fill? where the fill
keyword is not mandatory. But according to http://www.w3.org/TR/CSS2/about.html "&&"
separates two or more components, all of which must occur, in any order. So the previous
code was wrong the fill can come first following by the percentages or the numbers. http://css3test.com
was covering this particular case. I took the opportunity to extend our coverage
by adding tests on many different values the boder-image-slice property could take. I
also did a small cleanup by removing unused functions in BorderImageSliceParseContext.

Test: fast/css/getComputedStyle/getComputedStyle-border-image-slice.html

* css/CSSParser.cpp:
(WebCore::BorderImageSliceParseContext::BorderImageSliceParseContext):
(WebCore::BorderImageSliceParseContext::commitNumber):
(WebCore::BorderImageSliceParseContext::commitFill):

LayoutTests:

Make sure we cover more border-image-slice parsing.

* fast/css/getComputedStyle/getComputedStyle-border-image-slice-expected.txt: Added.
* fast/css/getComputedStyle/getComputedStyle-border-image-slice.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a test for PNG COLOR_TYPE_PALETTE image with a color profile
https://bugs.webkit.org/show_bug.cgi?id=86722

Reviewed by Adam Barth

Add paletted PNG image with a color profile and write a test. Add platform exceptions
since color correction is not implemented on all platforms. Note: that wincairo skips
fast/images/*.

* fast/images/paletted-png-with-color-profile-expected.txt: Added.
* fast/images/paletted-png-with-color-profile.html: Added.
* fast/images/resources/palatted-color-png-gamma-one-color-profile.png: Added.
* platform/chromium/TestExpectations: No color correction for paletted PNG images.
* platform/efl/TestExpectations: SKIP, no color correction.
* platform/gtk/TestExpectations: SKIP, no color correction.
* platform/mac-snowleopard/fast/images/paletted-png-with-color-profile-expected.png: Added.
The image is a 64-color, paletted PNG image containing a gamma 1.0 sRGB color profile.
See the bug for more detailed properties of the test image and its color profile.
* platform/qt/TestExpectations: SKIP, no color correction.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add failing test expectation for the test added by r119644.
The failure is tracked by the bug 88481.

* platform/chromium/TestExpectations:
* platform/efl/TestExpectations:
* platform/gtk/TestExpectations:
* platform/qt/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Move createMessagePortChannel to Platform.h
https://bugs.webkit.org/show_bug.cgi?id=85764

Source/Platform:

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

* Platform.gypi:
* chromium/public/Platform.h:
(WebKit):
(Platform):
(WebKit::Platform::createMessagePortChannel):
* chromium/public/WebMessagePortChannel.h: Added.
(WebKit):
(WebMessagePortChannel):
(WebKit::WebMessagePortChannel::~WebMessagePortChannel):
* chromium/public/WebMessagePortChannelClient.h: Added.
(WebKit):
(WebMessagePortChannelClient):
(WebKit::WebMessagePortChannelClient::~WebMessagePortChannelClient):

Source/WebKit/chromium:

Reviewed by Adam Barth.

Part of a refactoring series. See tracking bug 82948.

* WebKit.gyp:
* public/WebFrame.h:
(WebFrame):
* public/WebMessagePortChannel.h:
* public/WebMessagePortChannelClient.h:
* public/WebSharedWorkerClient.h:
(WebSharedWorkerClient):
* public/platform/WebKitPlatformSupport.h:
(WebKit):
(WebKit::WebKitPlatformSupport::injectIDBKeyIntoSerializedValue):
* src/PlatformMessagePortChannel.cpp:
(WebCore::PlatformMessagePortChannel::PlatformMessagePortChannel):
* src/PlatformMessagePortChannel.h:
* src/SharedWorkerRepository.cpp:
* src/WebSharedWorkerImpl.cpp:


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