[Qt] Make sure that an AC sync is triggered when the canvas contents is updated.
https://bugs.webkit.org/show_bug.cgi?id=92128

Reviewed by Kenneth Rohde Christiansen.

This would cause missed frames when animating an accelerated 2D canvas without
touching the document.

* WebProcess/WebPage/LayerTreeCoordinator/WebGraphicsLayer.cpp:
(WebCore::WebGraphicsLayer::setContentsNeedsDisplay):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/carto.net rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92152

Unreviewed.

* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt-5.0/svg/carto.net/window-expected.png: Removed.
* platform/qt-5.0/svg/carto.net/window-expected.txt: Removed.
* platform/qt/svg/carto.net/button-expected.png:
* platform/qt/svg/carto.net/button-expected.txt:
* platform/qt/svg/carto.net/colourpicker-expected.png:
* platform/qt/svg/carto.net/colourpicker-expected.txt:
* platform/qt/svg/carto.net/scrollbar-expected.png:
* platform/qt/svg/carto.net/scrollbar-expected.txt:
* platform/qt/svg/carto.net/selectionlist-expected.png:
* platform/qt/svg/carto.net/selectionlist-expected.txt:
* platform/qt/svg/carto.net/slider-expected.png:
* platform/qt/svg/carto.net/slider-expected.txt:
* platform/qt/svg/carto.net/tabgroup-expected.png:
* platform/qt/svg/carto.net/tabgroup-expected.txt:
* platform/qt/svg/carto.net/textbox-expected.png:
* platform/qt/svg/carto.net/textbox-expected.txt:
* platform/qt/svg/carto.net/window-expected.png:
* platform/qt/svg/carto.net/window-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium/mac] Add cursor resource pngs to the pak file.
https://bugs.webkit.org/show_bug.cgi?id=92148

Reviewed by Tony Chang.

Once https://chromiumcodereview.appspot.com/10817031/ has landed, they can be
removed from WebCore.gyp's mac_bundle_resources. Part of http://crbug.com/137588

* WebKit.grd:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] fast/block/basic needs rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92149

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-24
Reviewed by Alexis Menard.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt-5.0/Skipped:
* platform/qt/fast/block/basic/001-expected.png:
* platform/qt/fast/block/basic/001-expected.txt:
* platform/qt/fast/block/basic/002-expected.png:
* platform/qt/fast/block/basic/002-expected.txt:
* platform/qt/fast/block/basic/003-expected.png:
* platform/qt/fast/block/basic/003-expected.txt:
* platform/qt/fast/block/basic/004-expected.png:
* platform/qt/fast/block/basic/004-expected.txt:
* platform/qt/fast/block/basic/005-expected.png:
* platform/qt/fast/block/basic/005-expected.txt:
* platform/qt/fast/block/basic/006-expected.png:
* platform/qt/fast/block/basic/006-expected.txt:
* platform/qt/fast/block/basic/007-expected.png:
* platform/qt/fast/block/basic/007-expected.txt:
* platform/qt/fast/block/basic/008-expected.png:
* platform/qt/fast/block/basic/008-expected.txt:
* platform/qt/fast/block/basic/009-expected.png:
* platform/qt/fast/block/basic/009-expected.txt:
* platform/qt/fast/block/basic/010-expected.png:
* platform/qt/fast/block/basic/010-expected.txt:
* platform/qt/fast/block/basic/011-expected.png:
* platform/qt/fast/block/basic/011-expected.txt:
* platform/qt/fast/block/basic/012-expected.png:
* platform/qt/fast/block/basic/012-expected.txt:
* platform/qt/fast/block/basic/013-expected.png:
* platform/qt/fast/block/basic/013-expected.txt:
* platform/qt/fast/block/basic/014-expected.png:
* platform/qt/fast/block/basic/014-expected.txt:
* platform/qt/fast/block/basic/015-expected.png:
* platform/qt/fast/block/basic/015-expected.txt:
* platform/qt/fast/block/basic/016-expected.png:
* platform/qt/fast/block/basic/016-expected.txt:
* platform/qt/fast/block/basic/018-expected.png:
* platform/qt/fast/block/basic/018-expected.txt:
* platform/qt/fast/block/basic/019-expected.png:
* platform/qt/fast/block/basic/019-expected.txt:
* platform/qt/fast/block/basic/020-expected.txt:
* platform/qt/fast/block/basic/021-expected.png:
* platform/qt/fast/block/basic/021-expected.txt:
* platform/qt/fast/block/basic/adding-near-anonymous-block-expected.png:
* platform/qt/fast/block/basic/adding-near-anonymous-block-expected.txt:
* platform/qt/fast/block/basic/minheight-expected.png:
* platform/qt/fast/block/basic/minheight-expected.txt:
* platform/qt/fast/block/basic/percent-height-inside-anonymous-block-expected.png:
* platform/qt/fast/block/basic/percent-height-inside-anonymous-block-expected.txt:
* platform/qt/fast/block/basic/quirk-height-expected.png:
* platform/qt/fast/block/basic/quirk-height-expected.txt:
* platform/qt/fast/block/basic/truncation-rtl-expected.png:
* platform/qt/fast/block/basic/truncation-rtl-expected.txt:
* platform/qt/fast/block/basic/white-space-pre-wraps-expected.png:
* platform/qt/fast/block/basic/white-space-pre-wraps-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Add a bounding box member in WebGestureEvent
https://bugs.webkit.org/show_bug.cgi?id=92144

