WebKit-https.git
9 years ago2011-04-26 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Apr 2011 18:31:33 +0000 (18:31 +0000)]
2011-04-26  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Add failing expectations for new test introduced in r84930.

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

9 years ago2011-04-25 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 26 Apr 2011 18:31:03 +0000 (18:31 +0000)]
2011-04-25  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Nixed special finalizer handling for WebCore strings
        https://bugs.webkit.org/show_bug.cgi?id=59425

        SunSpider reports no change.

        Not needed anymore, since weak handles have finalizers.

        * runtime/JSString.cpp:
        (JSC::JSString::resolveRope):
        (JSC::JSString::resolveRopeSlowCase):
        (JSC::JSString::outOfMemory):
        (JSC::JSString::substringFromRope):
        (JSC::JSString::replaceCharacter): Updated for removal of union.

        * runtime/JSString.h:
        (JSC::RopeBuilder::JSString):
        (JSC::RopeBuilder::~JSString):
        (JSC::RopeBuilder::appendStringInConstruct):
        (JSC::RopeBuilder::appendValueInConstructAndIncrementLength): No need for
        union or special constructor anymore.
2011-04-25  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Nixed special finalizer handling for WebCore strings
        https://bugs.webkit.org/show_bug.cgi?id=59425

        Not needed anymore, since weak handles have finalizers.

        * WebCore.exp.in: Exports!

        * bindings/js/DOMWrapperWorld.cpp:
        (WebCore::JSStringOwner::finalize):
        (WebCore::DOMWrapperWorld::DOMWrapperWorld): Use a weak handle finalizer,
        so we don't need special treatment anymore.

        * bindings/js/DOMWrapperWorld.h:
        (WebCore::JSStringOwner::JSStringOwner):
        (WebCore::DOMWrapperWorld::stringWrapperOwner): Use a HashMap of Weak<T>
        instead of a WeakGCMap, so we can specify a custom finalizer.

        * bindings/js/JSDOMBinding.cpp:
        (WebCore::jsStringSlowCase):
        * bindings/js/JSDOMBinding.h:
        (WebCore::jsString): Updated for string map change.

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

9 years ago2011-04-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 18:23:21 +0000 (18:23 +0000)]
2011-04-26  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        Moar strict OwnPtr fixes for WebKit/chromium
        https://bugs.webkit.org/show_bug.cgi?id=59437

        This patch fixes all but two strict OwnPtr issues in WebKit/chromium.

        * src/WebDataSourceImpl.cpp:
        (WebKit::WebDataSourceImpl::setExtraData):
        (WebKit::WebDataSourceImpl::setNextPluginLoadObserver):
        (WebKit::WebDataSourceImpl::WebDataSourceImpl):
        * src/WebDataSourceImpl.h:
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::WebDevToolsAgentImpl::attach):
        (WebKit::WebDevToolsAgentImpl::detach):
        (WebKit::WebDevToolsAgent::interruptAndDispatch):
        * src/WebFrameImpl.cpp:
        (WebKit::WebFrameImpl::printBegin):
        * src/WebMediaPlayerClientImpl.cpp:
        (WebKit::createWebMediaPlayer):
        (WebKit::WebMediaPlayerClientImpl::loadInternal):
        * src/WebSpeechInputControllerMockImpl.cpp:
        (WebKit::WebSpeechInputControllerMockImpl::WebSpeechInputControllerMockImpl):
        * src/WebStorageEventDispatcherImpl.cpp:
        (WebKit::WebStorageEventDispatcherImpl::WebStorageEventDispatcherImpl):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::WebViewImpl):
        (WebKit::WebViewImpl::settings):
        (WebKit::WebViewImpl::applyAutoFillSuggestions):
        (WebKit::WebView::addUserScript):
        (WebKit::WebView::addUserStyleSheet):

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

9 years ago<http://webkit.org/b/59372> Restore user default for enabling HTTP pipelining
ddkilzer@apple.com [Tue, 26 Apr 2011 18:13:11 +0000 (18:13 +0000)]
<webkit.org/b/59372> Restore user default for enabling HTTP pipelining

Reviewed by Antti Koivisto.

To enable HTTP pipelining post-SnowLeopard, use this command:

    defaults write BUNDLE.ID WebKitEnableHTTPPipelining -bool YES

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::readBooleanPreference): Re-added.  Originally added in
r76756 and removed in r84120.
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Enable
HTTP pipelining if use default is set to true.  Added macro
guards to match those in ResourceRequestMac.mm.

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

9 years ago2011-04-26 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Tue, 26 Apr 2011 18:03:58 +0000 (18:03 +0000)]
2011-04-26  Daniel Bates  <dbates@webkit.org>

        Add expected results for GTK and Qt ports for the test panScroll-click-hyperlink.html
        (added in <http://trac.webkit.org/changeset/84922>).

        * platform/gtk/fast/events/panScroll-click-hyperlink-expected.txt: Added; expected
          failure results since this port doesn't build with pan scrolling enabled.
        * platform/qt-win/fast: Added.
        * platform/qt-win/fast/events: Added.
        * platform/qt-win/fast/events/panScroll-click-hyperlink-expected.txt: Added.
        * platform/qt/fast/events/panScroll-click-hyperlink-expected.txt: Added; expected
          failure results since the port for the Linux platform doesn't build with pan scrolling
          enabled.

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

9 years agoSource/WebCore: Don't strip fragments from file: urls in memory cache
antti@apple.com [Tue, 26 Apr 2011 17:56:25 +0000 (17:56 +0000)]
Source/WebCore: Don't strip fragments from file: urls in memory cache
https://bugs.webkit.org/show_bug.cgi?id=59463
<rdar://problem/9231130>

Reviewed by Adele Peterson.

Some clients expect file: resources to be unique based on fragment identifier.
Limit the changes in http://trac.webkit.org/changeset/74107 to the HTTP protocol only

Test: fast/loader/file-protocol-fragment.html

* loader/cache/MemoryCache.cpp:
(WebCore::MemoryCache::removeFragmentIdentifierIfNeeded):

LayoutTests: Don't strip fragments from file: urls in memory cache
https://bugs.webkit.org/show_bug.cgi?id=59463

Reviewed by Adele Peterson.

* fast/loader/file-protocol-fragment-expected.txt: Added.
* fast/loader/file-protocol-fragment.html: Added.

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

9 years ago2011-04-26 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Apr 2011 17:40:35 +0000 (17:40 +0000)]
2011-04-26  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Added expectations for new test
        fast/events/panScroll-click-hyperlink.html.  Added a flaky test.

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

9 years ago2011-04-26 Siddharth Mathur <siddharth.mathur@nokia.com>
yi.4.shen@nokia.com [Tue, 26 Apr 2011 17:33:14 +0000 (17:33 +0000)]
2011-04-26  Siddharth Mathur  <siddharth.mathur@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Build fix: QtDeclarative Webview element has a fixed white background
        https://bugs.webkit.org/show_bug.cgi?id=40918

        Macro Q_REVISION and associated qdeclarativeitem.h signals are not available in 4.7.3 headers in Nokia Qt SDK.

        * declarative/plugin.cpp: Bump up required version to 4.7.4+
        (WebKitQmlPlugin::registerTypes):
        * declarative/qdeclarativewebview.cpp: ditto
        * declarative/qdeclarativewebview_p.h: ditto
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp: ditto

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

9 years ago2011-04-26 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Apr 2011 17:22:55 +0000 (17:22 +0000)]
2011-04-26  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test expectations update.

        * platform/chromium/test_expectations.txt:
        Add some failing and flaky tests.

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

9 years ago2011-04-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 17:21:42 +0000 (17:21 +0000)]
2011-04-26  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        DumpRenderTree/chromium should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59458

        All these changes are pretty straight forward.

        * DumpRenderTree/chromium/CppBoundClass.cpp:
        (GetterPropertyCallback::GetterPropertyCallback):
        (CppBoundClass::bindGetterCallback):
        * DumpRenderTree/chromium/CppBoundClass.h:
        (CppBoundClass::bindProperty):
        (CppBoundClass::bindFallbackCallback):
        (CppBoundClass::bindFallbackMethod):
        * DumpRenderTree/chromium/DRTDevToolsClient.cpp:
        (DRTDevToolsClient::DRTDevToolsClient):
        * DumpRenderTree/chromium/TestEventPrinter.cpp:
        (TestEventPrinter::createDRTPrinter):
        (TestEventPrinter::createTestShellPrinter):
        * DumpRenderTree/chromium/TestEventPrinter.h:
        * DumpRenderTree/chromium/TestShell.cpp:
        (TestShell::TestShell):
        (TestShell::createMainWindow):
        (TestShell::createDRTDevToolsClient):
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::geolocationClientMock):
        (WebViewHost::speechInputController):
        (WebViewHost::deviceOrientationClientMock):
        (WebViewHost::reset):
        (WebViewHost::navigate):
        (WebViewHost::setPendingExtraData):
        (WebViewHost::canvas):
        * DumpRenderTree/chromium/WebViewHost.h:

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

9 years ago2011-04-26 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Apr 2011 17:19:20 +0000 (17:19 +0000)]
2011-04-26  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Adam Roben.

        Fix path to transition-test-helpers.js in a test that is skipped
        on Mac but not Windows.

        * compositing/animation/animated-composited-inside-hidden.html:

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

9 years agoMake DRT/win log loading errors the same way DRT/mac does
aroben@apple.com [Tue, 26 Apr 2011 17:16:36 +0000 (17:16 +0000)]
Make DRT/win log loading errors the same way DRT/mac does

Fixes <http://webkit.org/b/59303> [Windows WebKit1 Tests]
http/tests/misc/will-send-request-returns-null-on-redirect.html failing since r84742

Reviewed by Alexey Proskuryakov.

* DumpRenderTree/win/ResourceLoadDelegate.cpp:
(ResourceLoadDelegate::descriptionSuitableForTestResult): Removed the workaround for
<rdar://problem/5064234>, which has long since been fixed, and then made this function match
-[NSError(DRTExtras) _drt_descriptionSuitableForTestResult] more closely.

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

9 years agoFix more strict OwnPtr in WebCore (round N).
levin@chromium.org [Tue, 26 Apr 2011 17:16:27 +0000 (17:16 +0000)]
Fix more strict OwnPtr in WebCore (round N).
https://bugs.webkit.org/show_bug.cgi?id=59464

Reviewed by Darin Adler.

* dom/Document.cpp:
(WebCore::Document::Document):
(WebCore::Document::attach):
* fileapi/FileReader.cpp:
(WebCore::FileReader::terminate):
* loader/DocumentThreadableLoader.cpp:
(WebCore::DocumentThreadableLoader::preflightFailure):
* workers/DefaultSharedWorkerRepository.cpp:
(WebCore::SharedWorkerConnectTask::create):
(WebCore::SharedWorkerScriptLoader::load):

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

