WebKit-https.git
7 years agoUnreviewed, rolling out r110951.
commit-queue@webkit.org [Fri, 16 Mar 2012 07:34:51 +0000 (07:34 +0000)]
Unreviewed, rolling out r110951.
http://trac.webkit.org/changeset/110951
https://bugs.webkit.org/show_bug.cgi?id=81316

Does not build on apple-mac (Requested by abarth on #webkit).

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

Source/WebCore:

* platform/audio/DynamicsCompressor.h:
(DynamicsCompressor):
* webaudio/DynamicsCompressorNode.cpp:
(WebCore::DynamicsCompressorNode::DynamicsCompressorNode):
(WebCore::DynamicsCompressorNode::process):
* webaudio/DynamicsCompressorNode.h:
(DynamicsCompressorNode):
* webaudio/DynamicsCompressorNode.idl:

LayoutTests:

* webaudio/dynamicscompressor-basic-expected.txt:
* webaudio/dynamicscompressor-basic.html:

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

7 years agoto be rebaselined after hairline clipping fix in skia lands
reed@google.com [Fri, 16 Mar 2012 07:31:44 +0000 (07:31 +0000)]
to be rebaselined after hairline clipping fix in skia lands
https://bugs.webkit.org/show_bug.cgi?id=81233

Unreviewed. expectations change only

* platform/chromium/test_expectations.txt:

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

7 years agoCleanup empty attribute list in IDLs
commit-queue@webkit.org [Fri, 16 Mar 2012 07:17:06 +0000 (07:17 +0000)]
Cleanup empty attribute list in IDLs
https://bugs.webkit.org/show_bug.cgi?id=81228

Patch by Seo Sanghyeon <sh4.seo@samsung.com> on 2012-03-16
Reviewed by Adam Barth.

No tests. No change in behavior.

* css/WebKitCSSRegionRule.idl:

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

7 years agoonorientationchange event should have JSWindowEventListener attribute
psolanki@apple.com [Fri, 16 Mar 2012 07:05:14 +0000 (07:05 +0000)]
onorientationchange event should have JSWindowEventListener attribute
https://bugs.webkit.org/show_bug.cgi?id=79513

Reviewed by Kentaro Hara.

* html/HTMLFrameSetElement.idl:

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

7 years agoExpose attack, release as DynamicsCompressorNode's attributes.
commit-queue@webkit.org [Fri, 16 Mar 2012 06:56:11 +0000 (06:56 +0000)]
Expose attack, release as DynamicsCompressorNode's attributes.
https://bugs.webkit.org/show_bug.cgi?id=81221

Patch by Gao Chun <chun.gao@intel.com> on 2012-03-15
Reviewed by Chris Rogers.

Source/WebCore:

Test: webaudio/dynamicscompressor-basic.html

* platform/audio/DynamicsCompressor.h:
(DynamicsCompressor):
* webaudio/DynamicsCompressorNode.cpp:
(WebCore::DynamicsCompressorNode::DynamicsCompressorNode):
(WebCore::DynamicsCompressorNode::process):
* webaudio/DynamicsCompressorNode.h:
(WebCore::DynamicsCompressorNode::attack):
(WebCore::DynamicsCompressorNode::release):
(DynamicsCompressorNode):
* webaudio/DynamicsCompressorNode.idl:

LayoutTests:

* webaudio/dynamicscompressor-basic-expected.txt:
* webaudio/dynamicscompressor-basic.html:

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

7 years agoSpeech JavaScript API: SpeechRecognition, Controller and Client
hans@chromium.org [Fri, 16 Mar 2012 06:35:17 +0000 (06:35 +0000)]
Speech JavaScript API: SpeechRecognition, Controller and Client
https://bugs.webkit.org/show_bug.cgi?id=81096

Reviewed by Adam Barth.

Source/WebCore:

Add implementation stub for SpeechRecognition. Add the
SpeechRecognitionController class and SpeechRecognitionClient
interface.

Test: fast/speech/scripted/basics.html

* Modules/speech/DOMWindowSpeech.idl:
* Modules/speech/SpeechRecognition.cpp: Added.
(WebCore):
(WebCore::SpeechRecognition::create):
(WebCore::SpeechRecognition::start):
(WebCore::SpeechRecognition::stopFunction):
(WebCore::SpeechRecognition::abort):
(WebCore::SpeechRecognition::audioStartCallback):
(WebCore::SpeechRecognition::soundStartCallback):
(WebCore::SpeechRecognition::speechStartCallback):
(WebCore::SpeechRecognition::speechEndCallback):
(WebCore::SpeechRecognition::audioEndCallback):
(WebCore::SpeechRecognition::resultCallback):
(WebCore::SpeechRecognition::noMatchCallback):
(WebCore::SpeechRecognition::resultDeletedCallback):
(WebCore::SpeechRecognition::errorCallback):
(WebCore::SpeechRecognition::startCallback):
(WebCore::SpeechRecognition::endCallback):
(WebCore::SpeechRecognition::interfaceName):
(WebCore::SpeechRecognition::scriptExecutionContext):
(WebCore::SpeechRecognition::SpeechRecognition):
(WebCore::SpeechRecognition::~SpeechRecognition):
* Modules/speech/SpeechRecognition.h: Added.
(WebCore):
(SpeechRecognition):
(WebCore::SpeechRecognition::grammars):
(WebCore::SpeechRecognition::setGrammars):
(WebCore::SpeechRecognition::lang):
(WebCore::SpeechRecognition::setLang):
(WebCore::SpeechRecognition::continuous):
(WebCore::SpeechRecognition::setContinuous):
* Modules/speech/SpeechRecognition.idl:
* Modules/speech/SpeechRecognitionClient.h:
(WebCore):
(SpeechRecognitionClient):
(WebCore::SpeechRecognitionClient::~SpeechRecognitionClient):
* Modules/speech/SpeechRecognitionController.cpp:
(WebCore):
(WebCore::SpeechRecognitionController::supplementName):
(WebCore::SpeechRecognitionController::SpeechRecognitionController):
(WebCore::SpeechRecognitionController::~SpeechRecognitionController):
(WebCore::SpeechRecognitionController::create):
(WebCore::provideSpeechRecognitionTo):
* Modules/speech/SpeechRecognitionController.h: Added.
(WebCore):
(SpeechRecognitionController):
(WebCore::SpeechRecognitionController::start):
(WebCore::SpeechRecognitionController::stop):
(WebCore::SpeechRecognitionController::abort):
(WebCore::SpeechRecognitionController::visibilityHidden):
(WebCore::SpeechRecognitionController::unregisterSpeechRecognition):
(WebCore::SpeechRecognitionController::from):
* WebCore.gypi:
* dom/EventTargetFactory.in:

Source/WebKit/chromium:

Provide a SpeechRecognitionController to Page, with a NULL client for
now.

* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::WebViewImpl):

LayoutTests:

Add tests for the basics of the SpeechRecognition interface.

* fast/speech/scripted/basics-expected.txt: Added.
* fast/speech/scripted/basics.html: Added.

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

7 years ago[chromium] Fix some assertions in occlusion tracker unit tests
morrita@google.com [Fri, 16 Mar 2012 06:18:45 +0000 (06:18 +0000)]
[chromium] Fix some assertions in occlusion tracker unit tests
https://bugs.webkit.org/show_bug.cgi?id=81308

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-15
Reviewed by James Robinson.

* tests/CCOcclusionTrackerTest.cpp:
(WebCore::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
(WebCore::CCOcclusionTrackerTestDamageRectOutsideChild::runMyTest):
(WebCore::CCOcclusionTrackerTest3dTransform::runMyTest):
(WebCore::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):

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

7 years agoMove parse_bug_id into config/urls in preparation for re-use elsewhere.
eric@webkit.org [Fri, 16 Mar 2012 06:18:37 +0000 (06:18 +0000)]
Move parse_bug_id into config/urls in preparation for re-use elsewhere.
https://bugs.webkit.org/show_bug.cgi?id=81313

Reviewed by Adam Barth.

* Scripts/webkitpy/common/checkout/changelog.py:
(parse_bug_id_from_changelog):
* Scripts/webkitpy/common/config/urls.py:
(parse_bug_id):
* Scripts/webkitpy/common/config/urls_unittest.py: Copied from Tools/Scripts/webkitpy/common/config/urls.py.
(URLsTest):
(URLsTest.test_parse_bug_id):
* Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
(test_parse_bug_id):
* Scripts/webkitpy/tool/bot/irc_command.py:
(_post_error_and_check_for_bug_url):
* Scripts/webkitpy/tool/bot/sheriff.py:
(Sheriff.post_rollout_patch):
(Sheriff.post_chromium_deps_roll):

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

7 years agoUpdate the expectation of labelable-elements.html.
tkent@chromium.org [Fri, 16 Mar 2012 06:09:18 +0000 (06:09 +0000)]
Update the expectation of labelable-elements.html.

The expectation in the common place should be one for platforms with
ENABLE_DATALIST, was for platform without ENABLE_DATALIST.
https://bugs.webkit.org/show_bug.cgi?id=80985

* fast/forms/label/labelable-elements-expected.txt:
* platform/gtk/Skipped:
* platform/mac/fast/forms/label/labelable-elements-expected.txt: Removed.
* platform/qt/Skipped:

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

7 years ago[EFL] Sets alpha channel for new buffers.
commit-queue@webkit.org [Fri, 16 Mar 2012 05:50:50 +0000 (05:50 +0000)]
[EFL] Sets alpha channel for new buffers.
https://bugs.webkit.org/show_bug.cgi?id=77101

Patch by Michal Ciepielski <m.ciepielski@samsung.com> on 2012-03-15
Reviewed by Hajime Morita.

No new tests.

By default EFL creates buffers without alpha channel.
This causes improper rendering of HTML controls (i.e. radio buttons, checkboxes).
This commits sets alpha channel for all newly created buffers by EFL.

* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::cacheThemePartNew):

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

7 years agoUnreviewed, rolling out r110941.
commit-queue@webkit.org [Fri, 16 Mar 2012 05:47:44 +0000 (05:47 +0000)]
Unreviewed, rolling out r110941.
http://trac.webkit.org/changeset/110941
https://bugs.webkit.org/show_bug.cgi?id=81307