Patch by Terry Anderson <tdanderson@chromium.org> on 2012-07-24
Reviewed by Adam Barth.

The new |boundingBox| member will be used to store the touch region for a WebGestureEvent.
This will be useful for gesture target fuzzing across multiple different gesture types
(tap, long press, scroll, etc.)

* public/WebInputEvent.h:
(WebGestureEvent):
* src/WebInputEvent.cpp:
(SameSizeAsWebGestureEvent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Rebaseline - gardening stuff.
        
Unreviewed.

* fast/canvas/webgl/framebuffer-object-attachment-expected.txt:
* fast/canvas/webgl/framebuffer-object-attachment.html:
* fast/canvas/webgl/resources/webgl-test-utils.js:
(WebGLTestUtils):
* platform/chromium-linux-x86/css3/selectors3/html: Removed.
* platform/chromium-linux-x86/css3/selectors3/xhtml: Removed.
* platform/chromium-linux-x86/css3/selectors3/xml: Removed.
* platform/chromium-linux-x86/tables/mozilla_expected_failures/core: Removed.
* platform/chromium-linux/compositing/overflow/theme-affects-visual-overflow-expected.png:
* platform/chromium-linux/css1/box_properties/acid_test-expected.png:
* platform/chromium-linux/css2.1/t09-c5526c-display-00-e-expected.png:
* platform/chromium-linux/css3/selectors3/html/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/html/css3-modsel-70-expected.png:
* platform/chromium-linux/css3/selectors3/xhtml/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/xhtml/css3-modsel-70-expected.png:
* platform/chromium-linux/css3/selectors3/xml/css3-modsel-25-expected.png:
* platform/chromium-linux/css3/selectors3/xml/css3-modsel-70-expected.png:
* platform/chromium-linux/fast/block/basic/011-expected.png:
* platform/chromium-linux/fast/block/margin-collapse/103-expected.png:
* platform/chromium-linux/fast/css/non-standard-checkbox-size-expected.png:
* platform/chromium-linux/fast/forms/001-expected.png:
* platform/chromium-linux/fast/forms/basic-inputs-expected.png:
* platform/chromium-linux/fast/forms/box-shadow-override-expected.png:
* platform/chromium-linux/fast/forms/file/file-input-disabled-expected.png:
* platform/chromium-linux/fast/forms/form-element-geometry-expected.png:
* platform/chromium-linux/fast/forms/formmove-expected.png:
* platform/chromium-linux/fast/forms/formmove2-expected.png:
* platform/chromium-linux/fast/forms/indeterminate-expected.png:
* platform/chromium-linux/fast/forms/input-appearance-height-expected.png:
* platform/chromium-linux/fast/forms/input-value-expected.png:
* platform/chromium-linux/fast/inline/positionedLifetime-expected.png:
* platform/chromium-linux/fast/parser/bad-xml-slash-expected.png:
* platform/chromium-linux/fast/replaced/replaced-breaking-expected.png:
* platform/chromium-linux/fast/replaced/width100percent-checkbox-expected.png:
* platform/chromium-linux/fast/text/textIteratorNilRenderer-expected.png:
* platform/chromium-linux/fast/text/whitespace/normal-after-nowrap-breaking-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug1318-expected.png:
* platform/chromium-linux/tables/mozilla/bugs/bug4527-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions1-expected.png:
* platform/chromium-linux/tables/mozilla_expected_failures/core/captions2-expected.png:
* platform/chromium-mac-snowleopard/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.
* platform/chromium-win-xp/fast/text/whitespace/normal-after-nowrap-breaking-expected.png: Removed.
* platform/mac-snowleopard/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.
* platform/mac/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Create SourceBuffer and SourceBufferList objects
https://bugs.webkit.org/show_bug.cgi?id=91771

Reviewed by Eric Carlson.

SourceBuffer and SourceBufferList objects are needed in order to
implement the new object-oriented MediaSource API:
http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html

No new tests - will be able to test after landing BUGWK91775

Adding new files to build files:
* CMakeLists.txt:
* DerivedSources.cpp:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.am:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcproj/WebCoreCommon.vsprops:
* WebCore.vcproj/copyForwardingHeaders.cmd:
* WebCore.xcodeproj/project.pbxproj:

New objects:
* Modules/mediasource/SourceBuffer.cpp: Added.
* Modules/mediasource/SourceBuffer.h: Added.
* Modules/mediasource/SourceBuffer.idl: Added.
* Modules/mediasource/SourceBufferList.cpp: Added.
* Modules/mediasource/SourceBufferList.h: Added.
* Modules/mediasource/SourceBufferList.idl: Added.

New events:
* dom/EventNames.h:
(WebCore):
* dom/EventTarget.h:
(WebCore):
* dom/EventTargetFactory.in:

Object constructors:
* page/DOMWindow.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/clip-path rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92158

Unreviewed.

Create a separate bug to track two tests that had wrong expected results before
the font change.

* platform/qt-5.0/Skipped:
* platform/qt/svg/clip-path/clip-path-pixelation-expected.png:
* platform/qt/svg/clip-path/clip-path-pixelation-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-and-shape-expected.png:
* platform/qt/svg/clip-path/clip-path-text-and-shape-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-and-stroke-expected.png:
* platform/qt/svg/clip-path/clip-path-text-and-stroke-expected.txt:
* platform/qt/svg/clip-path/clip-path-text-expected.png:
* platform/qt/svg/clip-path/clip-path-text-expected.txt:
* platform/qt/svg/clip-path/clip-path-tspan-and-stroke-expected.png:
* platform/qt/svg/clip-path/clip-path-tspan-and-stroke-expected.txt:
* platform/qt/svg/clip-path/clip-path-with-text-clipped-expected.png:
* platform/qt/svg/clip-path/clip-path-with-text-clipped-expected.txt:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt:
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-expected.png: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-expected.txt: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png: Removed.
* platform/qt/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make RenderBlock::paintChildren virtual so sub classes can change the paint order
https://bugs.webkit.org/show_bug.cgi?id=92042

Reviewed by Ojan Vafai.

The flexbox spec says that the order property should change the paint order of flex children.
To make that possible, make paintChildren virtual so RenderFlexibleBox can override it.

No new tests, this is just a refactoring.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::paintContents): Move some code out of paintChildren into paintContents.
(WebCore::RenderBlock::paintChildren): Make virtual and just have it be a simple for loop.
(WebCore::RenderBlock::paintChild): Move code out of paintChildren so subclasses can reuse.
* rendering/RenderBlock.h:
(RenderBlock): Make paintChildren virtual and protected so sub classes can call paintChild.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Crash in RenderTableSection::layoutRows
https://bugs.webkit.org/show_bug.cgi?id=92145

