1. 27 Jan, 2011 28 commits
    • yurys@chromium.org's avatar
      2011-01-27 Yury Semikhatsky <yurys@chromium.org> · 591972aa
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: store all settings related to the agents on the frontend side
              https://bugs.webkit.org/show_bug.cgi?id=53174
      
              * http/tests/inspector/console-xhr-logging.html: since the setting doesn't change on the front-end
              side there is no need to check it after modifying backend's value.
              * inspector/report-protocol-errors.html: use the new signature of disableDebugger method.
      2011-01-27  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: store all settings related to the agents on the frontend side
              https://bugs.webkit.org/show_bug.cgi?id=53174
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptDebugServer.cpp:
              * bindings/js/ScriptDebugServer.h:
              * bindings/js/ScriptProfiler.cpp:
              * bindings/js/ScriptProfiler.h:
              * bindings/v8/ScriptDebugServer.cpp:
              * bindings/v8/ScriptDebugServer.h:
              * bindings/v8/ScriptProfiler.cpp:
              * bindings/v8/ScriptProfiler.h:
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp: profiler and debugger enablement state is now stored
              on the front-end side and will be pushed to the backend when the frontend is loaded.
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::restoreDebugger):
              (WebCore::InspectorAgent::restoreProfiler):
              (WebCore::InspectorAgent::enableProfiler):
              (WebCore::InspectorAgent::disableProfiler):
              (WebCore::InspectorAgent::showAndEnableDebugger):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::disableDebugger):
              * inspector/InspectorAgent.h:
              * inspector/InspectorConsoleAgent.cpp: XHR failures will be logged to the console only
              if the front-end was opened during current browser session and XHR logging is turned on
              there.
              (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              * inspector/InspectorDebuggerAgent.cpp:
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
              (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/InspectorSettings.cpp: Removed.
              * inspector/InspectorSettings.h: Removed.
              * inspector/InspectorState.cpp:
              (WebCore::InspectorState::InspectorState):
              * inspector/InspectorState.h:
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessagesCleared):
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent.itemAction):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      591972aa
    • philn@webkit.org's avatar
      2011-01-27 Philippe Normand <pnormand@igalia.com> · 3e7299aa
      philn@webkit.org authored
              Unreviewed, new GTK baselines for fast/multicol tests as follow-up
              of r76726.
      
              * platform/gtk/fast/multicol/vertical-lr/border-padding-pagination-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/column-break-with-balancing-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/column-count-with-rules-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/column-rules-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/float-multicol-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/float-paginate-complex-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/float-paginate-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/nested-columns-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-lr/unsplittable-inline-block-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/border-padding-pagination-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/column-count-with-rules-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/column-rules-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/float-multicol-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/float-paginate-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/nested-columns-expected.txt: Added.
              * platform/gtk/fast/multicol/vertical-rl/unsplittable-inline-block-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e7299aa
    • joone.hur@collabora.co.uk's avatar
      2011-01-27 Joone Hur <joone.hur@collabora.co.uk> · db668dac
      joone.hur@collabora.co.uk authored
              Unreviewed. 
      
              Adding myself to committers.py.
      
              * Scripts/webkitpy/common/config/committers.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db668dac
    • podivilov@chromium.org's avatar
      2011-01-27 Pavel Podivilov <podivilov@chromium.org> · 71de5994
      podivilov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Closure and Global variable details automatically collapsing on each step through JavaScript code.
              https://bugs.webkit.org/show_bug.cgi?id=53234
      
              * inspector/front-end/ScopeChainSidebarPane.js:
              (WebInspector.ScopeChainSidebarPane):
              (WebInspector.ScopeChainSidebarPane.prototype.update):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76789 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71de5994
    • apavlov@chromium.org's avatar
      2011-01-27 Alexander Pavlov <apavlov@chromium.org> · f46837c8
      apavlov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: [Elements panel] Tooltip for relative links incorrectly identifies current URL
              https://bugs.webkit.org/show_bug.cgi?id=53171
      
              WebCore:
              * inspector/front-end/inspector.js:
              (WebInspector.completeURL): Taught to understand partial href's that start with "?" (contain GET parameters only)
      
              LayoutTests:
              * inspector/styles-url-linkify-expected.txt:
              * inspector/styles-url-linkify.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f46837c8
    • sergio@webkit.org's avatar
      2011-01-27 Sergio Villar Senin <svillar@igalia.com> · 1435bfcb
      sergio@webkit.org authored
              Unreviewed.
      
              New test expectations for http/tests/navigation/error404* in GTK.
      
              * platform/gtk/Skipped:
              * platform/gtk/http/tests/navigation/error404-basic-expected.txt: Added.
              * platform/gtk/http/tests/navigation/error404-goback-expected.txt: Added.
              * platform/gtk/http/tests/navigation/error404-subframeload-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1435bfcb
    • yurys@chromium.org's avatar
      2011-01-27 Yury Semikhatsky <yurys@chromium.org> · 3991a0bc
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              [V8] Crash in WebCore::addMessageToConsole
              https://bugs.webkit.org/show_bug.cgi?id=53227
      
              * bindings/v8/V8Proxy.cpp: check that the Frame where the error
              occured still has a page before getting a console object from it.
              (WebCore::V8Proxy::reportUnsafeAccessTo):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3991a0bc
    • ossy@webkit.org's avatar
      [Qt] [Symbian] Move project files into Source · 6acbb2d0
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=52891
      
      Patch by Laszlo Gombos <laszlo.1.gombos@nokia.com> on 2011-01-27
      Reviewed by Csaba Osztrogonác.
      
      Fix the Symbian build after the project files
      are moved to Source directory. On Symbian qmake
      needs to run in the same directory where the main
      pro files (WebKit.pro, Tools.pro) are located.
      
      * Scripts/webkitdirs.pm: Change to the directory where the pro file
      is located before running qmake for Symbian. Qmake on Symbian
      does not properly honor the "-o" option, work it around by setting
      the name of the Makefile to bld.inf.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76785 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6acbb2d0
    • hans@chromium.org's avatar
      2011-01-27 Hans Wennborg <hans@chromium.org> · 5b5311b7
      hans@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Remove IDBCallbacks::onSuccess() used for null values.
              https://bugs.webkit.org/show_bug.cgi?id=53178
      
              Remove the IDBCallbacks::onSuccess() function that was used for
              null values, and replace such calls with calls to
              IDBCallBacks::onSuccess(SerializedScriptValue::nullValue())
              instead.
      
              No new functionality, so no new tests.
      
              * storage/IDBCallbacks.h:
              * storage/IDBCursorBackendImpl.cpp:
              (WebCore::IDBCursorBackendImpl::updateInternal):
              (WebCore::IDBCursorBackendImpl::continueFunctionInternal):
              * storage/IDBIndexBackendImpl.cpp:
              (WebCore::IDBIndexBackendImpl::openCursorInternal):
              * storage/IDBObjectStoreBackendImpl.cpp:
              (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
              (WebCore::IDBObjectStoreBackendImpl::openCursorInternal):
              * storage/IDBRequest.cpp:
              * storage/IDBRequest.h:
      2011-01-27  Hans Wennborg  <hans@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              IndexedDB: Remove IDBCallbacks::onSuccess() used for null values.
              https://bugs.webkit.org/show_bug.cgi?id=53178
      
              Remove the IDBCallbacks::onSuccess() function that was used for
              null values, and replace such calls with calls to
              IDBCallBacks::onSuccess(SerializedScriptValue::nullValue())
              instead.
      
              * public/WebIDBCallbacks.h:
              (WebKit::WebIDBCallbacks::onSuccess):
              * src/IDBCallbacksProxy.cpp:
              * src/IDBCallbacksProxy.h:
              * src/WebIDBCallbacksImpl.cpp:
              * src/WebIDBCallbacksImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b5311b7
    • philn@webkit.org's avatar
      2011-01-27 Philippe Normand <pnormand@igalia.com> · e63f8deb
      philn@webkit.org authored
              Unreviewed, skipping 2 more media tests.
      
              [GStreamer] wrong media duration report in media/controls-after-reload.html
              https://bugs.webkit.org/show_bug.cgi?id=51602
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e63f8deb
    • yuzo@google.com's avatar
      2011-01-27 Yuzo Fujishima <yuzo@google.com> · 1709389d
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1709389d
    • yuzo@google.com's avatar
      2011-01-27 Yuzo Fujishima <yuzo@google.com> · cc48c3cb
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.checksum: Removed.
              * platform/chromium-mac-leopard/css2.1/t0905-c5525-fltcont-00-d-g-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/blockflow/vertical-baseline-alignment-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/blockflow/vertical-baseline-alignment-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/multicol/shadow-breaking-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-1-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-1-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-10-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-10-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-2-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-2-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-3-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-3-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-4-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-4-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-5-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-5-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-6-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-6-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-7-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-7-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-8-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-8-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-9-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/repaint/line-flow-with-floats-9-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.checksum: Removed.
              * platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.png: Removed.
              * platform/chromium-mac-leopard/fast/text/complex-text-opacity-expected.txt: Removed.
              * platform/chromium-mac-leopard/tables/mozilla/marvin/x_thead_align_justify-expected.checksum: Removed.
              * platform/chromium-mac-leopard/tables/mozilla/marvin/x_thead_align_justify-expected.png: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc48c3cb
    • mjs@apple.com's avatar
      Unreviewed. · 5d6eb99b
      mjs@apple.com authored
      Fix mistake in my previous commit; I accidentally copied the old mac results instead
      of the new mac results for this test.
      
      * platform/mac-wk2/fast/blockflow/Kusa-Makura-background-canvas-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76780 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d6eb99b
    • ossy@webkit.org's avatar
      Unreviewed. · e9e8720e
      ossy@webkit.org authored
      Add Qt specific expected results for new passing tests introduced in r76726.
      Compared to Mac png files and Mac expected files.
      
      * platform/qt/fast/multicol/vertical-lr/border-padding-pagination-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/border-padding-pagination-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/border-padding-pagination-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/column-break-with-balancing-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/column-break-with-balancing-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/column-break-with-balancing-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/column-rules-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/column-rules-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/column-rules-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/float-avoidance-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/float-avoidance-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/float-avoidance-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/float-multicol-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/float-multicol-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/float-multicol-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/float-paginate-complex-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/float-paginate-complex-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/float-paginate-complex-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/float-paginate-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/float-paginate-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/float-paginate-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/nested-columns-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/nested-columns-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/nested-columns-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-lr/unsplittable-inline-block-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-lr/unsplittable-inline-block-expected.png: Added.
      * platform/qt/fast/multicol/vertical-lr/unsplittable-inline-block-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/border-padding-pagination-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/border-padding-pagination-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/border-padding-pagination-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/column-break-with-balancing-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/column-break-with-balancing-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/column-rules-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/column-rules-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/column-rules-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/float-avoidance-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/float-avoidance-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/float-avoidance-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/float-multicol-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/float-paginate-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/nested-columns-expected.txt: Added.
      * platform/qt/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
      * platform/qt/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
      * platform/qt/fast/multicol/vertical-rl/unsplittable-inline-block-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76779 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9e8720e
    • zoltan@webkit.org's avatar
      [Qt] Add simple zooming features to MiniBrowser · 66cccf23
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53231
      
      Reviewed by Andreas Kling.
      
      Add View menu and Zoom In, Zoom Out, Zoom Reset actions to MiniBrowser.
      
      * MiniBrowser/qt/BrowserWindow.cpp:
      (BrowserWindow::BrowserWindow):
      (BrowserWindow::zoomIn):
      (BrowserWindow::zoomOut):
      (BrowserWindow::resetZoom):
      (BrowserWindow::updateUserAgentList):
      (BrowserWindow::applyZoom):
      * MiniBrowser/qt/BrowserWindow.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66cccf23
    • philn@webkit.org's avatar
      2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com> · 542b6fc3
      philn@webkit.org authored
              Unreviewed, rolling out r76773.
              http://trac.webkit.org/changeset/76773
              https://bugs.webkit.org/show_bug.cgi?id=53230
      
              breaks multiple GTK media tests (Requested by philn-tp on
              #webkit).
      
              * platform/gtk/Skipped:
      2011-01-27  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r76773.
              http://trac.webkit.org/changeset/76773
              https://bugs.webkit.org/show_bug.cgi?id=53230
      
              breaks multiple GTK media tests (Requested by philn-tp on
              #webkit).
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mimeTypeCache):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      542b6fc3
    • yuzo@google.com's avatar
      2011-01-27 Yuzo Fujishima <yuzo@google.com> · af607330
      yuzo@google.com authored
              Unreviewed Chromium test expectaion change.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af607330
    • yurys@chromium.org's avatar
      2011-01-27 Sheriff Bot <webkit.review.bot@gmail.com> · ffb351e8
      yurys@chromium.org authored
              Unreviewed, rolling out r76770.
              http://trac.webkit.org/changeset/76770
              https://bugs.webkit.org/show_bug.cgi?id=53229
      
              Some inspector tests fail (Requested by yurys on #webkit).
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled):
              * bindings/js/ScriptDebugServer.h:
              * bindings/js/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::isProfilerAlwaysEnabled):
              * bindings/js/ScriptProfiler.h:
              * bindings/v8/ScriptDebugServer.cpp:
              (WebCore::ScriptDebugServer::isDebuggerAlwaysEnabled):
              * bindings/v8/ScriptDebugServer.h:
              * bindings/v8/ScriptProfiler.cpp:
              (WebCore::ScriptProfiler::isProfilerAlwaysEnabled):
              * bindings/v8/ScriptProfiler.h:
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp:
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::restoreDebugger):
              (WebCore::InspectorAgent::restoreProfiler):
              (WebCore::InspectorAgent::ensureSettingsLoaded):
              (WebCore::InspectorAgent::enableProfiler):
              (WebCore::InspectorAgent::disableProfiler):
              (WebCore::InspectorAgent::showAndEnableDebugger):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::disableDebugger):
              * inspector/InspectorAgent.h:
              (WebCore::InspectorAgent::settings):
              * inspector/InspectorConsoleAgent.cpp:
              (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              * inspector/InspectorDebuggerAgent.cpp:
              (WebCore::InspectorDebuggerAgent::isDebuggerAlwaysEnabled):
              * inspector/InspectorDebuggerAgent.h:
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
              (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::InspectorProfilerAgent):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/InspectorSettings.cpp: Added.
              (WebCore::InspectorSettings::InspectorSettings):
              (WebCore::InspectorSettings::getBoolean):
              (WebCore::InspectorSettings::setBoolean):
              (WebCore::InspectorSettings::getLong):
              (WebCore::InspectorSettings::setLong):
              (WebCore::InspectorSettings::registerBoolean):
              (WebCore::InspectorSettings::registerLong):
              * inspector/InspectorSettings.h: Copied from Source/WebCore/bindings/v8/ScriptProfiler.h.
              * inspector/InspectorState.cpp:
              (WebCore::InspectorState::InspectorState):
              * inspector/InspectorState.h:
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.monitoringXHRStateChanged):
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffb351e8
    • mjs@apple.com's avatar
      2011-01-27 Maciej Stachowiak <mjs@apple.com> · 813b208e
      mjs@apple.com authored
              Reviewed by Dan Bernstein.
      
              Add or update WebKit2-specific results to account for different reporting of scroll position
              https://bugs.webkit.org/show_bug.cgi?id=53226
      
              * platform/mac-wk2/fast/multicol: Added.
              * platform/mac-wk2/fast/multicol/vertical-rl: Added.
              * platform/mac-wk2/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
              * platform/mac-wk2/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76774 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      813b208e
    • philn@webkit.org's avatar
      2011-01-26 Philippe Normand <pnormand@igalia.com> · 3bb4744a
      philn@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] LayoutTests/media/audio-mpeg4-supported.html fails
              https://bugs.webkit.org/show_bug.cgi?id=53125
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mimeTypeCache): Add audio/x-m4a mimetype in the cache.
      
      2011-01-26  Philippe Normand  <pnormand@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] LayoutTests/media/audio-mpeg4-supported.html fails
              https://bugs.webkit.org/show_bug.cgi?id=53125
      
              * platform/gtk/Skipped: Unskip fixed test.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76773 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bb4744a
    • philn@webkit.org's avatar
      2011-01-27 Philippe Normand <pnormand@igalia.com> · a600e9fe
      philn@webkit.org authored
              Unreviewed, updated GTK baselines after r76726.
      
              * platform/gtk/fast/blockflow/Kusa-Makura-background-canvas-expected.txt:
              * platform/gtk/fast/blockflow/vertical-baseline-alignment-expected.txt:
              * platform/gtk/fast/lists/002-vertical-expected.txt:
              * platform/gtk/fast/lists/003-vertical-expected.txt:
              * platform/gtk/fast/overflow/overflow-rtl-vertical-expected.txt:
              * platform/gtk/fast/table/028-vertical-expected.txt:
              * platform/gtk/fast/table/border-collapsing/003-vertical-expected.txt:
              * platform/gtk/fast/table/height-percent-test-vertical-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a600e9fe
    • yuzo@google.com's avatar
      2011-01-27 Yuzo Fujishima <yuzo@google.com> · 16932867
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              Update expectation for r76760.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16932867
    • yurys@chromium.org's avatar
      2011-01-26 Yury Semikhatsky <yurys@chromium.org> · 84d95409
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: store all settings related to the agents on the frontend side
              https://bugs.webkit.org/show_bug.cgi?id=53174
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * inspector/Inspector.idl:
              * inspector/InspectorAgent.cpp: profiler and debugger enablement state is now stored
              on the front-end side and will be pushed to the backend when the frontend is loaded.
              (WebCore::InspectorAgent::InspectorAgent):
              (WebCore::InspectorAgent::disconnectFrontend):
              (WebCore::InspectorAgent::restoreDebugger):
              (WebCore::InspectorAgent::restoreProfiler):
              (WebCore::InspectorAgent::enableProfiler):
              (WebCore::InspectorAgent::disableProfiler):
              (WebCore::InspectorAgent::showAndEnableDebugger):
              (WebCore::InspectorAgent::enableDebugger):
              (WebCore::InspectorAgent::disableDebugger):
              * inspector/InspectorAgent.h:
              * inspector/InspectorConsoleAgent.cpp: XHR failures will be logged to the console only
              if the front-end was opened during current browser session and XHR logging is turned on
              there.
              (WebCore::InspectorConsoleAgent::setMonitoringXHREnabled):
              (WebCore::InspectorConsoleAgent::setConsoleMessagesEnabled):
              * inspector/InspectorInstrumentation.cpp:
              (WebCore::InspectorInstrumentation::identifierForInitialRequestImpl):
              (WebCore::InspectorInstrumentation::didLoadResourceFromMemoryCacheImpl):
              * inspector/InspectorProfilerAgent.cpp:
              (WebCore::InspectorProfilerAgent::enable):
              (WebCore::InspectorProfilerAgent::startUserInitiatedProfiling):
              * inspector/InspectorProfilerAgent.h:
              * inspector/InspectorSettings.cpp: Removed.
              * inspector/InspectorSettings.h: Removed.
              * inspector/InspectorState.cpp:
              (WebCore::InspectorState::InspectorState):
              * inspector/InspectorState.h:
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher.dispatcher.consoleMessagesCleared):
              (WebInspector.ConsoleView.prototype._registerConsoleDomainDispatcher):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent.itemAction):
              (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
              * inspector/front-end/ProfilesPanel.js:
              (WebInspector.ProfilesPanel.prototype._toggleProfiling):
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype._toggleDebugging):
              * inspector/front-end/Settings.js:
              (WebInspector.Settings):
              * inspector/front-end/inspector.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84d95409
    • mjs@apple.com's avatar
      2011-01-26 Maciej Stachowiak <mjs@apple.com> · ccbb681c
      mjs@apple.com authored
              Reviewed by Dan Bernstein.
      
              WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
              https://bugs.webkit.org/show_bug.cgi?id=42319
              
              Unskip inspector tests (except the few that mysteriously fail).
      
              * platform/mac-wk2/Skipped:
      2011-01-26  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Dan Bernstein.
      
              WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
              https://bugs.webkit.org/show_bug.cgi?id=42319
              
              Add evaluateInWebInspector and other APIs needed for inspector tests to run.
      
              * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
              (WTR::LayoutTestController::showWebInspector):
              (WTR::LayoutTestController::closeWebInspector):
              (WTR::LayoutTestController::evaluateInWebInspector):
              (WTR::LayoutTestController::setTimelineProfilingEnabled):
              * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
              * WebKitTestRunner/TestInvocation.cpp:
              (WTR::shouldOpenWebInspector):
              (WTR::TestInvocation::invoke):
              * WebKitTestRunner/WebKitTestRunnerPrefix.h:
      2011-01-26  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Dan Bernstein.
      
              WebKitTestRunner needs to support layoutTestController.evaluateInWebInspector
              https://bugs.webkit.org/show_bug.cgi?id=42319
      
              Add WKBundleInspector and APIs needed to implement WebKitTestRunner APIs.
              
              * GNUmakefile.am:
              * Shared/API/c/WKBase.h:
              * Shared/APIObject.h:
              * WebKit2.pro:
              * WebKit2.xcodeproj/project.pbxproj:
              * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h:
              * WebProcess/InjectedBundle/API/c/WKBundleInspector.cpp: Added.
              (WKBundleInspectorGetTypeID):
              (WKBundleInspectorShow):
              (WKBundleInspectorClose):
              (WKBundleInspectorEvaluateScriptForTest):
              (WKBundleInspectorSetPageProfilingEnabled):
              * WebProcess/InjectedBundle/API/c/WKBundleInspector.h: Added.
              * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
              (WKBundlePageGetInspector):
              * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
              * WebProcess/WebPage/WebInspector.cpp:
              (WebKit::WebInspector::create):
              (WebKit::WebInspector::evaluateScriptForTest):
              * WebProcess/WebPage/WebInspector.h:
              (WebKit::WebInspector::type):
              * WebProcess/WebPage/WebPage.cpp:
              (WebKit::WebPage::inspector):
              * WebProcess/WebPage/WebPage.h:
              * win/WebKit2.vcproj:
              * win/WebKit2Generated.make:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccbb681c
    • mitz@apple.com's avatar
      REGRESSION (r76743): Uneven spacing in right-to-left justified text · 1b0578db
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=53225
      
      Reviewed by Sam Weinig.
      
      Fixes failure in fast/text/atsui-spacing-features.html
      
      There was an inconsistency between rendering code and font code in the interpretation of
      'after expansion' and 'trailing expansion'. Changed all code to interpret these in terms of
      visual order rather than logical.
      
      * platform/graphics/Font.cpp:
      (WebCore::Font::expansionOpportunityCount): Added a text direction parameter and changed to
      iterate in visual order accordingly.
      * platform/graphics/Font.h:
      * platform/graphics/WidthIterator.cpp:
      (WebCore::WidthIterator::WidthIterator): Pass the run direction to expansionOpportunityCount().
      (WebCore::WidthIterator::advance): For right-to-left runs, evaluate the trailing expansion
      condition with respect to the first character, which is the trailing character in visual order.
      * platform/graphics/mac/ComplexTextController.cpp:
      (WebCore::ComplexTextController::ComplexTextController): Pass the run direction to
      expansionOpportunityCount().
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::computeInlineDirectionPositionsForLine): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1b0578db
    • yuzo@google.com's avatar
      2011-01-27 Yuzo Fujishima <yuzo@google.com> · a3be8f70
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              Another test expectation update for r76743.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3be8f70
    • ossy@webkit.org's avatar
      Unreviewed. · 42df7bf2
      ossy@webkit.org authored
      [Qt] Update test expectations after r76726.
      
      * platform/qt/fast/lists/002-vertical-expected.checksum:
      * platform/qt/fast/lists/002-vertical-expected.png:
      * platform/qt/fast/lists/002-vertical-expected.txt:
      * platform/qt/fast/lists/003-vertical-expected.checksum:
      * platform/qt/fast/lists/003-vertical-expected.png:
      * platform/qt/fast/lists/003-vertical-expected.txt:
      * platform/qt/fast/overflow/overflow-rtl-vertical-expected.checksum:
      * platform/qt/fast/overflow/overflow-rtl-vertical-expected.png:
      * platform/qt/fast/overflow/overflow-rtl-vertical-expected.txt:
      * platform/qt/fast/table/028-vertical-expected.checksum:
      * platform/qt/fast/table/028-vertical-expected.png:
      * platform/qt/fast/table/028-vertical-expected.txt:
      * platform/qt/fast/table/border-collapsing/003-vertical-expected.checksum:
      * platform/qt/fast/table/border-collapsing/003-vertical-expected.png:
      * platform/qt/fast/table/border-collapsing/003-vertical-expected.txt:
      * platform/qt/fast/table/height-percent-test-vertical-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42df7bf2
    • yuzo@google.com's avatar
      2011-01-26 Yuzo Fujishima <yuzo@google.com> · 42f8d300
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              Update test expectations for r76743
      
              * platform/chromium-linux/css1/box_properties/clear_float-expected.checksum:
              * platform/chromium-linux/css1/box_properties/clear_float-expected.png:
              * platform/chromium-linux/css1/box_properties/float_elements_in_series-expected.checksum:
              * platform/chromium-linux/css1/box_properties/float_elements_in_series-expected.png:
              * platform/chromium-linux/css1/box_properties/float_on_text_elements-expected.checksum:
              * platform/chromium-linux/css1/box_properties/float_on_text_elements-expected.png:
              * platform/chromium-linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
              * platform/chromium-linux/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
              * platform/chromium-linux/fast/multicol/shadow-breaking-expected.checksum:
              * platform/chromium-linux/fast/multicol/shadow-breaking-expected.png: Added.
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-1-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-1-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-10-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-10-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-2-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-2-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-3-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-3-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-4-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-4-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-5-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-5-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-6-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-6-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-7-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-7-expected.png:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-8-expected.checksum:
              * platform/chromium-linux/fast/repaint/line-flow-with-floats-8-expected.png:
              * platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.checksum:
              * platform/chromium-linux/svg/custom/svg-fonts-in-html-expected.png:
              * platform/chromium-linux/tables/mozilla/marvin/x_tr_align_justify-expected.checksum:
              * platform/chromium-linux/tables/mozilla/marvin/x_tr_align_justify-expected.png:
              * platform/chromium-mac/css1/box_properties/clear_float-expected.checksum: Added.
              * platform/chromium-mac/css1/box_properties/clear_float-expected.png: Added.
              * platform/chromium-mac/css1/box_properties/float_on_text_elements-expected.checksum: Added.
              * platform/chromium-mac/css1/box_properties/float_on_text_elements-expected.png: Added.
              * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum: Added.
              * platform/chromium-mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png: Added.
              * platform/chromium-mac/fast/multicol/shadow-breaking-expected.checksum: Added.
              * platform/chromium-mac/fast/multicol/shadow-breaking-expected.png: Added.
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-1-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-1-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-10-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-10-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-2-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-2-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-3-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-3-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-4-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-4-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-5-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-5-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-6-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-6-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-7-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-7-expected.png:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-8-expected.checksum:
              * platform/chromium-mac/fast/repaint/line-flow-with-floats-8-expected.png:
              * platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.checksum:
              * platform/chromium-mac/svg/custom/svg-fonts-in-html-expected.png:
              * platform/chromium-win/css1/box_properties/clear_float-expected.checksum:
              * platform/chromium-win/css1/box_properties/clear_float-expected.png:
              * platform/chromium-win/css1/box_properties/float_elements_in_series-expected.checksum:
              * platform/chromium-win/css1/box_properties/float_elements_in_series-expected.png:
              * platform/chromium-win/css1/box_properties/float_on_text_elements-expected.checksum:
              * platform/chromium-win/css1/box_properties/float_on_text_elements-expected.png:
              * platform/chromium-win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
              * platform/chromium-win/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
              * platform/chromium-win/fast/multicol/shadow-breaking-expected.checksum:
              * platform/chromium-win/fast/multicol/shadow-breaking-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-1-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-1-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-10-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-10-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-2-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-2-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-3-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-3-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-4-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-4-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-5-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-5-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-6-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-6-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-7-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-7-expected.png:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-8-expected.checksum:
              * platform/chromium-win/fast/repaint/line-flow-with-floats-8-expected.png:
              * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.checksum:
              * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.png:
              * platform/chromium-win/tables/mozilla/marvin/x_tr_align_justify-expected.checksum:
              * platform/chromium-win/tables/mozilla/marvin/x_tr_align_justify-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42f8d300
  2. 26 Jan, 2011 12 commits
    • aroben@apple.com's avatar
      Don't create the Direct3D device before it's first needed · e751eb2c
      aroben@apple.com authored
      We only need the device once we decide to render. There's no point in creating it before
      then.
      
      Reviewed by Sam Weinig.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
      (WebCore::CACFLayerTreeHost::setWindow): Removed the call to createRenderer() from here.
      We already have code to create it when we first try to draw.
      (WebCore::CACFLayerTreeHost::createRenderer): Flush the context after we set our layer's
      bounds so that the bounds will take effect the next time we render (which could be just
      after this function returns).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e751eb2c
    • aroben@apple.com's avatar
      Add assertions that CACFLayerTreeHost gains and loses an HWND only once · 5f544946
      aroben@apple.com authored
      CACFLayerTreeHost doesn't support any other use pattern.
      
      Reviewed by Sam Weinig.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
      (WebCore::CACFLayerTreeHost::CACFLayerTreeHost): Initialize new member.
      (WebCore::CACFLayerTreeHost::setWindow): Assert that we transition from not having a window,
      to having a window, to not having a window just once over the lifetime of this object.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.h: Added m_state.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f544946
    • aroben@apple.com's avatar
      Notify layers that their animations have started when we flush the context, not when we render · 9e3fd540
      aroben@apple.com authored
      r76372 separated context flushing from rendering, but this bit of code got left behind.
      
      Reviewed by Sam Weinig.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.cpp:
      (WebCore::CACFLayerTreeHost::render): Moved code to notify the layers from here to
      notifyAnimationsStarted.
      (WebCore::CACFLayerTreeHost::flushPendingLayerChangesNow): Added a call to
      notifyAnimationsStarted after we flush the context.
      (WebCore::CACFLayerTreeHost::notifyAnimationsStarted): Added. Code came from render. Changed
      to call PlatformCALayer::animationStarted rather than calling through to the client
      directly.
      
      * platform/graphics/ca/win/CACFLayerTreeHost.h: Added notifyAniamtionsStarted.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e3fd540
    • aroben@apple.com's avatar
      Small cleanup in MediaPlayerPrivateFullscreenWindow · ca766f78
      aroben@apple.com authored
      Reviewed by Sam Weinig.
      
      * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
      (WebCore::MediaPlayerPrivateFullscreenWindow::~MediaPlayerPrivateFullscreenWindow): Moved
      code here from close(), since this was the only place that called it after the following
      change to createWindow.
      (WebCore::MediaPlayerPrivateFullscreenWindow::createWindow): Replaced code that handled the
      case where we had already created the window with an assertion that we have not already done
      so. Our single caller (FullscreenVideoController) did not require this behavior.
      
      * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.h: Removed layerView.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca766f78
    • mitz@apple.com's avatar
      Updated results for the html.css changes in r76726. The old results were prepared before · 971b4cdf
      mitz@apple.com authored
      r76726.
      
      * platform/mac/fast/text/justify-ideograph-vertical-expected.checksum:
      * platform/mac/fast/text/justify-ideograph-vertical-expected.png:
      * platform/mac/fast/text/justify-ideograph-vertical-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      971b4cdf
    • yuzo@google.com's avatar
      2011-01-26 Yuzo Fujishima <yuzo@google.com> · 1cb179de
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              fast/text/justify-ideograph-vertical.html crashes on LINUX.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cb179de
    • yuzo@google.com's avatar
      2011-01-26 Yuzo Fujishima <yuzo@google.com> · 78ec3bfb
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              Mark the tests started failing at http://trac.webkit.org/changeset/76726 as such.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78ec3bfb
    • weinig@apple.com's avatar
      Move ScrollView scroll wheel code to ScrollAnimator. · 10187a97
      weinig@apple.com authored
      Reviewed by Adam Roben.
      
      * platform/ScrollAnimator.cpp:
      (WebCore::ScrollAnimator::handleWheelEvent):
      * platform/ScrollAnimator.h:
      Moved implementation of handleWheelEvent from ScrollView::wheelEvent.
      
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::wheelEvent):
      Call down to the ScrollableArea.
      
      * platform/ScrollableArea.cpp:
      (WebCore::ScrollableArea::handleWheelEvent):
      Call down to the ScrollAnimator.
      
      * platform/ScrollableArea.h:
      (WebCore::ScrollableArea::scrollPosition):
      (WebCore::ScrollableArea::minimumScrollPosition):
      (WebCore::ScrollableArea::maximumScrollPosition):
      (WebCore::ScrollableArea::visibleContentRect):
      (WebCore::ScrollableArea::visibleHeight):
      (WebCore::ScrollableArea::visibleWidth):
      Add functions needed to implement wheel event in the animator.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10187a97
    • ddkilzer@apple.com's avatar
      <http://webkit.org/b/53192> Add experimental support for HTTP pipelining in CFNetwork · e2501bd4
      ddkilzer@apple.com authored
      <rdar://problem/8821760>
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      This adds support for HTTP pipelining in CFNetwork, but does not
      enable it.  To enable it post-SnowLeopard, use this command:
      
          defaults write BUNDLE.ID WebKitEnableHTTPPipelining -bool YES
      
      Once enabled, it is possible to force the same load priority
      (high) to be sent to CFNetwork to allow WebCore to handle the
      scheduling:
      
          defaults write BUNDLE.ID WebKitForceHTTPPipeliningPriorityHigh -bool YES
      
      * WebCore.exp.in: Export _wkGetHTTPPipeliningPriority and
      _wkSetHTTPPipeliningPriority.
      
      * loader/DocumentThreadableLoader.cpp:
      (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequestWithPreflight):
      Copy the priority to preflightRequest.
      
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::scheduleLoad): Refactored code
      at the end of the method to use an early return.
      
      * loader/cache/CachedResourceRequest.cpp:
      (WebCore::CachedResourceRequest::load): Set the priority on the
      ResourceRequest object based on the priority of the
      CachedResourceRequest before calling
      ResourceLoadScheduler::scheduleSubresourceLoad().
      
      * loader/icon/IconLoader.cpp:
      (WebCore::IconLoader::startLoading): Create a ResourceRequest
      object and set its priority to ResourceLoadPriorityLow before
      passing it to ResourceLoadScheduler::scheduleSubresourceLoad().
      
      * platform/mac/WebCoreSystemInterface.h:
      (wkGetHTTPPipeliningPriority): Added.
      (wkSetHTTPPipeliningPriority): Added.
      * platform/mac/WebCoreSystemInterface.mm:
      (wkGetHTTPPipeliningPriority): Added.
      (wkSetHTTPPipeliningPriority): Added.
      
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::adopt): Set m_priority when
      adopting a CrossThreadResourceRequestData.
      (WebCore::ResourceRequestBase::copyData): Set m_priority when
      creating a CrossThreadResourceRequestData.
      (WebCore::ResourceRequestBase::priority): Added.
      (WebCore::ResourceRequestBase::setPriority): Added.
      (WebCore::equalIgnoringHeaderFields): Priorities must match when
      comparing two ResourceRequest objects.
      
      * platform/network/ResourceRequestBase.h:
      (WebCore::ResourceRequestBase::ResourceRequestBase): Set default
      priority of new objects to ResourceLoadPriorityLow.
      (WebCore::ResourceRequestBase::priority): Added declaration.
      (WebCore::ResourceRequestBase::setPriority): Added declaration.
      (WebCore::isHTTPPipeliningEnabled): Added.
      (WebCore::shouldUseHTTPPipeliningPriority): Added.
      
      * platform/network/cf/ResourceRequestCFNet.cpp: Updated so that
      Mac OS X and Windows share code.
      (WebCore::initializeMaximumHTTPConnectionCountPerHost): Always
      set the HTTP connection count per host, but return an
      'unlimited' value when using HTTP pipelining.  This method used
      to be defined in ResourceRequestMac.mm for Mac OS X.
      (WebCore::readBooleanPreference): Added.  Helper method for
      reading boolean user defaults.
      (WebCore::isHTTPPipeliningEnabled): Returns value of user
      default key WebKitEnableHTTPPipelining, or false if not set.
      (WebCore::shouldUseHTTPPipeliningPriority): Returns value of
      user default key WebKitForceHTTPPipeliningPriorityHigh, or false
      if not set.
      * platform/network/cf/ResourceRequestCFNet.h: Updated so that
      Mac OS X and Windows share code.  Fixed indentation.
      (WebCore::mapHTTPPipeliningPriorityToResourceLoadPriority): Added.
      (WebCore::mapResourceLoadPriorityToHTTPPipeliningPriority): Added.
      
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest): Update
      HTTP pipelining priority on NSMutableFURLRequest object.
      (WebCore::ResourceRequest::doUpdateResourceRequest): Update
      m_priority from the NSURLRequest object.
      (WebCore::initializeMaximumHTTPConnectionCountPerHost): Removed.
      Code is now shared with Windows in ResourceRequestCFNet.cpp.
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface): Added initialization for
      GetHTTPPipeliningPriority and SetHTTPPipeliningPriority.
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface): Added initialization for
      GetHTTPPipeliningPriority and SetHTTPPipeliningPriority.
      
      WebKitLibraries:
      
      * WebKitSystemInterface.h:
          New methods added for HTTP pipelining support.
      (WKGetHTTPPipeliningPriority): Added.
      (WKSetHTTPPipeliningPriority): Added.
          Unrelated methods added after updating the header.
      (WKMakeScrollbarPainter): Added.
      (WKScrollbarPainterPaint): Added.
      * libWebKitSystemInterfaceLeopard.a: Updated.
      * libWebKitSystemInterfaceSnowLeopard.a: Updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2501bd4
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · b91537df
      rniwa@webkit.org authored
              Reviewed Chromium Mac rebaselines for r76726.
      
              * platform/chromium-mac/fast/blockflow/vertical-baseline-alignment-expected.checksum: Added.
              * platform/chromium-mac/fast/blockflow/vertical-baseline-alignment-expected.png: Added.
              * platform/chromium-mac/fast/multicol/vertical-rl: Added.
              * platform/chromium-mac/fast/multicol/vertical-rl/column-break-with-balancing-expected.txt: Added.
              * platform/chromium-mac/fast/table/028-vertical-expected.checksum: Added.
              * platform/chromium-mac/fast/table/028-vertical-expected.png: Added.
              * platform/chromium-mac/fast/text/complex-text-opacity-expected.checksum: Added.
              * platform/chromium-mac/fast/text/complex-text-opacity-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76755 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b91537df
    • bdakin@apple.com's avatar
      Fix for <rdar://problem/8895140> Adopt WKScrollbar metrics · 5ce11413
      bdakin@apple.com authored
      when using WKScrollbars.
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      New WebKitSystemInterface Functionality.
      * WebCore.exp.in:
      * platform/mac/WebCoreSystemInterface.h:
      * platform/mac/WebCoreSystemInterface.mm:
      
      Some of the terrible static arrays are now only needed in the 
      old non-WK code, so they are if-def'd now.
      * platform/mac/ScrollbarThemeMac.mm:
              
      Just patching this function in a better way than I did
      before.
      (WebCore::updateArrowPlacement):
              
      Call into WK for the right values.
      (WebCore::ScrollbarThemeMac::scrollbarThickness):
      (WebCore::ScrollbarThemeMac::hasThumb):
      (WebCore::ScrollbarThemeMac::minimumThumbLength):
              
      Return false if there are no buttons.
      (WebCore::ScrollbarThemeMac::hasButtons):
      
      Return an empty IntRect if there are not buttons.
      (WebCore::buttonRepaintRect):
      
      Source/WebKit/mac: 
      
      * WebCoreSupport/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      Source/WebKit2: 
      
      * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm:
      (InitWebCoreSystemInterface):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ce11413
    • rniwa@webkit.org's avatar
      2011-01-26 Ryosuke Niwa <rniwa@webkit.org> · d495d9e7
      rniwa@webkit.org authored
              Reviewed Chromium Windows/Linux rebaselines for r76726.
      
              * platform/chromium-linux/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
              * platform/chromium-linux/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
              * platform/chromium-linux/fast/table/028-vertical-expected.checksum:
              * platform/chromium-linux/fast/table/028-vertical-expected.png:
              * platform/chromium-linux/fast/table/border-collapsing/003-vertical-expected.checksum:
              * platform/chromium-linux/fast/table/border-collapsing/003-vertical-expected.png:
              * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-multicol-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-complex-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/float-paginate-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/nested-columns-expected.txt: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.checksum: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.png: Added.
              * platform/chromium-win/fast/multicol/vertical-rl/unsplittable-inline-block-expected.txt: Added.
              * platform/chromium-win/fast/table/028-vertical-expected.checksum:
              * platform/chromium-win/fast/table/028-vertical-expected.png:
              * platform/chromium-win/fast/table/028-vertical-expected.txt:
              * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.checksum:
              * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.png:
              * platform/chromium-win/fast/table/border-collapsing/003-vertical-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d495d9e7