9 years ago2011-04-26 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Tue, 26 Apr 2011 17:12:12 +0000 (17:12 +0000)]
2011-04-26  Daniel Bates  <dbates@rim.com>

        Reviewed by Adam Barth.

        Add layout test to ensure we don't regress clicking when exiting pan scrolling
        https://bugs.webkit.org/show_bug.cgi?id=58702

        On ports that build with PAN_SCROLLING enabled (includes all Windows ports at
        the time of writing), ensure that a mouse click is ignored when in pan scroll mode.

        This test is expected to fail on ports either built with PAN_SCROLLING disabled
        or don't support pan scrolling. In particular, this test is expected to fail on
        the Apple Mac and Chromium Mac port.

        * fast/events/panScroll-click-hyperlink.html: Added.
        * platform/mac/fast/events/panScroll-click-hyperlink-expected.txt: Added.
        * platform/win/fast/events/panScroll-click-hyperlink-expected.txt: Added.

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

9 years ago2011-04-26 Ruben <chromium@hybridsource.org>
tony@chromium.org [Tue, 26 Apr 2011 17:09:04 +0000 (17:09 +0000)]
2011-04-26  Ruben  <chromium@hybridsource.org>

        Reviewed by Tony Chang.

        Change linux ifdefs for Chromium to Unix instead, allowing
        new Unix ports to be enabled by default
        https://bugs.webkit.org/show_bug.cgi?id=59297

        No new tests, just changing preprocessor defines.

        * bindings/js/JSInspectorFrontendHostCustom.cpp:
        * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp:
        * dom/SelectElement.cpp:
        * loader/cache/CachedFont.cpp:
        * page/EventHandler.cpp:
        * page/chromium/EventHandlerChromium.cpp:
        * platform/Scrollbar.cpp:
        * platform/chromium/PlatformBridge.h:
        * platform/graphics/chromium/FontPlatformData.h:
        * platform/graphics/skia/FontCustomPlatformData.cpp:
        * platform/graphics/skia/FontCustomPlatformData.h:
2011-04-26  Ruben  <chromium@hybridsource.org>

        Reviewed by Tony Chang.

        Change linux ifdefs for Chromium to Unix instead, allowing
        new Unix ports to be enabled by default
        https://bugs.webkit.org/show_bug.cgi?id=59297

        * src/PlatformBridge.cpp:
        * src/WebFrameImpl.cpp:
        * src/WebViewImpl.cpp:

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

9 years ago2011-04-26 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Tue, 26 Apr 2011 17:01:41 +0000 (17:01 +0000)]
2011-04-26  John Knottenbelt  <jknotten@chromium.org>

        Reviewed by Ojan Vafai.

        [Chromium] Adjust expectation for animations/play-state.html
        https://bugs.webkit.org/show_bug.cgi?id=59441

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-26 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 26 Apr 2011 16:40:12 +0000 (16:40 +0000)]
2011-04-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Dan Bernstein.

        [RTL] Arabic/AB - after typing a date, cursors doesn't go back
        https://bugs.webkit.org/show_bug.cgi?id=49111

        Added a test to move left and right within Arabic numerals and Arabic letters.

        We still fail to set the position offset properly when we moving to the left from before B
        to before A in "ABC123" (logical order) in a LTR block where ABC and 123 are Arabic letters
        and numerals respectively. This bug is to be fixed in the followup bugs.

        * editing/selection/move-left-right-expected.txt:
        * editing/selection/move-left-right.html:
2011-04-26  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Dan Bernstein.

        [RTL] Arabic/AB - after typing a date, cursors doesn't go back
        https://bugs.webkit.org/show_bug.cgi?id=49111

        Even when the offset corresponds to a position visually left of the box
        and there aren't any inline boxes on the left, the previous/next position
        may still correspond to some position in the same line.

        The bug was caused by our ignoring such cases. Fixed the bug by comparing
        previous/next position's inline box to the current box. If they match,
        then we stay on the same position because moving to the left visually at
        the left edge should not result in a position on the same line.

        Also fixed a bug that WebKit uses offsets that are not extrema when moved to
        the left edge or to the right edge, and a bug that WebKit could not move to
        the left from 12^3 CBA abc to 123 C^BA abc (there is no offset between 3 and C).

        Test cases are added to editing/selection/move-left-right.html

        * editing/VisiblePosition.cpp:
        (WebCore::VisiblePosition::leftVisuallyDistinctCandidate):
        (WebCore::VisiblePosition::rightVisuallyDistinctCandidate):

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

9 years ago2011-04-26 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Apr 2011 16:30:44 +0000 (16:30 +0000)]
2011-04-26  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test_expectations update.

        Updated expectations for newly-failing tests.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-26 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Apr 2011 16:00:37 +0000 (16:00 +0000)]
2011-04-26  Stephen White  <senorblanco@chromium.org>

        Unreviewed; chromium test_expectations update.

        Remove duplicate expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-26 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 26 Apr 2011 15:36:30 +0000 (15:36 +0000)]
2011-04-26  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        Partial revert of http://trac.webkit.org/changeset/84893, since it
        triggered a large number of layout test failures.
        https://bugs.webkit.org/show_bug.cgi?id=59459

        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::initialize):

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

9 years agoREGRESSION (84876): build-webkit produces an error message
mitz@apple.com [Tue, 26 Apr 2011 15:32:10 +0000 (15:32 +0000)]
REGRESSION (84876): build-webkit produces an error message
https://bugs.webkit.org/show_bug.cgi?id=59460

* Scripts/webkitdirs.pm:

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

9 years ago2011-04-26 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Tue, 26 Apr 2011 15:13:10 +0000 (15:13 +0000)]
2011-04-26  Hans Wennborg  <hans@chromium.org>

        Reviewed by Tony Gentilcore.

        IndexedDB: Enable compile-time flag for LevelDB
        https://bugs.webkit.org/show_bug.cgi?id=59457

        Set ENABLE_LEVELDB=1 in features.gypi.

        * features.gypi:

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

9 years ago2011-04-26 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 26 Apr 2011 15:11:47 +0000 (15:11 +0000)]
2011-04-26  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: disable failing inspector test while I'm finding a better way to test what it does.

        * http/tests/inspector-enabled/dom-storage-open.html-disabled: Renamed from LayoutTests/http/tests/inspector-enabled/dom-storage-open.html.

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

9 years ago2011-04-26 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 26 Apr 2011 14:47:15 +0000 (14:47 +0000)]
2011-04-26  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Eric Seidel.

        Fix timestamp comparison in check-for-weak-vtables-and-externals
        https://bugs.webkit.org/show_bug.cgi?id=59416

        We should only re-run the check-for-weak-vtables-and-externals script
        if the executable is more recent than the last run.

        * Scripts/check-for-weak-vtables-and-externals:

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

9 years ago2011-04-26 Gabor Loki <loki@webkit.org>
loki@webkit.org [Tue, 26 Apr 2011 14:40:47 +0000 (14:40 +0000)]
2011-04-26  Gabor Loki  <loki@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Speeding up SVG filters with multicore (SMP) support
        https://bugs.webkit.org/show_bug.cgi?id=43903

        Some SVG filters execute a huge number of pixel manipulations, which
        cannot be sped up by graphics accelerators, since their algorithm is
        too complex. Using the power of Symmetric Multi Processing (SMP) we
        can split up a task to smaller (data independent) tasks, which can be
        executed independently.

        The ParallelJobs framework provides a simple way for distributed
        programming. The framework is based on WebKit's threading infrastructure,
        Open Multi-Processing's (OpenMP) API, and libdispatch API.

        * GNUmakefile.list.am:
        * JavaScriptCore.vcproj/WTF/WTF.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * wtf/CMakeLists.txt:
        * wtf/ParallelJobs.h: Added.
        (WTF::ParallelJobs::ParallelJobs):
        (WTF::ParallelJobs::numberOfJobs):
        (WTF::ParallelJobs::parameterForJob):
        (WTF::ParallelJobs::executeJobs):
        * wtf/ParallelJobsGeneric.cpp: Added.
        (WTF::ParallelEnvironment::ThreadPrivate::tryLockFor):
        (WTF::ParallelEnvironment::ThreadPrivate::executeJob):
        (WTF::ParallelEnvironment::ThreadPrivate::waitForFinish):
        (WTF::ParallelEnvironment::ThreadPrivate::workerThread):
        * wtf/ParallelJobsGeneric.h: Added.
        (WTF::ParallelEnvironment::ParallelEnvironment):
        (WTF::ParallelEnvironment::numberOfJobs):
        (WTF::ParallelEnvironment::parameterForJob):
        (WTF::ParallelEnvironment::executeJobs):
        (WTF::ParallelEnvironment::ThreadPrivate::ThreadPrivate):
        (WTF::ParallelEnvironment::ThreadPrivate::create):
        * wtf/ParallelJobsLibdispatch.h: Added.
        (WTF::ParallelEnvironment::ParallelEnvironment):
        (WTF::ParallelEnvironment::numberOfJobs):
        (WTF::ParallelEnvironment::parameterForJob):
        (WTF::ParallelEnvironment::executeJobs):
        * wtf/ParallelJobsOpenMP.h: Added.
        (WTF::ParallelEnvironment::ParallelEnvironment):
        (WTF::ParallelEnvironment::numberOfJobs):
        (WTF::ParallelEnvironment::parameterForJob):
        (WTF::ParallelEnvironment::executeJobs):
        * wtf/Platform.h:
        * wtf/wtf.pri:
2011-04-26  Gabor Loki  <loki@webkit.org>

        Reviewed by Csaba Osztrogonác.

        Speeding up SVG filters with multicore (SMP) support
        https://bugs.webkit.org/show_bug.cgi?id=43903

        Some SVG filters execute a huge number of pixel manipulations, which
        cannot be sped up by graphics accelerators, since their algorithm is
        too complex. Using the power of Symmetric Multi Processing (SMP) we
        can split up a task to smaller (data independent) tasks, which can be
        executed independently.

        The ParallelJobs framework provides a simple way for distributed
        programming. The framework is based on WebKit's threading infrastructure,
        Open Multi-Processing's (OpenMP) API, and libdispatch API.

        * ForwardingHeaders/wtf/ParallelJobs.h: Added.
        * platform/graphics/filters/FETurbulence.cpp:
        (WebCore::FETurbulence::PaintingData::PaintingData):
        (WebCore::FETurbulence::noise2D):
        (WebCore::FETurbulence::calculateTurbulenceValueForPoint):
        (WebCore::FETurbulence::fillRegion):
        (WebCore::FETurbulence::fillRegionWorker):
        (WebCore::FETurbulence::apply):
        * platform/graphics/filters/FETurbulence.h:

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