Reviewed by Abhishek Arya.

Source/WebCore:

The crash came from the insertChildNode logic being confused and choosing the wrong
renderer for insertion. This is because after r123159, table anonymous wrappers can
be created as 'inline-table' and wouldn't pass the isAnonymousBlock() check.

This change also aligns the ancestor iteration with RenderBlock::addChildToAnonymousColumnBlocks.

Test: fast/table/crash-table-section-layoutRows.html

* rendering/RenderObjectChildList.cpp:
(WebCore::RenderObjectChildList::insertChildNode):
Changed the code to always get the right child. There is no justification to not
walking up to the |owner|'s direct child in all cases.

LayoutTests:

* fast/table/crash-table-section-layoutRows-expected.txt: Added.
* fast/table/crash-table-section-layoutRows.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Do not call settings setters twice on page construction
https://bugs.webkit.org/show_bug.cgi?id=92157

Reviewed by Yong Li.

The WebPagePrivate init method sets some settings value that were
already set in didChangeSettings.
Also call didChangeSettings explicitly from init, before that we are
not calling it since the delegate is not set yet.

* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::init):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] svg/batik rebaseline after new test fonts
https://bugs.webkit.org/show_bug.cgi?id=92162

Unreviewed.

* platform/qt-5.0/Skipped:
* platform/qt-5.0/svg/batik/text/smallFonts-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/smallFonts-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textAnchor-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textAnchor-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textEffect-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textEffect-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textEffect3-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textEffect3-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textPosition-expected.txt: Removed.
* platform/qt-5.0/svg/batik/text/textPosition2-expected.png: Removed.
* platform/qt-5.0/svg/batik/text/textPosition2-expected.txt: Removed.
* platform/qt/svg/batik/filters/filterRegions-expected.png:
* platform/qt/svg/batik/filters/filterRegions-expected.txt:
* platform/qt/svg/batik/masking/maskRegions-expected.png:
* platform/qt/svg/batik/masking/maskRegions-expected.txt:
* platform/qt/svg/batik/paints/patternPreserveAspectRatioA-expected.png:
* platform/qt/svg/batik/paints/patternPreserveAspectRatioA-expected.txt:
* platform/qt/svg/batik/paints/patternRegionA-expected.png:
* platform/qt/svg/batik/paints/patternRegionA-expected.txt:
* platform/qt/svg/batik/paints/patternRegions-expected.png:
* platform/qt/svg/batik/paints/patternRegions-expected.txt:
* platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.png:
* platform/qt/svg/batik/paints/patternRegions-positioned-objects-expected.txt:
* platform/qt/svg/batik/text/longTextOnPath-expected.png:
* platform/qt/svg/batik/text/longTextOnPath-expected.txt:
* platform/qt/svg/batik/text/smallFonts-expected.png:
* platform/qt/svg/batik/text/smallFonts-expected.txt:
* platform/qt/svg/batik/text/textAnchor-expected.png:
* platform/qt/svg/batik/text/textAnchor-expected.txt:
* platform/qt/svg/batik/text/textAnchor2-expected.png:
* platform/qt/svg/batik/text/textAnchor2-expected.txt:
* platform/qt/svg/batik/text/textAnchor3-expected.png:
* platform/qt/svg/batik/text/textAnchor3-expected.txt:
* platform/qt/svg/batik/text/textDecoration-expected.png:
* platform/qt/svg/batik/text/textDecoration-expected.txt:
* platform/qt/svg/batik/text/textDecoration2-expected.png:
* platform/qt/svg/batik/text/textDecoration2-expected.txt:
* platform/qt/svg/batik/text/textEffect-expected.png:
* platform/qt/svg/batik/text/textEffect-expected.txt:
* platform/qt/svg/batik/text/textEffect2-expected.png:
* platform/qt/svg/batik/text/textEffect2-expected.txt:
* platform/qt/svg/batik/text/textEffect3-expected.png:
* platform/qt/svg/batik/text/textEffect3-expected.txt:
* platform/qt/svg/batik/text/textFeatures-expected.png:
* platform/qt/svg/batik/text/textFeatures-expected.txt:
* platform/qt/svg/batik/text/textGlyphOrientationHorizontal-expected.png:
* platform/qt/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
* platform/qt/svg/batik/text/textLayout2-expected.png:
* platform/qt/svg/batik/text/textLayout2-expected.txt:
* platform/qt/svg/batik/text/textLength-expected.png:
* platform/qt/svg/batik/text/textLength-expected.txt:
* platform/qt/svg/batik/text/textOnPath-expected.png:
* platform/qt/svg/batik/text/textOnPath-expected.txt:
* platform/qt/svg/batik/text/textOnPath2-expected.png:
* platform/qt/svg/batik/text/textOnPath2-expected.txt:
* platform/qt/svg/batik/text/textOnPath3-expected.png:
* platform/qt/svg/batik/text/textOnPath3-expected.txt:
* platform/qt/svg/batik/text/textPCDATA-expected.png:
* platform/qt/svg/batik/text/textPCDATA-expected.txt:
* platform/qt/svg/batik/text/textPosition-expected.png:
* platform/qt/svg/batik/text/textPosition-expected.txt:
* platform/qt/svg/batik/text/textPosition2-expected.png:
* platform/qt/svg/batik/text/textPosition2-expected.txt:
* platform/qt/svg/batik/text/textProperties-expected.png:
* platform/qt/svg/batik/text/textProperties-expected.txt:
* platform/qt/svg/batik/text/textProperties2-expected.png:
* platform/qt/svg/batik/text/textProperties2-expected.txt:
* platform/qt/svg/batik/text/verticalTextOnPath-expected.png:
* platform/qt/svg/batik/text/verticalTextOnPath-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
nrwt: never finds binaries in the 'out' dir on chromium win
https://bugs.webkit.org/show_bug.cgi?id=91890

