[Qt] Disable force_static_libs_as_shared in developer builds if wk2 is enabled

Reviewed by Jocelyn Turcotte.

This is a temporary workaround during the development of #108471, where we move files around
but some link time dependencies might remain.

* qmake/mkspecs/features/default_post.prf:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: searching for <u> in elements panel finds all tags containing "u"
https://bugs.webkit.org/show_bug.cgi?id=108176

Patch by Dmitry Zvorygin <zvorygin@chromium.org> on 2013-01-31
Reviewed by Pavel Feldman.

When searching for tag name check that tag name must either start from
search query, or must end with it.

Source/WebCore:

* inspector/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::performSearch):

LayoutTests:

* inspector/elements/elements-panel-search-expected.txt:
* inspector/elements/elements-panel-search.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] Unreviewed, land baselines with textarea resizer enabled.
https://bugs.webkit.org/show_bug.cgi?id=108383

* platform/chromium-linux/fast/block/float/overhanging-tall-block-expected.png: Removed.
* platform/chromium-mac-lion/editing/inserting/4960120-1-expected.png:
* platform/chromium-mac-lion/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-mac-lion/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-mac-lion/fast/forms/basic-textareas-expected.png:
* platform/chromium-mac-lion/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-mac-lion/fast/forms/form-element-geometry-expected.png:
* platform/chromium-mac-lion/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-mac-lion/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-mac-lion/fast/forms/placeholder-position-expected.png:
* platform/chromium-mac-lion/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-align-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-setinnerhtml-expected.png:
* platform/chromium-mac-lion/fast/forms/textarea-width-expected.png:
* platform/chromium-mac-lion/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-mac-lion/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-mac-lion/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-mac-lion/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac-lion/fast/table/003-expected.png:
* platform/chromium-mac-lion/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-mac-lion/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-mac-lion/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium-mac-snowleopard/editing/inserting/4960120-1-expected.png:
* platform/chromium-mac-snowleopard/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-mac-snowleopard/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/form-element-geometry-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/placeholder-position-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-align-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-mac-snowleopard/fast/forms/textarea-width-expected.png:
* platform/chromium-mac-snowleopard/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-mac-snowleopard/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac-snowleopard/fast/table/003-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-mac-snowleopard/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium-mac/editing/inserting/4960120-1-expected.png:
* platform/chromium-mac/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-mac/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-mac/fast/forms/basic-textareas-expected.png:
* platform/chromium-mac/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-mac/fast/forms/form-element-geometry-expected.png:
* platform/chromium-mac/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-mac/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-mac/fast/forms/placeholder-position-expected.png:
* platform/chromium-mac/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-mac/fast/forms/textarea-align-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-mac/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-mac/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-mac/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-mac/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-mac/fast/forms/textarea-setinnerhtml-expected.png:
* platform/chromium-mac/fast/forms/textarea-width-expected.png:
* platform/chromium-mac/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-mac/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-mac/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-mac/fast/repaint/textarea-set-disabled-expected.png:
* platform/chromium-mac/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-mac/fast/table/003-expected.png:
* platform/chromium-mac/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-mac/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-mac/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium-win/editing/inserting/4960120-1-expected.png:
* platform/chromium-win/editing/pasteboard/pasting-tabs-expected.png:
* platform/chromium-win/fast/block/float/overhanging-tall-block-expected.png:
* platform/chromium-win/fast/dom/HTMLTextAreaElement/reset-textarea-expected.png:
* platform/chromium-win/fast/forms/basic-textareas-expected.png:
* platform/chromium-win/fast/forms/basic-textareas-quirks-expected.png:
* platform/chromium-win/fast/forms/form-element-geometry-expected.png:
* platform/chromium-win/fast/forms/linebox-overflow-in-textarea-padding-expected.png:
* platform/chromium-win/fast/forms/negativeLineHeight-expected.png:
* platform/chromium-win/fast/forms/placeholder-position-expected.png:
* platform/chromium-win/fast/forms/textAreaLineHeight-expected.png:
* platform/chromium-win/fast/forms/textarea-align-expected.png:
* platform/chromium-win/fast/forms/textarea-placeholder-pseudo-style-expected.png:
* platform/chromium-win/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/chromium-win/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/chromium-win/fast/forms/textarea-scroll-height-expected.png:
* platform/chromium-win/fast/forms/textarea-scrollbar-expected.png:
* platform/chromium-win/fast/forms/textarea-scrolled-type-expected.png:
* platform/chromium-win/fast/forms/textarea-setinnerhtml-expected.png:
* platform/chromium-win/fast/forms/textarea-width-expected.png:
* platform/chromium-win/fast/overflow/overflow-x-y-expected.png:
* platform/chromium-win/fast/parser/entity-comment-in-textarea-expected.png:
* platform/chromium-win/fast/parser/open-comment-in-textarea-expected.png:
* platform/chromium-win/fast/replaced/width100percent-textarea-expected.png:
* platform/chromium-win/fast/table/003-expected.png:
* platform/chromium-win/fast/text/international/rtl-white-space-pre-wrap-expected.png:
* platform/chromium-win/fast/text/international/unicode-bidi-plaintext-in-textarea-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug194024-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug30559-expected.png:
* platform/chromium-win/tables/mozilla/bugs/bug30692-expected.png:
* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IndexedDB: Remove WebKit API for old onSuccess/onUpgradeNeeded
https://bugs.webkit.org/show_bug.cgi?id=108399