9 years ago2011-04-26 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 26 Apr 2011 14:27:23 +0000 (14:27 +0000)]
2011-04-26  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: close button is off in docked mode on a mac.
        https://bugs.webkit.org/show_bug.cgi?id=59453

        * inspector/front-end/inspector.css:
        (.toolbar-item.close-left):

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

9 years ago2011-04-26 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 26 Apr 2011 14:23:59 +0000 (14:23 +0000)]
2011-04-26  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: New Style is not working (UI glitch)
        https://bugs.webkit.org/show_bug.cgi?id=59451

        * inspector/InspectorDOMStorageAgent.cpp:
        (WebCore::InspectorDOMStorageAgent::setFrontend):
        * inspector/front-end/AuditRules.js:
        (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun.getStyles):
        (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.externalStylesheetsReceived):
        (WebInspector.AuditRules.CssInHeadRule.prototype.doRun.inlineStylesReceived):
        (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.cssBeforeInlineReceived):
        (WebInspector.AuditRules.StylesScriptsOrderRule.prototype.doRun.lateStylesReceived):
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModel.prototype.setRuleSelector):
        (WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
        (WebInspector.CSSStyleModel.prototype.addRule):
        (WebInspector.CSSStyleModel.prototype.addRule.callback):
        (WebInspector.CSSStyleModel.prototype._documentElementId):
        * inspector/front-end/DOMAgent.js:
        (WebInspector.DOMNode.prototype._addAttribute):
        (WebInspector.DOMNode.prototype.documentElement):
        * inspector/front-end/ResourceTreeModel.js:
        (WebInspector.PageDispatcher.prototype.frameDetached):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylesSidebarPane.prototype._createNewRule):

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

9 years agoUnreviewed build fix.
kbalazs@webkit.org [Tue, 26 Apr 2011 14:03:53 +0000 (14:03 +0000)]
Unreviewed build fix.

* Platform/Region.cpp: Need to include stdio.h for printf
(at least in my Qt-Linux environment).

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

9 years ago[Qt] layoutTestController.overridePreference() is already implemented.
ossy@webkit.org [Tue, 26 Apr 2011 13:36:01 +0000 (13:36 +0000)]
[Qt] layoutTestController.overridePreference() is already implemented.

Patch by Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu> on 2011-04-26
Reviewed by Csaba Osztrogonác.

* platform/qt/Skipped: Unskip now passing tests:
 - fast/events/pageshow-pagehide-on-back-cached.html
 - fast/events/pageshow-pagehide-on-back-cached-with-frames.html

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

9 years ago[Qt] Implement LayoutTestController::setAutofilled
ossy@webkit.org [Tue, 26 Apr 2011 13:19:53 +0000 (13:19 +0000)]
[Qt] Implement LayoutTestController::setAutofilled
https://bugs.webkit.org/show_bug.cgi?id=59439

Patch by Kristóf Kosztyó <Kosztyo.Kristof@stud.u-szeged.hu> on 2011-04-26
Reviewed by Csaba Osztrogonác.

Source/WebKit/qt:

* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::setAutofilled):
* WebCoreSupport/DumpRenderTreeSupportQt.h:

Tools:

* DumpRenderTree/qt/LayoutTestControllerQt.cpp:
(LayoutTestController::setAutofilled):
* DumpRenderTree/qt/LayoutTestControllerQt.h:

LayoutTests:

* platform/qt/Skipped:

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

9 years ago2011-04-26 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 26 Apr 2011 12:25:05 +0000 (12:25 +0000)]
2011-04-26  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: introduce DOMStorage::enable and disable.
        https://bugs.webkit.org/show_bug.cgi?id=59445

        * inspector/Inspector.json:
        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::InspectorAgent):
        (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
        * inspector/InspectorDOMStorageAgent.cpp:
        (WebCore::InspectorDOMStorageAgent::InspectorDOMStorageAgent):
        (WebCore::InspectorDOMStorageAgent::restore):
        (WebCore::InspectorDOMStorageAgent::enable):
        (WebCore::InspectorDOMStorageAgent::disable):
        * inspector/InspectorDOMStorageAgent.h:
        (WebCore::InspectorDOMStorageAgent::create):
        * inspector/front-end/DOMStorage.js:
        (WebInspector.DOMStorageDispatcher.prototype.addDOMStorage):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype._reset):
        * inspector/front-end/inspector.js:

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

9 years ago2011-04-26 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 26 Apr 2011 11:35:42 +0000 (11:35 +0000)]
2011-04-26  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: extract Page agent dispatcher into the ResourceTreeModel.
        https://bugs.webkit.org/show_bug.cgi?id=59440

        * inspector/Inspector.json:
        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
        * inspector/InspectorPageAgent.cpp:
        (WebCore::InspectorPageAgent::setFrontend):
        (WebCore::InspectorPageAgent::frameNavigated):
        * inspector/InspectorPageAgent.h:
        * inspector/front-end/AuditsPanel.js:
        (WebInspector.AuditsPanel):
        (WebInspector.AuditsPanel.prototype._onLoadEventFired):
        (WebInspector.AuditsPanel.prototype._domContentLoadedEventFired):
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModelResourceBinding):
        (WebInspector.CSSStyleModelResourceBinding.prototype._inspectedURLChanged):
        * inspector/front-end/DOMBreakpointsSidebarPane.js:
        (WebInspector.DOMBreakpointsSidebarPane):
        (WebInspector.DOMBreakpointsSidebarPane.prototype._inspectedURLChanged):
        * inspector/front-end/DOMStorage.js:
        (WebInspector.DOMStorageDispatcher.prototype.addDOMStorage):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._inspectedURLChanged):
        (WebInspector.ExtensionServer.prototype.initExtensions):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel):
        (WebInspector.NetworkPanel.prototype._onLoadEventFired):
        (WebInspector.NetworkPanel.prototype._domContentLoadedEventFired):
        (WebInspector.NetworkPanel.prototype._frameNavigated):
        * inspector/front-end/ResourceTreeModel.js:
        (WebInspector.ResourceTreeModel):
        (WebInspector.ResourceTreeModel.prototype._processCachedResources):
        (WebInspector.ResourceTreeModel.prototype._dispatchInspectedURLChanged):
        (WebInspector.ResourceTreeModel.prototype._frameNavigated):
        (WebInspector.ResourceTreeModel.prototype._frameDetached):
        (WebInspector.ResourceTreeModel.prototype._clearChildFramesAndResources):
        (WebInspector.PageDispatcher):
        (WebInspector.PageDispatcher.prototype.domContentEventFired):
        (WebInspector.PageDispatcher.prototype.loadEventFired):
        (WebInspector.PageDispatcher.prototype.frameNavigated):
        (WebInspector.PageDispatcher.prototype.frameDetached):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel):
        (WebInspector.ResourcesPanel.prototype._onLoadEventFired):
        (WebInspector.ResourcesPanel.prototype._frameNavigated):
        * inspector/front-end/inspector.js:

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

9 years agoUnreviewed.
ossy@webkit.org [Tue, 26 Apr 2011 11:31:59 +0000 (11:31 +0000)]
Unreviewed.

[WK2] editing/pasteboard/paste-before-tab-span.html introdueced in r84885, but
it doesn't work with WK2 because of missing eventSender.keyDown() implementation.

* platform/mac-wk2/Skipped: Add editing/pasteboard/paste-before-tab-span.html until fix.

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

9 years ago2011-04-26 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Tue, 26 Apr 2011 10:46:07 +0000 (10:46 +0000)]
2011-04-26  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Remove passing tests from test_expectations.txt
        https://bugs.webkit.org/show_bug.cgi?id=59443

        * platform/chromium/test_expectations.txt:

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

9 years agoUnreviewed rollout r84877 and StyleRareInheritedData.cpp changes of r84892,
ossy@webkit.org [Tue, 26 Apr 2011 10:35:13 +0000 (10:35 +0000)]
Unreviewed rollout r84877 and StyleRareInheritedData.cpp changes of r84892,
because it broke transitions/multiple-text-shadow-transition.html

Fix OwnPtr strict errors in RenderStyle and make StyleRareInheritedData::textShadow an OwnPtr
https://bugs.webkit.org/show_bug.cgi?id=59377

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
* page/animation/AnimationBase.cpp:
(WebCore::PropertyWrapperShadow::PropertyWrapperShadow):
(WebCore::PropertyWrapperShadow::blend):
* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::setTextShadow):
(WebCore::RenderStyle::setBoxShadow):
* rendering/style/RenderStyle.h:
(WebCore::InheritedFlags::textShadow):
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::~StyleRareInheritedData):
* rendering/style/StyleRareInheritedData.h:
* rendering/style/StyleRareNonInheritedData.cpp:
(WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):

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

9 years ago2011-04-26 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 26 Apr 2011 10:08:15 +0000 (10:08 +0000)]
2011-04-26  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Adam Barth.

        Turn off make built-in implicit rules for derived sources makefile
        https://bugs.webkit.org/show_bug.cgi?id=59418

        We don't use any of make's built-in implicit rules, turning them off
        speeds up parsing of the makefile.

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * gyp/generate-derived-sources.sh:
2011-04-26  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Adam Barth.

        Turn off make built-in implicit rules for derived sources makefile
        https://bugs.webkit.org/show_bug.cgi?id=59418

        We don't use any of make's built-in implicit rules, turning them off
        speeds up parsing of the makefile.

        * WebCore.xcodeproj/project.pbxproj:
        * gyp/generate-derived-sources.sh:
2011-04-26  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Adam Barth.

        Turn off make built-in implicit rules for derived sources makefile
        https://bugs.webkit.org/show_bug.cgi?id=59418

        We don't use any of make's built-in implicit rules, turning them off
        speeds up parsing of the makefile.

        * WebKit2.xcodeproj/project.pbxproj:

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

9 years ago2011-04-26 Leo Yang <leo.yang@torchmobile.com.cn>
leo.yang@torchmobile.com.cn [Tue, 26 Apr 2011 09:57:11 +0000 (09:57 +0000)]
2011-04-26  Leo Yang  <leo.yang@torchmobile.com.cn>

        Reviewed by Nikolas Zimmermann.

        ASSERT failure in SVGUseElement
        https://bugs.webkit.org/show_bug.cgi?id=59313

        Test case to verify webkit doesn't crash when a <use> element
        is pending on resource and the document is not well-formed.
        Test passes if no crash occurs in debug mode.

        * svg/custom/use-crash-in-non-wellformed-document-expected.txt: Added.
        * svg/custom/use-crash-in-non-wellformed-document.svg: Added.
