1. 25 Mar, 2011 32 commits
    • apavlov@chromium.org's avatar
      2011-03-25 Alexander Pavlov <apavlov@chromium.org> · 10125a99
      apavlov@chromium.org authored
              Unreviewed, build fix. Add file missing from r81953
      
              * inspector/styles/resources/get-set-stylesheet-text.css: Added.
              (body):
              (/* comment before selector */body.main1/* comment after selector */):
              (body.main2):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81954 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      10125a99
    • apavlov@chromium.org's avatar
      2011-03-15 Alexander Pavlov <apavlov@chromium.org> · 478a3303
      apavlov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Fix handling of the CSSAgent.setStyleSheetText() results in CSSStyleModel.js
              https://bugs.webkit.org/show_bug.cgi?id=56310
      
              * inspector/styles/get-set-stylesheet-text-expected.txt: Added.
              * inspector/styles/get-set-stylesheet-text.html: Added.
              * inspector/styles/resources/get-set-stylesheet-text.css: Added.
              (body):
              (/* comment before selector */body.main1/* comment after selector */):
              (body.main2):
              * inspector/styles/styles-new-API.html:
      2011-03-15  Alexander Pavlov  <apavlov@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: Fix handling of the CSSAgent.setStyleSheetText() results in CSSStyleModel.js
              https://bugs.webkit.org/show_bug.cgi?id=56310
      
              Instead of stylesheet ids, CSSAgent.getAllStyleSheets() now returns metainfo objects containing
              "styleSheetId", "sourceURL", "disabled", and "title" fields. The latter three are not returned
              by CSSAgent.getStyleSheet() anymore.
      
              Test: inspector/styles/get-set-stylesheet-text.html
      
              * inspector/Inspector.json:
              * inspector/InspectorCSSAgent.cpp:
              (WebCore::InspectorCSSAgent::getAllStyleSheets):
              * inspector/InspectorCSSAgent.h:
              * inspector/InspectorStyleSheet.cpp:
              (WebCore::InspectorStyleSheet::buildObjectForStyleSheet):
              (WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
              * inspector/InspectorStyleSheet.h:
              * inspector/front-end/AuditRules.js:
              (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.styleSheetCallback):
              (WebInspector.AuditRules.UnusedCssRule.prototype.doRun.allStylesCallback):
              (WebInspector.AuditRules.UnusedCssRule.prototype.doRun):
              * inspector/front-end/CSSStyleModel.js:
              (WebInspector.CSSStyleModel.prototype._styleSheetChanged.callback):
              (WebInspector.CSSStyleModel.prototype._styleSheetChanged):
              (WebInspector.CSSStyleModel.prototype._onRevert):
              (WebInspector.CSSStyleSheet):
              (WebInspector.CSSStyleSheet.prototype.setText):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      478a3303
    • commit-queue@webkit.org's avatar
      2011-03-25 Priit Laes <plaes@plaes.org> · 6b58d303
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] [PATCH] Avoid critical warning when free-ing list of plugins
              https://bugs.webkit.org/show_bug.cgi?id=57025
      
              * webkit/webkitwebplugindatabase.cpp:
              (webkit_web_plugin_database_plugins_list_free):
              Use regular check and return instead of g_return_if_fail.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6b58d303
    • pfeldman@chromium.org's avatar
      2011-03-25 Pavel Feldman <pfeldman@chromium.org> · d81796fc
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: extension server should not convert all resources to HAR when there are no extensions.
              https://bugs.webkit.org/show_bug.cgi?id=57044
      
              * inspector/front-end/ExtensionServer.js:
              (WebInspector.ExtensionServer.prototype._notifyResourceFinished):
              (WebInspector.ExtensionServer.prototype._hasSubscribers):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d81796fc
    • commit-queue@webkit.org's avatar
      2011-03-25 Leo Yang <leo.yang@torchmobile.com.cn> · 6f1c71db
      commit-queue@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              SVG <use> element performance improvement
              https://bugs.webkit.org/show_bug.cgi?id=57077
      
              SVG <use> element was expanding nesting <use> and <symbol> elements
              in an inefficient way. After it expanded an <use> or a <symbol>
              element it would restart expanding from the shadow tree root.
              This behavior was leading about 160 millions of calls to
              expandUseElementInShadowTree or expandSymbolElementInShadowTree for
              a single shadow tree which is illustrated by
              http://upload.wikimedia.org/wikipedia/commons/4/4e/Sierpinski_carpet_6.svg.
              But the effective calls, which really expand <use> or <symbol>
              elements, were about 5200; others were passing-by calls, which are
              recursively down to the children.
      
              This patch is altering the expanding path to reduce the passing-by
              calls. It will expand elements in sibling chain where there is an
              effective call, because the effective call replaces element which is
              expanded and the replacement results lose of the sibling chain of
              the replaced on the upper recursion stack. With this patch the
              passing-by calls are reduced from about 160 millions to about 30
              thousands.
      
              No functionality change, no new tests.
      
              * svg/SVGUseElement.cpp:
              (WebCore::SVGUseElement::expandUseElementsInShadowTree):
              (WebCore::SVGUseElement::expandSymbolElementsInShadowTree):
              * svg/SVGUseElement.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6f1c71db
    • sergio@webkit.org's avatar
      2011-03-25 Sergio Villar Senin <svillar@igalia.com> · 729256e0
      sergio@webkit.org authored
              Rebaseline GTK+ tests results after r81887
      
              * platform/gtk/editing/pasteboard/5065605-expected.txt:
              * platform/gtk/editing/pasteboard/display-block-on-spans-expected.txt:
              * platform/gtk/editing/pasteboard/paste-text-011-expected.txt:
              * platform/gtk/editing/pasteboard/paste-text-at-tabspan-001-expected.txt:
              * platform/gtk/editing/pasteboard/paste-text-at-tabspan-002-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      729256e0
    • alex@webkit.org's avatar
      2011-03-25 Alejandro G. Castro <alex@igalia.com> · 3653df39
      alex@webkit.org authored
              Reviewed by Martin Robinson.
      
              [WK2] Consider .c files in the generate-forwarding-headers script
              https://bugs.webkit.org/show_bug.cgi?id=56680
      
              * Scripts/generate-forwarding-headers.pl:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81948 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3653df39
    • commit-queue@webkit.org's avatar
      2011-03-25 Dominic Cooney <dominicc@google.com> · 3a1fd223
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              Adds a regression test for keygen autofocus.
              https://bugs.webkit.org/show_bug.cgi?id=57091
      
              * fast/forms/autofocus-keygen-expected.txt: Added.
              * fast/forms/autofocus-keygen.html: Added.
      2011-03-25  Dominic Cooney  <dominicc@google.com>
      
              Reviewed by Kent Tamura.
      
              Makes keygen support autofocus attribute.
              https://bugs.webkit.org/show_bug.cgi?id=57091
      
              Test: fast/forms/autofocus-keygen.html
      
              * html/HTMLFormControlElement.cpp:
              (WebCore::HTMLFormControlElement::attach):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81947 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3a1fd223
    • mnaganov@chromium.org's avatar
      2011-03-24 Mikhail Naganov <mnaganov@chromium.org> · 5804afc3
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Add tests for HeapSnapshot module.
              https://bugs.webkit.org/show_bug.cgi?id=56835
      
              * http/tests/inspector/heap-snapshot-test.js: Added.
              (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockObject):
              (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMock):
              (initialize_HeapSnapshotTest):
              * inspector/profiler/heap-snapshot-expected.txt: Added.
              * inspector/profiler/heap-snapshot.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5804afc3
    • mnaganov@chromium.org's avatar
      2011-03-24 Mikhail Naganov <mnaganov@chromium.org> · 3500a044
      mnaganov@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Rework cpu-profiler-profiling.html to use capabilities of testing framework.
              https://bugs.webkit.org/show_bug.cgi?id=57006
      
              * http/tests/inspector/profiler-test.js: Added.
              (initialize_ProfilerTest.InspectorTest.startProfilerTest.startTest):
              (initialize_ProfilerTest.InspectorTest.startProfilerTest):
              (initialize_ProfilerTest.InspectorTest.completeProfilerTest):
              (initialize_ProfilerTest.InspectorTest.runProfilerTestSuite.runner):
              (initialize_ProfilerTest.InspectorTest.runProfilerTestSuite):
              (initialize_ProfilerTest):
              * inspector/cpu-profiler-profiling-expected.txt: Removed.
              * inspector/cpu-profiler-profiling.html: Removed.
              * inspector/profiler/cpu-profiler-profiling-expected.txt: Added.
              * inspector/profiler/cpu-profiler-profiling.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3500a044
    • gyuyoung.kim@samsung.com's avatar
      2011-03-24 Gyuyoung Kim <gyuyoung.kim@samsung.com> · 56549161
      gyuyoung.kim@samsung.com authored
              Reviewed by Antonio Gomes.
      
              [EFL] Add sound / mute button to MediaControl UI
              https://bugs.webkit.org/show_bug.cgi?id=56726
      
              Add sound / mute button to MediaControl UI.
      
              * platform/efl/RenderThemeEfl.cpp:
              (WebCore::RenderThemeEfl::edjeGroupFromFormType):
              (WebCore::RenderThemeEfl::emitMediaButtonSignal):
              (WebCore::RenderThemeEfl::paintMediaMuteButton):
              * platform/efl/RenderThemeEfl.h:
      2011-03-24  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
      
              Reviewed by Antonio Gomes.
      
              [EFL] Add sound / mute button to MediaControl UI
              https://bugs.webkit.org/show_bug.cgi?id=56726
      
              Add sound / mute button to MediaControl UI.
      
              * DefaultTheme/default.edc:
              * DefaultTheme/widget/mediacontrol/mutebutton/mute_button.edc: Added.
              * DefaultTheme/widget/mediacontrol/mutebutton/mutebutton.png: Added.
              * DefaultTheme/widget/mediacontrol/mutebutton/unmutebutton.png: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      56549161
    • zimmermann@webkit.org's avatar
      2011-03-24 Nikolas Zimmermann <nzimmermann@rim.com> · 669bab73
      zimmermann@webkit.org authored
              Reviewed by Darin Adler.
      
              Introduce WTF HexNumber.h
              https://bugs.webkit.org/show_bug.cgi?id=56099
      
              Introduce a set of functions that ease converting from a bye or a number to a hex string,
              replacing several of these conversions and String::format("%x") usages all over WebCore.
      
              * GNUmakefile.am: Add HexNumber.h to build.
              * JavaScriptCore.exp: Export StringBuilder::reserveCapacity.
              * JavaScriptCore.gypi: Add HexNumber.h to build.
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Export StringBuilder::reserveCapacity.
              * JavaScriptCore.vcproj/WTF/WTF.vcproj: Add HexNumber.h to build.
              * JavaScriptCore.xcodeproj/project.pbxproj: Ditto.
              * wtf/CMakeLists.txt: Ditto.
              * wtf/HexNumber.h: Added.
              (WTF::Internal::hexDigitsForMode): Internal helper.
              (WTF::appendByteAsHex): Free function, that appends a byte as hex string into a destination.
              (WTF::placeByteAsHex): Ditto, but places the result using *foo++ = '..' or foo[index++] = '..'
              (WTF::appendUnsignedAsHex): Free function, that appends a number as hex string into a destination.
      2011-03-24  Nikolas Zimmermann  <nzimmermann@rim.com>
      
              Reviewed by Darin Adler.
      
              Introduce WTF HexNumber.h
              https://bugs.webkit.org/show_bug.cgi?id=56099
      
              Introduce a set of functions that ease converting from a bye or a number to a hex string,
              replacing several of these conversions and String::format("%x") usages all over WebCore.
      
              * ForwardingHeaders/wtf/HexNumber.h: Added.
              * css/CSSOMUtils.cpp:
              (WebCore::serializeCharacterAsCodePoint):
              * css/CSSParser.cpp:
              (WebCore::quoteCSSString):
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::createReadableStringFromBinary):
              * platform/FileSystem.cpp:
              (WebCore::encodeForFileName):
              * platform/KURL.cpp:
              (WebCore::appendEscapedChar):
              * platform/UUID.cpp:
              (WebCore::createCanonicalUUIDString):
              * platform/graphics/Color.cpp:
              (WebCore::Color::serialized):
              * platform/network/FormDataBuilder.cpp:
              (WebCore::FormDataBuilder::encodeStringAsFormData):
              * rendering/RenderTreeAsText.cpp:
              (WebCore::quoteAndEscapeNonPrintables):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      669bab73
    • yutak@chromium.org's avatar
      2011-03-24 Yuta Kitamura <yutak@chromium.org> · 171d5dec
      yutak@chromium.org authored
              Unreviewed, rebaseline Chromium test results for Mac Leopard.
      
              * platform/chromium-mac-leopard/fast/blockflow/vertical-baseline-alignment-expected.checksum: Added.
              * platform/chromium-mac-leopard/fast/blockflow/vertical-baseline-alignment-expected.png: Added.
              * platform/chromium-mac-leopard/fast/dynamic/text-combine-expected.checksum: Added.
              * platform/chromium-mac-leopard/fast/dynamic/text-combine-expected.png: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      171d5dec
    • jer.noble@apple.com's avatar
      2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com> · b9653764
      jer.noble@apple.com authored
              Unreviewed, rolling out r81939.
              http://trac.webkit.org/changeset/81939
              https://bugs.webkit.org/show_bug.cgi?id=57084
      
              Rolling out 81939, as it's causing a number of app cache test
              failures. (Requested by jernoble on #webkit).
      
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b9653764
    • kevino@webkit.org's avatar
      [wx] A couple build fixes after recent changes. · bd3f3a0f
      kevino@webkit.org authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bd3f3a0f
    • jer.noble@apple.com's avatar
      2011-03-23 Jer Noble <jer.noble@apple.com> · 2366b3ee
      jer.noble@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Application Cache should save audio/ and video/ mime types as flat files
              https://bugs.webkit.org/show_bug.cgi?id=53784
              <rdar://problem/8932473>
      
              No new tests.
      
              Initialize the AppCache Total size quotas with the values for WebKitPreferences
              upon startup.
      
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2366b3ee
    • commit-queue@webkit.org's avatar
      2011-03-24 Ilya Sherman <isherman@chromium.org> · e67a7715
      commit-queue@webkit.org authored
              Reviewed by Adam Roben.
      
              Implement layoutTestController.setAutoFilled in DRT on Windows
              https://bugs.webkit.org/show_bug.cgi?id=56828
      
              * platform/chromium/fast/forms/input-autofilled-expected.txt: Removed.
              * platform/chromium/fast/forms/reset-autofilled-expected.txt: Removed.
              * platform/win/fast/forms/input-autofilled-expected.txt: Removed.
              * platform/win/fast/forms/reset-autofilled-expected.txt: Removed.
      2011-03-24  Ilya Sherman  <isherman@chromium.org>
      
              Reviewed by Adam Roben.
      
              Implement layoutTestController.setAutoFilled in DRT on Windows
              https://bugs.webkit.org/show_bug.cgi?id=56828
      
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setAutofilled): Implemented.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e67a7715
    • slewis@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=57073 · df95517b
      slewis@apple.com authored
      Rework the AtomicHTMLConstructor to reserve space for attributes based on the size of the attribute list.
      Saves 1.5 MB on Membuster.
      
      Reviewed by Geoff Garen.
      
      No new tests because there was no change in behavior.  Current tests pass.
      
      * html/parser/HTMLToken.h:
      (WebCore::AtomicHTMLToken::AtomicHTMLToken):
      (WebCore::AtomicHTMLToken::initializeAttributes):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      df95517b
    • yutak@chromium.org's avatar
      2011-03-24 Yuta Kitamura <yutak@chromium.org> · fffe2faa
      yutak@chromium.org authored
              Unreviewed. Rebaseline Chromium test results for fast/css/percentage-non-integer.html.
      
              * platform/chromium-win/fast/css/percentage-non-integer-expected.checksum:
              * platform/chromium-win/fast/css/percentage-non-integer-expected.png:
              * platform/chromium-win/fast/css/percentage-non-integer-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fffe2faa
    • commit-queue@webkit.org's avatar
      2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com> · 4dd82279
      commit-queue@webkit.org authored
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * fast/images/embed-image-plugins-disabled.html: Removed.
              * platform/mac/fast/images/embed-image-expected.checksum:
              * platform/mac/fast/images/embed-image-expected.png:
              * platform/mac/fast/images/embed-image-expected.txt:
              * platform/mac/fast/images/embed-image-plugins-disabled-expected.checksum: Removed.
              * platform/mac/fast/images/embed-image-plugins-disabled-expected.png: Removed.
              * platform/mac/fast/images/embed-image-plugins-disabled-expected.txt: Removed.
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * html/HTMLEmbedElement.cpp:
              (WebCore::HTMLEmbedElement::HTMLEmbedElement):
              * html/HTMLObjectElement.cpp:
              (WebCore::HTMLObjectElement::HTMLObjectElement):
              (WebCore::HTMLObjectElement::parametersForPlugin):
              * html/HTMLPlugInImageElement.cpp:
              (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
              (WebCore::HTMLPlugInImageElement::isImageType):
              (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
              * html/HTMLPlugInImageElement.h:
              * loader/EmptyClients.h:
              (WebCore::EmptyFrameLoaderClient::objectContentType):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::defaultObjectContentType):
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/SubframeLoader.cpp:
              (WebCore::SubframeLoader::resourceWillUsePlugin):
              (WebCore::SubframeLoader::requestObject):
              (WebCore::SubframeLoader::shouldUsePlugin):
              * loader/SubframeLoader.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::objectContentType):
              * src/FrameLoaderClientImpl.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebCoreSupport/FrameLoaderClientEfl.cpp:
              (WebCore::FrameLoaderClientEfl::objectContentType):
              * WebCoreSupport/FrameLoaderClientEfl.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              (WebKit::FrameLoaderClient::objectContentType):
              * WebCoreSupport/FrameLoaderClientGtk.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebCoreSupport/FrameLoaderClientHaiku.cpp:
              (WebCore::FrameLoaderClientHaiku::objectContentType):
              * WebCoreSupport/FrameLoaderClientHaiku.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::objectContentType):
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::objectContentType):
              * WebCoreSupport/FrameLoaderClientQt.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebFrame.cpp:
              (WebFrame::objectContentType):
              * WebFrame.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebCoreSupport/FrameLoaderClientWinCE.cpp:
              (WebKit::FrameLoaderClientWinCE::objectContentType):
              * WebCoreSupport/FrameLoaderClientWinCE.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebKitSupport/FrameLoaderClientWx.cpp:
              (WebCore::FrameLoaderClientWx::objectContentType):
              * WebKitSupport/FrameLoaderClientWx.h:
      2011-03-24  Sheriff Bot  <webkit.review.bot@gmail.com>
      
              Unreviewed, rolling out r81916 and r81917.
              http://trac.webkit.org/changeset/81916
              http://trac.webkit.org/changeset/81917
              https://bugs.webkit.org/show_bug.cgi?id=57071
      
              broke a test on platforms that do not have QuickTime installed
              (Requested by estes on #webkit).
      
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
              (WebKit::WebFrameLoaderClient::objectContentType):
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4dd82279
    • dglazkov@chromium.org's avatar
      2011-03-24 Dimitri Glazkov <dglazkov@chromium.org> · 3aa41d52
      dglazkov@chromium.org authored
              Reviewed by Darin Adler.
      
              Eliminate Node::dispatchGenericEvent.
              https://bugs.webkit.org/show_bug.cgi?id=57045
      
              No functional change, covered by existing tests.
      
              * dom/Node.cpp:
              (WebCore::Node::dispatchEvent): Combined with the body of dispatchGenericEvent,
                  removed unnecessary extra refs and a stale comment.
              * dom/Node.h:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::dispatchLoadEvent): Changed to use dispatchEvent.
              * svg/SVGElement.cpp:
              (WebCore::SVGElement::sendSVGLoadEventIfPossible): Ditto.
              * svg/SVGElementInstance.cpp:
              (WebCore::SVGElementInstance::dispatchEvent): Ditto. The code here still
                  works thanks to SVG-aware retargeting in Node.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3aa41d52
    • crogers@google.com's avatar
      2011-03-24 Chris Rogers <crogers@google.com> · e63016de
      crogers@google.com authored
              Reviewed by Kenneth Russell.
      
              web audio: Properly sample-rate convert audio assets in chromium port
              https://bugs.webkit.org/show_bug.cgi?id=56980
      
              No new tests since audio API is not yet implemented.
      
              * WebCore.gypi:
              * platform/audio/AudioBus.cpp:
              (WebCore::AudioBus::createBySampleRateConverting):
              (WebCore::AudioBus::createByMixingToMono):
              * platform/audio/AudioBus.h:
              * platform/audio/HRTFKernel.cpp:
              (WebCore::extractAverageGroupDelay):
              (WebCore::HRTFKernel::HRTFKernel):
              * platform/audio/SincResampler.cpp:
              * platform/audio/chromium/AudioBusChromium.cpp:
              (WebCore::AudioBus::loadPlatformResource):
              (WebCore::createBusFromInMemoryAudioFile):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e63016de
    • commit-queue@webkit.org's avatar
      2011-03-24 Min Qin <qinmin@google.com> · cd4f9452
      commit-queue@webkit.org authored
              Reviewed by James Robinson.
      
              Allow WebMediaPlayerClient to notify MediaPlayer that the playback state has changed
      
              https://bugs.webkit.org/show_bug.cgi?id=56837
      
              * public/WebMediaPlayerClient.h:
              * src/WebMediaPlayerClientImpl.cpp:
              (WebKit::WebMediaPlayerClientImpl::playbackStateChanged):
              * src/WebMediaPlayerClientImpl.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cd4f9452
    • scheib@chromium.org's avatar
      2011-03-24 Vincent Scheib <scheib@chromium.org> · 5e232720
      scheib@chromium.org authored
              Update Chromium baselines for 81887
      
              * platform/chromium-win/editing/pasteboard/5065605-expected.txt:
              * platform/chromium-win/editing/pasteboard/display-block-on-spans-expected.txt:
              * platform/chromium-win/editing/pasteboard/paste-text-011-expected.txt:
              * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-001-expected.txt:
              * platform/chromium-win/editing/pasteboard/paste-text-at-tabspan-002-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5e232720
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=57069 · 51fa263e
      beidson@apple.com authored
      Add WKIconDatabase api to the project files, and expose accessor on WKContext.
      
      Reviewed by Darin Adler.
      
      Project file stuffs:
      * GNUmakefile.am:
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      
      * Shared/API/c/WKBase.h:
      * UIProcess/API/C/WKAPICast.h:
      
      * UIProcess/API/C/WKContext.cpp:
      (WKContextGetIconDatabase):
      * UIProcess/API/C/WKContext.h:
      
      * UIProcess/API/C/WKIconDatabase.cpp: Added.
      (WKIconDatabaseGetTypeID):
      * UIProcess/API/C/WKIconDatabase.h: Added.
      
      * UIProcess/WebContext.h:
      (WebKit::WebContext::iconDatabase):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      51fa263e
    • jam@chromium.org's avatar
      2011-03-23 John Abd-El-Malek <jam@chromium.org> · 45838c8d
      jam@chromium.org authored
              Reviewed by Tony Chang.
      
              [chromium] Get rid of WEB_TEXT_CHECKING_RESULT_IS_A_STRUCT since it&apos;s not needed anymore
              https://bugs.webkit.org/show_bug.cgi?id=56955
      
              * DEPS:
              * public/WebTextCheckingResult.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      45838c8d
    • dimich@chromium.org's avatar
      2011-03-24 Bill Budge <bbudge@chromium.org> · 3c270fc6
      dimich@chromium.org authored
              Reviewed by Eric Seidel.
      
              Change a forward declaration of WebURLLoaderOptions to struct to prevent a build break in Chromium.
              https://bugs.webkit.org/show_bug.cgi?id=57064
      
              No tests. Exposes no new functionality.
      
              * public/WebFrame.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3c270fc6
    • commit-queue@webkit.org's avatar
      2011-03-24 Rik Cabanier <cabanier@adobe.com> · abe6cec2
      commit-queue@webkit.org authored
              Reviewed by David Hyatt.
      
              REGRESSION (r81625): fast/css/percentage-non-integer.html fails on Windows
              https://bugs.webkit.org/show_bug.cgi?id=56829
      
              * platform/win/fast/css/percentage-non-integer-expected.checksum:
              * platform/win/fast/css/percentage-non-integer-expected.png:
              * platform/win/fast/css/percentage-non-integer-expected.txt:
      2011-03-24  Rik Cabanier  <cabanier@adobe.com>
      
              Reviewed by David Hyatt.
      
              REGRESSION (r81625): fast/css/percentage-non-integer.html fails on Windows
              https://bugs.webkit.org/show_bug.cgi?id=56829
      
              Test: fast/css/percentage-non-integer.html
      
              * platform/Length.h:
              (WebCore::Length::calcValue):
              (WebCore::Length::calcMinValue):
              (WebCore::Length::calcFloatValue):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      abe6cec2
    • bfulgham@webkit.org's avatar
      Build correction. · 025a6f15
      bfulgham@webkit.org authored
      Disable the CA Layer stuff when building with Cairo.
      
      * win/WebKit2.vcproj:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      025a6f15
    • mihaip@chromium.org's avatar
      2011-03-24 Mihai Parparita <mihaip@chromium.org> · 462e8f14
      mihaip@chromium.org authored
              Add Chromium Snow Leopard baselines for fast/css/bidi-override-in-anonymous-block.html.
      
              * platform/chromium-mac-leopard/fast/css/bidi-override-in-anonymous-block-expected.checksum: Copied from LayoutTests/platform/chromium-mac/fast/css/bidi-override-in-anonymous-block-expected.checksum.
              * platform/chromium-mac-leopard/fast/css/bidi-override-in-anonymous-block-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/css/bidi-override-in-anonymous-block-expected.png.
              * platform/chromium-mac/fast/css/bidi-override-in-anonymous-block-expected.checksum:
              * platform/chromium-mac/fast/css/bidi-override-in-anonymous-block-expected.png:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      462e8f14
    • bfulgham@webkit.org's avatar
      Unreviewed build correction. · c16af4c5
      bfulgham@webkit.org authored
      Correct vsprops file for Debug variant of the CFLite build.
      Disable a CFNETWORK-specific test when building for CFLite.
      
      * TestWebKitAPI/Configurations/TestWebKitAPIDebugCairoCFLite.vsprops:
      * TestWebKitAPI/win/TestWebKitAPI.vcproj:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c16af4c5
    • mihaip@chromium.org's avatar
      2011-03-24 Mihai Parparita <mihaip@chromium.org> · 18cca572
      mihaip@chromium.org authored
              Reviewed by James Robinson.
      
              [Chromium] Vertical Japanese text is not displayed on Snow Leopard
              https://bugs.webkit.org/show_bug.cgi?id=56962
      
              Pixel rebaselines after r80582 (vertical text was shifted by one pixel
              vertical).
      
              Make Snow Leopard check added by r80740 into a runtime check for
              Chromium, since it uses the same binary on both Leopard and Snow Leopard.
      
              * platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum:
              * platform/chromium-mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png:
              * platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.checksum:
              * platform/chromium-mac/fast/blockflow/border-vertical-lr-expected.png:
              * platform/chromium-mac/fast/blockflow/broken-ideograph-small-caps-expected.checksum: Added.
              * platform/chromium-mac/fast/blockflow/broken-ideograph-small-caps-expected.png: Added.
              * platform/chromium-mac/fast/blockflow/broken-ideograph-small-caps-expected.txt: Added.
              * platform/chromium-mac/fast/blockflow/japanese-lr-selection-expected.checksum: Added.
              * platform/chromium-mac/fast/blockflow/japanese-lr-selection-expected.png: Added.
              * platform/chromium-mac/fast/blockflow/japanese-lr-text-expected.checksum:
              * platform/chromium-mac/fast/blockflow/japanese-lr-text-expected.png:
              * platform/chromium-mac/fast/blockflow/japanese-rl-selection-expected.checksum:
              * platform/chromium-mac/fast/blockflow/japanese-rl-selection-expected.png:
              * platform/chromium-mac/fast/blockflow/japanese-rl-text-expected.checksum:
              * platform/chromium-mac/fast/blockflow/japanese-rl-text-expected.png:
              * platform/chromium-mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum: Removed.
              * platform/chromium-mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.png: Removed.
              * platform/chromium-mac/fast/blockflow/vertical-align-table-baseline-expected.checksum: Removed.
              * platform/chromium-mac/fast/blockflow/vertical-align-table-baseline-expected.png: Removed.
              * 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/dynamic/text-combine-expected.checksum:
              * platform/chromium-mac/fast/dynamic/text-combine-expected.png:
              * platform/chromium-mac/fast/repaint/japanese-rl-selection-clear-expected.checksum:
              * platform/chromium-mac/fast/repaint/japanese-rl-selection-clear-expected.png:
              * platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-expected.checksum:
              * platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-expected.png:
              * platform/chromium-mac/fast/repaint/repaint-across-writing-mode-boundary-expected.checksum:
              * platform/chromium-mac/fast/repaint/repaint-across-writing-mode-boundary-expected.png:
              * platform/chromium-mac/fast/ruby/base-shorter-than-text-expected.checksum:
              * platform/chromium-mac/fast/ruby/base-shorter-than-text-expected.png:
              * platform/chromium-mac/fast/text/justify-ideograph-vertical-expected.checksum:
              * platform/chromium-mac/fast/text/justify-ideograph-vertical-expected.png:
              * platform/chromium/test_expectations.txt:
              * platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum:
              * platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png:
              * platform/mac/fast/blockflow/border-vertical-lr-expected.checksum:
              * platform/mac/fast/blockflow/border-vertical-lr-expected.png:
              * platform/mac/fast/blockflow/broken-ideographic-font-expected.checksum:
              * platform/mac/fast/blockflow/broken-ideographic-font-expected.png:
              * platform/mac/fast/blockflow/japanese-lr-selection-expected.checksum:
              * platform/mac/fast/blockflow/japanese-lr-selection-expected.png:
              * platform/mac/fast/blockflow/japanese-lr-text-expected.checksum:
              * platform/mac/fast/blockflow/japanese-lr-text-expected.png:
              * platform/mac/fast/blockflow/japanese-rl-selection-expected.checksum:
              * platform/mac/fast/blockflow/japanese-rl-selection-expected.png:
              * platform/mac/fast/blockflow/japanese-rl-text-expected.checksum:
              * platform/mac/fast/blockflow/japanese-rl-text-expected.png:
              * platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.checksum:
              * platform/mac/fast/blockflow/japanese-rl-text-with-broken-font-expected.png:
              * platform/mac/fast/blockflow/japanese-ruby-vertical-lr-expected.checksum:
              * platform/mac/fast/blockflow/japanese-ruby-vertical-lr-expected.png:
              * platform/mac/fast/blockflow/japanese-ruby-vertical-rl-expected.checksum:
              * platform/mac/fast/blockflow/japanese-ruby-vertical-rl-expected.png:
              * platform/mac/fast/blockflow/vertical-align-table-baseline-expected.checksum:
              * platform/mac/fast/blockflow/vertical-align-table-baseline-expected.png:
              * platform/mac/fast/blockflow/vertical-baseline-alignment-expected.checksum:
              * platform/mac/fast/blockflow/vertical-baseline-alignment-expected.png:
              * platform/mac/fast/blockflow/vertical-font-fallback-expected.checksum:
              * platform/mac/fast/blockflow/vertical-font-fallback-expected.png:
              * platform/mac/fast/repaint/japanese-rl-selection-clear-expected.checksum:
              * platform/mac/fast/repaint/japanese-rl-selection-clear-expected.png:
              * platform/mac/fast/repaint/japanese-rl-selection-repaint-expected.checksum:
              * platform/mac/fast/repaint/japanese-rl-selection-repaint-expected.png:
              * platform/mac/fast/repaint/repaint-across-writing-mode-boundary-expected.checksum:
              * platform/mac/fast/repaint/repaint-across-writing-mode-boundary-expected.png:
              * platform/mac/fast/ruby/base-shorter-than-text-expected.checksum:
              * platform/mac/fast/ruby/base-shorter-than-text-expected.png:
              * platform/mac/fast/text/justify-ideograph-vertical-expected.checksum:
              * platform/mac/fast/text/justify-ideograph-vertical-expected.png:
      2011-03-24  Mihai Parparita  <mihaip@chromium.org>
      
              Reviewed by James Robinson.
      
              [Chromium] Vertical Japanese text is not displayed on Snow Leopard
              https://bugs.webkit.org/show_bug.cgi?id=56962
      
              Make Snow Leopard check added by r80740 into a runtime check for
              Chromium, since it uses the same binary on both Leopard and Snow Leopard.
      
              * platform/graphics/mac/FontMac.mm:
              (WebCore::hasBrokenCTFontGetVerticalTranslationsForGlyphs):
              (WebCore::showGlyphsWithAdvances):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81921 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      18cca572
  2. 24 Mar, 2011 8 commits
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=57058 · e73bf999
      beidson@apple.com authored
      Hookup the UIProcess WebIconDatabase to a WebCore::IconDatabase as its implementation
      
      Reviewed by Sam Weinig.
      
      ../WebCore: 
      
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::synchronousLoadDecisionForIconURL): Only add the DocumentLoader to the set if it's non-zero.
      (WebCore::IconDatabase::IconDatabase): Add more logging.
      (WebCore::IconDatabase::performURLImport): Dispatch the "didFinishURLImport" client callback using the following 3 methods.
      (WebCore::FinishedURLImport::FinishedURLImport):
      (WebCore::FinishedURLImport::performWork):
      (WebCore::IconDatabase::dispatchDidFinishURLImportOnMainThread):
      
      * loader/icon/IconDatabase.h:
      (WebCore::IconDatabase::create): Expose a PassOwnPtr<> creator.
      
      * WebCore.exp.in:
      
      ../WebKit2: 
      
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::WebIconDatabase):
      (WebKit::WebIconDatabase::setDatabasePath): Create a new WebCore::IconDatabase and open it to this path.
      (WebKit::WebIconDatabase::retainIconForPageURL): Actually retain the url, using the impl.
      (WebKit::WebIconDatabase::releaseIconForPageURL): Actually release the url, using the impl.
      (WebKit::WebIconDatabase::setIconURLForPageURL): Actually set the url, using the impl.
      (WebKit::WebIconDatabase::setIconDataForIconURL): Actually set the data, using the impl.
      (WebKit::WebIconDatabase::getLoadDecisionForIconURL): Actually ask for a load decision to call back with.
      (WebKit::WebIconDatabase::performImport):
      (WebKit::WebIconDatabase::didImportIconURLForPageURL):
      (WebKit::WebIconDatabase::didImportIconDataForPageURL):
      (WebKit::WebIconDatabase::didChangeIconForPageURL):
      (WebKit::WebIconDatabase::didRemoveAllIcons):
      (WebKit::WebIconDatabase::didFinishURLImport): Notify all the pending callbacks what their load decisions
        are now that they're available.
      * UIProcess/WebIconDatabase.h:
      
      Add an IconDatabase logging channel:
      * Platform/Logging.cpp:
      (WebKit::initializeLogChannelsIfNecessary):
      * Platform/Logging.h:
      
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::setIconDatabasePath): Pass the new path on to the WebIconDatabase, possibly
        opening it.
      * UIProcess/WebContext.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e73bf999
    • jer.noble@apple.com's avatar
      2011-03-23 Jer Noble <jer.noble@apple.com> · 834ea522
      jer.noble@apple.com authored
              Reviewed by Maciej Stachowiak.
      
              Application Cache should save audio/ and video/ mime types as flat files
              https://bugs.webkit.org/show_bug.cgi?id=53784
              <rdar://problem/8932473>
      
              No new tests.
      
              ApplicationCacheResource::create() now takes an additional "path" parameter.  To facilitate
              extracting this path information, two functions in ApplicationCacheHost have been made public.
      
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::didReceiveResponse): Pass along new "path" parameter.
              (WebCore::ApplicationCacheGroup::didFail): Ditto.
              * loader/appcache/ApplicationCacheHost.h:
              (WebCore::ApplicationCacheHost::shouldLoadResourceFromApplicationCache): Made public.
              (WebCore::ApplicationCacheHost::getApplicationCacheFallbackResource): Made public.
              * loader/appcache/ApplicationCacheResource.cpp:
              (WebCore::ApplicationCacheResource::ApplicationCacheResource): Add new "path" parameter.
              * loader/appcache/ApplicationCacheResource.h:
              (WebCore::ApplicationCacheResource::create): Ditto.
              (WebCore::ApplicationCacheResource::path): New accessor.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      834ea522
    • dpranke@chromium.org's avatar
      2011-03-24 Dirk Pranke <dpranke@chromium.org> · 4f001cca
      dpranke@chromium.org authored
              Reviewed by Adam Barth.
      
              fix regressions introduced in 81908 - there were a couple of
              code paths that only fired under python 2.5 that I missed.
      
              Also change a couple of 'python' references to sys.executable
              in order to handle runing test-webkitpy with a binary other than
              something called 'python'.
      
              https://bugs.webkit.org/show_bug.cgi?id=57063
      
              * Scripts/webkitpy/layout_tests/port/mac.py:
              * Scripts/webkitpy/layout_tests/port/port_testcase.py:
              * Scripts/webkitpy/test/cat.py:
              * Scripts/webkitpy/test/echo.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4f001cca
    • aestes@apple.com's avatar
      Fix the chromium build. · feb8082a
      aestes@apple.com authored
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::objectContentType):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      feb8082a
    • aestes@apple.com's avatar
      2011-03-24 Andy Estes <aestes@apple.com> · f5e7fae8
      aestes@apple.com authored
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              * fast/images/embed-image-plugins-disabled.html: Added.
              * platform/mac/fast/images/embed-image-expected.checksum:
              * platform/mac/fast/images/embed-image-expected.png:
              * platform/mac/fast/images/embed-image-expected.txt:
              * platform/mac/fast/images/embed-image-plugins-disabled-expected.checksum: Added.
              * platform/mac/fast/images/embed-image-plugins-disabled-expected.png: Added.
              * platform/mac/fast/images/embed-image-plugins-disabled-expected.txt: Added.
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::objectContentType):
              * src/FrameLoaderClientImpl.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebCoreSupport/FrameLoaderClientQt.cpp:
              (WebCore::FrameLoaderClientQt::objectContentType):
              * WebCoreSupport/FrameLoaderClientQt.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              (WebKit::FrameLoaderClient::objectContentType):
              * WebCoreSupport/FrameLoaderClientGtk.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebFrame.cpp:
              (WebFrame::objectContentType):
              * WebFrame.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebKitSupport/FrameLoaderClientWx.cpp:
              (WebCore::FrameLoaderClientWx::objectContentType):
              * WebKitSupport/FrameLoaderClientWx.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebCoreSupport/WebFrameLoaderClient.h:
              * WebCoreSupport/WebFrameLoaderClient.mm:
              (WebFrameLoaderClient::objectContentType):
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebCoreSupport/FrameLoaderClientHaiku.cpp:
              (WebCore::FrameLoaderClientHaiku::objectContentType):
              * WebCoreSupport/FrameLoaderClientHaiku.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebCoreSupport/FrameLoaderClientWinCE.cpp:
              (WebKit::FrameLoaderClientWinCE::objectContentType):
              * WebCoreSupport/FrameLoaderClientWinCE.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebCoreSupport/FrameLoaderClientEfl.cpp:
              (WebCore::FrameLoaderClientEfl::objectContentType):
              * WebCoreSupport/FrameLoaderClientEfl.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              AC_QuickTime.js uses the common <object>/<embed> paradigm to embed the
              QuickTime plug-in in web pages. r70748 removed our mapping of classids
              to MIME types, which causes WebKit to fall back from the object to the
              embed tag when QuickTime is embedded by this script. The script emits
              the following embed tag to embed a QuickTime movie with a poster frame:
      
              <embed src="poster-frame.png" target="quicktimeplayer" href="movie.mov">
      
              The expectation is that a QuickTime plug-in is instantiated to display the
              poster frame, since QuickTime registers for many common image MIME
              types. This is how Gecko behaves for embed. However, WebKit prefers to
              use its native image rendering for image embeds, in which case no movie
              is played when the poster frame is clicked.
      
              Fix this by changing embed to check for a plug-in that can handle the
              image type before rendering the image natively. This matches Gecko.
      
              Test: fast/images/embed-image-plugins-disabled.html
      
              * html/HTMLObjectElement.cpp:
              (WebCore::HTMLObjectElement::parametersForPlugin):
              * html/HTMLPlugInImageElement.cpp:
              (WebCore::HTMLPlugInImageElement::HTMLPlugInImageElement):
              (WebCore::HTMLPlugInImageElement::isImageType):
              (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
              * html/HTMLPlugInImageElement.h:
              (WebCore::HTMLPlugInImageElement::preferPluginsForImages):
              * loader/EmptyClients.h:
              (WebCore::EmptyFrameLoaderClient::objectContentType):
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::defaultObjectContentType):
              * loader/FrameLoader.h:
              * loader/FrameLoaderClient.h:
              * loader/SubframeLoader.cpp:
              (WebCore::SubframeLoader::resourceWillUsePlugin):
              (WebCore::SubframeLoader::requestPlugin):
              (WebCore::SubframeLoader::requestObject):
              (WebCore::SubframeLoader::shouldUsePlugin):
              * loader/SubframeLoader.h:
      2011-03-24  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
              https://bugs.webkit.org/show_bug.cgi?id=49016
      
              Update objectContentType() implementation to handle the
              shouldPreferPlugInsForImages flag.
      
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
              (WebKit::WebFrameLoaderClient::objectContentType):
              * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f5e7fae8
    • commit-queue@webkit.org's avatar
      2011-03-24 Mike Reed <reed@google.com> · 54041887
      commit-queue@webkit.org authored
              Reviewed by James Robinson.
      
              Move lifetime management of grContext from a global to being
              per-SharedGraphicsContext3D, which correctly is 1:1 with the
              underlying opengl context.
              https://bugs.webkit.org/show_bug.cgi?id=54330
      
              No new tests. Existing <canvas> tests exercise this:
      
              * platform/graphics/chromium/DrawingBufferChromium.cpp:
              (WebCore::DrawingBuffer::DrawingBuffer):
              (WebCore::DrawingBuffer::~DrawingBuffer):
              (WebCore::DrawingBuffer::publishToPlatformLayer):
              (WebCore::DrawingBuffer::setGrContext):
              * platform/graphics/gpu/DrawingBuffer.h:
              * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
              (WebCore::SharedGraphicsContext3D::SharedGraphicsContext3D):
              (WebCore::SharedGraphicsContext3D::~SharedGraphicsContext3D):
              (WebCore::SharedGraphicsContext3D::getGrContext):
              * platform/graphics/gpu/SharedGraphicsContext3D.h:
              * platform/graphics/skia/PlatformContextSkia.cpp:
              (WebCore::PlatformContextSkia::~PlatformContextSkia):
              (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      54041887
    • bfulgham@webkit.org's avatar
      Unreviewed build correction. · 5c9f1d77
      bfulgham@webkit.org authored
      Add a stub implementation of the TestInvocation dumping logic.
      Update project files to reflect new file.
      
      * WebKitTestRunner/cairo: Added.
      * WebKitTestRunner/cairo/TestInvocationCairo.cpp: Added.
      (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
      * WebKitTestRunner/win/WebKitTestRunner.vcproj:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81914 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5c9f1d77
    • commit-queue@webkit.org's avatar
      2011-03-24 Bill Budge <bbudge@chromium.org> · 5f16ee7a
      commit-queue@webkit.org authored
              Reviewed by Dmitry Titov.
      
              Add an overloaded WebFrame::createAssociatedURLLoader method that takes WebURLLoaderOptions, so clients can specify CORS options to allow cross-origin requests.
              https://bugs.webkit.org/show_bug.cgi?id=56885
      
              No new tests. Exposes no new functionality.
      
              * public/WebFrame.h:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::createAssociatedURLLoader):
              * src/WebFrameImpl.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@81913 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5f16ee7a