Reviewed by Dimitri Glazkov.

Cleanup now that chromium proxies the new signatures through.

* src/IDBCallbacksProxy.cpp:
(WebKit::IDBCallbacksProxy::onSuccess):
(WebKit::IDBCallbacksProxy::onUpgradeNeeded):
* src/IDBCallbacksProxy.h:
(IDBCallbacksProxy):
* src/WebIDBCallbacksImpl.cpp:
* src/WebIDBCallbacksImpl.h:
(WebIDBCallbacksImpl):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Disable Web Intents
https://bugs.webkit.org/show_bug.cgi?id=108457

Patch by Christophe Dumez <dchris@gmail.com> on 2013-01-31
Reviewed by Alexey Proskuryakov.

.:

Turn off WEB_INTENTS flag in EFL CMake project.

* Source/cmake/OptionsEfl.cmake:

Source/WebKit:

Remove intents files from EFL CMake project.

* PlatformEfl.cmake:

Source/WebKit/efl:

Remove code related to Web Intents from EFL
WebKit.

* WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
* WebCoreSupport/DumpRenderTreeSupportEfl.h:
* WebCoreSupport/FrameLoaderClientEfl.cpp:
* WebCoreSupport/FrameLoaderClientEfl.h:
(FrameLoaderClientEfl):
* ewk/EWebKit.h:
* ewk/ewk_frame.cpp:
* ewk/ewk_frame.h:
* ewk/ewk_frame_private.h:
* ewk/ewk_intent.cpp: Removed.
* ewk/ewk_intent.h: Removed.
* ewk/ewk_intent_private.h: Removed.
* ewk/ewk_intent_request.cpp: Removed.
* ewk/ewk_intent_request.h: Removed.

Source/WebKit2:

Remove code related to Web Intents from EFL
WebKit2.

* CMakeLists.txt:
* PlatformEfl.cmake:
* UIProcess/API/efl/EWebKit2.h:
* UIProcess/API/efl/EwkViewCallbacks.h:
* UIProcess/API/efl/ewk_intent.cpp: Removed.
* UIProcess/API/efl/ewk_intent.h: Removed.
* UIProcess/API/efl/ewk_intent_private.h: Removed.
* UIProcess/API/efl/ewk_intent_service.cpp: Removed.
* UIProcess/API/efl/ewk_intent_service.h: Removed.
* UIProcess/API/efl/ewk_intent_service_private.h: Removed.
* UIProcess/API/efl/ewk_view.cpp:
* UIProcess/API/efl/ewk_view.h:
* UIProcess/API/efl/tests/resources/intent-request.html: Removed.
* UIProcess/API/efl/tests/resources/intent-service.html: Removed.
* UIProcess/API/efl/tests/test_ewk2_intents.cpp: Removed.
* UIProcess/efl/PageLoadClientEfl.cpp:
(WebKit::PageLoadClientEfl::PageLoadClientEfl):
* UIProcess/efl/PageLoadClientEfl.h:
(PageLoadClientEfl):

Tools:

Remove EFL DRT code related to Web intents.

* DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
(DumpRenderTreeChrome::createView):
(DumpRenderTreeChrome::resetDefaultsToConsistentValues):
(DumpRenderTreeChrome::onFrameCreated):
* DumpRenderTree/efl/DumpRenderTreeChrome.h:
(DumpRenderTreeChrome):
* DumpRenderTree/efl/TestRunnerEfl.cpp:
(TestRunner::sendWebIntentResponse):
(TestRunner::deliverWebIntent):
* Scripts/webkitperl/FeatureList.pm: Turn off WEB_INTENTS flag
for EFL port.

LayoutTests:

Skip webintents/ test cases for EFL port now that
the feature is disabled.

* platform/efl/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed gardening.

* platform/chromium/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r141402): incorrectly set injected bundle path when running GTK unit tests
https://bugs.webkit.org/show_bug.cgi?id=108496

Reviewed by Philippe Normand.

* Scripts/run-gtk-tests:
(TestRunner.__init__): Add the build type as a member on the TestRunner interface.
(TestRunner._setup_testing_environment): Use the build type member to determine correct path
to the injected bundle.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed trivial build fix: Pre C++11 the use of
>> in nested templates is ambiguous in the grammar and
requires the insertion of a space here. Since these files are
not Mac specific we don't require C++11 yet and a space
fixes the build.

* Platform/CoreIPC/Connection.h:
(Connection):
* Shared/ChildProcessProxy.h:
(ChildProcessProxy):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Objective-C API: Fix insertion of values greater than the max index allowed by the spec
https://bugs.webkit.org/show_bug.cgi?id=108264

Reviewed by Oliver Hunt.

Fixed a bug, added a test to the API tests, cleaned up some code.

* API/JSValue.h: Changed some of the documentation on setValue:atIndex: to indicate that
setting values at indices greater than UINT_MAX - 1 wont' affect the length of JS arrays.
* API/JSValue.mm:
(-[JSValue valueAtIndex:]): We weren't returning when we should have been.
(-[JSValue setValue:atIndex:]): Added a comment about why we do the early check for being larger than UINT_MAX.
(objectToValueWithoutCopy): Removed two redundant cases that were already checked previously.
* API/tests/testapi.mm:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] MediaStream API: Rename WebMediaStreamDescriptor and WebMediaStreamComponent to WebMediaStream and WebMediaStreamTrack
https://bugs.webkit.org/show_bug.cgi?id=108458

Source/Platform:

Only renames, no other code changes.

Reviewed by Adam Barth.

* Platform.gypi:
* chromium/public/WebMediaStream.h: Copied from Source/Platform/chromium/public/WebMediaStreamDescriptor.h.
(WebCore):
(WebKit):
(WebMediaStream):
(ExtraData):
(WebKit::WebMediaStream::ExtraData::~ExtraData):
(WebKit::WebMediaStream::WebMediaStream):
(WebKit::WebMediaStream::~WebMediaStream):
(WebKit::WebMediaStream::operator=):
(WebKit::WebMediaStream::isNull):
* chromium/public/WebMediaStreamCenter.h:
(WebKit):
(WebMediaStreamCenter):
(WebKit::WebMediaStreamCenter::didAddMediaStreamTrack):
(WebKit::WebMediaStreamCenter::didRemoveMediaStreamTrack):
* chromium/public/WebMediaStreamCenterClient.h:
(WebKit):
(WebMediaStreamCenterClient):
* chromium/public/WebMediaStreamComponent.h:
* chromium/public/WebMediaStreamDescriptor.h:
* chromium/public/WebMediaStreamTrack.h: Added.
(WebCore):
(WebKit):
(WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::~WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::operator=):
(WebKit::WebMediaStreamTrack::isNull):
* chromium/public/WebRTCPeerConnectionHandler.h:
(WebKit):
(WebRTCPeerConnectionHandler):
* chromium/public/WebRTCPeerConnectionHandlerClient.h:
(WebKit):
(WebRTCPeerConnectionHandlerClient):
* chromium/public/WebRTCStatsRequest.h:
(WebKit):
(WebRTCStatsRequest):

Source/WebCore:

Reviewed by Adam Barth.

Only renames, no other code changes.