2011-04-26  Leo Yang  <leo.yang@torchmobile.com.cn>

        Reviewed by Nikolas Zimmermann.

        ASSERT failure in SVGUseElement
        https://bugs.webkit.org/show_bug.cgi?id=59313

        In SVGUseElement::insertedIntoDocument(), ASSERT(!m_isPendingResource)
        was wrong because the document may not be well-formed.

        This patch asserts the element is not pending on resource or the
        document is not well-formed.

        Test: svg/custom/use-crash-in-non-wellformed-document.svg

        * svg/SVGUseElement.cpp:
        (WebCore::isWellFormedDocument):
        (WebCore::SVGUseElement::insertedIntoDocument):

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

9 years ago2011-04-26 Mikhail Naganov <mnaganov@chromium.org>
mnaganov@chromium.org [Tue, 26 Apr 2011 09:41:57 +0000 (09:41 +0000)]
2011-04-26  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [Chromium] Fix columns resizing in the detailed heap snapshot grids.
        https://bugs.webkit.org/show_bug.cgi?id=59438

        * inspector/front-end/DetailedHeapshotView.js:
        (WebInspector.DetailedHeapshotView.prototype._changeView):

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

9 years ago2011-04-26 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Tue, 26 Apr 2011 08:38:28 +0000 (08:38 +0000)]
2011-04-26  Chang Shu  <cshu@webkit.org>

        Reviewed by Sam Weinig.

        Convert fast/dom/keydown-1.html to dumpAsText test
        https://bugs.webkit.org/show_bug.cgi?id=59390

        * fast/events/keydown-1-expected.txt: Added.
        * fast/events/keydown-1.html:
        * platform/mac/fast/events/keydown-1-expected.png: Removed.
        * platform/mac/fast/events/keydown-1-expected.txt: Removed.

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

9 years ago2011-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Tue, 26 Apr 2011 08:37:25 +0000 (08:37 +0000)]
2011-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix WebKit2 GTK build after r84785.

        * UIProcess/gtk/WebInspectorGtk.cpp:
        (WebKit::WebInspectorProxy::platformAttach):
        (WebKit::WebInspectorProxy::platformDetach):
        (WebKit::WebInspectorProxy::platformSetAttachedWindowHeight):

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

9 years ago2011-04-26 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Tue, 26 Apr 2011 08:33:49 +0000 (08:33 +0000)]
2011-04-26  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix WebKit2 GTK build after r84886

        * Platform/gtk/RunLoopGtk.cpp: Include WorkItem.h

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

9 years ago2011-04-26 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Tue, 26 Apr 2011 08:31:24 +0000 (08:31 +0000)]
2011-04-26  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Chromium DevTools: recognize WebP as a valid mimetype in the Chromium port.
        https://bugs.webkit.org/show_bug.cgi?id=59332

        * src/js/DevTools.js:

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

9 years ago2011-04-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 07:43:22 +0000 (07:43 +0000)]
2011-04-26  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        WebKit/chromium should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59434

        This fixes about half the issues.

        * src/ApplicationCacheHost.cpp:
        (WebCore::ApplicationCacheHost::maybeLoadMainResource):
        * src/ApplicationCacheHostInternal.h:
        (WebCore::ApplicationCacheHostInternal::ApplicationCacheHostInternal):
        * src/AutoFillPopupMenuClient.cpp:
        (WebKit::AutoFillPopupMenuClient::initialize):
        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::initialize):
        * src/ResourceHandle.cpp:
        (WebCore::ResourceHandleInternal::start):
        (WebCore::ResourceHandle::ResourceHandle):
        (WebCore::ResourceHandle::loadResourceSynchronously):
        * src/SocketStreamHandle.cpp:
        (WebCore::SocketStreamHandleInternal::connect):

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

9 years agoFix a few OwnPtr strict errors in WebCore headers.
levin@chromium.org [Tue, 26 Apr 2011 07:31:19 +0000 (07:31 +0000)]
Fix a few OwnPtr strict errors in WebCore headers.
https://bugs.webkit.org/show_bug.cgi?id=59431

Reviewed by Adam Barth.

* bindings/js/ScheduledAction.cpp:
(WebCore::ScheduledAction::create):
* css/MediaQueryMatcher.cpp:
(WebCore::MediaQueryMatcher::prepareEvaluator):
* dom/NodeRareData.h:
(WebCore::NodeListsNodeData::create):
* dom/ScriptRunner.h:
(WebCore::ScriptRunner::create):
* inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::connectFrontend):
* loader/icon/IconDatabase.h:
(WebCore::IconDatabase::create):
* platform/graphics/SimpleFontData.cpp:
(WebCore::SimpleFontData::verticalRightOrientationFontData):
(WebCore::SimpleFontData::uprightOrientationFontData):
(WebCore::SimpleFontData::brokenIdeographFontData):
* rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
* rendering/svg/SVGResources.h:
(WebCore::SVGResources::ClipperFilterMaskerData::create):
(WebCore::SVGResources::MarkerData::create):
(WebCore::SVGResources::FillStrokeData::create):
* storage/StorageSyncManager.cpp:
(WebCore::StorageSyncManager::close):
* workers/WorkerContext.cpp:
(WebCore::CloseWorkerContextTask::create):
* workers/WorkerMessagingProxy.cpp:
(WebCore::MessageWorkerContextTask::create):
(WebCore::MessageWorkerTask::create):
(WebCore::WorkerExceptionTask::create):
(WebCore::WorkerContextDestroyedTask::create):
(WebCore::WorkerTerminateTask::create):
(WebCore::WorkerThreadActivityReportTask::create):
* workers/WorkerRunLoop.cpp:
(WebCore::WorkerRunLoop::Task::create):
* workers/WorkerThread.cpp:
(WebCore::WorkerThreadStartupData::create):
(WebCore::WorkerThreadShutdownFinishTask::create):
(WebCore::WorkerThreadShutdownStartTask::create):

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

9 years ago2011-04-26 Adam Klein <adamk@chromium.org>
abarth@webkit.org [Tue, 26 Apr 2011 07:30:16 +0000 (07:30 +0000)]
2011-04-26  Adam Klein  <adamk@chromium.org>

        Reviewed by Adam Barth.

        Fix last strict OwnPtr violation under svg/...
        https://bugs.webkit.org/show_bug.cgi?id=59429

        * svg/SVGDocumentExtensions.cpp:
        (WebCore::SVGDocumentExtensions::removePendingResource):

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

9 years ago2011-04-26 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 07:27:39 +0000 (07:27 +0000)]
2011-04-26  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        Fix more strict OwnPtr violations in WebCore
        https://bugs.webkit.org/show_bug.cgi?id=59433

        These manifest in the Chromium build.

        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::ScriptController):
        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::editScriptSource):
        * bindings/v8/V8DOMMap.cpp:
        (WebCore::DOMDataStoreHandle::DOMDataStoreHandle):
        * bindings/v8/V8Proxy.cpp:
        (WebCore::V8Proxy::precompileScript):
        * bindings/v8/WorkerScriptController.cpp:
        (WebCore::WorkerScriptController::WorkerScriptController):
        * page/Page.cpp:
        (WebCore::Page::Page):
        (WebCore::Page::speechInput):
        * platform/PlatformGestureRecognizer.cpp:
        (WebCore::PlatformGestureRecognizer::create):
        * platform/PlatformGestureRecognizer.h:
        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::DrawingBuffer):
        * platform/graphics/chromium/cc/CCLayerImpl.cpp:
        (WebCore::CCLayerImpl::CCLayerImpl):
        * platform/graphics/gpu/Texture.cpp:
        (WebCore::Texture::create):
        * platform/image-decoders/bmp/BMPImageDecoder.cpp:
        (WebCore::BMPImageDecoder::decodeHelper):
        * platform/image-decoders/gif/GIFImageDecoder.cpp:
        (WebCore::GIFImageDecoder::decode):
        * platform/image-decoders/ico/ICOImageDecoder.cpp:
        (WebCore::ICOImageDecoder::decodeAtIndex):
        * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
        (WebCore::JPEGImageDecoder::decode):
        * platform/image-decoders/png/PNGImageDecoder.cpp:
        (WebCore::PNGImageDecoder::decode):
        * storage/chromium/DatabaseTrackerChromium.cpp:
        (WebCore::DatabaseTracker::addOpenDatabase):

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

9 years agoConvert LayoutTests/fast/events/onloadFrameCrash.html from pixel test to text-based...
ossy@webkit.org [Tue, 26 Apr 2011 07:18:14 +0000 (07:18 +0000)]
Convert LayoutTests/fast/events/onloadFrameCrash.html from pixel test to text-based test
https://bugs.webkit.org/show_bug.cgi?id=59362

We don't need Qt specific expected file after r84817.

* platform/qt/fast/events/onloadFrameCrash-expected.txt: Removed.

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

9 years agoFix OwnPtr strict errors in CrossThreadTask.h
levin@chromium.org [Tue, 26 Apr 2011 06:59:25 +0000 (06:59 +0000)]
Fix OwnPtr strict errors in CrossThreadTask.h
https://bugs.webkit.org/show_bug.cgi?id=59427

Reviewed by Adam Barth.

* dom/CrossThreadTask.h:
(WebCore::CrossThreadTask1::create):
(WebCore::CrossThreadTask2::create):
(WebCore::CrossThreadTask3::create):
(WebCore::CrossThreadTask4::create):
(WebCore::CrossThreadTask5::create):
(WebCore::CrossThreadTask6::create):
(WebCore::CrossThreadTask7::create):
(WebCore::CrossThreadTask8::create):

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

9 years ago<rdar://problem/9330337> Leak of 'WebCore::ApplyPropertyFillLayer<WebCore::FillSize>'
mrowe@apple.com [Tue, 26 Apr 2011 06:54:30 +0000 (06:54 +0000)]
<rdar://problem/9330337> Leak of 'WebCore::ApplyPropertyFillLayer<WebCore::FillSize>'

Reviewed by Dan Bernstein.

* css/CSSStyleApplyProperty.cpp:
(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): Don't initialize CSSPropertyWebkitMaskSize twice.
* css/CSSStyleApplyProperty.h:
(WebCore::CSSStyleApplyProperty::setPropertyValue): Add some asserts to catch this class of leak.

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

9 years ago2011-04-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 06:46:38 +0000 (06:46 +0000)]
2011-04-25  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        WebKit2 should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59426

        Fix include ordering.

        * WebView/WebDeviceOrientationProviderMock.mm:
2011-04-25  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        WebKit2 should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59426

        * Platform/CoreIPC/Connection.cpp:
        (CoreIPC::Connection::waitForMessage):
            - Lack of OwnPtr in HashMap is sad face.  This code becomes very
              pretty if we could use OwnPtr in HashMap...
        * Platform/RunLoop.cpp:
        (RunLoop::performWork):
        (RunLoop::scheduleWork):
        * Platform/RunLoop.h:
        * Platform/mac/WorkQueueMac.cpp:
        (WorkQueue::executeWorkItem):
        * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
        (WebKit::NetscapePluginStream::deliverData):

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

9 years ago2011-04-25 Levi Weintraub <leviw@chromium.org>
leviw@chromium.org [Tue, 26 Apr 2011 06:31:17 +0000 (06:31 +0000)]
2011-04-25  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        REGRESSION: a character appears after tab span when typing immediately before the tab span
        https://bugs.webkit.org/show_bug.cgi?id=58132

        Correcting the order of operations we use to avoid inserting into invalid positions in
        ReplaceSelectionCommand to avoid inserting into tab-spans.

        Test: editing/pasteboard/paste-before-tab-span.html

        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::doApply): Moving positionOutsideTabSpan to after
        positionAvoidingPrecedingNodes, since that function could once again put our position
        inside a tab span.
2011-04-25  Levi Weintraub  <leviw@chromium.org>

        Reviewed by Ryosuke Niwa.

        REGRESSION: a character appears after tab span when typing immediately before the tab span
        https://bugs.webkit.org/show_bug.cgi?id=58132

        Correcting the order of operations we use to avoid inserting into invalid positions in
        ReplaceSelectionCommand to avoid inserting into tab-spans.

        * editing/pasteboard/paste-before-tab-span-expected.txt: Added.
        * editing/pasteboard/paste-before-tab-span.html: Added.

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

9 years agoFix OwnPtr strict error in ImageBuffer.h
levin@chromium.org [Tue, 26 Apr 2011 06:26:59 +0000 (06:26 +0000)]
Fix OwnPtr strict error in ImageBuffer.h
https://bugs.webkit.org/show_bug.cgi?id=59422

Reviewed by Adam Barth.

* platform/graphics/ImageBuffer.h:
(WebCore::ImageBuffer::create):

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

9 years ago2011-04-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 06:24:56 +0000 (06:24 +0000)]
2011-04-25  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        WebKit1 should build cleanly with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59424

        * History/WebHistoryItem.mm:
        (-[WebHistoryItem initFromDictionaryRepresentation:]):
        * Plugins/WebNetscapePluginEventHandler.h:
        * Plugins/WebNetscapePluginEventHandler.mm:
        (WebNetscapePluginEventHandler::create):
        * Plugins/WebNetscapePluginView.mm:
        (-[WebNetscapePluginView createPlugin]):
        * WebView/WebDeviceOrientationProviderMock.mm:
        * WebView/WebTextIterator.mm:
        (-[WebTextIterator initWithRange:]):

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

9 years ago2011-04-25 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 26 Apr 2011 06:23:14 +0000 (06:23 +0000)]
2011-04-25  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Custom prototypes on DOM objects don't persist after garbage collection
        https://bugs.webkit.org/show_bug.cgi?id=59412

        SunSpider reports no change.

        The hasCustomProperties() check didn't check for a custom prototype.

        * runtime/JSObject.h:
        (JSC::JSObject::hasCustomProperties): Changed to delegate to Structure
        because it is the "truth" about an object's pedigree.

        * runtime/Structure.cpp:
        (JSC::Structure::Structure):
        * runtime/Structure.h:
        (JSC::Structure::didTransition): Track whether a Structure has ever
        transitioned for any reason. If so, we have to assume that the object
        holding it is custom in some way.
2011-04-25  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Custom prototypes on DOM objects don't persist after garbage collection
        https://bugs.webkit.org/show_bug.cgi?id=59412

        * fast/dom/gc-custom-prototype-expected.txt: Added.
        * fast/dom/gc-custom-prototype.html: Added.
        * fast/dom/script-tests/dataset-gc.js:

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

9 years ago2011-04-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 06:22:01 +0000 (06:22 +0000)]
2011-04-25  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        Fix strict OwnPtr violations and whitelist known-tricky files
        https://bugs.webkit.org/show_bug.cgi?id=59421

        With this patch, WebCore builds cleanly with strict OwnPtrs.

        * dom/MessagePort.cpp:
        (WebCore::MessagePort::MessagePort):
        * dom/XMLDocumentParserLibxml2.cpp:
        * page/ContextMenuController.cpp:
        (WebCore::ContextMenuController::ContextMenuController):
        (WebCore::ContextMenuController::clearContextMenu):
        * page/PluginHalter.cpp:
        * platform/graphics/MediaPlayer.cpp:
        * platform/network/ResourceRequestBase.cpp:
        (WebCore::ResourceRequestBase::adopt):
        (WebCore::ResourceRequestBase::copyData):
        * svg/SVGDocumentExtensions.cpp:

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

9 years agoFix OwnPtr strict errors in DatasetDOMStringMap.h.
levin@chromium.org [Tue, 26 Apr 2011 05:45:06 +0000 (05:45 +0000)]
Fix OwnPtr strict errors in DatasetDOMStringMap.h.
https://bugs.webkit.org/show_bug.cgi?id=59419

Reviewed by Adam Barth.

* dom/DatasetDOMStringMap.h:
(WebCore::DatasetDOMStringMap::create):

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

9 years ago2011-04-25 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
abarth@webkit.org [Tue, 26 Apr 2011 05:40:53 +0000 (05:40 +0000)]
2011-04-25  Jocelyn Turcotte  <jocelyn.turcotte@nokia.com>

        Reviewed by Eric Seidel.

        KeyboardEvent.cpp should work with strict OwnPtrs.
        https://bugs.webkit.org/show_bug.cgi?id=59403

        * dom/KeyboardEvent.cpp:
        (WebCore::KeyboardEvent::KeyboardEvent):

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

9 years ago2011-04-25 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Tue, 26 Apr 2011 05:10:08 +0000 (05:10 +0000)]
2011-04-25  Daniel Bates  <dbates@webkit.org>

        Update some call sites that referenced the old location for
        the scripts {animation, transition}-test-helpers.js. These
        scripts were moved in <http://trac.webkit.org/changeset/84872>,
        and <http://trac.webkit.org/changeset/84874>, respectively.

        * compositing/animation/computed-style-during-delay.html:
        * compositing/reflections/animation-inside-reflection.html:
        * compositing/reflections/nested-reflection-animated.html:
        * compositing/reflections/nested-reflection-transition.html:
        * compositing/transitions/scale-transition-no-start.html:
        * compositing/transitions/singular-scale-transition.html:

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

9 years ago2011-04-25 James Robinson <jamesr@chromium.org>
jamesr@google.com [Tue, 26 Apr 2011 05:05:05 +0000 (05:05 +0000)]
2011-04-25  James Robinson  <jamesr@chromium.org>

        Reviewed by Eric Seidel.

        Fix OwnPtr strict errors in RenderStyle and make StyleRareInheritedData::textShadow an OwnPtr
        https://bugs.webkit.org/show_bug.cgi?id=59377

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applyProperty):
        * page/animation/AnimationBase.cpp:
        (WebCore::PropertyWrapperShadow::PropertyWrapperShadow):
        (WebCore::PropertyWrapperShadow::blend):
        * rendering/style/RenderStyle.cpp:
        (WebCore::RenderStyle::setTextShadow):
        (WebCore::RenderStyle::setBoxShadow):
        * rendering/style/RenderStyle.h:
        (WebCore::InheritedFlags::textShadow):
        * rendering/style/StyleRareInheritedData.cpp:
        (WebCore::StyleRareInheritedData::StyleRareInheritedData):
        (WebCore::StyleRareInheritedData::~StyleRareInheritedData):
        * rendering/style/StyleRareInheritedData.h:
        * rendering/style/StyleRareNonInheritedData.cpp:
        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):

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

9 years agoTeach build-webkit where newer Xcode versions store the application-wide build settin...
mitz@apple.com [Tue, 26 Apr 2011 04:53:27 +0000 (04:53 +0000)]
Teach build-webkit where newer Xcode versions store the application-wide build settings user default.

Reviewed by Mark Rowe.

* Scripts/webkitdirs.pm:

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

9 years ago2011-04-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Apr 2011 03:25:14 +0000 (03:25 +0000)]
2011-04-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Clean up transition tests
        https://bugs.webkit.org/show_bug.cgi?id=59410

        General test cleanup: use the named variables as
        arguments to runTransitionTest() for readability,
        remove unnecessary titles and meta tags, remove
        style and script tag attributes etc. No substantive
        changes.

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

9 years ago2011-04-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Apr 2011 03:17:17 +0000 (03:17 +0000)]
2011-04-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Daniel Bates.

        Move transition-test-helpers.js to resources/
        https://bugs.webkit.org/show_bug.cgi?id=59397

        Move transition-test-helpers.js and fix tests.

        * transitions/background-transitions.html:
        * transitions/border-radius-transition.html:
        * transitions/clip-transition.html:
        * transitions/color-transition-all.html:
        * transitions/color-transition-premultiplied.html:
        * transitions/default-timing-function.html:
        * transitions/font-family-during-transition.html:
        * transitions/mask-transitions.html:
        * transitions/min-max-width-height-transitions.html:
        * transitions/mismatched-shadow-styles.html:
        * transitions/move-after-transition.html:
        * transitions/multiple-background-size-transitions.html:
        * transitions/multiple-background-transitions.html:
        * transitions/multiple-mask-transitions.html:
        * transitions/multiple-shadow-transitions.html:
        * transitions/negative-delay.html:
        * transitions/resources/interrupted-accelerated-transition-final.html:
        * transitions/resources/transition-test-helpers.js:
        (roundNumber):
        (isCloseEnough):
        (isShadow):
        ():
        (expected):
        (callback.delay):
        * transitions/shorthand-border-transitions.html:
        * transitions/shorthand-transitions.html:
        * transitions/steps-timing-function.html:
        * transitions/svg-text-shadow-transition.html:
        * transitions/text-indent-transition.html:
        * transitions/transform-op-list-match.html:
        * transitions/transform-op-list-no-match.html:
        * transitions/transition-drt-api-delay.html:
        * transitions/transition-end-event-rendering.html:
        * transitions/transition-hit-test-transform.html:
        * transitions/transition-shorthand-delay.html:
        * transitions/zero-duration-in-list.html:

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