Reviewed by Tony Chang.

Attempt to fix this bug yet again; it turns out that --root and
--build-directory don't have the same meaning (--root should
include the configuration, --build-directory should not).

* Scripts/webkitpy/layout_tests/port/base.py:
(Port._build_path):
* Scripts/webkitpy/layout_tests/port/chromium.py:
(ChromiumPort._static_build_path):
(ChromiumPort.default_results_directory):
(ChromiumPort._build_path):
(ChromiumPort):
(ChromiumPort._build_path_with_configuration):
(ChromiumPort._build_path_with_configuration.does):
(ChromiumPort._path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_android.py:
(ChromiumAndroidPort._build_path):
(ChromiumAndroidPort):
(ChromiumAndroidPort._build_path_with_configuration):
(ChromiumAndroidPort._path_to_driver):
(ChromiumAndroidPort._path_to_forwarder):
(ChromiumAndroidPort._push_executable):
(ChromiumAndroidPort._push_fonts):
* Scripts/webkitpy/layout_tests/port/chromium_linux.py:
(ChromiumLinuxPort._determine_driver_path_statically):
(ChromiumLinuxPort._modules_to_search_for_symbols):
(ChromiumLinuxPort._path_to_driver):
* Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:
(ChromiumLinuxPortTest.test_build_path):
* Scripts/webkitpy/layout_tests/port/chromium_mac.py:
(ChromiumMacPort._modules_to_search_for_symbols):
(ChromiumMacPort._path_to_driver):
(ChromiumMacPort._path_to_helper):
* Scripts/webkitpy/layout_tests/port/chromium_mac_unittest.py:
(ChromiumMacPortTest.test_build_path):
* Scripts/webkitpy/layout_tests/port/chromium_win.py:
(ChromiumWinPort._path_to_driver):
(ChromiumWinPort._path_to_helper):
(ChromiumWinPort._path_to_image_diff):
* Scripts/webkitpy/layout_tests/port/chromium_win_unittest.py:
(ChromiumWinTest.test_build_path):
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium expectations update from r123490.

* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-icon-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/broken-image-with-size-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/clip-text-in-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/device-scale-factor-paint-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/focus-rings-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-as-background-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-background-repeat-without-size-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-comparison-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-border-image-simple-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-in-content-dynamic-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-out-of-order-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-simple-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/image-set-without-specified-width-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/resize-corner-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/hidpi/video-controls-in-hidpi-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r123499.
http://trac.webkit.org/changeset/123499
https://bugs.webkit.org/show_bug.cgi?id=92161

Android fails to compile (Requested by zhenyao on #webkit).

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

Source/Platform: 

* chromium/public/WebMediaStreamDescriptor.h:
(WebMediaStreamDescriptor):
* chromium/public/WebMediaStreamSource.h:
(WebMediaStreamSource):

Source/WebCore: 

* GNUmakefile.list.am:
* Modules/mediastream/MediaStream.cpp:
(WebCore::MediaStream::MediaStream):
(WebCore::MediaStream::addTrack):
* Modules/mediastream/MediaStreamTrack.cpp:
(WebCore::MediaStreamTrack::create):
(WebCore::MediaStreamTrack::MediaStreamTrack):
(WebCore::MediaStreamTrack::~MediaStreamTrack):
(WebCore::MediaStreamTrack::setEnabled):
* Modules/mediastream/MediaStreamTrack.h:
(MediaStreamTrack):
* Modules/mediastream/MediaStreamTrack.idl:
* WebCore.gypi:
* dom/EventNames.h:
(WebCore):
* dom/EventTargetFactory.in:
* platform/chromium/support/WebMediaStreamDescriptor.cpp:
(WebKit):
(WebKit::WebMediaStreamDescriptor::sources):
* platform/chromium/support/WebMediaStreamSource.cpp:
* platform/mediastream/MediaStreamSource.cpp: Removed.
* platform/mediastream/MediaStreamSource.h:
(WebCore::MediaStreamSource::create):
(WebCore::MediaStreamSource::muted):
(WebCore::MediaStreamSource::setMuted):
(WebCore::MediaStreamSource::MediaStreamSource):
(MediaStreamSource):
* platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
(WebCore::MediaStreamCenterChromium::queryMediaStreamSources):
(WebCore::MediaStreamCenterChromium::didCreateMediaStream):

Source/WebKit/chromium: 

* src/AssertMatchingEnums.cpp:

Tools: 

* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/MockWebKitPlatformSupport.cpp:
(MockWebKitPlatformSupport::createMediaStreamCenter):
* DumpRenderTree/chromium/MockWebKitPlatformSupport.h:
(MockWebKitPlatformSupport):
* DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp: Removed.
* DumpRenderTree/chromium/MockWebMediaStreamCenter.h: Removed.

LayoutTests: 

* fast/mediastream/MediaStreamTrack-expected.txt: Removed.
* fast/mediastream/MediaStreamTrack.html: Removed.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add per-context setting for html notifications
https://bugs.webkit.org/show_bug.cgi?id=91295

Reviewed by Adam Barth.

Source/WebCore:

Added a new per-context setting to control the enabling of html notifications.
For chromium port, we're going to disable html notifications for web
pages, but still keep it enabled for extensions.

Also enhance V8 code generator to support V8EnabledPerContext attribute
for methods.

Updated the binding tests.

* Modules/notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::document): Expose document for being used by installPerContextProperties.
(WebCore):
* Modules/notifications/NotificationCenter.h:
(NotificationCenter):
* Modules/notifications/NotificationCenter.idl: Add V8EnabledPerContext attribute.
* bindings/scripts/CodeGeneratorV8.pm: V8EnabledPerContext now supports methods.
(GenerateHeader):
(IsStandardFunction):
(GenerateNonStandardFunction):
(GenerateImplementation):
(GenerateToV8Converters):
(GetContextEnableFunction):
* bindings/scripts/test/TestObj.idl: Add test case for V8EnabledPerContext methods.
* bindings/scripts/test/V8/V8TestObj.cpp: Update test result.
(WebCore::TestObjV8Internal::enabledAtContextMethod1Callback):
(TestObjV8Internal):
(WebCore::TestObjV8Internal::enabledAtContextMethod2Callback):
(WebCore::V8TestObj::installPerContextProperties):
(WebCore::V8TestObj::wrapSlow):
* dom/ContextFeatures.cpp: Add a new per-context feature.
(WebCore::ContextFeatures::htmlNotificationsEnabled):
(WebCore):
* dom/ContextFeatures.h: Add a new per-context feature.

Source/WebKit/chromium:

Add new per-context feature for chromium port.

* public/WebPermissionClient.h:
(WebPermissionClient):
(WebKit::WebPermissionClient::allowHTMLNotifications):
* src/ContextFeaturesClientImpl.cpp:
(WebKit::ContextFeaturesClientImpl::askIfIsEnabled):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clear the external characters pointer of an AtomicHTMLToken before the raw token is cleared.
https://bugs.webkit.org/show_bug.cgi?id=92056

Reviewed by Adam Barth.

AtomicHTMLToken keeps a pointer to the HTMLToken's buffer instead of copying the
characters for performance. Clear the external characters pointer before the raw token
is cleared to make sure that we won't have a dangling pointer.

No new tests - no functional changes.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::constructTreeFromToken):
* xml/parser/MarkupTokenBase.h:
(WebCore::AtomicMarkupTokenBase::clearExternalCharacters):
(AtomicMarkupTokenBase):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Ensure Noah's ark without reading the DOM tree.
https://bugs.webkit.org/show_bug.cgi?id=92065