* WebCore.gypi:
* platform/chromium/support/WebMediaStream.cpp: Added.
(WebKit::WebMediaStream::WebMediaStream):
(WebKit):
(WebKit::WebMediaStream::reset):
(WebKit::WebMediaStream::label):
(WebKit::WebMediaStream::id):
(WebKit::WebMediaStream::extraData):
(WebKit::WebMediaStream::setExtraData):
(WebKit::WebMediaStream::audioSources):
(WebKit::WebMediaStream::videoSources):
(WebKit::WebMediaStream::operator=):
(WebKit::WebMediaStream::operator PassRefPtr<WebCore::MediaStreamDescriptor>):
(WebKit::WebMediaStream::operator WebCore::MediaStreamDescriptor*):
(WebKit::WebMediaStream::initialize):
(WebKit::WebMediaStream::assign):
* platform/chromium/support/WebMediaStreamComponent.cpp: Removed.
* platform/chromium/support/WebMediaStreamDescriptor.cpp: Removed.
* platform/chromium/support/WebMediaStreamTrack.cpp: Added.
(WebKit):
(WebKit::WebMediaStreamTrack::WebMediaStreamTrack):
(WebKit::WebMediaStreamTrack::operator=):
(WebKit::WebMediaStreamTrack::initialize):
(WebKit::WebMediaStreamTrack::reset):
(WebKit::WebMediaStreamTrack::operator PassRefPtr<MediaStreamComponent>):
(WebKit::WebMediaStreamTrack::operator MediaStreamComponent*):
(WebKit::WebMediaStreamTrack::isEnabled):
(WebKit::WebMediaStreamTrack::id):
(WebKit::WebMediaStreamTrack::stream):
(WebKit::WebMediaStreamTrack::source):
(WebKit::WebMediaStreamTrack::assign):
* platform/chromium/support/WebRTCStatsRequest.cpp:
(WebKit::WebRTCStatsRequest::stream):
(WebKit::WebRTCStatsRequest::component):
* platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
(WebCore::MediaStreamCenterChromium::didCreateMediaStream):
(WebCore::MediaStreamCenterChromium::stopLocalMediaStream):
(WebCore::MediaStreamCenterChromium::addMediaStreamTrack):
(WebCore::MediaStreamCenterChromium::removeMediaStreamTrack):
* platform/mediastream/chromium/MediaStreamCenterChromium.h:
(WebKit):
(MediaStreamCenterChromium):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
(WebCore::RTCPeerConnectionHandlerChromium::didAddRemoteStream):
(WebCore::RTCPeerConnectionHandlerChromium::didRemoveRemoteStream):
* platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
(WebKit):
(RTCPeerConnectionHandlerChromium):

Source/WebKit/chromium:

Reviewed by Adam Barth.

Only renames, no other code changes.

* public/WebMediaStreamRegistry.h:
(WebKit):
(WebMediaStreamRegistry):
* public/WebUserMediaRequest.h:
(WebKit):
(WebUserMediaRequest):
* src/WebMediaStreamRegistry.cpp:
(WebKit::WebMediaStreamRegistry::lookupMediaStreamDescriptor):
* src/WebUserMediaRequest.cpp:
(WebKit::WebUserMediaRequest::requestSucceeded):

Tools:

Reviewed by Adam Barth.

Only renames, no other code changes.

* DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp:
(MockWebMediaStreamCenter::didEnableMediaStreamTrack):
(MockWebMediaStreamCenter::didDisableMediaStreamTrack):
(MockWebMediaStreamCenter::didAddMediaStreamTrack):
(MockWebMediaStreamCenter::didRemoveMediaStreamTrack):
(MockWebMediaStreamCenter::didStopLocalMediaStream):
(MockWebMediaStreamCenter::didCreateMediaStream):
* DumpRenderTree/chromium/MockWebMediaStreamCenter.h:
(MockWebMediaStreamCenter):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
(MockWebRTCPeerConnectionHandler::addStream):
(MockWebRTCPeerConnectionHandler::removeStream):
(MockWebRTCPeerConnectionHandler::getStats):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
(MockWebRTCPeerConnectionHandler):
* DumpRenderTree/chromium/WebUserMediaClientMock.cpp:
(UserMediaRequestTask::UserMediaRequestTask):
(WebUserMediaClientMock::requestUserMedia):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
        WebProcess sandbox profile overhaul.

        Reviewed by Sam Weinig.

        Moves some rules together by susbystem for easier maintenance.

        Addresses <rdar://problem/9276393>, <rdar://problem/10844321>, <rdar://problem/12408537>,
        <rdar://problem/12558524>.

        * WebProcess/com.apple.WebProcess.sb.in:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] CookieParser should ignore invalid/unsupported attributes instead of ignoring the cookie