9 years ago2011-04-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Apr 2011 03:16:49 +0000 (03:16 +0000)]
2011-04-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Daniel Bates.

        Make a couple of animation tests into text tests
        https://bugs.webkit.org/show_bug.cgi?id=59389

        * animations/animation-drt-api-multiple-keyframes.html:
        * animations/animation-drt-api.html:
        No need for these two to be text tests.

        * animations/state-at-end-event.html:
        General cleanup.

        * animations/animation-drt-api-expected.txt: Added.
        * animations/animation-drt-api-multiple-keyframes-expected.txt: Added.
        * animations/animation-drt-api-multiple-keyframes.html:
        * animations/animation-drt-api.html:
        * animations/state-at-end-event.html:
        * platform/mac/animations/animation-drt-api-expected.png: Removed.
        * platform/mac/animations/animation-drt-api-expected.txt: Removed.
        * platform/mac/animations/animation-drt-api-multiple-keyframes-expected.png: Removed.
        * platform/mac/animations/animation-drt-api-multiple-keyframes-expected.txt: Removed.

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

9 years ago2011-04-25 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 26 Apr 2011 03:16:31 +0000 (03:16 +0000)]
2011-04-25  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Daniel Bates.

        Move animation-test-helpers.js into resources directory
        https://bugs.webkit.org/show_bug.cgi?id=59365

        Move animation-test-helpers.js and fix the tests accordingly.

        * animations/3d/matrix-transform-type-animation.html:
        * animations/3d/transform-perspective.html:
        * animations/animation-direction.html:
        * animations/animation-drt-api-multiple-keyframes.html:
        * animations/animation-drt-api.html:
        * animations/animation-hit-test-transform.html:
        * animations/animation-hit-test.html:
        * animations/big-rotation.html:
        * animations/change-keyframes-name.html:
        * animations/change-keyframes.html:
        * animations/change-one-anim.html:
        * animations/combo-transform-rotate+scale.html:
        * animations/dynamic-stylesheet-loading.html:
        * animations/generic-from-to.html:
        * animations/import.html:
        * animations/keyframe-timing-functions-transform.html:
        * animations/keyframe-timing-functions.html:
        * animations/keyframe-timing-functions2.html:
        * animations/keyframes-comma-separated.html:
        * animations/keyframes-out-of-order.html:
        * animations/keyframes.html:
        * animations/lineheight-animation.html:
        * animations/longhand-timing-function.html:
        * animations/matrix-anim.html:
        * animations/missing-from-to-transforms.html:
        * animations/missing-from-to.html:
        * animations/missing-keyframe-properties-repeating.html:
        * animations/missing-keyframe-properties-timing-function.html:
        * animations/missing-keyframe-properties.html:
        * animations/missing-values-first-keyframe.html:
        * animations/missing-values-last-keyframe.html:
        * animations/multiple-animations.html:
        * animations/multiple-keyframes.html:
        * animations/negative-delay.html:
        * animations/opacity-transform-animation.html:
        * animations/play-state-suspend.html:
        * animations/play-state.html:
        * animations/resources/animation-test-helpers.js:
        (isCloseEnough):
        (matrixStringToArray):
        (checkExpectedValue):
        (endTest):
        (startTest):
        (runAnimationTest.else):
        (runAnimationTest):
        (waitForAnimationToStart):
        * animations/simultaneous-start-left.html:
        * animations/simultaneous-start-transform.html:
        * animations/stop-animation-on-suspend.html:
        * animations/suspend-resume-animation.html:
        * animations/timing-functions.html:
        * animations/transition-and-animation-1.html:
        * animations/transition-and-animation-2.html:
        * animations/transition-and-animation-3.html:
        * animations/unanimated-style.html:
        * animations/width-using-ems.html:

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

9 years ago2011-04-25 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 26 Apr 2011 03:14:21 +0000 (03:14 +0000)]
2011-04-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84864.
        http://trac.webkit.org/changeset/84864
        https://bugs.webkit.org/show_bug.cgi?id=59413

        Expect result of use-crash-in-non-wellformed-document.svg is
        platform dependent (Requested by leoyang on #webkit).

        * svg/custom/use-crash-in-non-wellformed-document-expected.txt: Removed.
        * svg/custom/use-crash-in-non-wellformed-document.svg: Removed.
2011-04-25  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84864.
        http://trac.webkit.org/changeset/84864
        https://bugs.webkit.org/show_bug.cgi?id=59413

        Expect result of use-crash-in-non-wellformed-document.svg is
        platform dependent (Requested by leoyang on #webkit).

        * svg/SVGUseElement.cpp:
        (WebCore::SVGUseElement::insertedIntoDocument):

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

9 years ago2011-04-25 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 26 Apr 2011 02:56:42 +0000 (02:56 +0000)]
2011-04-25  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change. Remove tests that are no longer
        failing, add missing baselines for Chromium Mac SL.

        * platform/chromium/test_expectations.txt:
        * platform/chromium-mac/fast/block/positioning/rtl-fixed-positioning-expected.png: Added.
        * platform/chromium-mac/fast/block/positioning/rtl-fixed-positioning-expected.txt: Added.
        * platform/chromium-mac/fast/block/positioning/vertical-rl/fixed-positioning-expected.png: Added.

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

9 years ago2011-04-25 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 26 Apr 2011 02:26:03 +0000 (02:26 +0000)]
2011-04-25  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Ojan Vafai.

        Convert fast/events/focusingUnloadedFrame.html to dumpAsText
        https://bugs.webkit.org/show_bug.cgi?id=59371

        * fast/events/focusingUnloadedFrame-expected.txt: Added.
        * fast/events/focusingUnloadedFrame.html:
        * platform/chromium-linux/fast/events/focusingUnloadedFrame-expected.png: Removed.
        * platform/chromium-win/fast/events/focusingUnloadedFrame-expected.png: Removed.
        * platform/chromium-win/fast/events/focusingUnloadedFrame-expected.txt: Removed.
        * platform/gtk/fast/events/focusingUnloadedFrame-expected.png: Removed.
        * platform/gtk/fast/events/focusingUnloadedFrame-expected.txt: Removed.
        * platform/mac-leopard/fast/events/focusingUnloadedFrame-expected.png: Removed.
        * platform/mac/fast/events/focusingUnloadedFrame-expected.png: Removed.
        * platform/mac/fast/events/focusingUnloadedFrame-expected.txt: Removed.

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

9 years ago2011-04-25 Leo Yang <leo.yang@torchmobile.com.cn>
leo.yang@torchmobile.com.cn [Tue, 26 Apr 2011 02:04:12 +0000 (02:04 +0000)]
2011-04-25  Leo Yang  <leo.yang@torchmobile.com.cn>

        Reviewed by Nikolas Zimmermann.

        ASSERT failure in SVGUseElement
        https://bugs.webkit.org/show_bug.cgi?id=59313

        In SVGUseElement::insertedIntoDocument(), ASSERT(!m_isPendingResource)
        was wrong because the document may not be well-formed.

        This patch asserts the element is not pending on resource or the
        document is not well-formed.

        Test: svg/custom/use-crash-in-non-wellformed-document.svg

        * svg/SVGUseElement.cpp:
        (WebCore::isWellFormedDocument):
        (WebCore::SVGUseElement::insertedIntoDocument):
2011-04-25  Leo Yang  <leo.yang@torchmobile.com.cn>

        Reviewed by Nikolas Zimmermann.

        ASSERT failure in SVGUseElement
        https://bugs.webkit.org/show_bug.cgi?id=59313

        Test case to verify webkit doesn't crash when a <use> element
        is pending on resource and the document is not well-formed.
        Test passes if no crash occurs in debug mode.

        * svg/custom/use-crash-in-non-wellformed-document-expected.txt: Added.
        * svg/custom/use-crash-in-non-wellformed-document.svg: Added.

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

9 years ago2011-04-25 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 26 Apr 2011 02:02:29 +0000 (02:02 +0000)]
2011-04-25  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

        Convert fast/loader/start-load-in-unload.html to dumpAsText
        https://bugs.webkit.org/show_bug.cgi?id=59384

        * fast/loader/start-load-in-unload-expected.txt: Added.
        * fast/loader/start-load-in-unload.html:
        * platform/chromium-linux/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/chromium-win/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/chromium-win/fast/loader/start-load-in-unload-expected.txt: Removed.
        * platform/gtk/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/gtk/fast/loader/start-load-in-unload-expected.txt: Removed.
        * platform/mac-leopard/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/mac/fast/loader/start-load-in-unload-expected.png: Removed.
        * platform/mac/fast/loader/start-load-in-unload-expected.txt: Removed.
        * platform/qt/fast/loader/start-load-in-unload-expected.txt: Removed.

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

9 years ago2011-04-25 Tony Chang <tony@chromium.org>
tony@chromium.org [Tue, 26 Apr 2011 01:59:27 +0000 (01:59 +0000)]
2011-04-25  Tony Chang  <tony@chromium.org>

        Reviewed by Antonio Gomes.

        replace a setTimeout with a onload event to save 2 seconds in a test
        https://bugs.webkit.org/show_bug.cgi?id=59350

        * http/tests/security/xssAuditor/meta-tag-http-refresh-javascript-url.html:

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

9 years ago2011-04-25 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Tue, 26 Apr 2011 01:44:00 +0000 (01:44 +0000)]
2011-04-25  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Ojan Vafai.

        Convert fast/events/event-sender-mouse-moved.html to dumpAsText
        https://bugs.webkit.org/show_bug.cgi?id=59366

        * fast/events/event-sender-mouse-moved-expected.txt: Added.
        * fast/events/event-sender-mouse-moved.html:
        * platform/chromium-linux/fast/events/event-sender-mouse-moved-expected.png: Removed.
        * platform/chromium-win/fast/events/event-sender-mouse-moved-expected.png: Removed.
        * platform/chromium-win/fast/events/event-sender-mouse-moved-expected.txt: Removed.
        * platform/gtk/fast/events/event-sender-mouse-moved-expected.txt: Removed.
        * platform/mac-leopard/fast/events/event-sender-mouse-moved-expected.png: Removed.
        * platform/mac/fast/events/event-sender-mouse-moved-expected.png: Removed.
        * platform/mac/fast/events/event-sender-mouse-moved-expected.txt: Removed.
        * platform/qt/fast/events/event-sender-mouse-moved-expected.txt: Removed.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=59405