the revert looks innocent. (Requested by morrita on #webkit).

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

Source/WebCore:

* platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/Canvas2DLayerChromium.h:
(Canvas2DLayerChromium):
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::paintContentsIfDirty):
(WebCore::ContentLayerChromium::idlePaintContentsIfDirty):
* platform/graphics/chromium/ContentLayerChromium.h:
(WebCore):
(ContentLayerChromium):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/ImageLayerChromium.h:
(WebCore):
(ImageLayerChromium):
* platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::paintContentsIfDirty):
(WebCore::LayerChromium::idlePaintContentsIfDirty):
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::prepareToUpdateTiles):
(WebCore::TiledLayerChromium::prepareToUpdate):
(WebCore::TiledLayerChromium::prepareToUpdateIdle):
* platform/graphics/chromium/TiledLayerChromium.h:
(TiledLayerChromium):
* platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/WebGLLayerChromium.h:
(WebGLLayerChromium):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::paintContentsIfDirty):
(WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
(WebCore::CCLayerTreeHost::paintLayerContents):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:

Source/WebKit/chromium:

* tests/CCLayerTreeHostTest.cpp:
(WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
(WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
(WTF::TestLayerChromium::paintContentsIfDirty):
* tests/Canvas2DLayerChromiumTest.cpp:
* tests/TiledLayerChromiumTest.cpp:
(TestCCOcclusionTracker):
(WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
(WTF::TestCCOcclusionTracker::setOcclusion):
(WTF::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
(WTF):
(WTF::FakeTiledLayerChromium::prepareToUpdate):
(WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
(WTF::FakeTiledLayerChromium::paintContentsIfDirty):
(WTF::TEST):

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

7 years agoThe commit-queue should fast-track patches that have already passed the testing EWS...
abarth@webkit.org [Fri, 16 Mar 2012 04:20:07 +0000 (04:20 +0000)]
The commit-queue should fast-track patches that have already passed the testing EWS bots
https://bugs.webkit.org/show_bug.cgi?id=81305

Reviewed by Eric Seidel.

If a patch has already passed the testing EWS bots (currently only the
chromium-ews bot), we should be able to land the patch without running
the tests again.  This patch is somewhat risky in that the tests might
have been broken between when the EWS bots ran and when the
commit-queue is processing the patch.  If that turns out to be a
problem in practice, we'll tighten up this fast-track in some way,
likely by making sure that the pass status is recent.

* Scripts/webkitpy/tool/bot/commitqueuetask.py:
(CommitQueueTaskDelegate.did_pass_testing_ews):
(CommitQueueTask._did_pass_tests_recently):
(CommitQueueTask.run):
* Scripts/webkitpy/tool/bot/commitqueuetask_unittest.py:
(MockCommitQueue.did_pass_testing_ews):
(test_fast_success_case):
* Scripts/webkitpy/tool/commands/queues.py:
(CommitQueue.did_pass_testing_ews):
* Scripts/webkitpy/tool/commands/queues_unittest.py:
(test_did_pass_testing_ews):

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

7 years agoMediaStream API (JSEP): Introducing SessionDescription
tommyw@google.com [Fri, 16 Mar 2012 04:19:05 +0000 (04:19 +0000)]
MediaStream API (JSEP): Introducing SessionDescription
https://bugs.webkit.org/show_bug.cgi?id=81206

Reviewed by Adam Barth.

Patch #3 in a series of patches to change the PeerConnection from ROAP to JSEP,
see bug 80589 for more information.
Adding the SessionDescription JS object and its platform counterpart SessionDescriptionDescriptor.

Not possible to test until the entire JSEP feature is commited.

* GNUmakefile.list.am:
* Modules/mediastream/SessionDescription.cpp: Copied from Source/WebCore/platform/mediastream/MediaStreamCenter.cpp.
(WebCore):
(WebCore::SessionDescription::create):
(WebCore::SessionDescription::SessionDescription):
(WebCore::SessionDescription::~SessionDescription):
(WebCore::SessionDescription::addCandidate):
(WebCore::SessionDescription::toSdp):
(WebCore::SessionDescription::descriptor):
* Modules/mediastream/SessionDescription.h: Copied from Source/WebCore/platform/mediastream/MediaStreamCenter.cpp.
(WebCore):
(SessionDescription):
* Modules/mediastream/SessionDescription.idl: Added.
* WebCore.gypi:
* platform/mediastream/MediaStreamCenter.cpp:
(WebCore::MediaStreamCenter::constructSdp):
(WebCore):
* platform/mediastream/MediaStreamCenter.h:
(WebCore):
(MediaStreamCenter):
* platform/mediastream/SessionDescriptionDescriptor.cpp: Copied from Source/WebCore/platform/mediastream/MediaStreamCenter.cpp.
(WebCore):
(WebCore::SessionDescriptionDescriptor::create):
(WebCore::SessionDescriptionDescriptor::SessionDescriptionDescriptor):
(WebCore::SessionDescriptionDescriptor::~SessionDescriptionDescriptor):
(WebCore::SessionDescriptionDescriptor::addCandidate):
(WebCore::SessionDescriptionDescriptor::toSdp):
(WebCore::SessionDescriptionDescriptor::numberOfAddedCandidates):
(WebCore::SessionDescriptionDescriptor::candidate):
(WebCore::SessionDescriptionDescriptor::initialSdp):
* platform/mediastream/SessionDescriptionDescriptor.h: Copied from Source/WebCore/platform/mediastream/MediaStreamCenter.cpp.
(WebCore):
(SessionDescriptionDescriptor):

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

7 years agoVersioning.
lforschler@apple.com [Fri, 16 Mar 2012 04:13:56 +0000 (04:13 +0000)]
Versioning.

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

7 years agoUnreviewed, rolling out r110929.
commit-queue@webkit.org [Fri, 16 Mar 2012 04:07:16 +0000 (04:07 +0000)]
Unreviewed, rolling out r110929.
http://trac.webkit.org/changeset/110929
https://bugs.webkit.org/show_bug.cgi?id=81306

breaking webkit_unit_tests (Requested by morrita on #webkit).

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

Source/WebCore:

* platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/Canvas2DLayerChromium.h:
(Canvas2DLayerChromium):
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::paintContentsIfDirty):
(WebCore::ContentLayerChromium::idlePaintContentsIfDirty):
* platform/graphics/chromium/ContentLayerChromium.h:
(WebCore):
(ContentLayerChromium):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/ImageLayerChromium.h:
(WebCore):
(ImageLayerChromium):
* platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::paintContentsIfDirty):
(WebCore::LayerChromium::idlePaintContentsIfDirty):
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore):
(WebCore::contentToLayerTransform):
(WebCore::TiledLayerChromium::prepareToUpdateTiles):
(WebCore::TiledLayerChromium::prepareToUpdate):
(WebCore::TiledLayerChromium::prepareToUpdateIdle):
* platform/graphics/chromium/TiledLayerChromium.h:
(WebCore):
(TiledLayerChromium):
* platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/WebGLLayerChromium.h:
(WebGLLayerChromium):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::paintContentsIfDirty):
(WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
(WebCore::CCLayerTreeHost::paintLayerContents):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:

Source/WebKit/chromium:

* tests/CCLayerTreeHostTest.cpp:
(WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
(WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
(WTF::TestLayerChromium::paintContentsIfDirty):
* tests/Canvas2DLayerChromiumTest.cpp:
* tests/TiledLayerChromiumTest.cpp:
(WTF::FakeTiledLayerChromium::prepareToUpdate):
(WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
(WTF::FakeTiledLayerChromium::paintContentsIfDirty):
(WTF::TEST):

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

7 years agoChange per-script font tests to use InternalSettings
commit-queue@webkit.org [Fri, 16 Mar 2012 04:05:17 +0000 (04:05 +0000)]
Change per-script font tests to use InternalSettings
https://bugs.webkit.org/show_bug.cgi?id=81202

Patch by Matt Falkenhagen <falken@chromium.org> on 2012-03-15
Reviewed by Hajime Morita.

* fast/text/international/content-language-font-selection.html:
* fast/text/international/content-language-with-subtags.html:
* platform/efl/Skipped: Remove tests from Skipped since that no longer rely on overridePreference.
* platform/gtk-wk2/Skipped: Ditto.
* platform/gtk/Skipped: Ditto.
* platform/mac/Skipped: Ditto.
* platform/qt/Skipped: Ditto.
* platform/win/Skipped: Ditto.
* platform/wincairo/Skipped: Ditto.
* platform/wk2/Skipped: Ditto.

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

7 years agoREGRESSION(r106232): The resize handler is always called after loading.
commit-queue@webkit.org [Fri, 16 Mar 2012 04:03:24 +0000 (04:03 +0000)]
REGRESSION(r106232): The resize handler is always called after loading.
https://bugs.webkit.org/show_bug.cgi?id=80242

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-03-15
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Ensure resize-events are not emitted when layout-size changes due to added
scrollbars. For fixed layout, scrollbars are never subtracted or added, so
we can compare fixedLayoutSize directly. For normal layout, use the full
visible rect size which is the same as layout size plus scrollbars.

Test: fast/events/resize-events.html

* page/FrameView.cpp:
(WebCore::FrameView::reset):
(WebCore::FrameView::layout):
(WebCore::FrameView::performPostLayoutTasks):
* page/FrameView.h:
(FrameView):

LayoutTests:

Tests that no resize events are emitted during page creation,
even if the page overflows and adds a scrollbar.

* fast/events/resize-events-expected.txt: Added.
* fast/events/resize-events.html: Added.

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

7 years agoMediaStream API (JSEP): Introducing MediaHints and IceOptions
tommyw@google.com [Fri, 16 Mar 2012 03:45:29 +0000 (03:45 +0000)]
MediaStream API (JSEP): Introducing MediaHints and IceOptions
https://bugs.webkit.org/show_bug.cgi?id=81207

Reviewed by Adam Barth.

Patch #4 in a series of patches to change the PeerConnection from ROAP to JSEP,
see bug 80589 for more information.
Introducing the platform MediaHints and IceOptions helper classes.

Not possible to test until the entire JSEP feature is commited.

* GNUmakefile.list.am:
* WebCore.gypi:
* platform/mediastream/IceOptions.cpp: Added.
(WebCore):
(WebCore::IceOptions::create):
* platform/mediastream/IceOptions.h: Added.
(WebCore):
(IceOptions):
(WebCore::IceOptions::~IceOptions):
(WebCore::IceOptions::useCandidates):
(WebCore::IceOptions::IceOptions):
* platform/mediastream/MediaHints.cpp: Added.
(WebCore):
(WebCore::MediaHints::create):
(WebCore::MediaHints::audio):
(WebCore::MediaHints::video):
* platform/mediastream/MediaHints.h: Added.
(WebCore):
(MediaHints):
(WebCore::MediaHints::~MediaHints):
(WebCore::MediaHints::MediaHints):

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

7 years agoAdd layout tests for font selection based on lang/xml:lang
commit-queue@webkit.org [Fri, 16 Mar 2012 03:39:18 +0000 (03:39 +0000)]
Add layout tests for font selection based on lang/xml:lang
https://bugs.webkit.org/show_bug.cgi?id=81203

Patch by Matt Falkenhagen <falken@chromium.org> on 2012-03-15
Reviewed by Hajime Morita.

* fast/text/international/lang-sensitive-fonts-expected.html: Added.
* fast/text/international/lang-sensitive-fonts-xml-expected.html: Added.
* fast/text/international/lang-sensitive-fonts-xml.xhtml: Added.
* fast/text/international/lang-sensitive-fonts.html: Added.

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

7 years ago[Crash] Adding <content> into a ShadowRoot causes crash.
shinyak@chromium.org [Fri, 16 Mar 2012 03:20:26 +0000 (03:20 +0000)]
[Crash] Adding <content> into a ShadowRoot causes crash.
https://bugs.webkit.org/show_bug.cgi?id=80020

Reviewed by Hajime Morita.

Source/WebCore:

The problem is <content> tries to select host children though it is not prepared.
Since populating host children for insertion points is performed just before
attaching a shadow tree, we should recalculate whole shadow tree if <content> is
appended as a child.

However, element->appendChild() does not know the element is in a shadow tree or not.
We have to ensure reattaching whole shadow tree here.

So this patch adds some phases to HTMLContentSelector so that we can check node
distribution algorihm is begin processed or not. If not we cannot select anything,
but we have to enable a flag to reattach whole shadow tree.

Tests: fast/dom/shadow/shadow-content-crash-expected.html
       fast/dom/shadow/shadow-content-crash.html

* dom/ShadowTree.cpp:
(WebCore::ShadowTree::attach):
(WebCore::ShadowTree::insertionPointFor):
* dom/ShadowTree.h:
(WebCore):
(ShadowTree):
(WebCore::ShadowTree::selector):
* html/shadow/HTMLContentSelector.cpp:
(WebCore::HTMLContentSelector::HTMLContentSelector):
(WebCore::HTMLContentSelector::select):
(WebCore::HTMLContentSelector::willSelect):
(WebCore):
(WebCore::HTMLContentSelector::didSelect):
(WebCore::HTMLContentSelector::populateIfNecessary):
* html/shadow/HTMLContentSelector.h:
(HTMLContentSelector):
(WebCore::HTMLContentSelector::isSelecting):
(WebCore):
(WebCore::HTMLContentSelector::hasPopulated):
* html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::distributeHostChildren):
(WebCore::InsertionPoint::clearDistribution):

LayoutTests:

* fast/dom/shadow/shadow-content-crash-expected.html: Added.
* fast/dom/shadow/shadow-content-crash.html: Added.

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

7 years agoCSS3 calc: mixed percent/absolute expressions for gradients
mikelawther@chromium.org [Fri, 16 Mar 2012 03:14:35 +0000 (03:14 +0000)]
CSS3 calc: mixed percent/absolute expressions for gradients
https://bugs.webkit.org/show_bug.cgi?id=81182

Reviewed by Ojan Vafai.

Source/WebCore:

* css/CSSGradientValue.cpp:
(WebCore::CSSGradientValue::addStops):
(WebCore::positionFromValue):

LayoutTests:

Add new tests for mixed percent/absolute expressions.

* css3/calc/css3-radial-gradients-expected.html:
* css3/calc/css3-radial-gradients.html:
* css3/calc/gradient-color-stops-expected.html:
* css3/calc/gradient-color-stops.html:

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

7 years ago[PerformanceTests] run-perf-tests should output correct units
haraken@chromium.org [Fri, 16 Mar 2012 03:13:28 +0000 (03:13 +0000)]
[PerformanceTests] run-perf-tests should output correct units
https://bugs.webkit.org/show_bug.cgi?id=78303

Reviewed by Ryosuke Niwa.

Previously run-perf-tests just supported "ms" for units.
Consequently, Dromaeo perf tests had been reporting runs/s as "ms".
This patch fixes run-perf-tests so that they can support custom units.
The default unit is "ms".

The test result looks like this:

$ ./Tools/Scripts/run-perf-tests Dromaeo/dom-attr.html
RESULT Dromaeo: dom-attr= 6465.9525483 runs/s
median= 0.0 runs/s, stdev= 24.2983433436 runs/s, min= 6435.87649402 runs/s, max= 6515.63693392 runs/s

PerformanceTests:

* Dromaeo/resources/dromaeorunner.js:
(.):
* resources/runner.js:
(PerfTestRunner.computeStatistics):
(PerfTestRunner.printStatistics):

Tools:

* Scripts/webkitpy/performance_tests/perftestsrunner.py:
(PerfTestsRunner._process_parser_test_result):

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

7 years ago[BlackBerry] Sync up MIMETypeRegistry.cpp
leo.yang@torchmobile.com.cn [Fri, 16 Mar 2012 03:00:45 +0000 (03:00 +0000)]
[BlackBerry] Sync up MIMETypeRegistry.cpp
https://bugs.webkit.org/show_bug.cgi?id=81191

Reviewed by Rob Buis.

Add png and jpeg to supportedImageMIMETypesForEncoding for BlackBerry.

* platform/MIMETypeRegistry.cpp:
(WebCore::initializeSupportedImageMIMETypesForEncoding):

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

7 years agoIndexedDB Tests: use self instead of window
dgrogan@chromium.org [Fri, 16 Mar 2012 02:54:52 +0000 (02:54 +0000)]
IndexedDB Tests: use self instead of window
https://bugs.webkit.org/show_bug.cgi?id=81043

'window' is meaningless in a worker; these tests will soon be run from
a worker context.

Reviewed by Tony Chang.

* storage/indexeddb/create-and-remove-object-store.html:
* storage/indexeddb/createObjectStore-name-argument-required.html:
* storage/indexeddb/createObjectStore-null-name.html:
* storage/indexeddb/cursor-continue.html:
* storage/indexeddb/cursor-delete.html:
* storage/indexeddb/cursor-inconsistency.html:
* storage/indexeddb/cursor-index-delete.html:
* storage/indexeddb/cursor-key-order.html:
* storage/indexeddb/cursor-primary-key-order.html:
* storage/indexeddb/cursor-skip-deleted.html:
* storage/indexeddb/cursor-update-value-argument-required.html:
* storage/indexeddb/cursor-update.html:
* storage/indexeddb/data-corruption.html:
* storage/indexeddb/database-basics.html:
* storage/indexeddb/database-quota.html:
* storage/indexeddb/delete-closed-database-object-expected.txt:
* storage/indexeddb/delete-closed-database-object.html:
* storage/indexeddb/deleteObjectStore-name-argument-required.html:
* storage/indexeddb/deleteObjectStore-null-name.html:
* storage/indexeddb/duplicates.html:
* storage/indexeddb/error-causes-abort-by-default.html:
* storage/indexeddb/exception-in-event-aborts.html:
* storage/indexeddb/factory-cmp-expected.txt:
* storage/indexeddb/factory-cmp.html:
* storage/indexeddb/factory-deletedatabase-interactions-expected.txt:
* storage/indexeddb/factory-deletedatabase-interactions.html:
* storage/indexeddb/factory-deletedatabase.html:
* storage/indexeddb/index-count.html:
* storage/indexeddb/index-cursor.html:
* storage/indexeddb/index-get-key-argument-required.html:
* storage/indexeddb/index-population.html:
* storage/indexeddb/index-unique.html:
* storage/indexeddb/invalid-keys-expected.txt:
* storage/indexeddb/invalid-keys.html:
* storage/indexeddb/key-generator.html:
* storage/indexeddb/key-sort-order-across-types.html:
* storage/indexeddb/key-sort-order-date.html:
* storage/indexeddb/key-type-array-expected.txt:
* storage/indexeddb/key-type-array.html:
* storage/indexeddb/key-type-infinity.html:
* storage/indexeddb/keypath-basics.html:
* storage/indexeddb/keypath-fetch-key.html:
* storage/indexeddb/mozilla/add-twice-failure.html:
* storage/indexeddb/mozilla/autoincrement-indexes.html:
* storage/indexeddb/mozilla/bad-keypath.html:
* storage/indexeddb/mozilla/clear.html:
* storage/indexeddb/mozilla/create-index-unique.html:
* storage/indexeddb/mozilla/create-index-with-integer-keys.html:
* storage/indexeddb/mozilla/create-objectstore-basics.html:
* storage/indexeddb/mozilla/create-objectstore-null-name.html:
* storage/indexeddb/mozilla/cursor-mutation-objectstore-only.html:
* storage/indexeddb/mozilla/cursor-update-updates-indexes.html:
* storage/indexeddb/mozilla/cursors.html:
* storage/indexeddb/mozilla/delete-result.html:
* storage/indexeddb/mozilla/event-source.html:
* storage/indexeddb/mozilla/global-data.html:
* storage/indexeddb/mozilla/indexes.html:
* storage/indexeddb/mozilla/key-requirements-delete-null-key.html:
* storage/indexeddb/mozilla/key-requirements-inline-and-passed.html:
* storage/indexeddb/mozilla/key-requirements-put-no-key.html:
* storage/indexeddb/mozilla/key-requirements-put-null-key.html:
* storage/indexeddb/mozilla/key-requirements.html:
* storage/indexeddb/mozilla/object-cursors.html:
* storage/indexeddb/mozilla/object-identity.html:
* storage/indexeddb/mozilla/object-store-inline-autoincrement-key-added-on-put.html:
* storage/indexeddb/mozilla/object-store-remove-values.html:
* storage/indexeddb/mozilla/objectstorenames.html:
* storage/indexeddb/mozilla/odd-result-order.html:
* storage/indexeddb/mozilla/put-get-values.html:
* storage/indexeddb/mozilla/readonly-transactions.html:
* storage/indexeddb/mozilla/readwrite-transactions.html:
* storage/indexeddb/mozilla/readyState.html:
* storage/indexeddb/mozilla/remove-index.html:
* storage/indexeddb/mozilla/remove-objectstore.html:
* storage/indexeddb/mozilla/versionchange-abort.html:
* storage/indexeddb/mozilla/versionchange.html:
* storage/indexeddb/mutating-cursor.html:
* storage/indexeddb/objectStore-required-arguments.html:
* storage/indexeddb/objectstore-autoincrement.html:
* storage/indexeddb/objectstore-clear.html:
* storage/indexeddb/objectstore-count.html:
* storage/indexeddb/objectstore-cursor.html:
* storage/indexeddb/objectstore-removeobjectstore.html:
* storage/indexeddb/open-close-version-expected.txt:
* storage/indexeddb/open-close-version.html:
* storage/indexeddb/open-cursor.html:
* storage/indexeddb/prefetch-bugfix-108071.html:
* storage/indexeddb/queued-commands.html:
* storage/indexeddb/request-event-propagation.html:
* storage/indexeddb/setVersion-null.html:
* storage/indexeddb/setVersion-undefined.html:
* storage/indexeddb/structured-clone-expected.txt:
* storage/indexeddb/structured-clone.html:
* storage/indexeddb/transaction-abort.html:
* storage/indexeddb/transaction-after-close.html:
* storage/indexeddb/transaction-and-objectstore-calls.html:
* storage/indexeddb/transaction-basics-expected.txt:
* storage/indexeddb/transaction-basics.html:
* storage/indexeddb/transaction-crash-on-abort-expected.txt:
* storage/indexeddb/transaction-crash-on-abort.html:
* storage/indexeddb/transaction-event-propagation.html:
* storage/indexeddb/transaction-read-only.html:
* storage/indexeddb/transaction-rollback.html:
* storage/indexeddb/transaction-storeNames-required.html:
* storage/indexeddb/two-version-changes-expected.txt:
* storage/indexeddb/two-version-changes.html:
* storage/indexeddb/value-undefined.html:
* storage/indexeddb/values-odd-types.html:
* storage/indexeddb/version-change-abort.html:
* storage/indexeddb/version-change-exclusive-expected.txt:
* storage/indexeddb/version-change-exclusive.html:
* storage/indexeddb/versionchangerequest-activedomobject-expected.txt:
* storage/indexeddb/versionchangerequest-activedomobject.html:

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

7 years agoUnreviewed mac rebaseline for fast/clip/{011,012}.html after http://trac.webkit.org...
timothy_horton@apple.com [Fri, 16 Mar 2012 02:50:20 +0000 (02:50 +0000)]
Unreviewed mac rebaseline for fast/clip/{011,012}.html after trac.webkit.org/changeset/110072

There was a similar Chromium rebaseline in http://trac.webkit.org/changeset/110179

* platform/mac/fast/clip/011-expected.txt:
* platform/mac/fast/clip/012-expected.txt:

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

7 years ago[chromium] Decide occlusion in paint culling with CCOcclusionTracker
commit-queue@webkit.org [Fri, 16 Mar 2012 02:41:01 +0000 (02:41 +0000)]
[chromium] Decide occlusion in paint culling with CCOcclusionTracker
https://bugs.webkit.org/show_bug.cgi?id=81181

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-15
Reviewed by Adrienne Walker.

Source/WebCore:

Plumb a CCOcclusionTracker* around instead of a bare Region, so that it
can make a more informed decision if a tile is occluded or not during
paint.

Covered by existing tests.

* platform/graphics/chromium/Canvas2DLayerChromium.cpp:
(WebCore::Canvas2DLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/Canvas2DLayerChromium.h:
(Canvas2DLayerChromium):
* platform/graphics/chromium/ContentLayerChromium.cpp:
(WebCore::ContentLayerChromium::paintContentsIfDirty):
(WebCore::ContentLayerChromium::idlePaintContentsIfDirty):
* platform/graphics/chromium/ContentLayerChromium.h:
(WebCore):
(ContentLayerChromium):
* platform/graphics/chromium/ImageLayerChromium.cpp:
(WebCore::ImageLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/ImageLayerChromium.h:
(WebCore):
(ImageLayerChromium):
* platform/graphics/chromium/LayerChromium.h:
(WebCore::LayerChromium::paintContentsIfDirty):
(WebCore::LayerChromium::idlePaintContentsIfDirty):
* platform/graphics/chromium/TiledLayerChromium.cpp:
(WebCore::TiledLayerChromium::prepareToUpdateTiles):
(WebCore::TiledLayerChromium::prepareToUpdate):
(WebCore::TiledLayerChromium::prepareToUpdateIdle):
* platform/graphics/chromium/TiledLayerChromium.h:
(TiledLayerChromium):
* platform/graphics/chromium/WebGLLayerChromium.cpp:
(WebCore::WebGLLayerChromium::paintContentsIfDirty):
* platform/graphics/chromium/WebGLLayerChromium.h:
(WebGLLayerChromium):
* platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
(WebCore::CCLayerTreeHost::paintContentsIfDirty):
(WebCore::CCLayerTreeHost::paintMaskAndReplicaForRenderSurface):
(WebCore::CCLayerTreeHost::paintLayerContents):
* platform/graphics/chromium/cc/CCLayerTreeHost.h:

Source/WebKit/chromium:

* tests/CCLayerTreeHostTest.cpp:
(WTF::ContentLayerChromiumWithUpdateTracking::paintContentsIfDirty):
(WTF::ContentLayerChromiumWithUpdateTracking::idlePaintContentsIfDirty):
(WTF::TestLayerChromium::paintContentsIfDirty):
* tests/Canvas2DLayerChromiumTest.cpp:
* tests/TiledLayerChromiumTest.cpp:
(TestCCOcclusionTracker):
(WTF::TestCCOcclusionTracker::TestCCOcclusionTracker):
(WTF::TestCCOcclusionTracker::setOcclusion):
(WTF::TestCCOcclusionTracker::layerScissorRectInTargetSurface):
(WTF):
(WTF::FakeTiledLayerChromium::prepareToUpdate):
(WTF::FakeTiledLayerChromium::prepareToUpdateIdle):
(WTF::FakeTiledLayerChromium::paintContentsIfDirty):
(WTF::TEST):

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

7 years agoWebKitTestRunner layoutTestController.pathToLocalResource needs to be updated to...
jberlin@webkit.org [Fri, 16 Mar 2012 02:36:55 +0000 (02:36 +0000)]
WebKitTestRunner layoutTestController.pathToLocalResource needs to be updated to work with
NRWT
https://bugs.webkit.org/show_bug.cgi?id=81299

Add failing expected results for mac-wk2 to get the bots green.

* platform/mac-wk2/fast/loader/local-CSS-from-local-expected.txt: Added.
* platform/mac-wk2/fast/loader/local-JavaScript-from-local-expected.txt: Added.
* platform/mac-wk2/fast/loader/local-image-from-local-expected.txt: Added.

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

7 years ago[Forms] The "meter" element should not be a form-associated element.
commit-queue@webkit.org [Fri, 16 Mar 2012 01:49:05 +0000 (01:49 +0000)]
[Forms] The "meter" element should not be a form-associated element.
https://bugs.webkit.org/show_bug.cgi?id=80380

Patch by Yoshifumi Inoue <yosin@chromium.org> on 2012-03-15
Reviewed by Kent Tamura.

Source/WebCore:

This patch changes base class of HTMLMeterElement to LabelableElement from
HTMLFormControlElement for saving memory space and iteration time of
extra "meter" elements in HTMLFormElement::m_formAssociatedElements
and matching the HTML5 specification for ease of maintenance.

This patch renames isLabelable method to supportLabels and makes isLabelable
as predicate of an instance of LabelableElement or not.

Changes of TextIterator is lead by usage of isFormControlElement. This
changes will be replaced with more meaningful predicate as part of
https://bugs.webkit.org/show_bug.cgi?id=80381

No new tests. Update existing tests to cover this change.

* editing/TextIterator.cpp:
(WebCore::TextIterator::advance): Check HTMLMeterElement in addition to isFormControlElement. This change is for text dump in LayoutTests implemented by document.innerText attribute.
* html/HTMLButton.h:
(WebCore::HTMLButtonElement::supportLabels): Renamed from isLabelable
* html/HTMLElement.h:
(WebCore::HTMLElement::isLabelable): Added. A predicate for an instance of LabelableElement.
* html/HTMLInputElement.h:
(WebCore::HTMLInputElement::supportLabels): Renamed from isLabelable
* html/HTMLKeygenElement.h:
(WebCore::HTMLKeygenElement::supportLabels): Renamed from isLabelable
 * html/HTMLLabelElement.cpp:
(WebCore::nodeAsLabelableElement): Changed to return LabelableElement instead of HTMLFormControlElement.
(WebCore::HTMLLabelElement::control): Changed to return LabelableElement instead of HTMLFormControlElement.
* html/HTMLLabelElement.h:
(HTMLLabelElement):
* html/HTMLMeterElement.cpp:
(WebCore::HTMLMeterElement::HTMLMeterElement): Changed base class to LabelableElement.
(WebCore::HTMLMeterElement::create): Remove form parameter.
(WebCore::HTMLMeterElement::formControlType): Remove implementation of virtual method declared in HTMLFormControlElement.
(WebCore::HTMLMeterElement::parseAttribute): Replace HTMLFormControlElement to LabelableElement
(WebCore::HTMLMeterElement::attach): Replace HTMLFormControlElement to LabelableElement
* html/HTMLMeterElement.idl: Remove the "form" attribute which isn't listed in the HTML5 specification.
* html/HTMLMeterElement.h:
(HTMLMeterElement):
(WebCore::HTMLMeterElement::supportLabels): Renamed from isLabelable
* html/HTMLOutputElement.h:
(WebCore::HTMLOutputElement::supportLabels): Renamed from isLabelable
* html/HTMLProgressElement.h:
(WebCore::HTMLProgressElement::supportLabels): Renamed from isLabelable
 * html/HTMLSelectElement.h:
(WebCore::HTMLSelectElement::supportLabels): Renamed from isLabelable
* html/HTMLTextAreaElement.h:
(WebCore::HTMLTextAreaElement::supportLabels): Renamed from isLabelable
* html/HiddenInputType.h:
(WebCore::HiddenInputType::supportLabels): Renamed from isLabelable
* html/InputType.h:
(WebCore::InputType::supportLabels): Renamed from isLabelable
* html/HTMLTagNames.in: Remove "constructorNeedsFormElement" for not passing "form" parameter in HTMLElementFactory.
* html/LabelableElement.cpp:
(WebCore::LabelableElement::labels): Replace isLabelable to supportLabels
* html/LabelableElement.h:
(LabelableElement):

LayoutTests:

This patch removes tests which checks non-existent "form" attribute
of the "meter" element. The "form" attribute is available only for
form-associated elements. However, the "meter" element isn't a
form-associated element.

* fast/dom/HTMLMeterElement/meter-element-form-expected.txt: Updated expectation for test output changes.
* fast/dom/HTMLMeterElement/meter-element-form.html: Changed for the "meter" element doesn't have IDL attribute "form".
* fast/forms/form-attribute-expected.txt: Updated expectation for test output changes.
* fast/forms/form-attribute.html: Removed lines for the "meter" element.

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

7 years agocanvas/philip/tests/2d.line.cap.round.html fails on Mac Lion WK1
timothy_horton@apple.com [Fri, 16 Mar 2012 01:39:14 +0000 (01:39 +0000)]
canvas/philip/tests/2d.line.cap.round.html fails on Mac Lion WK1
https://bugs.webkit.org/show_bug.cgi?id=81289
<rdar://problem/11059777>

Unreviewed skip of two more similarly flaky tests:
    canvas/philip/tests/2d.shadow.canvas.transparent.2.html
    canvas/philip/tests/2d.shadow.image.transparent.2.html

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

7 years agoREGRESSION(r103452): 100% CPU usage and 5s pause after clicking on a link in Yahoo...
adamk@chromium.org [Fri, 16 Mar 2012 01:24:07 +0000 (01:24 +0000)]
REGRESSION(r103452): 100% CPU usage and 5s pause after clicking on a link in Yahoo Mail
https://bugs.webkit.org/show_bug.cgi?id=81141

Reviewed by Ojan Vafai.

Source/WebCore:

Revert the behavior change from r103452: don't fire DOMSubtreeModified
events when an attribute value merely changes. Still fire that event
when an attribute is added or removed from an element.

Though this contradicts the DOM3 spec, it matches legacy WebKit behavior,
and given that Mutation Events are deprecated, it seems unwise to make
any additions to WebKit's implementation of them.

Test: fast/dom/subtree-modified-attributes.html

* dom/Element.cpp:
(WebCore::Element::didAddAttribute): Renamed from didModifyAttribute.
(WebCore::Element::didModifyAttribute): Remove the call to dispatchSubtreeModifiedEvent.
(WebCore):
* dom/Element.h:
(Element):
* dom/ElementAttributeData.cpp:
(WebCore::ElementAttributeData::addAttribute): Call didAddAttribute instead of didModifyAttribute.

LayoutTests:

* fast/dom/subtree-modified-attributes-expected.txt: Added.
* fast/dom/subtree-modified-attributes.html: Added.

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

7 years agoUnreviewed gardening. Fixing Chromium expectations after we began falling back to...
leviw@chromium.org [Fri, 16 Mar 2012 01:08:09 +0000 (01:08 +0000)]
Unreviewed gardening. Fixing Chromium expectations after we began falling back to the failing
expectation checked in in r110911.

* platform/chromium/platform/chromium/virtual: Added.
* platform/chromium/platform/chromium/virtual/gpu: Added.
* platform/chromium/platform/chromium/virtual/gpu/fast: Added.
* platform/chromium/platform/chromium/virtual/gpu/fast/canvas: Added.
* platform/chromium/platform/chromium/virtual/gpu/fast/canvas/webgl: Added.
* platform/chromium/platform/chromium/virtual/gpu/fast/canvas/webgl/context-lost-expected.txt: Added.

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

7 years ago[WinCairo] Unreviewed build change after wtf path changes.
bfulgham@webkit.org [Fri, 16 Mar 2012 00:55:32 +0000 (00:55 +0000)]
[WinCairo] Unreviewed build change after wtf path changes.

* DumpRenderTree/win/ImageDiffWinCairoCommon.vsprops: Updated include
directories to look at the private header directory to find 'wtf'.

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

7 years agoREGRESSION(r110595): webkit-patch suggest-reviewers doesn't work
tkent@chromium.org [Fri, 16 Mar 2012 00:52:00 +0000 (00:52 +0000)]
REGRESSION(r110595): webkit-patch suggest-reviewers doesn't work
https://bugs.webkit.org/show_bug.cgi?id=81293

Reviewed by Adam Barth.

r110595 introduced new format of the author field of ChangeLog entry:
"Adam Barth  <abarth@webkit.org> && Benjamin Poulain  <bpoulain@apple.com>"
Updte chanelog.py to support it.

* Scripts/webkitpy/common/checkout/changelog.py:
(ChangeLogEntry._split_contributor_names):
* Scripts/webkitpy/common/checkout/changelog_unittest.py:
(test_parse_authors):

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

7 years ago[chromium] Move overdraw metrics into a templated class for both paint and draw metrics.
commit-queue@webkit.org [Fri, 16 Mar 2012 00:45:26 +0000 (00:45 +0000)]
[chromium] Move overdraw metrics into a templated class for both paint and draw metrics.
https://bugs.webkit.org/show_bug.cgi?id=81156

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-15
Reviewed by Adrienne Walker.

Source/WebCore:

Creates CCOverdrawMetrics which can be called to inform it about
draws/paints. At the end of the frame, the CCOverdrawMetrics
recordMetrics() method will put its data into histograms, a
TRACE_COUNTER for culling information, and a TRACE_EVENT for details
about the number of opaque/translucent pixels.

Covered by existing tests.

* WebCore.gypi:
* platform/chromium/TraceEvent.h:
(TraceEvent):
(WebCore::TraceEvent::addTraceEvent):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::calculateRenderPasses):
* platform/graphics/chromium/cc/CCOverdrawMetrics.cpp: Added.
(WebCore):
(WebCore::CCOverdrawMetrics::CCOverdrawMetrics):
(WebCore::wedgeProduct):
(WebCore::quadArea):
(WebCore::CCOverdrawMetrics::didDraw):
(WebCore::CCOverdrawMetrics::recordMetrics):
(WebCore::CCOverdrawMetrics::recordMetricsInternal):
* platform/graphics/chromium/cc/CCOverdrawMetrics.h: Added.
(WebCore):
(CCOverdrawMetrics):
(WebCore::CCOverdrawMetrics::pixelsDrawnOpaque):
(WebCore::CCOverdrawMetrics::pixelsDrawnTranslucent):
(WebCore::CCOverdrawMetrics::pixelsCulled):
* platform/graphics/chromium/cc/CCQuadCuller.cpp:
(WebCore::CCQuadCuller::CCQuadCuller):
(WebCore::CCQuadCuller::append):
* platform/graphics/chromium/cc/CCQuadCuller.h:
(WebCore):
(CCQuadCuller):
* platform/graphics/chromium/cc/CCRenderPass.cpp:
(WebCore::CCRenderPass::appendQuadsForLayer):
* platform/graphics/chromium/cc/CCRenderPass.h:
(WebCore):
(CCRenderPass):

Source/WebKit/chromium:

* tests/CCQuadCullerTest.cpp:
(WebCore::appendQuads):
(WebCore):
(WebCore::TEST):

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

7 years agofast/events/pagehide-timeout.html, pageshow-pagehide-on-back-cached-with-frames.html...
jberlin@webkit.org [Fri, 16 Mar 2012 00:30:33 +0000 (00:30 +0000)]
fast/events/pagehide-timeout.html, pageshow-pagehide-on-back-cached-with-frames.html, and
pageshow-pagehide-on-back-cached.html flakey on Lion Intel Debug WebKit testers
https://bugs.webkit.org/show_bug.cgi?id=81291

Skip these tests on mac-wk2 to get the bots green.

* platform/mac-wk2/Skipped:

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

7 years ago[chromium] RateLimiter should hold a reference to its context
jamesr@google.com [Fri, 16 Mar 2012 00:28:20 +0000 (00:28 +0000)]
[chromium] RateLimiter should hold a reference to its context
https://bugs.webkit.org/show_bug.cgi?id=80761

Reviewed by Stephen White.

* platform/graphics/chromium/RateLimiter.h:
(RateLimiter):

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

7 years agoShare code in FormAssociatedElement by resetting the form owner whenever insertedInto...
adamk@chromium.org [Fri, 16 Mar 2012 00:20:43 +0000 (00:20 +0000)]
Share code in FormAssociatedElement by resetting the form owner whenever insertedIntoTree is called
https://bugs.webkit.org/show_bug.cgi?id=81160

Reviewed by Kent Tamura.

Source/WebCore:

The only difference between the previous insertedIntoTree method and
resetFormOwner was a missing element->inDocument() check in the
former. But that check is actually important, as seen by the included test case.

Test: fast/forms/form-attribute-not-in-document.html

* html/FormAssociatedElement.cpp:
(WebCore::FormAssociatedElement::insertedIntoTree):

LayoutTests:

* fast/forms/form-attribute-not-in-document-expected.txt: Added.
* fast/forms/form-attribute-not-in-document.html: Added.

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

7 years agowebgl/framebuffer-object-attachment failing on lion
dino@apple.com [Fri, 16 Mar 2012 00:17:53 +0000 (00:17 +0000)]
webgl/framebuffer-object-attachment failing on lion
https://bugs.webkit.org/show_bug.cgi?id=81290

Unreviewed. Adding the failing results to platform/mac.

* platform/mac-snowleopard/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Added.
* platform/mac/fast/canvas/webgl/framebuffer-object-attachment-expected.txt: Added.

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

7 years agocanvas/philip/tests/2d.line.cap.round.html fails on Mac Lion WK1
timothy_horton@apple.com [Fri, 16 Mar 2012 00:16:01 +0000 (00:16 +0000)]
canvas/philip/tests/2d.line.cap.round.html fails on Mac Lion WK1
https://bugs.webkit.org/show_bug.cgi?id=81289
<rdar://problem/11059777>

Unreviewed skip of flaky test canvas/philip/tests/2d.line.cap.round.html.

* platform/mac/Skipped:

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

7 years ago[Refactoring] Rename StringBuilder variables in MarkupAccumulator.{h,cpp}
haraken@chromium.org [Fri, 16 Mar 2012 00:11:57 +0000 (00:11 +0000)]
[Refactoring] Rename StringBuilder variables in MarkupAccumulator.{h,cpp}
https://bugs.webkit.org/show_bug.cgi?id=81288

Reviewed by Adam Barth.

This is a refactoring for fixing bug 81214. Currently MarkupAccumulator mixes
'out' and 'result' for variable names of StringBuilder. This patch unifies them
to 'result'.

No tests. No change in behavior.

* editing/MarkupAccumulator.cpp: Renamed 'out' to 'result'.
(WebCore::appendCharactersReplacingEntities):
(WebCore::MarkupAccumulator::serializeNodes): Renamed 'node' to 'targetNode' for clarification
(and for avoiding style check error in MarkupAccumulator.h).
(WebCore::MarkupAccumulator::concatenateMarkup):
(WebCore::MarkupAccumulator::appendNodeValue):
(WebCore::MarkupAccumulator::shouldAddNamespaceAttribute):
(WebCore::MarkupAccumulator::appendNamespace):
(WebCore::MarkupAccumulator::entityMaskForText):
(WebCore::MarkupAccumulator::appendText):
(WebCore::MarkupAccumulator::appendComment):
(WebCore::MarkupAccumulator::appendProcessingInstruction):
(WebCore::MarkupAccumulator::appendElement):
(WebCore::MarkupAccumulator::appendOpenTag):
(WebCore::MarkupAccumulator::appendCloseTag):
(WebCore::MarkupAccumulator::appendAttribute):
(WebCore::MarkupAccumulator::appendCDATASection):
(WebCore::MarkupAccumulator::elementCannotHaveEndTag):
* editing/MarkupAccumulator.h: Removed redundant variable names.
(MarkupAccumulator):
(WebCore):

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

7 years agoMake the array pointer parameters in the Typed Array create() methods const.
commit-queue@webkit.org [Thu, 15 Mar 2012 23:58:35 +0000 (23:58 +0000)]
Make the array pointer parameters in the Typed Array create() methods const.
https://bugs.webkit.org/show_bug.cgi?id=81147

Patch by David Dorwin <ddorwin@chromium.org> on 2012-03-15
Reviewed by Kenneth Russell.

This allows const arrays to be passed to these methods.
They use PassRefPtr<Subclass> create(), which already has a const parameter.

* wtf/Int16Array.h:
(Int16Array):
(WTF::Int16Array::create):
* wtf/Int32Array.h:
(Int32Array):
(WTF::Int32Array::create):
* wtf/Int8Array.h:
(Int8Array):
(WTF::Int8Array::create):
* wtf/Uint16Array.h:
(Uint16Array):
(WTF::Uint16Array::create):
* wtf/Uint32Array.h:
(Uint32Array):
(WTF::Uint32Array::create):
* wtf/Uint8Array.h:
(Uint8Array):
(WTF::Uint8Array::create):
* wtf/Uint8ClampedArray.h:
(Uint8ClampedArray):
(WTF::Uint8ClampedArray::create):

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

7 years agoTry to fix the Snow Leopard build.
andersca@apple.com [Thu, 15 Mar 2012 23:54:47 +0000 (23:54 +0000)]
Try to fix the Snow Leopard build.

* UIProcess/API/mac/PDFViewController.mm:
(WebKit::PDFViewController::pdfKitBundle):

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

7 years agowebgl/context-lost failing on Lion
dino@apple.com [Thu, 15 Mar 2012 23:54:12 +0000 (23:54 +0000)]
webgl/context-lost failing on Lion
https://bugs.webkit.org/show_bug.cgi?id=81284

Unreviewed. Adding the failing results to platform/mac.

* platform/mac-snowleopard/fast/canvas/webgl/context-lost-expected.txt: Added.
* platform/mac/fast/canvas/webgl/context-lost-expected.txt: Added.

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

7 years ago[WinCairo] Correct <wtf/*.h> include paths.
bfulgham@webkit.org [Thu, 15 Mar 2012 23:47:43 +0000 (23:47 +0000)]
[WinCairo] Correct <wtf/*.h> include paths.
https://bugs.webkit.org/show_bug.cgi?id=81278

Reviewed by Eric Seidel.

Modify the #include declarations for several Cairo-related files
so that the wtf types are included using the full path.

* platform/graphics/FontPlatformData.h:
* platform/graphics/cairo/OwnPtrCairo.h:
* platform/graphics/cairo/RefPtrCairo.h:

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

7 years agoImplement LayoutTestController::setValueForUser on Windows https://bugs.webkit.org...
commit-queue@webkit.org [Thu, 15 Mar 2012 23:44:01 +0000 (23:44 +0000)]
Implement LayoutTestController::setValueForUser on Windows https://bugs.webkit.org/show_bug.cgi?id=55834

Tools:

Implemented setValueForUser in both DumpRenderTree and WebKitTestRunner.

Patch by Lynn Neir <lynn.neir@skype.net> on 2012-03-15
Reviewed by Jessie Berlin.

* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setValueForUser):
* WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
* WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
(WTR::LayoutTestController::setValueForUser):
(WTR):
* WebKitTestRunner/InjectedBundle/LayoutTestController.h:
(LayoutTestController):

LayoutTests:

removed test, no longer needed as test passes and matches baseline expected results and also updated wk2 skipped file to no longer skip this test.

Patch by Lynn Neir <lynn.neir@skype.net> on 2012-03-15
Reviewed by Jessie Berlin.

* platform/win/fast/forms/onchange-setvalueforuser-expected.txt: Removed.
* platform/wk2/Skipped:

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

7 years agoonly some tiles rendered when zoomed in
andersca@apple.com [Thu, 15 Mar 2012 23:30:48 +0000 (23:30 +0000)]
only some tiles rendered when zoomed in
https://bugs.webkit.org/show_bug.cgi?id=81282
<rdar://problem/11058898>

Reviewed by Andreas Kling.

* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::rectForTileIndex):
Make sure that the tile cache bounds are scaled accordingly.

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

7 years ago[Qt] RenderThemeQt::fileListNameForWidth should override function in base class Rende...
zeno.albisser@nokia.com [Thu, 15 Mar 2012 23:28:49 +0000 (23:28 +0000)]
[Qt] RenderThemeQt::fileListNameForWidth should override function in base class RenderTheme. (r110560)
https://bugs.webkit.org/show_bug.cgi?id=81107

Add "bool multipleFilesAllowed" to the parameter list of RenderThemeQt::fileListNameForWidth.
This way the base class function is properly overridden.
The need for this change became obvious after r110560 where the OVERRIDE keyword had been
added to the function signature.

Reviewed by Simon Hausmann.

* platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::fileListNameForWidth):
* platform/qt/RenderThemeQt.h:
(RenderThemeQt):

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

7 years agoSelection is not collapsed in some WK2 editing tests
jberlin@webkit.org [Thu, 15 Mar 2012 23:21:41 +0000 (23:21 +0000)]
Selection is not collapsed in some WK2 editing tests
https://bugs.webkit.org/show_bug.cgi?id=69889

Add some expected failing results for mac-wk2 to get the bots green.

* platform/mac-wk2/editing/selection/caret-ltr-right-expected.txt: Added.
* platform/mac-wk2/editing/selection/caret-rtl-right-expected.txt: Added.

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

7 years ago[Qt] Change default WebSocket protocol to the latest one
yutak@chromium.org [Thu, 15 Mar 2012 23:17:31 +0000 (23:17 +0000)]
[Qt] Change default WebSocket protocol to the latest one
https://bugs.webkit.org/show_bug.cgi?id=73630

Reviewed by Simon Hausmann.

* Api/qwebpage.cpp:
(QWebPagePrivate::QWebPagePrivate):
Use RFC6455 WebSocket protocol by default.

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

7 years agoUpdate the start-queue.sh script to match what we're using on the bots
abarth@webkit.org [Thu, 15 Mar 2012 23:11:53 +0000 (23:11 +0000)]
Update the start-queue.sh script to match what we're using on the bots
https://bugs.webkit.org/show_bug.cgi?id=81277

Reviewed by Eric Seidel.

Over time we've added more magic git commands to clean up the local repo after
it has been borked in various ways. The idea behind this sequence is to clear
out any changes in the working copy and then to rebuild the master branch from
origin/master.

This patch also removes the watchdog timer that we've stopped using on the
bots.

This patch was reviewed on <https://github.com/eseidel/webkit/pull/1>.
Note: Eric and I are experimenting with GitHub to see if it might be
useful for WebKit.  If you have thoughts on this topic, please feel
free to grab Eric or me on #webkit to chat.  I assume that he and I are
the only ones who care about this file so using this alternative
process for this patch shouldn't cause any trouble.

* EWSTools/start-queue.sh:

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

7 years agoMove NotificationContents into Notification
jonlee@apple.com [Thu, 15 Mar 2012 23:07:37 +0000 (23:07 +0000)]
Move NotificationContents into Notification
https://bugs.webkit.org/show_bug.cgi?id=80487
<rdar://problem/10965519>

Reviewed by Jian Li.

Source/WebCore:

* notifications/Notification.cpp: Alter signature of constructor to take the fields directly instead of
a NotificationContents instance.
(WebCore::Notification::Notification): Derive KURL from string representation of icon.
(WebCore::Notification::create):
* notifications/Notification.h:
(Notification): Remove contents() accessor and replace with get for title and body. iconURL()
already existed, but use local variable instead of going through NotificationContents.
(WebCore::Notification::iconURL):
(WebCore::Notification::title):
(WebCore::Notification::body):
* notifications/NotificationCenter.h:
(WebCore::NotificationCenter::createNotification): Refactor to use new constructor.
* notifications/NotificationContents.h: Removed.

Remove NotificationContents.h from project files
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:

Source/WebKit/chromium:

Refactor to use accessor methods on Notification.
* src/WebNotification.cpp:
(WebKit::WebNotification::title):
(WebKit::WebNotification::body):

Source/WebKit/mac:

* WebView/WebNotification.mm: Refactor to use accessor methods on Notification.
(-[WebNotification title]):
(-[WebNotification body]):

Source/WebKit/qt:

Refactor to use accessor methods on Notification.
* WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationWrapper::title):
(WebCore::NotificationWrapper::message):
(WebCore::NotificationPresenterClientQt::displayNotification):
(WebCore::NotificationPresenterClientQt::cancel):
(WebCore::NotificationPresenterClientQt::notificationClicked):
(WebCore::NotificationPresenterClientQt::dumpReplacedIdText):
(WebCore::NotificationPresenterClientQt::dumpShowText):

Source/WebKit2:

* UIProcess/Notifications/WebNotificationManagerProxy.cpp: Remove extraneous include.
* WebProcess/Notifications/WebNotificationManager.cpp:
(WebKit::WebNotificationManager::show): Refactor to use accessor methods on Notification.

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

7 years agoCopiedSpace::tryAllocateOversize assumes system page size
commit-queue@webkit.org [Thu, 15 Mar 2012 23:04:39 +0000 (23:04 +0000)]
CopiedSpace::tryAllocateOversize assumes system page size
https://bugs.webkit.org/show_bug.cgi?id=80615

Patch by Myles Maxfield <mmaxfield@google.com> on 2012-03-15
Reviewed by Geoffrey Garen.

* heap/CopiedSpace.cpp:
(JSC::CopiedSpace::tryAllocateOversize):
* heap/CopiedSpace.h:
(CopiedSpace):
* heap/CopiedSpaceInlineMethods.h:
(JSC::CopiedSpace::oversizeBlockFor):
* wtf/BumpPointerAllocator.h:
(WTF::BumpPointerPool::create):
* wtf/StdLibExtras.h:
(WTF::roundUpToMultipleOf):

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

7 years agoFixing Windows build breakage
mhahnenberg@apple.com [Thu, 15 Mar 2012 22:50:51 +0000 (22:50 +0000)]
Fixing Windows build breakage

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:

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

7 years agoThe commit-queue can hang when the test_expectations.txt style check fails during...
abarth@webkit.org [Thu, 15 Mar 2012 22:48:57 +0000 (22:48 +0000)]
The commit-queue can hang when the test_expectations.txt style check fails during commit
https://bugs.webkit.org/show_bug.cgi?id=81251

Reviewed by Eric Seidel.

We forgot to check the --non-interactive flag, so we end up prompting
the "user" who doesn't exist on the bot.  We might consider teaching
the User class about non-interactive if we have this sort of bug again.

* Scripts/webkitpy/tool/steps/commit.py:
(Commit.options):
(Commit._check_test_expectations):
(Commit.run):
* Scripts/webkitpy/tool/steps/commit_unittest.py:
(CommitTest.test_check_test_expectations):

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

7 years agoDeprecate ondisplay()
jonlee@apple.com [Thu, 15 Mar 2012 22:44:02 +0000 (22:44 +0000)]
Deprecate ondisplay()
https://bugs.webkit.org/show_bug.cgi?id=80483
<rdar://problem/10912432>

Reviewed by Jian Li.

Source/WebCore:

The appropriate event listener for notifications is onshow().

* notifications/Notification.h: Wrap ondisplay in ENABLE(LEGACY_NOTIFICATIONS).
* notifications/Notification.idl: Wrap ondisplay in ENABLE_LEGACY_NOTIFICATIONS.

Source/WebKit/chromium:

* src/WebNotification.cpp:
(WebKit::WebNotification::dispatchDisplayEvent): Dispatch the show event.

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

7 years ago[chromium] Wire up PlatformGestureCurves for CC, ScrollAnimatorNone.
wjmaclean@chromium.org [Thu, 15 Mar 2012 22:31:33 +0000 (22:31 +0000)]
[chromium] Wire up PlatformGestureCurves for CC, ScrollAnimatorNone.
https://bugs.webkit.org/show_bug.cgi?id=80607

Reviewed by James Robinson.

Source/WebCore:

Unit tests added. Layout tests to follow.

Provides implementation of PlatformGestureCurves in Chrome Compositor, and basic
support in ScrollAnimatorNone, for fling gestures.

* GNUmakefile.list.am:
* platform/ActivePlatformGestureAnimation.cpp:
(WebCore::ActivePlatformGestureAnimation::create):
(WebCore::ActivePlatformGestureAnimation::ActivePlatformGestureAnimation):
(WebCore::ActivePlatformGestureAnimation::animate):
* platform/ActivePlatformGestureAnimation.h:
(ActivePlatformGestureAnimation):
* platform/PlatformGestureCurveTarget.h:
(PlatformGestureCurveTarget):
* platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimatorNone::cancelAnimations):
(WebCore::ScrollAnimatorNone::animationTimerFired):
(WebCore::ScrollAnimatorNone::scrollBy):
(WebCore):
* platform/ScrollAnimatorNone.h:
(WebCore):
(ScrollAnimatorNone):
* platform/TouchFlingPlatformGestureCurve.cpp:
(WebCore::TouchFlingPlatformGestureCurve::apply):
* platform/WheelFlingPlatformGestureCurve.cpp:
(WebCore::WheelFlingPlatformGestureCurve::apply):
* platform/graphics/chromium/cc/CCActiveGestureAnimation.cpp:
(WebCore::CCActiveGestureAnimation::create):
(WebCore::CCActiveGestureAnimation::CCActiveGestureAnimation):
(WebCore::CCActiveGestureAnimation::animate):
* platform/graphics/chromium/cc/CCActiveGestureAnimation.h:
(CCActiveGestureAnimation):
* platform/graphics/chromium/cc/CCGestureCurve.h:
(CCGestureCurveTarget):
* platform/graphics/chromium/cc/CCInputHandler.h:
(WebCore):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.cpp:
(WebCore::CCLayerTreeHostImpl::animate):
(WebCore::CCLayerTreeHostImpl::setActiveGestureAnimation):
(WebCore):
(WebCore::CCLayerTreeHostImpl::animateGestures):
* platform/graphics/chromium/cc/CCLayerTreeHostImpl.h:
(WebCore):
(WebCore::CCLayerTreeHostImpl::activeGestureAnimation):
(CCLayerTreeHostImpl):

Source/WebKit/chromium:

* public/WebInputEvent.h:
(WebKit::WebInputEvent::isScrollGestureEventType):
* src/WebCompositorInputHandlerImpl.cpp:
(PlatformGestureToCCGestureAdapter):
(WebCore::PlatformGestureToCCGestureAdapter::create):
(WebCore::PlatformGestureToCCGestureAdapter::apply):
(WebCore::PlatformGestureToCCGestureAdapter::scrollBy):
(WebCore::PlatformGestureToCCGestureAdapter::PlatformGestureToCCGestureAdapter):
(WebCore):
(WebKit::WebCompositorInputHandlerImpl::handleInputEvent):
(WebKit::WebCompositorInputHandlerImpl::handleGestureFling):
(WebKit):
(WebKit::WebCompositorInputHandlerImpl::scrollBy):
* src/WebCompositorInputHandlerImpl.h:
(WebCore):
(WebCompositorInputHandlerImpl):
* tests/PlatformGestureCurveTest.cpp:
* tests/WebCompositorInputHandlerImplTest.cpp:

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

7 years agoUnreviewed build correction. WinCairo export definitions
bfulgham@webkit.org [Thu, 15 Mar 2012 22:22:50 +0000 (22:22 +0000)]
Unreviewed build correction. WinCairo export definitions
file was not updated when the main Apple file was changed.

* win/WebKit2CFLite.def: Revise export declarations to match
new symbol names.

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

7 years ago[EFL] Make zlib a general build requirement
paroga@webkit.org [Thu, 15 Mar 2012 22:17:54 +0000 (22:17 +0000)]
[EFL] Make zlib a general build requirement
https://bugs.webkit.org/show_bug.cgi?id=80153

Reviewed by Hajime Morita.

After r109538 WebSocket module needs zlib to support deflate-frame extension.

.:

* Source/cmake/OptionsEfl.cmake:

Source/JavaScriptCore:

* wtf/Platform.h:

Source/WebCore:

* PlatformEfl.cmake:

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

7 years ago[Chromium] Cleanup of outdated test expectations
schenney@chromium.org [Thu, 15 Mar 2012 22:16:36 +0000 (22:16 +0000)]
[Chromium] Cleanup of outdated test expectations
https://bugs.webkit.org/show_bug.cgi?id=81253

Unreviewed chromium expectations.

* platform/chromium/test_expectations.txt: Adding Linux svg/text/text-tselect-02.f.svg

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

7 years ago[BlackBerry] Remove some features that we do not have anymore
rwlbuis@webkit.org [Thu, 15 Mar 2012 22:14:03 +0000 (22:14 +0000)]
[BlackBerry] Remove some features that we do not have anymore
https://bugs.webkit.org/show_bug.cgi?id=81274

Reviewed by Antonio Gomes.

Remove some features that we do not have anymore, code was removed some time ago.

* Source/cmake/OptionsBlackBerry.cmake:

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

7 years agoREGRESSION (r110371): broke platform/gtk/scrollbars/overflow-scrollbar-horizontal...
commit-queue@webkit.org [Thu, 15 Mar 2012 22:13:47 +0000 (22:13 +0000)]
REGRESSION (r110371): broke platform/gtk/scrollbars/overflow-scrollbar-horizontal-wheel-scroll.html
https://bugs.webkit.org/show_bug.cgi?id=80825

Patch by Robert Kroeger <rjkroege@chromium.org> on 2012-03-15
Reviewed by James Robinson.

* page/EventHandler.cpp:
(WebCore::EventHandler::handleWheelEvent): Corrected a typo.

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

7 years agoRemove mac-future results
timothy_horton@apple.com [Thu, 15 Mar 2012 22:09:19 +0000 (22:09 +0000)]
Remove mac-future results
https://bugs.webkit.org/show_bug.cgi?id=81275

There should never be anything in LayoutTests/platform/mac-future.
Please don't put anything there in the future.

Rubber-stamped by Alexey Proskuryakov.

* platform/mac-future/css1: Removed.
* platform/mac-future/css1/font_properties: Removed.
* platform/mac-future/css1/font_properties/font-expected.png: Removed.
* platform/mac-future/css2.1: Removed.
* platform/mac-future/css2.1/t1508-c527-font-05-b-expected.png: Removed.
* platform/mac-future/css2.1/t1508-c527-font-10-c-expected.png: Removed.
* platform/mac-future/fast: Removed.
* platform/mac-future/fast/css: Removed.
* platform/mac-future/fast/css/font-family-pictograph-expected.png: Removed.
* platform/mac-future/fast/css/font-family-pictograph-expected.txt: Removed.
* platform/mac-future/fast/dom: Removed.
* platform/mac-future/fast/dom/52776-expected.txt: Removed.
* platform/mac-future/fast/forms: Removed.
* platform/mac-future/fast/forms/listbox-bidi-align-expected.png: Removed.
* platform/mac-future/fast/repaint: Removed.
* platform/mac-future/fast/repaint/canvas-putImageData-expected.txt: Removed.
* platform/mac-future/fast/text: Removed.
* platform/mac-future/fast/text/capitalize-boundaries-expected.png: Removed.
* platform/mac-future/fast/writing-mode: Removed.
* platform/mac-future/fast/writing-mode/fallback-orientation-expected.png: Removed.
* platform/mac-future/media: Removed.
* platform/mac-future/media/video-display-toggle-expected.txt: Removed.
* platform/mac-future/media/video-no-audio-expected.txt: Removed.
* platform/mac-future/svg: Removed.
* platform/mac-future/svg/W3C-I18N: Removed.
* platform/mac-future/svg/W3C-SVG-1.1-SE: Removed.
* platform/mac-future/svg/batik: Removed.
* platform/mac-future/svg/batik/masking: Removed.
* platform/mac-future/svg/batik/text: Removed.
* platform/mac-future/svg/batik/text/textGlyphOrientationHorizontal-expected.png: Removed.
* platform/mac-future/svg/carto.net: Removed.
* platform/mac-future/svg/carto.net/scrollbar-expected.png: Removed.
* platform/mac-future/svg/custom: Removed.

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

7 years agoNumericStrings should be inlined
benjamin@webkit.org [Thu, 15 Mar 2012 21:54:33 +0000 (21:54 +0000)]
NumericStrings should be inlined
https://bugs.webkit.org/show_bug.cgi?id=81183

Patch by Benjamin Poulain <bpoulain@apple.com> on 2012-03-15
Reviewed by Gavin Barraclough.

NumericStrings is not always inlined. When it is not, the class is not faster
than using UString::number() directly.

* runtime/NumericStrings.h:
(JSC::NumericStrings::add):
(JSC::NumericStrings::lookupSmallString):

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

7 years ago Move test results from mac-lion to mac
ap@apple.com [Thu, 15 Mar 2012 21:46:12 +0000 (21:46 +0000)]
    Move test results from mac-lion to mac
        https://bugs.webkit.org/show_bug.cgi?id=81266

        Reviewed by Jessie Berlin.

        * platform/mac-lion/canvas: Removed.
        * platform/mac-lion/canvas/philip: Removed.
        * platform/mac-lion/canvas/philip/tests: Removed.
        * platform/mac-lion/editing: Removed.
        * platform/mac-lion/editing/inserting: Removed.
        * platform/mac-lion/editing/inserting/break-blockquote-after-delete-expected.png: Removed.
        * platform/mac-lion/fast: Removed.
        * platform/mac-lion/fast/css: Removed.
        * platform/mac-lion/fast/css/font-family-pictograph-expected.txt: Removed.
        * platform/mac-lion/svg: Removed.
        * platform/mac-lion/svg/W3C-SVG-1.1-SE: Removed.
        * platform/mac-lion/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt: Removed.
        * platform/mac/editing/inserting/break-blockquote-after-delete-expected.png:
        * platform/mac/fast/css/font-family-pictograph-expected.txt: Copied from LayoutTests/platform/mac-lion/fast/css/font-family-pictograph-expected.txt.
        * platform/mac/svg/W3C-SVG-1.1-SE/text-intro-05-t-expected.txt:

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

7 years agoFix crbug 117957 - get settings scrolling with the wheel again.
jamesr@google.com [Thu, 15 Mar 2012 21:39:18 +0000 (21:39 +0000)]
Fix crbug 117957 - get settings scrolling with the wheel again.
https://bugs.webkit.org/show_bug.cgi?id=81247

Patch by Scott Byer <scottbyer@chromium.org> on 2012-03-15
Reviewed by James Robinson.

Tests to follow.

* page/FrameView.cpp:
(WebCore::FrameView::serviceScriptedAnimations):

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

7 years agoREGRESSION(r107168?): Assertion failures under pageContainsAnyHorizontalScrollbars...
andersca@apple.com [Thu, 15 Mar 2012 21:33:44 +0000 (21:33 +0000)]
REGRESSION(r107168?): Assertion failures under pageContainsAnyHorizontalScrollbars causing multiple "crashes" on the Lion Intel Debug WebKit2 testers
https://bugs.webkit.org/show_bug.cgi?id=81162
<rdar://problem/11050423>

Reviewed by Beth Dakin and Jessie Berlin.

Downgrade the ASSERT to a simple if check since scrollableArea->isOnActivePage() can return false when layout happens during page transitions.

* WebProcess/WebPage/WebPage.cpp:
(WebKit::pageContainsAnyHorizontalScrollbars):

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

7 years agohttps://bugs.webkit.org/show_bug.cgi?id=81258
hyatt@apple.com [Thu, 15 Mar 2012 21:30:18 +0000 (21:30 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=81258

Add a preference for enabling the new multi-column layout code that will be based on regions.

Reviewed by Beth Dakin.

Source/WebCore:

* page/Settings.cpp:
(WebCore::Settings::Settings):
* page/Settings.h:
(WebCore::Settings::setRegionBasedColumnsEnabled):
(WebCore::Settings::regionBasedColumnsEnabled):
(Settings):

Source/WebKit/mac:

* WebView/WebPreferenceKeysPrivate.h:
* WebView/WebPreferences.mm:
(+[WebPreferences initialize]):
(-[WebPreferences setRegionBasedColumnsEnabled:]):
(-[WebPreferences regionBasedColumnsEnabled]):
* WebView/WebPreferencesPrivate.h:
* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Source/WebKit2:

* Shared/WebPreferencesStore.h:
(WebKit):
* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetRegionBasedColumnsEnabled):
(WKPreferencesGetRegionBasedColumnsEnabled):
* UIProcess/API/C/WKPreferencesPrivate.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):

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

7 years agoRenderStyle: Return Color objects by value instead of as const references.
kling@webkit.org [Thu, 15 Mar 2012 21:24:32 +0000 (21:24 +0000)]
RenderStyle: Return Color objects by value instead of as const references.
<http://webkit.org/b/81180>

Reviewed by Antti Koivisto.

Make RenderStyle getters return "Color" rather than "const Color&". This is preparation
for storing some color values in a more space-efficient fashion.

* css/CSSStyleApplyProperty.cpp:
(WebCore::ApplyPropertyColor::applyInheritValue):
* page/animation/AnimationBase.cpp:
(PropertyWrapperColor):
(WebCore::PropertyWrapperColor::PropertyWrapperColor):
(WebCore::PropertyWrapperColor::blend):
(WebCore::PropertyWrapperMaybeInvalidColor::PropertyWrapperMaybeInvalidColor):
(PropertyWrapperMaybeInvalidColor):
(WebCore::PropertyWrapperVisitedAffectedColor::PropertyWrapperVisitedAffectedColor):
(WebCore::PropertyWrapperSVGPaint::PropertyWrapperSVGPaint):
(PropertyWrapperSVGPaint):
* platform/graphics/Color.h:
(WebCore::Color::Color):
* rendering/style/RenderStyle.h:

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

7 years agoCan't swipe to go back/forward when the current page is a PDF document
andersca@apple.com [Thu, 15 Mar 2012 21:16:05 +0000 (21:16 +0000)]
Can't swipe to go back/forward when the current page is a PDF document
https://bugs.webkit.org/show_bug.cgi?id=81194
<rdar://problem/6954125>

Reviewed by Sam Weinig.

Override -[PDFViewScrollView scrollWheel:] and have the new implementation call
-[WKPDFView forwardScrollWheelEvent:] when the PDF is pinned to either the left or right side.
WKPDFView will then call PDFController::forwardScrollWheelEvent which checks if we can go back or forward,
and passes the event along to the WKView which ends up triggering the swiping machinery in Safari.

* UIProcess/API/mac/PDFViewController.h:
* UIProcess/API/mac/PDFViewController.mm:
(-[WKPDFView forwardScrollWheelEvent:]):
(WebKit):
(WebKit::PDFViewController::forwardScrollWheelEvent):
(WebKit::findEnclosingWKPDFView):
(WebKit::PDFViewScrollView_scrollWheel):
(WebKit::PDFViewController::pdfKitBundle):
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didCommitLoadForFrame):

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

7 years agoAssertion failures in WebCore::Page::goBackOrForward causing multiple "crashes" on...
jberlin@webkit.org [Thu, 15 Mar 2012 21:07:49 +0000 (21:07 +0000)]
Assertion failures in WebCore::Page::goBackOrForward causing multiple "crashes" on Lion Intel
Debug WebKit2 testers
https://bugs.webkit.org/show_bug.cgi?id=81159

Rubber-stamped by Brady Eidson.

It is plausible that history could change in between the time a navigation request is
scheduled and the timer is fired, so the request index could be out of the b/f list range.
Hence, the assertion is invalid and should be removed.

* page/Page.cpp:
(WebCore::Page::goBackOrForward):

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

7 years agofast/dom/Window/window-properties.html and fast/dom/prototype-inheritance-2.html...
jberlin@webkit.org [Thu, 15 Mar 2012 21:07:37 +0000 (21:07 +0000)]
fast/dom/Window/window-properties.html and fast/dom/prototype-inheritance-2.html failing on
Mac WK2 because WebAudio is not enabled
https://bugs.webkit.org/show_bug.cgi?id=81259

Reviewed by Dan Bernstein.

Enable WebAudio so that it appears in the window object in the tests.
The webaudio tests are all still skipped in the Mac Skipped list.

* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):

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

7 years ago Assertion failures in checkEncodedString when running WebKit2 tests
ap@apple.com [Thu, 15 Mar 2012 21:07:16 +0000 (21:07 +0000)]
    Assertion failures in checkEncodedString when running WebKit2 tests
        https://bugs.webkit.org/show_bug.cgi?id=67425
        <rdar://problem/11043492>

        Reviewed by Anders Carlsson.

        * platform/network/cf/ResourceErrorCF.cpp: (WebCore::ResourceError::cfError):
        * platform/network/mac/ResourceErrorMac.mm: (WebCore::ResourceError::nsError):
        The failing URL is certainly not guaranteed to be valid, so it's not correct to put it back
        into a URL as if it's been normalized by KURL.

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

7 years agoFix ARM build after r110792.
abecsi@webkit.org [Thu, 15 Mar 2012 20:39:51 +0000 (20:39 +0000)]
Fix ARM build after r110792.

Unreviewed build fix.

* jit/ExecutableAllocator.h:
(JSC::ExecutableAllocator::cacheFlush):
Remove superfluous curly brackets.

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

7 years ago<rdar://problem/11036900> and https://bugs.webkit.org/show_bug.cgi?id=81079 REGRESSIO...
beidson@apple.com [Thu, 15 Mar 2012 20:23:05 +0000 (20:23 +0000)]
<rdar://problem/11036900> and https://bugs.webkit.org/show_bug.cgi?id=81079 REGRESSION(r107844): Clipboard API only remembers most recent data set on clipboard

Reviewed by Sam Weinig.

Source/WebCore:

Test: editing/pasteboard/copy-two-pasteboard-types-both-work.html

Add the non-destructive "addTypes" to supplement the destructive "setTypes"
* platform/PasteboardStrategy.h:
(PasteboardStrategy):
* platform/PlatformPasteboard.h:
(PlatformPasteboard):
* platform/mac/PlatformPasteboardMac.mm:
(WebCore::PlatformPasteboard::addTypes):
* WebCore.exp.in:

* platform/mac/ClipboardMac.mm:
(WebCore::ClipboardMac::setData): Call the non-destructive "addTypes" instead of
  the destructive "setTypes"

Source/WebKit/mac:

Add the non-destructive "addTypes" to supplement the destructive "setTypes"
* WebCoreSupport/WebPlatformStrategies.h:
* WebCoreSupport/WebPlatformStrategies.mm:
(WebPlatformStrategies::addTypes):

Source/WebKit2:

Add the non-destructive "addTypes" to supplement the destructive "setTypes"

* UIProcess/WebContext.h:
* UIProcess/WebContext.messages.in:
* UIProcess/mac/WebContextMac.mm:
(WebKit::WebContext::addPasteboardTypes):

* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::addTypes):
* WebProcess/WebCoreSupport/WebPlatformStrategies.h:

LayoutTests:

* editing/pasteboard/copy-two-pasteboard-types-both-work-expected.txt: Added.
* editing/pasteboard/copy-two-pasteboard-types-both-work.html: Added.

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

7 years agoUnreviewed gardening. New flaky tests and new failure modes for old flaky tests.
leviw@chromium.org [Thu, 15 Mar 2012 20:09:55 +0000 (20:09 +0000)]
Unreviewed gardening. New flaky tests and new failure modes for old flaky tests.

* platform/chromium/test_expectations.txt:

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

7 years ago[Chromium] REGRESSION(r110596) CCQuadCullerTest.verifyCullChildLinesUpTopLeft fails...
commit-queue@webkit.org [Thu, 15 Mar 2012 20:06:19 +0000 (20:06 +0000)]
[Chromium] REGRESSION(r110596) CCQuadCullerTest.verifyCullChildLinesUpTopLeft fails on Windows
https://bugs.webkit.org/show_bug.cgi?id=81083

Patch by Dana Jansens <danakj@chromium.org> on 2012-03-15
Reviewed by Adrienne Walker.

Source/WebCore:

The surface pointer on the occlusion tracker stack is uninitialized, and
can be non-null, but the layer's target surface is null, causing asserts
to fail. Fixes the TestCCOcclusionTrackerImpl to initialize the stack's
surface to be null.

* platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
(WebCore::::enterTargetRenderSurface):
(WebCore::::unoccludedContentRect):
* platform/graphics/chromium/cc/CCOcclusionTracker.h:
(WebCore::CCOcclusionTrackerBase::StackObject::StackObject):

Source/WebKit/chromium:

* tests/CCQuadCullerTest.cpp:
(WebCore::TEST):

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

7 years agoARMv7: prefer vmov(gpr,gpr->double) over vmov(gpr->single)
barraclough@apple.com [Thu, 15 Mar 2012 20:06:11 +0000 (20:06 +0000)]
ARMv7: prefer vmov(gpr,gpr->double) over vmov(gpr->single)
https://bugs.webkit.org/show_bug.cgi?id=81256

Reviewed by Oliver Hunt.

This is a 0.5% sunspider progression.

* assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::convertInt32ToDouble):
    - switch which form of vmov we use.

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

7 years ago[EFL] Add OwnPtr specialization for Ecore_Timer.
commit-queue@webkit.org [Thu, 15 Mar 2012 19:55:37 +0000 (19:55 +0000)]
[EFL] Add OwnPtr specialization for Ecore_Timer.
https://bugs.webkit.org/show_bug.cgi?id=80119

Patch by YoungTaeck Song <youngtaeck.song@samsung.com> on 2012-03-15
Reviewed by Hajime Morita.

Add an overload for deleteOwnedPtr(Ecore_Timer*) on EFL port.

* wtf/OwnPtrCommon.h:
(WTF):
* wtf/efl/OwnPtrEfl.cpp:
(WTF::deleteOwnedPtr):
(WTF):

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

7 years agoVarious autoresize fixes.
levin@chromium.org [Thu, 15 Mar 2012 19:54:27 +0000 (19:54 +0000)]
Various autoresize fixes.
https://bugs.webkit.org/show_bug.cgi?id=81199

Reviewed by Darin Fisher.

Source/WebCore:

Tested by WebViewTest additions.

* page/FrameView.cpp:
(WebCore::FrameView::autoSizeIfEnabled): Fixed a bug that caused a horizontal
scrollbar to appear when the size was width was fixed and height overflowed which
is one of the tests that was added.

Source/WebKit/chromium:

* public/WebView.h:
(WebView): Remove a deprecated api.
* src/WebViewImpl.cpp: Ditto.
* src/WebViewImpl.h: Ditto.
* tests/FrameTestHelpers.cpp:
(WebKit::FrameTestHelpers::registerMockedURLLoad): Added an overload with more flexibility.
The previous api didn't allow one to request a url with a search string.
(FrameTestHelpers):
* tests/FrameTestHelpers.h:
(FrameTestHelpers): Ditto.
* tests/WebViewTest.cpp: Fix the test because calling javascript:
was working. Make the test generic and added a lot more tests to cover
various possibilities. I avoided using a layout test because there wasn't
a way to get the scrollbar state, so I just generalized a test that was already there.
* tests/data/specify_size.html: Allow the test to take its size from the search string.

Tools:

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::reset): Stop using the deprecated api that was removed.

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

7 years agoLinux has madvise enough to support OSAllocator::commit/decommit
commit-queue@webkit.org [Thu, 15 Mar 2012 19:54:15 +0000 (19:54 +0000)]
Linux has madvise enough to support OSAllocator::commit/decommit
https://bugs.webkit.org/show_bug.cgi?id=80505

Patch by Hojong Han <hojong.han@samsung.com> on 2012-03-15
Reviewed by Geoffrey Garen.

* wtf/OSAllocatorPosix.cpp:
(WTF::OSAllocator::reserveUncommitted):
(WTF::OSAllocator::commit):
(WTF::OSAllocator::decommit):

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

7 years agoWeb Inspector: normalize vertical overview bars by longest bar, not by longest frame
caseq@chromium.org [Thu, 15 Mar 2012 19:33:55 +0000 (19:33 +0000)]
Web Inspector: normalize vertical overview bars by longest bar, not by longest frame
https://bugs.webkit.org/show_bug.cgi?id=81231

Reviewed by Vsevolod Vlasov.

* inspector/front-end/TimelineOverviewPane.js:
(WebInspector.TimelineOverviewPane):
(WebInspector.TimelineOverviewPane.prototype.reset):
(WebInspector.TimelineOverviewPane.prototype.accept):
(WebInspector.TimelineOverviewPane.prototype.windowEndTime):
(WebInspector.TimelineVerticalOverview.prototype.reset):
(WebInspector.TimelineVerticalOverview.prototype.update):
(WebInspector.TimelineVerticalOverview.prototype._aggregateFrames):
(WebInspector.TimelineVerticalOverview.prototype._aggregateRecords):
(WebInspector.TimelineVerticalOverview.prototype.getWindowTimes):

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

7 years agoWeb Inspector: crash in InspectorTimelineAgent when trying to add children to cancela...
caseq@chromium.org [Thu, 15 Mar 2012 19:29:57 +0000 (19:29 +0000)]
Web Inspector: crash in InspectorTimelineAgent when trying to add children to cancelable records
https://bugs.webkit.org/show_bug.cgi?id=81245

Reviewed by Vsevolod Vlasov.

* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::addRecordToTimeline):
(WebCore):
(WebCore::InspectorTimelineAgent::innerAddRecordToTimeline):
(WebCore::InspectorTimelineAgent::appendRecord):
(WebCore::InspectorTimelineAgent::commitCancelableRecords):
* inspector/InspectorTimelineAgent.h:
(InspectorTimelineAgent):

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

7 years agoWindows build fix.
sfalken@apple.com [Thu, 15 Mar 2012 19:17:24 +0000 (19:17 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGO.vsprops:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreReleasePGOOptimize.vsprops:
* JavaScriptCore.vcproj/WTF/copy-files.cmd:
* JavaScriptCore.vcproj/jsc/jscReleasePGO.vsprops:

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

7 years agoTemporarily skip svg/custom/delete-text-crash.html on mac and win
schenney@chromium.org [Thu, 15 Mar 2012 19:16:58 +0000 (19:16 +0000)]
Temporarily skip svg/custom/delete-text-crash.html on mac and win
https://bugs.webkit.org/show_bug.cgi?id=81006

Unreviewed update of expectations.

Patch by Philip Rogers <pdr@google.com> on 2012-03-15

* platform/mac/Skipped:
* platform/win/Skipped:

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

7 years ago[Chromium] Cleanup of outdated test expectations
schenney@chromium.org [Thu, 15 Mar 2012 19:10:38 +0000 (19:10 +0000)]
[Chromium] Cleanup of outdated test expectations
https://bugs.webkit.org/show_bug.cgi?id=81253

Unreviewed chromium test expectations update.

* platform/chromium/test_expectations.txt: Updated bug numbers or removed several SVG-related expectations.

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

7 years agoWeb Inspector: live locations could be disposed twice.
podivilov@chromium.org [Thu, 15 Mar 2012 18:55:39 +0000 (18:55 +0000)]
Web Inspector: live locations could be disposed twice.
https://bugs.webkit.org/show_bug.cgi?id=81249

Reviewed by Vsevolod Vlasov.

* inspector/front-end/ScriptMapping.js:
(WebInspector.MainScriptMapping.prototype._unregisterLiveLocation):

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

7 years agoUnreviewed rebaseline of canvas/philip/tests/2d.line.cap.round; the platform
timothy_horton@apple.com [Thu, 15 Mar 2012 18:45:45 +0000 (18:45 +0000)]
Unreviewed rebaseline of canvas/philip/tests/2d.line.cap.round; the platform
independent results are correct for mac now, so remove the specific ones.

* platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.round-expected.txt: Removed.
* platform/mac/canvas/philip/tests/2d.line.cap.round-expected.txt: Removed.

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

7 years ago[GTK] Actually use --release and --debug command line options in run-gtk-test
carlosgc@webkit.org [Thu, 15 Mar 2012 18:31:36 +0000 (18:31 +0000)]
[GTK] Actually use --release and --debug command line options in run-gtk-test
https://bugs.webkit.org/show_bug.cgi?id=81234

Reviewed by Philippe Normand.

Actually handle --release and --debug command line options to
create the build directory, falling back to current hack to detect
whether it's a Release or Debug build when both options are missed.

* Scripts/run-gtk-tests:
(TestRunner.__init__): Receive options too.
(TestRunner._get_top_level_directory): Helper function to get the
top level directory.
(TestRunner._get_build_directory): Helper function to get the
build directory depending on --release/--debug command line
options or gessing it if both options are missing.
(TestRunner._ensure_accessibility_daemon_is_running): Use
self-options now.
(TestRunner.run): Ditto.
(TestRunner.run.run_tests): Pass options to the constructor
instead of run().

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

7 years ago[GTK] Implement unicode submenu items
carlosgc@webkit.org [Thu, 15 Mar 2012 18:28:53 +0000 (18:28 +0000)]
[GTK] Implement unicode submenu items
https://bugs.webkit.org/show_bug.cgi?id=81117

Reviewed by Martin Robinson.

Source/WebCore:

* loader/EmptyClients.h:
(WebCore::EmptyEditorClient::shouldShowUnicodeMenu): Just return
false.
* page/ContextMenuController.cpp:
(WebCore::insertUnicodeCharacter): Helper function to insert a
unicode character.
(WebCore::ContextMenuController::contextMenuItemSelected):
Implement unicode menu items using insertUnicodeCharacter() to
insert the apropriate unicode character.
(WebCore::ContextMenuController::createAndAppendUnicodeSubMenu):
Create the unicode submenu.
(WebCore::ContextMenuController::populate): Add unicode submenu
item for editable content.
(WebCore::ContextMenuController::checkOrEnableIfNeeded): Add
unicode submenu items to the switch.
* page/ContextMenuController.h:
* page/EditorClient.h:
(EditorClient): Add shouldShowUnicodeMenu() for GTK platform.
* platform/ContextMenuItem.h:
* platform/LocalizedStrings.h:
* platform/gtk/LocalizedStringsGtk.cpp:
(WebCore::contextMenuItemTagUnicodeInsertLRMMark): Add localized
string for the unicode menu item.
(WebCore::contextMenuItemTagUnicodeInsertRLMMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertLREMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertRLEMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertLROMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertRLOMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertPDFMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertZWSMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertZWJMark): Ditto.
(WebCore::contextMenuItemTagUnicodeInsertZWNJMark): Ditto.

Source/WebKit/gtk:

* WebCoreSupport/ContextMenuClientGtk.cpp:
(WebKit::getUnicodeMenuItemPosition): Helper function to get the
position of the unicode menu item in the default context menu.
(WebKit::ContextMenuClient::getCustomMenuFromDefaultItems): Remove
code to build the unicode menu, since it's now built by WebCore.
* WebCoreSupport/EditorClientGtk.cpp:
(WebKit::EditorClient::shouldShowUnicodeMenu): Check whether
unicode menu should be shown based on gtk-show-unicode-menu GtkSetting.
* WebCoreSupport/EditorClientGtk.h:

Source/WebKit2:

* WebProcess/WebCoreSupport/WebEditorClient.h:
* WebProcess/WebCoreSupport/gtk/WebEditorClientGtk.cpp:
(WebKit::WebEditorClient::shouldShowUnicodeMenu): Implement
shouldShowUnicodeMenu() returning always true. When ContextMenu
API is implemented for GTK+ the UI process will decide whether to
show the unicode menu or not.

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

7 years agoWeb Inspector: MainScriptMapping should detect snippet scripts by means of sourceURL...
vsevik@chromium.org [Thu, 15 Mar 2012 18:26:11 +0000 (18:26 +0000)]
Web Inspector: MainScriptMapping should detect snippet scripts by means of sourceURL set before evaluation.
https://bugs.webkit.org/show_bug.cgi?id=81031

Reviewed by Pavel Feldman.

Source/WebCore:

* inspector/front-end/SnippetsModel.js:
(WebInspector.SnippetsModel):
(WebInspector.SnippetsModel.prototype._saveSettings):
(WebInspector.SnippetsModel.prototype.deleteSnippet):
(WebInspector.SnippetsModel.prototype._snippetAdded):
(WebInspector.SnippetsModel.prototype._sourceURLForSnippet):
(WebInspector.SnippetsModel.prototype.snippetIdForSourceURL):
(WebInspector.SnippetsModel.prototype.snippetForSourceURL):
(WebInspector.Snippet.prototype.evaluate):
(WebInspector.SnippetsScriptMapping):
(WebInspector.SnippetsScriptMapping.prototype.uiLocationToRawLocation.get if):
(WebInspector.SnippetsScriptMapping.prototype.uiLocationToRawLocation):
(WebInspector.SnippetsScriptMapping.prototype._releasedUISourceCodes):
(WebInspector.SnippetsScriptMapping.prototype._snippetAdded):
(WebInspector.SnippetsScriptMapping.prototype._snippetWillBeEvaluated):
(WebInspector.SnippetsScriptMapping.prototype._snippetRemoved.get this):
(WebInspector.SnippetsScriptMapping.prototype._snippetRemoved):

LayoutTests:

* inspector/debugger/snippets-model-expected.txt:
* inspector/debugger/snippets-model.html:

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

7 years agoWindows build fix.
sfalken@apple.com [Thu, 15 Mar 2012 18:24:05 +0000 (18:24 +0000)]
Windows build fix.

* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:

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

7 years agoFix the test failing with run-perf-tests.
alexis.menard@openbossa.org [Thu, 15 Mar 2012 18:24:01 +0000 (18:24 +0000)]
Fix the test failing with run-perf-tests.

Rubber stamped by Ryosuke Niwa.

* CSS/CSSPropertySetterGetter.html:

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

7 years ago[GTK] Run unit tests with --verbose in the bots
carlosgc@webkit.org [Thu, 15 Mar 2012 17:37:48 +0000 (17:37 +0000)]
[GTK] Run unit tests with --verbose in the bots
https://bugs.webkit.org/show_bug.cgi?id=81230

Reviewed by Martin Robinson.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(RunGtkAPITests): Add --verbose to run-gtk-test command.

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

7 years agomigrate Yang Guo's expectations from chromium to webkit
caryclark@google.com [Thu, 15 Mar 2012 17:32:08 +0000 (17:32 +0000)]
migrate Yang Guo's expectations from chromium to webkit
https://bugs.webkit.org/show_bug.cgi?id=81026

Unreviewed test_expectations.

Patch by Elliot Poger <epoger@google.com> on 2012-03-15

* platform/chromium/test_expectations.txt:

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

7 years agoUnreviewed. Fix typos in ChangeLog dates.
kevino@webkit.org [Thu, 15 Mar 2012 17:28:53 +0000 (17:28 +0000)]
Unreviewed. Fix typos in ChangeLog dates.

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

7 years agoMove wx port to using export macros
kevino@webkit.org [Thu, 15 Mar 2012 17:25:01 +0000 (17:25 +0000)]
Move wx port to using export macros
https://bugs.webkit.org/show_bug.cgi?id=77279

Reviewed by Hajime Morita.

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

7 years ago[wx] Unreviewed. Build fixes for Mac and DOM bindings.
kevino@webkit.org [Thu, 15 Mar 2012 17:14:35 +0000 (17:14 +0000)]
[wx] Unreviewed. Build fixes for Mac and DOM bindings.

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

7 years agoWeb Inspector: extract CompilerScriptMapping from RawSourceCode.
podivilov@chromium.org [Thu, 15 Mar 2012 16:55:38 +0000 (16:55 +0000)]
Web Inspector: extract CompilerScriptMapping from RawSourceCode.
https://bugs.webkit.org/show_bug.cgi?id=81088

Reviewed by Vsevolod Vlasov.

Source/WebCore:

* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* inspector/compile-front-end.py:
* inspector/front-end/CompilerScriptMapping.js: Added.
(WebInspector.CompilerScriptMapping):
(WebInspector.CompilerScriptMapping.prototype.rawLocationToUILocation):
(WebInspector.CompilerScriptMapping.prototype.get uiSourceCodeList):
(WebInspector.CompilerScriptMapping.prototype.addScript.get this):
(WebInspector.CompilerScriptMapping.prototype.addScript):
(WebInspector.CompilerScriptMapping.prototype.loadSourceMapForScript):
(WebInspector.CompilerScriptMapping.prototype.reset):
* inspector/front-end/RawSourceCode.js:
(WebInspector.RawSourceCode):
(WebInspector.RawSourceCode.prototype.setFormatted):
(WebInspector.RawSourceCode.prototype._resourceFinished):
(WebInspector.RawSourceCode.prototype._createUISourceCode):
(WebInspector.RawSourceCode.FormattedSourceMapping.prototype.rawLocationToUILocation):
* inspector/front-end/ResourceScriptMapping.js:
(WebInspector.ResourceScriptMapping.prototype.addScript):
* inspector/front-end/ScriptMapping.js:
(WebInspector.MainScriptMapping):
* inspector/front-end/WebKit.qrc:
* inspector/front-end/inspector.html:

LayoutTests:

* http/tests/inspector/compiler-source-mapping-expected.txt:
* http/tests/inspector/compiler-source-mapping.html:
* http/tests/inspector/debugger-test.js:
(initialize_DebuggerTest.):
(initialize_DebuggerTest):
* inspector/debugger/raw-source-code-expected.txt:
* inspector/debugger/raw-source-code.html:

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

7 years agocss3/filters/custom/custom-filter-property-computed-style.html passes in browser...
jberlin@webkit.org [Thu, 15 Mar 2012 16:52:21 +0000 (16:52 +0000)]
css3/filters/custom/custom-filter-property-computed-style.html passes in browser, fails in DRT.
https://bugs.webkit.org/show_bug.cgi?id=81029

Land expected passing results for WKTR.

* platform/mac-wk2/css3/filters/custom/custom-filter-property-computed-style-expected.txt: Added.

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

7 years agoWeb Inspector: Move all includes behind ENABLE(INSPECTOR) guards
yurys@chromium.org [Thu, 15 Mar 2012 16:44:09 +0000 (16:44 +0000)]
Web Inspector: Move all includes behind ENABLE(INSPECTOR) guards
https://bugs.webkit.org/show_bug.cgi?id=81132

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-03-15
Reviewed by Yury Semikhatsky.

Include directives are moved several lines down in .cpp files and in
generator templates.

* inspector/CodeGeneratorInspector.py:
* inspector/ContentSearchUtils.cpp:
* inspector/DOMEditor.cpp:
* inspector/DOMNodeHighlighter.cpp:
* inspector/DOMPatchSupport.cpp:
* inspector/IdentifiersFactory.cpp:
* inspector/InjectedScript.cpp:
* inspector/InjectedScriptHost.cpp:
* inspector/InjectedScriptManager.cpp:
* inspector/InspectorAgent.cpp:
* inspector/InspectorApplicationCacheAgent.cpp:
* inspector/InspectorBaseAgent.cpp:
* inspector/InspectorCSSAgent.cpp:
* inspector/InspectorClient.cpp:
* inspector/InspectorConsoleAgent.cpp:
* inspector/InspectorController.cpp:
* inspector/InspectorCounters.cpp:
* inspector/InspectorDOMAgent.cpp:
* inspector/InspectorDOMDebuggerAgent.cpp:
* inspector/InspectorDOMStorageAgent.cpp:
* inspector/InspectorDatabaseAgent.cpp:
* inspector/InspectorDatabaseResource.cpp:
* inspector/InspectorDebuggerAgent.cpp:
* inspector/InspectorFileSystemAgent.cpp:
* inspector/InspectorFrontendClientLocal.cpp:
* inspector/InspectorFrontendHost.cpp:
* inspector/InspectorHistory.cpp:
* inspector/InspectorIndexedDBAgent.cpp:
* inspector/InspectorInstrumentation.cpp:
* inspector/InspectorMemoryAgent.cpp:
* inspector/InspectorPageAgent.cpp:
* inspector/InspectorProfilerAgent.cpp:
* inspector/InspectorResourceAgent.cpp:
* inspector/InspectorRuntimeAgent.cpp:
* inspector/InspectorState.cpp:
* inspector/InspectorStyleSheet.cpp:
* inspector/InspectorStyleTextEditor.cpp:
* inspector/InspectorTimelineAgent.cpp:
* inspector/InspectorValues.cpp:
* inspector/InstrumentingAgents.cpp:
* inspector/NetworkResourcesData.cpp:
* inspector/PageConsoleAgent.cpp:
* inspector/PageDebuggerAgent.cpp:
* inspector/PageRuntimeAgent.cpp:
* inspector/TimelineRecordFactory.cpp:
* inspector/WorkerConsoleAgent.cpp:
* inspector/WorkerDebuggerAgent.cpp:
* inspector/WorkerRuntimeAgent.cpp:

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