https://bugs.webkit.org/show_bug.cgi?id=108494

PR 287832
Patch by Otto Derek Cheung <otcheung@rim.com> on 2013-01-31
Reviewed by Rob Buis.
Internally Reviewed by Liam Quinn.

A short-term fix for CookieParser to not blow up when a Set-Cookie header has an invalid
or unsupported cookie attribute.

We will ignore the attribute only, not the entire cookie.

Also, making sure the parser won't replace values of valid attributes when evaluating an unsupported
cookie with the same length and same first character as a supported attribute.

Tested using opera cookie and browser.swlab.rim.net cookies test suite. Tested using regular sites that
has a login mechanism.

* platform/blackberry/CookieParser.cpp:
(WebCore::CookieParser::parseOneCookie):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Lack of a log level string should not obliterate compiled in logging channel state.
https://bugs.webkit.org/show_bug.cgi?id=108502

Reviewed by Alexey Proskuryakov and Sam Weinig.

Source/WebKit/mac:

* Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.

Source/WebKit2:

* Platform/mac/Logging.mac.mm:
(WebKit::initializeLogChannel): If there's no log level string, leave the channel state alone.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove Web Intents code from WebKit2
https://bugs.webkit.org/show_bug.cgi?id=108506

Reviewed by Simon Fraser.

Source/WebKit2:

Since nobody builds with Web Intents enabled anymore, and since the code is going to
be removed from WebCore, remove it from WebKit2.

* Shared/API/c/WKBase.h:
* Shared/APIClientTraits.cpp:
(WebKit):
* Shared/APIObject.h:
* Shared/IntentData.cpp: Removed.
* Shared/IntentData.h: Removed.
* Shared/IntentServiceInfo.cpp: Removed.
* Shared/IntentServiceInfo.h: Removed.
* Shared/WebIntentServiceInfo.cpp: Removed.
* Shared/WebIntentServiceInfo.h: Removed.
* UIProcess/API/C/WKAPICast.h:
(WebKit):
* UIProcess/API/C/WKIntentData.cpp: Removed.
* UIProcess/API/C/WKIntentData.h: Removed.
* UIProcess/API/C/WKIntentServiceInfo.cpp: Removed.
* UIProcess/API/C/WKIntentServiceInfo.h: Removed.
* UIProcess/API/C/WKPage.cpp:
* UIProcess/API/C/WKPage.h:
* UIProcess/WebIntentData.cpp: Removed.
* UIProcess/WebIntentData.h: Removed.
* UIProcess/WebLoaderClient.cpp:
* UIProcess/WebLoaderClient.h:
(WebKit):
(WebLoaderClient):
* UIProcess/WebPageProxy.cpp:
* UIProcess/WebPageProxy.h:
(WebKit):
(WebPageProxy):
* UIProcess/WebPageProxy.messages.in:
* UIProcess/WebProcessProxy.cpp:
* UIProcess/WebProcessProxy.h:
(WebProcessProxy):
* WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
(WebKit):
* WebProcess/InjectedBundle/API/c/WKBundleIntent.cpp: Removed.
* WebProcess/InjectedBundle/API/c/WKBundleIntent.h: Removed.
* WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.cpp: Removed.
* WebProcess/InjectedBundle/API/c/WKBundleIntentRequest.h: Removed.
* WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/InjectedBundleIntent.cpp: Removed.
* WebProcess/InjectedBundle/InjectedBundleIntent.h: Removed.
* WebProcess/InjectedBundle/InjectedBundleIntentRequest.cpp: Removed.
* WebProcess/InjectedBundle/InjectedBundleIntentRequest.h: Removed.
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
(WebKit):
(InjectedBundlePageLoaderClient):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
(WebFrameLoaderClient):
* WebProcess/WebPage/WebFrame.cpp:
* WebProcess/WebPage/WebFrame.h:
(WebCore):
(WebKit):
(WebFrame):
* WebProcess/WebPage/WebPage.cpp:
* WebProcess/WebPage/WebPage.h:
(WebCore):
(WebKit):
(WebPage):
* WebProcess/WebPage/WebPage.messages.in:
* WebProcess/WebProcess.cpp:
* WebProcess/WebProcess.h:
(WebCore):
(WebProcess):
* WebProcess/WebProcess.messages.in:

Tools:

* WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
(InjectedBundlePage):
* WebKitTestRunner/InjectedBundle/TestRunner.cpp:
* WebKitTestRunner/InjectedBundle/TestRunner.h:
(TestRunner):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, update expectation after the order of elements was codified.
https://bugs.webkit.org/show_bug.cgi?id=98686

Also delete the Qt result since this test is skipped on Qt.

* editing/pasteboard/data-transfer-items-expected.txt:
* platform/qt/editing/pasteboard/data-transfer-items-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Call FrameView::contentsResized() when setting fixed layout size
https://bugs.webkit.org/show_bug.cgi?id=107922

Reviewed by James Robinson.

In fixed layout mode, we should be calling contentsResized() when the
fixed layout size is changed, but not laying out when the visible
content rect changes.

Previously landed as r140869 but was reverted due to a bug in bundled
Chromium-specific code. This patch includes just the minimum needed in
WebCore.

New WebFrameTest: FrameViewNeedsLayoutOnFixedLayoutResize.  Some
flaky and obsolete tests for the old page scale mode are also deleted.

Source/WebCore:

* page/FrameView.cpp:
(WebCore::FrameView::visibleContentsResized):
* platform/ScrollView.cpp:
(WebCore::ScrollView::setFixedLayoutSize):
(WebCore::ScrollView::setUseFixedLayout):

Source/WebKit/chromium:

* tests/WebFrameTest.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
EWS graphs have unusual data for patch waiting times
https://bugs.webkit.org/show_bug.cgi?id=108427

Patch by Alan Cutter <alancutter@chromium.org> on 2013-01-31
Reviewed by Eric Seidel.

The max_patches_waiting QueueLog property may have missed recording patches waiting in idle times when no events are fired to update it. I added a cron job to take care of this issue.
The patch wait duration in PatchLogs was being incorrectly updated after a patch expired and was picked up again from the queue. That period should really count towards the processing time instead.
Added a WarningLog to record if any erroneous situations occur due to invalid contents in the datastore. These basically highlight if any "impossible" execution paths get executed.

* QueueStatusServer/app.yaml:
* QueueStatusServer/cron.yaml:
* QueueStatusServer/handlers/syncqueuelogs.py: Copied from Tools/QueueStatusServer/model/patchlog.py.
(SyncQueueLogs):
(SyncQueueLogs.get):
* QueueStatusServer/loggers/recordpatchevent.py:
(RecordPatchEvent.added):
(RecordPatchEvent.retrying):
(RecordPatchEvent.started):
(RecordPatchEvent.stopped):
(RecordPatchEvent.updated):
* QueueStatusServer/main.py:
* QueueStatusServer/model/patchlog.py:
(PatchLog.lookup):
(PatchLog):
(PatchLog.lookup_if_exists):
(PatchLog.calculate_process_duration):
(PatchLog._generate_key):
* QueueStatusServer/model/queuelog.py:
(QueueLog.update_max_patches_waiting):
(QueueLog._get_or_create_txn):
(QueueLog):
(QueueLog._get_patches_waiting):
* QueueStatusServer/model/warninglog.py: Copied from Tools/QueueStatusServer/model/patchlog.py.
(WarningLog):
(WarningLog.record):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed GTK build fix.
Removing build targets for Web Intents files that were removed in r141448.

* GNUmakefile.list.am:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] webkit_unit_tests should depend on base/allocator for ASAN
https://bugs.webkit.org/show_bug.cgi?id=108497

Reviewed by James Robinson.

* WebKitUnitTests.gyp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebFrameTest.DisambiguationPopup is failing
https://bugs.webkit.org/show_bug.cgi?id=108160

Patch by Dan Alcantara <dfalcantara@chromium.org> on 2013-01-31
Reviewed by Adam Barth.

Fix the unit test so that it is using the right HTML file.

* tests/WebFrameTest.cpp:

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