1. 30 Nov, 2011 40 commits
    • commit-queue@webkit.org's avatar
      Add didUpdateBufferedAmount() callback to SocketStreamHandleClient · 742c1747
      commit-queue@webkit.org authored
      and WebSocketChannelClient.
      https://bugs.webkit.org/show_bug.cgi?id=73290
      
      Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-11-30
      Reviewed by Kent Tamura.
      
      No new tests because this callback is not used in WebCore.
      
      * platform/network/SocketStreamHandleBase.cpp: Invoke new callback.
      (WebCore::SocketStreamHandleBase::send):
      (WebCore::SocketStreamHandleBase::sendPendingData):
      * platform/network/SocketStreamHandleBase.h: Change returning value type.
      (WebCore::SocketStreamHandleBase::bufferedAmount):
      * platform/network/SocketStreamHandleClient.h: Add new callback definition.
      (WebCore::SocketStreamHandleClient::didUpdateBufferedAmount):
      * websockets/ThreadableWebSocketChannelClientWrapper.cpp: Add new callback handling.
      (WebCore::ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmount):
      (WebCore::ThreadableWebSocketChannelClientWrapper::didUpdateBufferedAmountCallback):
      * websockets/ThreadableWebSocketChannelClientWrapper.h: Add new callback inheritance and its helper method.
      * websockets/WebSocket.cpp: Add new callback handling.
      (WebCore::WebSocket::didUpdateBufferedAmount):
      * websockets/WebSocket.h: Add new callback inheritance.
      * websockets/WebSocketChannel.cpp: Add new callback handling.
      (WebCore::WebSocketChannel::didUpdateBufferedAmount):
      * websockets/WebSocketChannel.h: Add new callback inheritacne.
      * websockets/WebSocketChannelClient.h: Add new callback definition.
      (WebCore::WebSocketChannelClient::didUpdateBufferedAmount):
      * websockets/WorkerThreadableWebSocketChannel.cpp: Add new callback handling.
      (WebCore::workerContextDidUpdateBufferedAmount):
      (WebCore::WorkerThreadableWebSocketChannel::Peer::didUpdateBufferedAmount):
      * websockets/WorkerThreadableWebSocketChannel.h: Add new callback inheritance and its helper method.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101507 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      742c1747
    • haraken@chromium.org's avatar
      [Refactoring] In preprocessor.pm, remove double quotations from $defines · 4d0ee53e
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73160
      
      Reviewed by Adam Barth.
      
      In preprocessor.pm, we need to extract gcc macros from $defines.
      $defines can contain unnecessary double quotations.
      For example, if $defines is ' "A=1" "B=1" C=1 ""    D  ',
      then it should be converted into four macros, -DA=1, -DB=1, -DC=1 and -DD.
      This patch refactors the logic in preprocessor.pm.
      
      No new tests. No change in behavior.
      
      * bindings/scripts/generate-bindings.pl: Removed a code for $defines conversion, since it is now done in preprocessor.pm.
      * bindings/scripts/preprocessor.pm:
      (applyPreprocessor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d0ee53e
    • philn@webkit.org's avatar
      Unreviewed, GTK rebaseline of some of the previously unskipped · 6092e94d
      philn@webkit.org authored
      tests that have same results on 32-bit and 64-bit.
      
      * platform/gtk/fast/css/text-rendering-expected.txt:
      * platform/gtk/fast/text/emphasis-expected.txt:
      * platform/gtk/fast/text/international/hindi-whitespace-expected.txt:
      * platform/gtk/svg/W3C-I18N/g-dirLTR-ubNone-expected.txt:
      * platform/gtk/svg/W3C-I18N/g-dirLTR-ubOverride-expected.txt:
      * platform/gtk/svg/W3C-I18N/text-dirLTR-ubNone-expected.txt:
      * platform/gtk/svg/W3C-I18N/text-dirLTR-ubOverride-expected.txt:
      * platform/gtk/svg/W3C-I18N/tspan-dirLTR-ubEmbed-in-rtl-context-expected.txt:
      * platform/gtk/svg/W3C-I18N/tspan-dirLTR-ubNone-in-rtl-context-expected.txt:
      * platform/gtk/svg/W3C-I18N/tspan-dirLTR-ubOverride-in-rtl-context-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1-SE/struct-dom-11-f-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1-SE/struct-use-11-f-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-36-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-40-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-41-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-46-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/coords-viewattr-01-b-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/painting-marker-03-f-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/paths-data-03-f-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt:
      * platform/gtk/svg/as-image/img-preserveAspectRatio-support-1-expected.txt:
      * platform/gtk/svg/batik/filters/filterRegions-expected.txt:
      * platform/gtk/svg/batik/masking/maskRegions-expected.txt:
      * platform/gtk/svg/batik/text/textOnPath3-expected.txt:
      * platform/gtk/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt:
      * platform/gtk/svg/css/composite-shadow-example-expected.txt:
      * platform/gtk/svg/css/composite-shadow-with-opacity-expected.txt:
      * platform/gtk/svg/css/stars-with-shadow-expected.txt:
      * platform/gtk/svg/custom/circular-marker-reference-1-expected.txt: Added.
      * platform/gtk/svg/custom/circular-marker-reference-3-expected.txt: Added.
      * platform/gtk/svg/custom/circular-marker-reference-4-expected.txt: Added.
      * platform/gtk/svg/custom/embedding-external-svgs-expected.txt:
      * platform/gtk/svg/custom/empty-merge-expected.txt:
      * platform/gtk/svg/custom/getSubStringLength-expected.txt: Added.
      * platform/gtk/svg/custom/gradient-with-1d-boundingbox-expected.txt:
      * platform/gtk/svg/custom/image-with-transform-clip-filter-expected.txt:
      * platform/gtk/svg/custom/linking-uri-01-b-expected.txt:
      * platform/gtk/svg/custom/non-scaling-stroke-markers-expected.txt: Added.
      * platform/gtk/svg/custom/relative-sized-inner-svg-expected.txt:
      * platform/gtk/svg/custom/relative-sized-use-without-attributes-on-symbol-expected.txt:
      * platform/gtk/svg/custom/stroke-width-click-expected.txt: Added.
      * platform/gtk/svg/custom/stroked-pattern-expected.txt:
      * platform/gtk/svg/custom/svg-fonts-in-text-controls-expected.txt: Added.
      * platform/gtk/svg/custom/svg-fonts-with-no-element-reference-expected.txt:
      * platform/gtk/svg/custom/svg-fonts-word-spacing-expected.txt:
      * platform/gtk/svg/custom/text-rotated-gradient-expected.txt:
      * platform/gtk/svg/custom/use-css-events-expected.txt:
      * platform/gtk/svg/custom/use-detach-expected.txt:
      * platform/gtk/svg/custom/use-elementInstance-event-target-expected.txt: Added.
      * platform/gtk/svg/custom/use-elementInstance-methods-expected.txt: Added.
      * platform/gtk/svg/dom/altGlyph-dom-expected.txt: Added.
      * platform/gtk/svg/dom/css-transforms-expected.txt: Added.
      * platform/gtk/svg/filters/feColorMatrix-default-type-expected.txt:
      * platform/gtk/svg/filters/feColorMatrix-saturate-expected.txt: Added.
      * platform/gtk/svg/filters/filterRes-expected.txt:
      * platform/gtk/svg/filters/parent-children-with-same-filter-expected.txt:
      * platform/gtk/svg/filters/sourceAlpha-expected.txt:
      * platform/gtk/svg/hixie/links/001-expected.txt:
      * platform/gtk/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt:
      * platform/gtk/svg/overflow/overflow-on-inner-svg-element-expected.txt:
      * platform/gtk/svg/text/lengthAdjust-text-metrics-expected.txt: Added.
      * platform/gtk/svg/text/small-fonts-2-expected.txt:
      * platform/gtk/svg/text/text-align-04-b-expected.txt:
      * platform/gtk/svg/zoom/page/zoom-coords-viewattr-01-b-expected.txt:
      * platform/gtk/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
      * platform/gtk/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
      * platform/gtk/svg/zoom/text/zoom-coords-viewattr-01-b-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6092e94d
    • bashi@chromium.org's avatar
      @font-face: unquoted local font names containing spaces don't work · 9ddf9ccb
      bashi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=64783
      
      Source/WebCore:
      
      Allows local font names with spaces.
      Rejects the src descriptor if there is invalid identifiers in local(), as the same as Firefox.
      
      Reviewed by Ryosuke Niwa.
      
      Tests: fast/css/font-face-unquoted-local-expected.html
             fast/css/font-face-unquoted-local.html
      
      * css/CSSParser.cpp:
      (WebCore::parseFontFaceSrcFunction): Added. Treats multiple identifiers in local() as a font name separated by spaces.
      (WebCore::CSSParser::parseFontFaceSrc): Moved the code block which parses local() and format() to parseFontFaceSrcFunction().
      
      LayoutTests:
      
      Adds a test which makes sure that unquoted local font names contains spaces are allowed.
      
      Reviewed by Ryosuke Niwa.
      
      * fast/css/font-face-unquoted-local-expected.html: Added.
      * fast/css/font-face-unquoted-local.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ddf9ccb
    • pfeldman@chromium.org's avatar
      Web Inspector: get rid of deferred backend->front-end commands processing. · 0ee2cf0b
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73439
      
      Source/WebCore:
      
      We should issue tests upon InspectorAgent::enable and should not do any deferred command processing.
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/InspectorAgent.cpp:
      (WebCore::InspectorAgent::InspectorAgent):
      (WebCore::InspectorAgent::setFrontend):
      (WebCore::InspectorAgent::clearFrontend):
      (WebCore::InspectorAgent::enable):
      (WebCore::InspectorAgent::evaluateForTestInFrontend):
      * inspector/InspectorAgent.h:
      * inspector/front-end/inspector.js:
      
      Source/WebKit/chromium:
      
      Reviewed by Yury Semikhatsky.
      
      * src/WebDevToolsFrontendImpl.cpp:
      (WebKit::WebDevToolsFrontendImpl::WebDevToolsFrontendImpl):
      (WebKit::WebDevToolsFrontendImpl::frontendLoaded):
      (WebKit::WebDevToolsFrontendImpl::dispatchOnInspectorFrontend):
      * src/WebDevToolsFrontendImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101503 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ee2cf0b
    • kling@webkit.org's avatar
      REGRESSION(r101172): It made fast/dom/clone-node-style.html assert. · 23f6fe0e
      kling@webkit.org authored
      <http://webkit.org/b/73227>
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      r101172 inadvertently introduced a default assignment operator for CSSElementStyleDeclaration
      which caused StyledElement::copyNonAttributeProperties() to associate the element's inline
      style declaration with the element being cloned.
      
      Replace CSSMutableStyleDeclaration::operator= by copyPropertiesAndStrictnessFrom()
      that matches the old behavior.
      
      * css/CSSMutableStyleDeclaration.cpp:
      (WebCore::CSSMutableStyleDeclaration::copyPropertiesAndStrictnessFrom):
      * css/CSSMutableStyleDeclaration.h:
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::copyNonAttributeProperties):
      
      LayoutTests:
      
      Unskip fast/dom/clone-node-style.html.
      
      * platform/chromium/test_expectations.txt:
      * platform/qt/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23f6fe0e
    • commit-queue@webkit.org's avatar
      remove buildinformation from BlackBerry porting build system · cd9926e7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73276
      
      Patch by Mary Wu <mary.wu@torchmobile.com.cn> on 2011-11-30
      Reviewed by Daniel Bates.
      
      .:
      
      * Source/cmake/OptionsBlackBerry.cmake: remove script file generate-buildinfo
      
      Source/WebCore:
      
      * PlatformBlackBerry.cmake: remove generated files BuildInformation.cpp/.h
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101501 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd9926e7
    • hayato@chromium.org's avatar
      Webkit gardening: chromium rebaseline for svg tests. · 33dca644
      hayato@chromium.org authored
      Unreviewed.
      
      * platform/chromium-cg-mac-snowleopard/svg/custom/visited-link-color-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/custom/visited-link-color-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101500 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33dca644
    • macpherson@chromium.org's avatar
      Implement Zoom Property in CSSSStyleApplyProperty. · 7c52f7c4
      macpherson@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72840
      
      Reviewed by Andreas Kling.
      
      Covered by fast/css/*zoom*.html
      
      * css/CSSStyleApplyProperty.cpp:
      Add new handler for zoom property (based on existing code from CSSStyleSelector.cpp)
      (WebCore::ApplyPropertyZoom::resetEffectiveZoom):
      (WebCore::ApplyPropertyZoom::applyInheritValue):
      (WebCore::ApplyPropertyZoom::applyInitialValue):
      (WebCore::ApplyPropertyZoom::applyValue):
      (WebCore::ApplyPropertyZoom::createHandler):
      (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
      * css/CSSStyleSelector.cpp:
      Remove existing implementation.
      (WebCore::CSSStyleSelector::applyProperty):
      * css/CSSStyleSelector.h:
      (WebCore::CSSStyleSelector::document):
      Add getter for Document.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101499 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c52f7c4
    • commit-queue@webkit.org's avatar
      [Chromium] Re-enable layer anti-aliasing on ChromeOS. · 01c71d94
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73361
      
      Patch by David Reveman <reveman@chromium.org> on 2011-11-30
      Reviewed by James Robinson.
      
      Anti-aliasing should be enabled by default on ChromeOS.
      
      No new tests.
      
      * platform/graphics/chromium/cc/CCRenderSurface.cpp:
      (WebCore::CCRenderSurface::drawLayer):
      * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
      (WebCore::CCTiledLayerImpl::draw):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101498 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01c71d94
    • hayato@chromium.org's avatar
      Unreviewed. Update test expectations for svg test. · 56942263
      hayato@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56942263
    • kbalazs@webkit.org's avatar
      [WK2] Gardening - skip 2 crashers. · 851c0bf2
      kbalazs@webkit.org authored
      Unreviewed gardening.
      
      [WK2] http/tests/security/local-image-from-remote-whitelisted.html crashes
      https://bugs.webkit.org/show_bug.cgi?id=73435
      
      [Qt][WK2] fast/multicol/pagination-v-vertical-lr.html crashes
      https://bugs.webkit.org/show_bug.cgi?id=73436
      
      * platform/wk2/Skipped:
      * platform/qt-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101496 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      851c0bf2
    • hayato@chromium.org's avatar
      Webkit gardening: chromium rebaseline for svg tests. · 39da84e0
      hayato@chromium.org authored
      Unreviewed.
      
      * platform/chromium-cg-mac-snowleopard/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.png:
      * platform/chromium-linux-x86/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt: Added.
      * platform/chromium-linux/svg/W3C-SVG-1.1-SE/text-intro-09-b-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39da84e0
    • hausmann@webkit.org's avatar
      [Qt] Fix crash when using Qt DRT with V8. · 16b4c89c
      hausmann@webkit.org authored
      Reviewed by Csaba Osztrogonác.
      
      Add missing handle scopes for the handles returned by mainWorldContext.
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::injectInternalsObject):
      (DumpRenderTreeSupportQt::resetInternalsObject):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101494 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16b4c89c
    • hausmann@webkit.org's avatar
      [Qt] Remove dependency of Qt DRT on JavaScriptCore. · 87030912
      hausmann@webkit.org authored
      Reviewed by Csaba Osztrogonác.
      
      * DumpRenderTree/WorkQueue.cpp: Include the correct header file we're using anyway,
      instead of one that pulls in JavaScriptCore headers.
      * DumpRenderTree/qt/DumpRenderTree.pro: There's no need to pull in the JSC headers
      with load(javascriptcore).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101493 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87030912
    • michaeln@google.co's avatar
      Source/WebCore: [chromium] WebSQLDatabase could use some better error reporting. · 4c00c9a7
      michaeln@google.co authored
      Instruments the database classes to report errors to a DatabaseObserver.
      https://bugs.webkit.org/show_bug.cgi?id=73258
      
      Reviewed by David Levin.
      
      No new tests, no content observable artifacts.
      
      * storage/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::AbstractDatabase):
      (WebCore::AbstractDatabase::performOpenAndVerify):
      (WebCore::AbstractDatabase::incrementalVacuumIfNeeded):
      (WebCore::AbstractDatabase::reportOpenDatabaseResult):
      (WebCore::AbstractDatabase::reportChangeVersionResult):
      (WebCore::AbstractDatabase::reportStartTransactionResult):
      (WebCore::AbstractDatabase::reportCommitTransactionResult):
      (WebCore::AbstractDatabase::reportExecuteStatementResult):
      (WebCore::AbstractDatabase::reportVacuumDatabaseResult):
      * storage/AbstractDatabase.h:
      (WebCore::AbstractDatabase::isSyncDatabase):
      * storage/ChangeVersionWrapper.cpp:
      (WebCore::ChangeVersionWrapper::performPreflight):
      (WebCore::ChangeVersionWrapper::performPostflight):
      ...
      4c00c9a7
    • hausmann@webkit.org's avatar
      [Qt] Fix crashing layout tests · 96dc27f9
      hausmann@webkit.org authored
      Reviewed by Kenneth Rohde Christiansen.
      
      Fix ASSERTION FAILED: m_key != PTHREAD_KEYS_MAX in ThreadIdentifierDataPthreads.cpp(65)
      static WTF::ThreadIdentifier WTF::ThreadIdentifierData::identifier()
      
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::initialize): Add missing WebCore::initializeWebCoreQt().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101491 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96dc27f9
    • commit-queue@webkit.org's avatar
      [MutationObservers] V8 bindings don't properly wrap all calls into JS · 4bb9526a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72063
      
      Patch by Rafael Weinstein <rafaelw@chromium.org> on 2011-11-30
      Reviewed by Adam Barth.
      
      This patch changes cleans up script invocation in V8Proxy. It removes callFunctionWithoutFrame
      and changes callers to simply call instrumentedFunctionCall with a null Page. Also, it implements
      the non-static callFunction to be implemented in terms of instrumentedFunctionCall.
      
      No new tests.
      
      * bindings/v8/ScriptFunctionCall.cpp:
      (WebCore::ScriptCallback::call):
      * bindings/v8/V8NodeFilterCondition.cpp:
      (WebCore::V8NodeFilterCondition::acceptNode):
      * bindings/v8/V8Proxy.cpp:
      (WebCore::V8Proxy::callFunction):
      (WebCore::V8Proxy::instrumentedCallFunction):
      * bindings/v8/V8Proxy.h:
      * bindings/v8/custom/V8CustomXPathNSResolver.cpp:
      (WebCore::V8CustomXPathNSResolver::lookupNamespaceURI):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101490 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bb9526a
    • kbalazs@webkit.org's avatar
      [Qt] X11 plugins need to be reworked for Qt5 · c593dbac
      kbalazs@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=70023
      
      Rubber-stamped by Csaba Osztrogonác.
      
      Skip the rest of plugin tests (from http directory).
      It's not reliable to test plugins without NPAPI support.
      
      * platform/qt-5.0/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101489 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c593dbac
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r101440 and r101442. · 9c7d0236
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/101440
      http://trac.webkit.org/changeset/101442
      https://bugs.webkit.org/show_bug.cgi?id=73429
      
      multiple crashes on layout tests (Requested by hayato on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-11-30
      
      Source/WebCore:
      
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::initialize):
      * platform/graphics/chromium/WebGLLayerChromium.cpp:
      (WebCore::WebGLLayerChromium::layerRendererContext):
      * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
      (WebCore::CCHeadsUpDisplay::enabled):
      * platform/graphics/chromium/cc/CCLayerTreeHost.cpp:
      (WebCore::CCLayerTreeHost::CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::initialize):
      (WebCore::CCLayerTreeHost::~CCLayerTreeHost):
      (WebCore::CCLayerTreeHost::context):
      (WebCore::CCLayerTreeHost::setNeedsAnimate):
      (WebCore::CCLayerTreeHost::setNeedsCommit):
      (WebCore::CCLayerTreeHost::setNeedsRedraw):
      (WebCore::CCLayerTreeHost::composite):
      * platform/graphics/chromium/cc/CCLayerTreeHost.h:
      (WebCore::CCSettings::CCSettings):
      * platform/graphics/chromium/cc/CCProxy.cpp:
      (WebCore::CCProxy::isMainThread):
      (WebCore::CCProxy::isImplThread):
      (WebCore::CCProxy::setImplThread):
      * platform/graphics/chromium/cc/CCProxy.h:
      * platform/graphics/chromium/cc/CCSingleThreadProxy.h:
      (WebCore::DebugScopedSetImplThread::DebugScopedSetImplThread):
      (WebCore::DebugScopedSetImplThread::~DebugScopedSetImplThread):
      
      Source/WebKit/chromium:
      
      * WebKit.gyp:
      * WebKit.gypi:
      * public/WebCompositor.h:
      * public/WebCompositorClient.h:
      * public/WebCompositorInputHandler.h: Removed.
      * public/WebCompositorInputHandlerClient.h: Removed.
      * public/WebLayerTreeView.h:
      (WebKit::WebLayerTreeView::Settings::Settings):
      * public/WebSettings.h:
      * src/WebCompositorImpl.cpp:
      (WebCore::CCInputHandler::create):
      (WebKit::WebCompositor::setThread):
      (WebKit::WebCompositor::fromIdentifier):
      (WebKit::WebCompositorImpl::fromIdentifier):
      (WebKit::WebCompositorImpl::WebCompositorImpl):
      (WebKit::WebCompositorImpl::~WebCompositorImpl):
      (WebKit::WebCompositorImpl::setClient):
      (WebKit::WebCompositorImpl::handleInputEvent):
      (WebKit::WebCompositorImpl::identifier):
      (WebKit::WebCompositorImpl::willDraw):
      * src/WebCompositorImpl.h:
      (WebKit::WebCompositorImpl::create):
      * src/WebCompositorInputHandlerImpl.cpp: Removed.
      * src/WebCompositorInputHandlerImpl.h: Removed.
      * src/WebKit.cpp:
      (WebKit::initializeWithoutV8):
      (WebKit::shutdown):
      * src/WebLayerTreeView.cpp:
      (WebKit::WebLayerTreeView::Settings::operator CCSettings):
      (WebKit::WebLayerTreeView::composite):
      * src/WebLayerTreeViewImpl.cpp:
      (WebKit::WebLayerTreeViewImpl::createLayerTreeHostContext3D):
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::WebSettingsImpl):
      (WebKit::WebSettingsImpl::setUseThreadedCompositor):
      * src/WebSettingsImpl.h:
      (WebKit::WebSettingsImpl::useThreadedCompositor):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::animate):
      (WebKit::WebViewImpl::composite):
      (WebKit::WebViewImpl::scheduleAnimation):
      (WebKit::WebViewImpl::setIsAcceleratedCompositingActive):
      (WebKit::WebViewImpl::createLayerTreeHostContext3D):
      (WebKit::WebViewImpl::scheduleComposite):
      (WebKit::WebViewImpl::graphicsContext3D):
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::CCLayerTreeHostTest::CCLayerTreeHostTest):
      (WTF::CCLayerTreeHostTest::onEndTest):
      (WTF::CCLayerTreeHostTest::runTest):
      (WTF::CCLayerTreeHostTest::doBeginTest):
      (WTF::CCLayerTreeHostTestShortlived1::beginTest):
      (WTF::CCLayerTreeHostTestShortlived2::beginTest):
      (WTF::CCLayerTreeHostTestShortlived3::beginTest):
      (WTF::CCLayerTreeHostTestCommitingWithContinuousRedraw::beginTest):
      (WTF::CCLayerTreeHostTestOpacityChange::afterTest):
      * tests/WebCompositorImplTest.cpp: Renamed from Source/WebKit/chromium/tests/WebCompositorInputHandlerImplTest.cpp.
      
      Tools:
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::resetWebSettings):
      * DumpRenderTree/chromium/TestShell.h:
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (WebPreferences::reset):
      (WebPreferences::applyTo):
      * DumpRenderTree/chromium/WebPreferences.h:
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::WebViewHost):
      (WebViewHost::~WebViewHost):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101488 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c7d0236
    • ossy@webkit.org's avatar
      Unreviewed rolling out incorrect r101481. · 33787998
      ossy@webkit.org authored
      * assembler/MIPSAssembler.h:
      * assembler/MacroAssemblerMIPS.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101487 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33787998
    • ap@apple.com's avatar
      Download page URL should be set by WebCore · 456d465a
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=73358
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      No change in behavior, just refactoring.
      
      * loader/FrameLoader.h:
      * loader/FrameLoader.cpp:
      (WebCore::originatingURLFromBackForwardList):
      (WebCore::FrameLoader::setOriginalURLForDownloadRequest):
      Moved implementations from WebKit, added a bunch of FIXMEs.
      
      * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::continueAfterContentPolicy):
      Set main document URL (incorrectly renamed to "first party for cookies" in WebCore), so that
      CFNetwork would automatically use it.
      
      * loader/PolicyChecker.cpp: (WebCore::PolicyChecker::continueAfterNavigationPolicy): Ditto
      for requests that start as downloads (as opposed to being converted after reading first bits
      of response).
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebFrameLoaderClient.h: Removed setOriginalURLForDownload, which is now
      in WebCore.
      
      * WebCoreSupport/WebFrameLoaderClient.mm:
      (WebFrameLoaderClient::download): There is no need to set original URL post factum any more.
      (WebFrameLoaderClient::startDownload): Ditto.
      
      Source/WebKit2:
      
      * WebProcess/Downloads/mac/DownloadMac.mm:
      (WebKit::Download::start): There is no need to set original URL post factum any more.
      (WebKit::Download::startWithHandle): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      456d465a
    • kenneth@webkit.org's avatar
      Rename WebKit::ViewportUpdateGuard to *Deferrer and add some better comments... · e683991c
      kenneth@webkit.org authored
      Rename WebKit::ViewportUpdateGuard to *Deferrer and add some better comments to explain its purpose.
      
      Reviewed by Simon Hausmann.
      
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit::ViewportUpdateDeferrer::ViewportUpdateDeferrer):
      (WebKit::ViewportUpdateDeferrer::~ViewportUpdateDeferrer):
      (WebKit::QtViewportInteractionEngine::setItemRectVisible):
      (WebKit::QtViewportInteractionEngine::scaleAnimationStateChanged):
      (WebKit::QtViewportInteractionEngine::scrollStateChanged):
      (WebKit::QtViewportInteractionEngine::applyConstraints):
      (WebKit::QtViewportInteractionEngine::pinchGestureStarted):
      * UIProcess/qt/QtViewportInteractionEngine.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101485 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e683991c
    • hausmann@webkit.org's avatar
      Fix compilation with MingW. · 3e2325b7
      hausmann@webkit.org authored
      Reviewed by Csaba Osztrogonác.
      
      * wtf/ThreadingWin.cpp:
      (WTF::initializeCurrentThreadInternal): MingW doesn't support MSVC exception handling, so for
      the time being make the thread name setting unimplemented for MingW.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e2325b7
    • hausmann@webkit.org's avatar
      Unreviewed propective build fix for Qt/Windows part 2 after r101477. · 387ed2c7
      hausmann@webkit.org authored
      * wtf/ThreadSpecific.h: Fix the OS(WINDOWS) defines for the friend declaration for ThreadSpecific<T>::Data
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      387ed2c7
    • hausmann@webkit.org's avatar
      Unreviewed propective build fix for Qt/Windows after r101477. · a84eb4a7
      hausmann@webkit.org authored
      * wtf/ThreadSpecific.h: Use OS(WINDOWS) for declaring "destructor", as it's
      only referenced from within another OS(WINDOWS) section.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101482 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a84eb4a7
    • ossy@webkit.org's avatar
      Unreviewed speculative buildfix after r101457. · 68bfdcd2
      ossy@webkit.org authored
      * assembler/MIPSAssembler.h:
      (JSC::MIPSAssembler::readCallTarget):
      * assembler/MacroAssemblerMIPS.h:
      (JSC::MacroAssemblerMIPS::readCallTarget):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101481 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68bfdcd2
    • commit-queue@webkit.org's avatar
      Remove unused isInlineCode from V8Proxy · 98819593
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73341
      
      Patch by Rafael Weinstein <rafaelw@chromium.org> on 2011-11-30
      Reviewed by Adam Barth.
      
      No tests needed. This patch only removes unnecessary code.
      
      * bindings/v8/V8LazyEventListener.cpp:
      (WebCore::V8LazyEventListener::prepareListenerObject):
      * bindings/v8/V8Proxy.cpp:
      (WebCore::V8Proxy::V8Proxy):
      (WebCore::V8Proxy::evaluate):
      (WebCore::V8Proxy::runScript):
      * bindings/v8/V8Proxy.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98819593
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening. Add Qt5 specific expected results for passing tests... · d81c9100
      ossy@webkit.org authored
      [Qt] Unreviewed gardening. Add Qt5 specific expected results for passing tests and skip failing tests.
      
      * platform/qt-5.0/Skipped: Skip new failing tests.
      * platform/qt-5.0/css2.1/20110323/empty-inline-001-expected.txt: Added.
      * platform/qt-5.0/css2.1/20110323/empty-inline-002-expected.txt: Added.
      * platform/qt-5.0/css2.1/20110323/empty-inline-003-expected.txt: Added.
      * platform/qt-5.0/css2.1/20110323/table-caption-001-expected.txt: Added.
      * platform/qt-5.0/css2.1/20110323/table-caption-margins-001-expected.txt: Added.
      * platform/qt-5.0/editing/execCommand/indent-nested-lists-3-expected.txt: Added.
      * platform/qt-5.0/fast/css/empty-inline-003-quirksmode-expected.txt: Added.
      * platform/qt-5.0/fast/css/empty-inline-line-height-first-line-expected.txt: Added.
      * platform/qt-5.0/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt: Added.
      * platform/qt-5.0/fast/css/font-face-descending-unicode-range-expected.txt: Added.
      * platform/qt-5.0/fast/dom/rtl-scroll-to-leftmost-and-resize-expected.txt: Added.
      * platform/qt-5.0/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt: Added.
      * platform/qt-5.0/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
      * platform/qt-5.0/svg/transforms/svg-css-transforms-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d81c9100
    • commit-queue@webkit.org's avatar
      Test how HTMLButtonElement.setCustomValidity reacts to too few arguments · 4cc042c3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=66524
      
      This patch combines tests from this bug, bug 66525, bug 66526, and bug 66528
      and puts them in a single file under fast/forms/
      
      Patch by Mark Pilgrim <pilgrim@chromium.org> on 2011-11-30
      Reviewed by Adam Barth.
      
      * fast/forms/setCustomValidity-arguments-expected.txt: Added.
      * fast/forms/setCustomValidity-arguments.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101478 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cc042c3
    • hausmann@webkit.org's avatar
      .: Replace Qt QThread threading back-end with pthread/Win32 threading back-ends · 9f6986dd
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72155
      
      Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-11-30
      Reviewed by Simon Hausmann.
      
      Add additional WebCoreSupport files for Qt.
      
      * Source/api.pri:
      
      Source/JavaScriptCore: Replace Qt QThread threading back-end with pthread/Win32 threading back-ends
      https://bugs.webkit.org/show_bug.cgi?id=72155
      
      Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-11-30
      Reviewed by Simon Hausmann.
      
      Use ThreadingPthreads and ThreadingWin instead of ThreadingQt.
      
      * heap/MachineStackMarker.cpp:
      * wtf/MainThread.cpp:
      (WTF::initializeMainThread):
      * wtf/Platform.h:
      * wtf/ThreadSpecific.h: Drop QThreadStorage related code.
      (WTF::::destroy):
      * wtf/ThreadingPrimitives.h:
      * wtf/qt/MainThreadQt.cpp: Drop Qt specific isMainThread().
      (WTF::initializeMainThreadPlatform): Initialize MainThreadInvoker on main thread to avoid infecting secondary thread with QAdoptedThread.
      (WTF::scheduleDispatchFunctionsOnMainThread):
      * wtf/qt/ThreadingQt.cpp: Removed.
      * wtf/wtf.pro:
      
      Source/WebCore: Replace Qt QThread threading back-end with pthread/Win32 threading back-ends
      https://bugs.webkit.org/show_bug.cgi?id=72155
      
      Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-11-30
      Reviewed by Simon Hausmann.
      
      Need to include qglobal.h since ThreadingPrimitives.h no longer does.
      
      * platform/network/NetworkingContext.h:
      
      Source/WebKit/qt: Replace Qt QThread threading back-end with pthread/Win32 threading back-ends
      https://bugs.webkit.org/show_bug.cgi?id=72155
      
      Patch by Andrew Wason <rectalogic@rectalogic.com> on 2011-11-30
      Reviewed by Simon Hausmann.
      
      Extract WebCore initialization out of QWebPagePrivate into a
      separate initialization function. This also needs to be called
      from public static QWebSettings methods that call into WebCore,
      since those can be used before a QWebPage has been constructed.
      
      * Api/qwebpage.cpp:
      (QWebPagePrivate::QWebPagePrivate):
      * Api/qwebsettings.cpp:
      (QWebSettings::globalSettings):
      (QWebSettings::setIconDatabasePath):
      (QWebSettings::iconDatabasePath):
      (QWebSettings::clearIconDatabase):
      (QWebSettings::iconForUrl):
      (QWebSettings::setWebGraphic):
      (QWebSettings::webGraphic):
      (QWebSettings::clearMemoryCaches):
      (QWebSettings::maximumPagesInCache):
      (QWebSettings::setObjectCacheCapacities):
      (QWebSettings::setOfflineStoragePath):
      (QWebSettings::offlineStoragePath):
      (QWebSettings::setOfflineWebApplicationCachePath):
      (QWebSettings::offlineWebApplicationCachePath):
      (QWebSettings::setOfflineWebApplicationCacheQuota):
      (QWebSettings::offlineWebApplicationCacheQuota):
      (QWebSettings::enablePersistentStorage):
      * WebCoreSupport/InitWebCoreQt.cpp: Added.
      (WebCore::initializeWebCoreQt):
      * WebCoreSupport/InitWebCoreQt.h: Added.
      
      Source/WebKit2: Build fix. The removal of the Qt threading back-end also removed
      an implicit QString inclusion/forward-declaration.
      
      * UIProcess/qt/QtWebContext.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101477 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f6986dd
    • reed@google.com's avatar
      [skia] update expectations for mac-skia results · 039cd953
      reed@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=73340
      
      unreviewed, expectations updated.
      
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      039cd953
    • philn@webkit.org's avatar
      Unreviewed, unskip some of the SVG tests on GTK that might have · cd298560
      philn@webkit.org authored
      been fixed by r101342.
      
      * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd298560
    • commit-queue@webkit.org's avatar
      [SOUP][WK2] Implement the functions to manager cookies in CookieJar for WebKit2 · cff597be
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=72353
      
      r79722 inserted the functions to manange cookies from web process.
      (getHostnamesWithCookies,deleteCookiesForHostname,deleteAllCookies)
      Implement the functions for soup network backend.
      
      Patch by Jongseok Yang <js45.yang@samsung.com> on 2011-11-30
      Reviewed by Martin Robinson.
      
      * platform/network/soup/CookieJarSoup.cpp:
      (WebCore::getHostnamesWithCookies):
      (WebCore::deleteCookiesForHostname):
      (WebCore::deleteAllCookies):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101474 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cff597be
    • ossy@webkit.org's avatar
      MacroAssemblerARM does not implement readCallTarget · 699a877a
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73413
      
      Based on Filip Pizlo's patch.
      
      Buildfix. Rubber-stamped by Gabor Loki.
      
      * assembler/ARMAssembler.h:
      (JSC::ARMAssembler::readCallTarget):
      * assembler/MacroAssemblerARM.h:
      (JSC::MacroAssemblerARM::readCallTarget):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101473 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      699a877a
    • commit-queue@webkit.org's avatar
      [Chromium] Avoid ASSERT_NOT_REACHED() from creating FBO with content texture of size 0 · 5606c879
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73266
      
      Source/WebCore:
      
      Remove render surface layers with no children after clipping to
      the parent layer.
      
      Move the check for empty render surfaces after the piece of code
      used to apply the parent's clip, as we might end up calling
      renderSurface->clearLayerList().
      
      Render surfaces with no children or visible content are unexpected
      especially at draw time where we might try to create a content
      texture and FBO with a size of zero, which will fail. This fixes
      an ASSERT_NOT_REACHED() for checkFramebufferStatus() != COMPLETE
      
      Patch by Daniel Sievers <sievers@chromium.org> on 2011-11-30
      Reviewed by James Robinson.
      
      Added unit test.
      
      * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
      (WebCore::calculateDrawTransformsAndVisibilityInternal):
      
      Source/WebKit/chromium:
      
      Patch by Daniel Sievers <sievers@chromium.org> on 2011-11-30
      Reviewed by James Robinson.
      
      * tests/CCLayerTreeHostCommonTest.cpp:
      (WebCore::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5606c879
    • gyuyoung.kim@samsung.com's avatar
      [EFL] Remove duplicated UA information function. · 47856ca4
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=73104
      
      Reviewed by Filip Pizlo.
      
      Though ewk_setting already implemented an internal function for UA(user agent) information,
      FrameLoaderClientEfl has used duplicated function for UA information. So, this patch removes
      the UA information function of FrameLoaderClientEfl and uses an internal UA information function
      of ewk_setting. In addition, UA infomation function is enhanced for other ports.
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::composeUserAgent):
      * ewk/ewk_settings.cpp:
      (ewk_settings_default_user_agent_get):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47856ca4
    • kenneth@webkit.org's avatar
      [Qt] Clean up the Qt viewport interaction engine · 4c70026a
      kenneth@webkit.org authored
      Reviewed by Simon Hausmann.
      
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit::QtViewportInteractionEngine::reset):
      
          Make sure reset is not called while suspended.
      
      (WebKit::QtViewportInteractionEngine::applyConstraints):
      
          We always need to apply the constrains due to initial-scale.
      
          Now that we only apply the constrains when we are ready to
          paint, it is impossible for the user to have interacted with
          the content in the case the viewport meta tag was declared
          in the <head> tag, and it is thus always applied.
      
      (WebKit::QtViewportInteractionEngine::panGestureStarted):
      (WebKit::QtViewportInteractionEngine::pinchGestureActive):
      
          Fix this method to actually do what it advertises, before
          it would be true even if just animation a bounce back effect.
      
      (WebKit::QtViewportInteractionEngine::pinchGestureStarted):
      (WebKit::QtViewportInteractionEngine::pinchGestureEnded):
      * UIProcess/qt/QtViewportInteractionEngine.h:
      
          General, get rid of the interaction flags as we only need to
          know whether the user interacted (panned, pinched, double-tapped).
          Before we would still apply initial-scale if the user had panned
          the content which can be pretty confusing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101470 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c70026a
    • pfeldman@chromium.org's avatar
      Web Inspector: do not report worker-related events unless inspector agent is enabled. · 01859c2d
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73411
      
      Source/WebCore:
      
      Backend should not generate messages until the client requests that they are sent.
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/Inspector.json:
      * inspector/InspectorAgent.cpp:
      (WebCore::InspectorAgent::setFrontend):
      (WebCore::InspectorAgent::clearFrontend):
      (WebCore::InspectorAgent::enable):
      (WebCore::InspectorAgent::disable):
      (WebCore::InspectorAgent::postWorkerNotificationToFrontend):
      (WebCore::InspectorAgent::didCreateWorker):
      (WebCore::InspectorAgent::didDestroyWorker):
      (WebCore::InspectorAgent::developerExtrasEnabled):
      * inspector/InspectorAgent.h:
      * inspector/InspectorController.cpp:
      (WebCore::InspectorController::enabled):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
      (WebCore::InspectorInstrumentation::didCommitLoadImpl):
      (WebCore::InspectorInstrumentation::didOpenDatabaseImpl):
      (WebCore::InspectorInstrumentation::didUseDOMStorageImpl):
      (WebCore::InspectorInstrumentation::didCreateWebSocketImpl):
      * inspector/InspectorPageAgent.cpp:
      * inspector/PageConsoleAgent.cpp:
      (WebCore::PageConsoleAgent::developerExtrasEnabled):
      * inspector/front-end/WorkerManager.js:
      (WebInspector.WorkerManager.prototype._workerInspectorClosing):
      (WebInspector.WorkerManager.prototype._disconnectedFromWorker):
      (WebInspector.DedicatedWorkerMessageForwarder.prototype.dispatchMessageFromWorker):
      (WebInspector.DedicatedWorkerMessageForwarder.prototype.disconnectedFromWorker):
      * inspector/front-end/inspector.js:
      
      Source/WebKit/chromium:
      
      Reviewed by Yury Semikhatsky.
      
      * src/WebDevToolsAgentImpl.cpp:
      (WebKit::WebDevToolsAgent::disconnectEventAsText):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@101469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01859c2d
    • hausmann@webkit.org's avatar
      e0386d29