barraclough@apple.com [Tue, 26 Apr 2011 01:40:25 +0000 (01:40 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=59405
DFG JIT - add type speculation for integer & array types, for vars & args.

Reviewed by Geoff Garen.

If a var or argument is used as the base for a GetByVal or PutByVal access
we are speculating that it is of type Array (we only generate code on the
speculative path to perform array accesses). By typing the var or args slot
as Array, and checking on entry to the function (in the case of args), and
each time the local is written to, we can avoid a type check at each point
the array is accessed. This will typically hoist type checks out of loops.

Similarly, any local that is incremented or decremented, or is the input or
output or a bitwise operator, is likely to be an integer. By typing the
local as int32 we can avoid speculation checks on access, and tagging when
writing to the slot. All accesses can become 32bit instead of 64.

* dfg/DFGByteCodeParser.cpp:
(JSC::DFG::ByteCodeParser::set):
(JSC::DFG::ByteCodeParser::predictArray):
(JSC::DFG::ByteCodeParser::predictInt32):
(JSC::DFG::ByteCodeParser::parseBlock):
* dfg/DFGGraph.h:
(JSC::DFG::PredictionSlot::PredictionSlot):
(JSC::DFG::Graph::Graph):
(JSC::DFG::Graph::predict):
(JSC::DFG::Graph::getPrediction):
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::compileFunction):
* dfg/DFGJITCompiler.h:
(JSC::DFG::JITCompiler::tagFor):
(JSC::DFG::JITCompiler::payloadFor):
* dfg/DFGNode.h:
* dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::NonSpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
(JSC::DFG::SpeculativeJIT::checkArgumentTypes):
(JSC::DFG::SpeculativeJIT::initializeVariableTypes):
* dfg/DFGSpeculativeJIT.h:
* runtime/Executable.cpp:
(JSC::tryDFGCompile):

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

9 years ago2011-04-25 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 26 Apr 2011 01:23:23 +0000 (01:23 +0000)]
2011-04-25  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change. Remove tests that are no longer
        failing.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-25 Igor Oliveira <igor.oliveira@openbossa.org>
commit-queue@webkit.org [Tue, 26 Apr 2011 00:31:36 +0000 (00:31 +0000)]
2011-04-25  Igor Oliveira  <igor.oliveira@openbossa.org>

        Reviewed by Tony Chang.

        Move complexity from DataTransferItemsChromium and DataTransferItemChromium for base class
        https://bugs.webkit.org/show_bug.cgi?id=59028

        The DataTransferItemsChromium and DataTransferItemChromium code can be reused by other platforms.
        Moving the code for base class we can reduce the efforts to support DataTransferItems
        element in different platforms.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/DataTransferItem.cpp:
        (WebCore::DataTransferItem::DataTransferItem):
        (WebCore::DataTransferItem::owner):
        (WebCore::DataTransferItem::kind):
        (WebCore::DataTransferItem::type):
        * dom/DataTransferItem.h:
        * dom/DataTransferItems.cpp: Copied from Source/WebCore/platform/chromium/DataTransferItemsChromium.cpp.
        (WebCore::DataTransferItems::DataTransferItems):
        (WebCore::DataTransferItems::length):
        (WebCore::DataTransferItems::item):
        (WebCore::DataTransferItems::deleteItem):
        (WebCore::DataTransferItems::clear):
        (WebCore::DataTransferItems::add):
        * dom/DataTransferItems.h:
        * platform/chromium/DataTransferItemChromium.cpp:
        (WebCore::DataTransferItem::create):
        (WebCore::DataTransferItemChromium::DataTransferItemChromium):
        (WebCore::DataTransferItemChromium::getAsString):
        (WebCore::DataTransferItemChromium::getAsFile):
        * platform/chromium/DataTransferItemChromium.h:
        * platform/chromium/DataTransferItemsChromium.cpp:
        (WebCore::DataTransferItemsChromium::DataTransferItemsChromium):
        * platform/chromium/DataTransferItemsChromium.h:

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

9 years ago2011-04-25 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Tue, 26 Apr 2011 00:24:54 +0000 (00:24 +0000)]
2011-04-25  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        REGRESSION(75137): directly composited images are double-drawn sometimes
        https://bugs.webkit.org/show_bug.cgi?id=58632

        Depending on the order of operations (layout, creating compositing
        layers and creating simple image layers) a layer can have both image
        content and have m_drawsContent=true. In this case 2 copies of the image
        are drawn in the layer. If the image has alpha, it looks wrong.

        I added an updateDrawsContent() call after setting the image contents
        to make sure it's correct.

        I couldn't create a test case that shows the problem because layerTreeAsText()
        doesn't emit enough info to show this level of detail. I've opened
        https://bugs.webkit.org/show_bug.cgi?id=59352 to fix that.

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::updateImageContents):

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

9 years agoFix OwnPtr strict mode violation in MessageQueue.h
levin@chromium.org [Tue, 26 Apr 2011 00:18:00 +0000 (00:18 +0000)]
Fix OwnPtr strict mode violation in MessageQueue.h
https://bugs.webkit.org/show_bug.cgi?id=59400

Reviewed by James Robinson.

* wtf/MessageQueue.h:
(WTF::::waitForMessage):
(WTF::::waitForMessageFilteredWithTimeout):
(WTF::::tryGetMessage):

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

9 years ago2011-04-25 Kenneth Russell <kbr@google.com>
abarth@webkit.org [Tue, 26 Apr 2011 00:13:01 +0000 (00:13 +0000)]
2011-04-25  Kenneth Russell  <kbr@google.com>

        Reviewed by David Levin.

        Fix OwnPtr strict errors in InlineFlowBox.cpp
        https://bugs.webkit.org/show_bug.cgi?id=59392

        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::setLayoutOverflow):
        (WebCore::InlineFlowBox::setVisualOverflow):

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

9 years ago2011-04-25 Kenneth Russell <kbr@google.com>
abarth@webkit.org [Tue, 26 Apr 2011 00:11:09 +0000 (00:11 +0000)]
2011-04-25  Kenneth Russell  <kbr@google.com>

        Reviewed by David Levin.

        Fix OwnPtr strict errors in TransformState.cpp
        https://bugs.webkit.org/show_bug.cgi?id=59380

        * rendering/TransformState.cpp:
        (WebCore::TransformState::applyTransform):

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

9 years ago2011-04-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 00:07:41 +0000 (00:07 +0000)]
2011-04-25  Adam Barth  <abarth@webkit.org>

        Reviewed by James Robinson.

        DOMWindow.cpp should work with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59356

        * page/DOMWindow.cpp:
        (WebCore::PostMessageTimer::fired):
        (WebCore::DOMWindow::postMessageTimerFired):
        * page/DOMWindow.h:

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

9 years ago2011-04-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Tue, 26 Apr 2011 00:06:17 +0000 (00:06 +0000)]
2011-04-25  Adam Klein  <adamk@chromium.org>

        Reviewed by James Robinson.

        Fix OwnPtr strict errors in some SVG classes.
        https://bugs.webkit.org/show_bug.cgi?id=59395

        * rendering/style/SVGRenderStyleDefs.cpp:
        (WebCore::StyleShadowSVGData::StyleShadowSVGData):
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::SVGSVGElement):
        * svg/SVGStyledTransformableElement.cpp:
        (WebCore::SVGStyledTransformableElement::supplementalTransform):
        * svg/SVGTextElement.cpp:
        (WebCore::SVGTextElement::supplementalTransform):
        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::dataChanged):

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

9 years ago2011-04-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 26 Apr 2011 00:04:06 +0000 (00:04 +0000)]
2011-04-25  Adam Barth  <abarth@webkit.org>

        Re-land changes to ValidationMessage.

        * html/ValidationMessage.cpp:
        (WebCore::ValidationMessage::setMessage):
        (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
        (WebCore::ValidationMessage::requestToHideMessage):

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

9 years ago2011-04-25 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 26 Apr 2011 00:00:08 +0000 (00:00 +0000)]
2011-04-25  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, build fix.

        Change FAILS_ to DISABLED_ in r84813.

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

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

9 years ago2011-04-25 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 25 Apr 2011 23:56:49 +0000 (23:56 +0000)]
2011-04-25  Ojan Vafai  <ojan@chromium.org>

        Reviewed by James Robinson.

        fix OwnPtr strict error in FrameView.cpp
        https://bugs.webkit.org/show_bug.cgi?id=59402

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

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

9 years ago2011-04-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Mon, 25 Apr 2011 23:55:41 +0000 (23:55 +0000)]
2011-04-25  Adam Klein  <adamk@chromium.org>

        Unreviewed, rolling out r84844.
        http://trac.webkit.org/changeset/84844
        https://bugs.webkit.org/show_bug.cgi?id=59395

        Checked in too much.

        * rendering/style/SVGRenderStyleDefs.cpp:
        (WebCore::StyleShadowSVGData::StyleShadowSVGData):
        * svg/SVGDocumentExtensions.cpp:
        (WebCore::SVGDocumentExtensions::removePendingResource):
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::SVGSVGElement):
        * svg/SVGStyledTransformableElement.cpp:
        (WebCore::SVGStyledTransformableElement::supplementalTransform):
        * svg/SVGTextElement.cpp:
        (WebCore::SVGTextElement::supplementalTransform):
        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::dataChanged):

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

9 years ago2011-04-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 25 Apr 2011 23:54:38 +0000 (23:54 +0000)]
2011-04-25  Adam Barth  <abarth@webkit.org>

        Reviewed by Darin Adler.

        JavaScriptCore should play nice strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59401

        * dfg/DFGByteCodeParser.cpp:
        (JSC::DFG::ByteCodeParser::parse):
        * heap/Heap.cpp:
        (JSC::TypeCounter::TypeCounter):
        * jit/JITStubs.cpp:
        (JSC::JITThunks::JITThunks):
        * parser/JSParser.cpp:
        (JSC::JSParser::Scope::Scope):
        * yarr/YarrJIT.cpp:
        (JSC::Yarr::YarrGenerator::GenerationState::addParenthesesTail):

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

9 years ago2011-04-25 Adrienne Walker <enne@google.com>
enne@google.com [Mon, 25 Apr 2011 23:52:51 +0000 (23:52 +0000)]
2011-04-25  Adrienne Walker  <enne@google.com>

        Reviewed by David Levin.

        Make ActiveDOMCallback play nice with OwnPtr strict mode
        https://bugs.webkit.org/show_bug.cgi?id=59398

        * bindings/generic/ActiveDOMCallback.cpp:
        (WebCore::ActiveDOMCallback::ActiveDOMCallback):

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