Reviewed by Adam Barth.

Technically we shouldn't read attributes back from the DOM. If JavaScript changes
the attributes values, we could get a slightly wrong output here.

Read attributes from tokens saved in the active formatting element list.

No new tests, covered by existing tests.

* html/parser/HTMLFormattingElementList.cpp:
(WebCore::attributeCount):
(WebCore::HTMLFormattingElementList::append):
(WebCore::HTMLFormattingElementList::tryToEnsureNoahsArkConditionQuickly):
(WebCore::HTMLFormattingElementList::ensureNoahsArkCondition):
* html/parser/HTMLFormattingElementList.h:
(HTMLFormattingElementList):
* html/parser/HTMLStackItem.h:
(WebCore::HTMLStackItem::localName):
(HTMLStackItem):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
make test-webkitpy at least kinda work in parallel on win32
https://bugs.webkit.org/show_bug.cgi?id=91700

Reviewed by Adam Barth.

This change makes the hoop-jumping we have to do to make running
new-run-webkit-tests in parallel on win32 generic so that we can
re-use it for test-webkitpy as well.

* Scripts/new-run-webkit-tests:
* Scripts/test-webkitpy:
* Scripts/webkitpy/common/multiprocessing_bootstrap.py: Copied from Tools/Scripts/new-run-webkit-tests.
(run):
* Scripts/webkitpy/test/main.py:
(main):
(Tester._log_exception):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed chromium expectations change stop ignoring fast/hidpi changes.

* platform/chromium/TestExpectations:

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