9 years ago2011-04-25 Adam Klein <adamk@chromium.org>
adamk@chromium.org [Mon, 25 Apr 2011 23:51:13 +0000 (23:51 +0000)]
2011-04-25  Adam Klein  <adamk@chromium.org>

        Reviewed by James Robinson.

        Fix OwnPtr strict errors in some SVG classes.
        https://bugs.webkit.org/show_bug.cgi?id=59395

        * rendering/style/SVGRenderStyleDefs.cpp:
        (WebCore::StyleShadowSVGData::StyleShadowSVGData):
        * svg/SVGSVGElement.cpp:
        (WebCore::SVGSVGElement::SVGSVGElement):
        * svg/SVGStyledTransformableElement.cpp:
        (WebCore::SVGStyledTransformableElement::supplementalTransform):
        * svg/SVGTextElement.cpp:
        (WebCore::SVGTextElement::supplementalTransform):
        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::dataChanged):

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

9 years ago2011-04-25 James Robinson <jamesr@chromium.org>
jamesr@google.com [Mon, 25 Apr 2011 23:45:49 +0000 (23:45 +0000)]
2011-04-25  James Robinson  <jamesr@chromium.org>

        Unreviewed, rolling out r84835.
        http://trac.webkit.org/changeset/84835
        https://bugs.webkit.org/show_bug.cgi?id=59394

        Breaks compile because Deque<OwnPtr> doesn't work

        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::PendingCallbacks::~PendingCallbacks):
        (WebCore::PendingCallbacks::appendStartElementNSCallback):
        (WebCore::PendingCallbacks::appendEndElementNSCallback):
        (WebCore::PendingCallbacks::appendCharactersCallback):
        (WebCore::PendingCallbacks::appendProcessingInstructionCallback):
        (WebCore::PendingCallbacks::appendCDATABlockCallback):
        (WebCore::PendingCallbacks::appendCommentCallback):
        (WebCore::PendingCallbacks::appendInternalSubsetCallback):
        (WebCore::PendingCallbacks::appendErrorCallback):
        (WebCore::XMLDocumentParser::XMLDocumentParser):
        * html/ValidationMessage.cpp:
        (WebCore::ValidationMessage::setMessage):
        (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
        (WebCore::ValidationMessage::requestToHideMessage):

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

9 years ago2011-04-25 James Robinson <jamesr@chromium.org>
jamesr@google.com [Mon, 25 Apr 2011 23:43:16 +0000 (23:43 +0000)]
2011-04-25  James Robinson  <jamesr@chromium.org>

        Reviewed by Sam Weinig.

        Fix OwnPtr strict mode violation in ImageBufferCG
        https://bugs.webkit.org/show_bug.cgi?id=59396

        * platform/graphics/cg/ImageBufferCG.cpp:
        (WebCore::ImageBuffer::ImageBuffer):

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

9 years agoWebKit2: Should be able to inspect Web Inspector in Debug Builds
bweinstein@apple.com [Mon, 25 Apr 2011 23:43:04 +0000 (23:43 +0000)]
WebKit2: Should be able to inspect Web Inspector in Debug Builds
https://bugs.webkit.org/show_bug.cgi?id=59378

Reviewed by Adam Roben.

* UIProcess/WebInspectorProxy.cpp:
(WebKit::createInspectorPageGroup): Creates an inspector page group and enables
    developer extras in a debug build.
(WebKit::WebInspectorProxy::inspectorPageGroup): Calls createInspectorPageGroup.

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

9 years ago2011-04-25 Sam Weinig <sam@webkit.org>
weinig@apple.com [Mon, 25 Apr 2011 23:41:59 +0000 (23:41 +0000)]
2011-04-25  Sam Weinig  <sam@webkit.org>

        Reviewed by Adam Roben.

        Leaks Viewer throws "Cannot post cyclic structures" in Safari 5
        https://bugs.webkit.org/show_bug.cgi?id=56090

        Make LeaksViewer work with versions of browsers that don't support message
        passing of cyclic structures.

        * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParser.js:
        (LeaksParser.this._worker.onmessage):
        (LeaksParser):
        (LeaksParser.prototype.addLeaksFile):
        Use LeaksParserImpl directly if we don't support passing cyclic structures.

        * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserImpl.js: Copied from BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js.
        (LeaksParserImpl):
        (LeaksParserImpl.prototype.addLeaksFile):
        (LeaksParserImpl.prototype._incorporateLeaks):
        * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksParserWorker.js:
        (onmessage):
        Factor out LeaksParser implementation into LeaksParserImpl.js.

        * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
        (workersSupportCyclicStructures):
        Add function to detect if workers support passing cyclic structures.

        * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html:
        Add LeaksParserImpl.js include.

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

9 years agoConvert a test to dump as text.
mitz@apple.com [Mon, 25 Apr 2011 23:41:46 +0000 (23:41 +0000)]
Convert a test to dump as text.

Reviewed by Sam Weinig.

* fast/dom/jsDevicePixelRatio-expected.txt: Added.
* fast/dom/jsDevicePixelRatio.html:
* platform/chromium-linux/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/chromium-win/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
* platform/gtk/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/gtk/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
* platform/mac-leopard/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/mac/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/mac/fast/dom/jsDevicePixelRatio-expected.txt: Removed.
* platform/qt/fast/dom/jsDevicePixelRatio-expected.png: Removed.
* platform/qt/fast/dom/jsDevicePixelRatio-expected.txt: Removed.

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

9 years ago2011-04-25 Huang Dongsung <luxtella@company100.net>
commit-queue@webkit.org [Mon, 25 Apr 2011 23:39:06 +0000 (23:39 +0000)]
2011-04-25  Huang Dongsung  <luxtella@company100.net>

        Reviewed by Dirk Schulze.

        [Skia] Remove an unused local variable in PlatformContextSkia::readbackHardwareToSoftware().
        https://bugs.webkit.org/show_bug.cgi?id=59308

        An unused local variable is created and even allocates heap memory.

        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::readbackHardwareToSoftware):

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

9 years agoQt build fix: Updated files not used by other ports for rename.
ggaren@apple.com [Mon, 25 Apr 2011 23:37:52 +0000 (23:37 +0000)]
Qt build fix: Updated files not used by other ports for rename.

* bindings/js/JSTouchCustom.cpp:
(WebCore::toJSNewlyCreated):
* bindings/js/JSTouchListCustom.cpp:
(WebCore::toJSNewlyCreated):

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

9 years ago2011-04-25 Adrienne Walker <enne@google.com>
enne@google.com [Mon, 25 Apr 2011 23:36:53 +0000 (23:36 +0000)]
2011-04-25  Adrienne Walker  <enne@google.com>

        Reviewed by David Levin.

        WebCore/css/CSS* files should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59382

        * css/CSSFontFaceSource.cpp:
        (WebCore::CSSFontFaceSource::getFontData):
        * css/CSSParser.cpp:
        (WebCore::CSSParser::addProperty):
        (WebCore::CSSParser::parseValue):

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

9 years ago2011-04-25 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Mon, 25 Apr 2011 23:35:45 +0000 (23:35 +0000)]
2011-04-25  Adam Barth  <abarth@webkit.org>

        Reviewed by James Robinson.

        ValidationMessage and XMLDocumentParserLibxml2 should play nice with strict OwnPtrs
        https://bugs.webkit.org/show_bug.cgi?id=59394

        * dom/XMLDocumentParserLibxml2.cpp:
        (WebCore::PendingCallbacks::PendingCallbacks):
        (WebCore::PendingCallbacks::appendStartElementNSCallback):
        (WebCore::PendingCallbacks::appendEndElementNSCallback):
        (WebCore::PendingCallbacks::appendCharactersCallback):
        (WebCore::PendingCallbacks::appendProcessingInstructionCallback):
        (WebCore::PendingCallbacks::appendCDATABlockCallback):
        (WebCore::PendingCallbacks::appendCommentCallback):
        (WebCore::PendingCallbacks::appendInternalSubsetCallback):
        (WebCore::PendingCallbacks::appendErrorCallback):
        (WebCore::XMLDocumentParser::XMLDocumentParser):
        * html/ValidationMessage.cpp:
        (WebCore::ValidationMessage::setMessage):
        (WebCore::ValidationMessage::setMessageDOMAndStartTimer):
        (WebCore::ValidationMessage::requestToHideMessage):

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

9 years ago2011-04-25 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Mon, 25 Apr 2011 23:35:18 +0000 (23:35 +0000)]
2011-04-25  Philippe Normand  <pnormand@igalia.com>

        Unreviewed, GTK rebaseline and skip a couple of failing tests.

        * platform/gtk/Skipped: skip
        http/tests/security/mixedContent/insecure-css-in-main-frame.html
        and editing/text-iterator/findString.html
        * platform/gtk/fast/dom/HTMLMeterElement/meter-element-expected.txt:

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

9 years ago2011-04-25 James Robinson <jamesr@chromium.org>
jamesr@google.com [Mon, 25 Apr 2011 23:30:05 +0000 (23:30 +0000)]
2011-04-25  James Robinson  <jamesr@chromium.org>

        Reviewed by Adam Barth.

        Fix OwnPtr strictness issues in WebCore/inspector/
        https://bugs.webkit.org/show_bug.cgi?id=59387

        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::InspectorAgent):
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::InspectorController):
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyleSheet::ensureSourceData):

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

9 years agoRemoved XPathNamespace because it was unused
ggaren@apple.com [Mon, 25 Apr 2011 23:25:27 +0000 (23:25 +0000)]
Removed XPathNamespace because it was unused
https://bugs.webkit.org/show_bug.cgi?id=59381

Reviewed by Beth Dakin.

This allows us to make Node::ownerDocument() non-virtual, though it has
the unhappy side-effect of rebuilding the world.

* CMakeLists.txt:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj: Bye bye dead code.

* dom/Node.h: Hello fast code!

* xml/XPathNamespace.cpp: Removed.
* xml/XPathNamespace.h: Removed.

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

9 years agoMove text-only results of a test that was switched to dump as text in r72166
mitz@apple.com [Mon, 25 Apr 2011 23:25:09 +0000 (23:25 +0000)]
Move text-only results of a test that was switched to dump as text in r72166
alongside the test, and remove old expected pixel results.

* fast/dom/setPrimitiveValue-expected.txt: Added.
* platform/chromium-linux/fast/dom/setPrimitiveValue-expected.png: Removed.
* platform/chromium-win/fast/dom/setPrimitiveValue-expected.png: Removed.
* platform/gtk/fast/dom/setPrimitiveValue-expected.txt: Removed.
* platform/mac-leopard/fast/dom/setPrimitiveValue-expected.png: Removed.
* platform/mac/fast/dom/setPrimitiveValue-expected.png: Removed.
* platform/mac/fast/dom/setPrimitiveValue-expected.txt: Removed.
* platform/qt/fast/dom/setPrimitiveValue-expected.png: Removed.
* platform/qt/fast/dom/setPrimitiveValue-expected.txt: Removed.

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