1. 27 Mar, 2013 2 commits
    • eric.carlson@apple.com's avatar
      [Mac] webkitClosedCaptionsVisible doesn't work · 92907e15
      eric.carlson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113417
      
      Reviewed by Jer Noble.
      
      Source/WebCore: 
      
      Test: media/track/track-in-band-legacy-api.html
      
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::HTMLMediaElement): Delete m_disableCaptions, it is no longer used.
      (WebCore::HTMLMediaElement::configureTextTrackGroup): Pass this to textTrackSelectionScore.
      (WebCore::HTMLMediaElement::setClosedCaptionsVisible):  Delete m_disableCaptions, it is no longer used.
      * html/HTMLMediaElement.h: Ditto.
      
      * page/CaptionUserPreferences.cpp:
      (WebCore::CaptionUserPreferences::textTrackSelectionScore): Add an HTMLMediaElement parameter.
      * page/CaptionUserPreferences.h:
      
      * page/CaptionUserPreferencesMac.h:
      * page/CaptionUserPreferencesMac.mm:
      (WebCore::CaptionUserPreferencesMac::textTrackSelectionScore): Return a score if the media element
          is showing captions, even if the preference says captions are disabled.
      
      LayoutTests: 
      
      * media/track/track-in-band-legacy-api-expected.txt: Added.
      * media/track/track-in-band-legacy-api.html: Added.
      
      * platform/chromium/TestExpectations: Skip new test.
      * platform/efl/TestExpectations: Ditto.
      * platform/gtk/TestExpectations: Ditto.
      * platform/mac/TestExpectations: Ditto.
      * platform/qt/TestExpectations: Ditto.
      * platform/win/TestExpectations: Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92907e15
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 4510cc69
      zandobersek@gmail.com authored
      Addressing layout test failures that are specific to GTK-WK1 by moving the related expectations into the specific
      TestExpectations file or adjusting and moving the baselines into the GTK-WK1 baseline search path.
      
      * platform/gtk-wk1/TestExpectations:
      * platform/gtk-wk1/fast: Added.
      * platform/gtk-wk1/fast/media: Added.
      * platform/gtk-wk1/fast/media/mq-transform-02-expected.html: Copied from LayoutTests/platform/gtk/fast/media/mq-transform-02-expected.html.
      * platform/gtk-wk1/fast/media/mq-transform-03-expected.html: Copied from LayoutTests/platform/gtk/fast/media/mq-transform-03-expected.html.
      * platform/gtk-wk2/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/gtk/fast/dom/HTMLLinkElement/prefetch-expected.txt: Added.
      * platform/gtk/fast/dom/HTMLLinkElement/subresource-expected.txt: Added.
      * platform/gtk/fast/hidpi/clip-text-in-hidpi-expected.txt:
      * platform/gtk/fast/hidpi/image-set-background-dynamic-expected.txt:
      * platform/gtk/fast/hidpi/image-set-border-image-dynamic-expected.txt:
      * platform/gtk/fast/media/mq-transform-02-expected.html: Removed.
      * platform/gtk/fast/media/mq-transform-03-expected.html: Removed.
      * platform/gtk/fast/preloader: Added.
      * platform/gtk/fast/preloader/document-write-2-expected.txt: Added.
      * platform/gtk/fast/preloader/document-write-expected.txt: Added.
      * platform/gtk/fast/preloader/script-expected.txt: Added.
      * platform/gtk/http/tests/security/XFrameOptions: Removed.
      * platform/gtk/http/tests/security/XFrameOptions/x-frame-options-allowall-expected.txt: Removed.
      * platform/gtk/http/tests/security/XFrameOptions/x-frame-options-invalid-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146994 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4510cc69
  2. 26 Mar, 2013 1 commit
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 07cf63f5
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Adjusting expectation for inspector/debugger/live-edit-breakpoints.html after r146840.
      * platform/gtk/fast/text/international/khmer-selection-expected.txt: Rebaselining after r146778.
      * platform/gtk/http/tests/security/contentSecurityPolicy/1.1/securitypolicyviolation-basics-expected.txt: Rebaselining
      after r146763.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146857 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07cf63f5
  3. 25 Mar, 2013 1 commit
    • alecflett@chromium.org's avatar
      Support Quota API in Workers · b72a039b
      alecflett@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112972
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Tests: fast/workers/shared-worker-storagequota-query-usage.html
             fast/workers/worker-storagequota-query-usage.html
      
      * Modules/quota/WorkerNavigatorStorageQuota.cpp: Added.
      * Modules/quota/WorkerNavigatorStorageQuota.h: Added.
      * Modules/quota/WorkerNavigatorStorageQuota.idl: Added.
      * WebCore.gypi: Add entries for WorkerNavigatorStorageQuota.
      * page/WorkerNavigator.h: Add a Navigator supplement that extends the worker navigator.
      
      LayoutTests:
      
      * fast/workers/resources/shared-worker-common.js:
      (handleMessage): Allow port to be dynamically discovered from self.
      * fast/workers/resources/storagequota-query-usage.js: Added.
      (worker.onmessage):
      * fast/workers/resources/worker-storagequota-query-usage.js: Added.
      (requestUsage.errorCallback):
      (requestUsage.usageCallback):
      (requestUsage):
      * fast/workers/shared-worker-storagequota-query-usage-expected.txt: Added.
      * fast/workers/shared-worker-storagequota-query-usage.html: Added.
      * fast/workers/worker-storagequota-query-usage-expected.txt: Added.
      * fast/workers/worker-storagequota-query-usage.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b72a039b
  4. 22 Mar, 2013 2 commits
  5. 21 Mar, 2013 3 commits
  6. 20 Mar, 2013 1 commit
    • commit-queue@webkit.org's avatar
      [GTK] accessibility/aria-scrollbar-role.html is failing · 471dff5b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98358
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-03-20
      Reviewed by Martin Robinson.
      
      Source/WebCore:
      
      Adds support for checking an orientation attribute of accessibility object.
      AccessibilityObject that represents ScrollBar element should be ATK_VALUE type.
      ScrollBar element can be considered as a Range Widget that is able to expose some
      range values.
      
      Test: accessibility/aria-scrollbar-role.html
      
      * accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
      (setAtkStateSetFromCoreObject):
      (getInterfaceMaskFromObject):
      
      Tools:
      
      Adds support for checking accessibility object's orientation.
      Orientation is checked by retrieving proper state of accessibility object.
      
      * DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
      (checkElementState):
      (AccessibilityUIElement::orientation):
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
      (WTR::AccessibilityUIElement::orientation):
      
      LayoutTests:
      
      Fixed failing test.
      
      * platform/gtk/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      471dff5b
  7. 19 Mar, 2013 4 commits
    • ojan@chromium.org's avatar
      Rebaselines after r146272. · 5dba918f
      ojan@chromium.org authored
      * platform/chromium-mac-lion/css3/flexbox/flexbox-baseline-expected.png:
      * platform/chromium-mac-snowleopard/css3/flexbox/flexbox-baseline-expected.png:
      * platform/chromium-mac/css3/flexbox/flexbox-baseline-expected.png:
      * platform/chromium-mac/css3/flexbox/flexbox-baseline-expected.txt:
      * platform/chromium-win/css3/flexbox/flexbox-baseline-expected.png:
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5dba918f
    • ojan@chromium.org's avatar
      Make intrinsic size keywords on flexboxes work · 2087f498
      ojan@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112652
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Tests: fast/css-intrinsic-dimensions/intrinsic-sized-column-flex-items.html
             fast/css-intrinsic-dimensions/intrinsic-sized-flex-items.html
      
      * platform/Length.h:
      (WebCore::Length::isSpecifiedOrIntrinsic):
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::constrainLogicalWidthInRegionByMinMax):
      (WebCore::RenderBox::computeLogicalWidthInRegion):
      (WebCore::RenderBox::computeLogicalWidthInRegionUsing):
      Pass in the Length so that RenderFlexibleBox can call this method and avoid
      doing a bunch of code duplication.
      
      * rendering/RenderBox.h:
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::computeMainAxisExtentForChild):
      Instead of just calling valueForLength, call computeLogicalWidthInRegionUsing so that
      we properly resolve intrinsic Length types. Incidentally, this should also make viewport
      percentage units work.
      
      (WebCore::RenderFlexibleBox::adjustChildSizeForMinAndMax):
      Resolve intrinsic min/max Lengths. Also, instead of calling minPreferredLogicalWidth for the
      min-width: auto case, call computeMainAxisExtentForChild to correctly compute the min intrinsic size.
      
      LayoutTests:
      
      * fast/css-intrinsic-dimensions/intrinsic-sized-column-flex-items-expected.txt: Added.
      * fast/css-intrinsic-dimensions/intrinsic-sized-column-flex-items.html: Added.
      * fast/css-intrinsic-dimensions/intrinsic-sized-flex-items-expected.txt: Added.
      * fast/css-intrinsic-dimensions/intrinsic-sized-flex-items.html: Added.
      * platform/chromium-linux/css3/flexbox/flexbox-baseline-expected.png:
      * platform/chromium-win/css3/flexbox/flexbox-baseline-expected.txt:
      This looks like a rounding difference. The new result matches the non-column result
      in this same test, so it looks more correct to me.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2087f498
    • dino@apple.com's avatar
      Source/WebCore: Allow PlugIn Snapshotting to be tested · 0743e1e4
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98696
      
      Reviewed by Tim Horton.
      
      Expose a new setting maximumPlugInSnapshotAttempts that can
      be set by testing scripts.
      
      Tests: plugins/snapshotting/restart.html
             plugins/snapshotting/simple.html
      
      * page/Settings.in:
      
      Source/WebKit2: Allow PlugIn Snapshotting to be tested
      https://bugs.webkit.org/show_bug.cgi?id=98696
      
      Reviewed by Tim Horton.
      
      Use the new maximumPlugInSnapshotAttempts setting rather than a hardcoded
      value. At the same time, if this value is 0, then snapshot immediately
      (don't wait to get a snapshot and test it).
      
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::didInitializePlugin): Snapshot immediately if maximum attempts are 0.
      (WebKit::PluginView::pluginSnapshotTimerFired): Use setting rather than file local variable.
      
      LayoutTests: Allow PlugIn Snapshotting to be tested
      https://bugs.webkit.org/show_bug.cgi?id=98696
      <rdar://problem/12456731>
      
      Reviewed by Tim Horton.
      
      Two new simple tests for plugin snapshotting. One that makes
      sure the plugin was snapshotted (looks for the RenderSnapshottedPlugin)
      and one that restarts a snapshotted plugin by clicking.
      
      Since this feature is currently only enabled in WebKit2, the tests
      are skipped everywhere else.
      
      * platform/chromium/TestExpectations: Skip plugins/snapshotting.
      * platform/efl/TestExpectations: Ditto.
      * platform/gtk/TestExpectations: Ditto.
      * platform/mac-wk2/TestExpectations: Ditto.
      * platform/mac-wk2/plugins/snapshotting/restart-expected.txt: Added.
      * platform/mac-wk2/plugins/snapshotting/simple-expected.txt: Added.
      * platform/mac/TestExpectations: Skip plugins/snapshotting.
      * platform/qt/TestExpectations: Ditto.
      * platform/win/TestExpectations: Ditto.
      * plugins/snapshotting/restart.html: Added.
      * plugins/snapshotting/simple.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0743e1e4
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening, · 0e73ce06
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Adding failure expectation for fast/dom/icon-url-property.html after r146173.
      * platform/gtk/http/tests/security/contentSecurityPolicy/source-list-parsing-10-expected.txt: Rebaselining after r146141.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e73ce06
  8. 18 Mar, 2013 1 commit
  9. 17 Mar, 2013 2 commits
    • abarth@webkit.org's avatar
      Legacy CSS vendor prefixes should only work for Dashboard · 72f1b413
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111890
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      Our experience with the Chromium port is that these legacy CSS vendor
      prefixes (-apple- and -khtml-) are not needed for web compatibility.
      There is reason to believe, however, that they are needed for
      compatibility with Mac OS X Dashboard widgets.
      
      This patch makes the code for these legacy CSS vendor prefixes
      enabled at runtime and only enables them when running in Dashboard
      compatibility mode. This is the first step towards the plan outlined in
      https://lists.webkit.org/pipermail/webkit-dev/2013-March/024085.html.
      
      This patch also removes support for ENABLE(LEGACY_CSS_VENDOR_PREFIXES)
      from the V8 bindings because V8 is never used with Dashboard.
      
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      (WebCore::RuntimeEnabledFeatures::setLegacyCSSVendorPrefixesEnabled):
      (WebCore::RuntimeEnabledFeatures::legacyCSSVendorPrefixesEnabled):
      * bindings/js/JSCSSStyleDeclarationCustom.cpp:
      (WebCore::getCSSPropertyNamePrefix):
      (WebCore::cssPropertyIDForJSCSSPropertyName):
      * bindings/v8/custom/V8CSSStyleDeclarationCustom.cpp:
      (WebCore::cssPropertyInfo):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::rewriteSpecifiers):
      
      Source/WebKit/mac:
      
      Enable legacy CSS vendor prefixes when we've been asked to turn on
      Dashboard compatibility mode.
      
      * WebView/WebView.mm:
      (-[WebView _setDashboardBehavior:to:]):
      
      LayoutTests:
      
      * inspector/styles/vendor-prefixes-expected.txt:
          - Update results to show our new behavior now that -apple- and
            -khtml- are not supported.
      * platform/mac/TestExpectations:
          - Skip a test that is testing that we support -apple- prefixes.
      * platform/mac/fast/css/dashboard-region-parser.html:
          - Update test to use -webkit- rather than -apple-.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72f1b413
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · ef748fe5
      zandobersek@gmail.com authored
      Adding failure expectations for the two reftests added in r145982, failing due to disabled subpixel layout.
      Triaging/enhancing failure expectations for spellcheck tests after r145940.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef748fe5
  10. 15 Mar, 2013 2 commits
  11. 14 Mar, 2013 2 commits
    • eric@webkit.org's avatar
      Threaded HTML Parser should limit speculation to avoid using too much memory · bcf72510
      eric@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112069
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      This is a speculative fix for memory issues seen in:
      https://code.google.com/p/chromium/issues/detail?id=180819
      
      This also fixed https://bugs.webkit.org/show_bug.cgi?id=110546
      as a side-effect of simplifying the m_currentChunk handling.
      
      We now tell the background html parser every time we start
      a chunk on the main thread (instead of end), which greatly
      simplified the checkpoint cleanup code from:
      https://trac.webkit.org/changeset/145277
      
      The cost for this is now we have more messages going to the
      background thread (and postTask acquires a lock to write to the
      message queue).  Chromium has more advanced (lock-less) primatives
      for message posting, which we'll hopefully add to WebKit in
      furture patches.
      
      The outstanding chunks limit has not been tuned.  But it makes sense that
      we should not keeping infinite speculative tokens around for
      large documents with slow-to-load scripts.
      
      * html/parser/BackgroundHTMLInputStream.cpp:
      (WebCore::BackgroundHTMLInputStream::BackgroundHTMLInputStream):
      (WebCore::BackgroundHTMLInputStream::invalidateCheckpointsBefore):
      (WebCore):
      (WebCore::BackgroundHTMLInputStream::rewindTo):
      * html/parser/BackgroundHTMLInputStream.h:
      (BackgroundHTMLInputStream):
      (WebCore::BackgroundHTMLInputStream::outstandingCheckpointCount):
      (Checkpoint):
      (WebCore::BackgroundHTMLInputStream::Checkpoint::isNull):
      (WebCore::BackgroundHTMLInputStream::Checkpoint::clear):
      * html/parser/BackgroundHTMLParser.cpp:
      (WebCore):
      (WebCore::BackgroundHTMLParser::startedChunkWithCheckpoint):
      (WebCore::BackgroundHTMLParser::pumpTokenizer):
      * html/parser/BackgroundHTMLParser.h:
      (BackgroundHTMLParser):
      * html/parser/HTMLDocumentParser.cpp:
      (WebCore::HTMLDocumentParser::validateSpeculations):
      (WebCore::HTMLDocumentParser::discardSpeculationsAndResumeFrom):
      (WebCore::HTMLDocumentParser::processParsedChunkFromBackgroundParser):
      (WebCore::HTMLDocumentParser::pumpPendingSpeculations):
      (WebCore::HTMLDocumentParser::resumeParsingAfterScriptExecution):
      * html/parser/HTMLDocumentParser.h:
      (HTMLDocumentParser):
      
      LayoutTests:
      
      Test that this fixes https://bugs.webkit.org/show_bug.cgi?id=110546 for the threaded parser.
      Ports using the main-thread parser are expected to fail (ASSERT in Debug).
      
      * fast/parser/document-write-partial-entity-before-load-expected.txt: Added.
      * fast/parser/document-write-partial-entity-before-load.html: Added.
      * fast/parser/external-script-document-write-expected.txt: Added.
      * fast/parser/external-script-document-write.html: Added.
      * fast/parser/resources/external-script-document-write.js: Added.
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcf72510
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. Adding a couple of failure expectations for flaky · 7d97c83f
      zandobersek@gmail.com authored
      tests on the debug builder.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d97c83f
  12. 13 Mar, 2013 2 commits
    • kinuko@chromium.org's avatar
      Quota API: Update IDL to make it match the latest WD · 5c3424aa
      kinuko@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=88396
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Add a new interface object (navigator.StorageQuota) and deprecate the old one (window.StorageInfo)
      to make the code match with the latest Quota API WD:
      http://www.w3.org/TR/quota-api/
      
      Tests: storage/storagequota-query-usage.html
             storage/storagequota-request-quota.html
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.list.am:
      * Modules/quota/DOMWindowQuota.cpp:
      (WebCore::DOMWindowQuota::webkitStorageInfo): Added a deprecate warning message for the old interface.
      * Modules/quota/NavigatorStorageQuota.cpp: Added for the new interface.
      * Modules/quota/NavigatorStorageQuota.h: Added for the new interface.
      * Modules/quota/NavigatorStorageQuota.idl: Added for the new interface.
      * Modules/quota/StorageErrorCallback.cpp:
      (WebCore::StorageErrorCallback::CallbackTask::CallbackTask):
      (WebCore::StorageErrorCallback::CallbackTask::performTask):
      * Modules/quota/StorageErrorCallback.h: Renamed from Source/WebCore/Modules/quota/StorageInfoErrorCallback.h.
      (WebCore):
      (StorageErrorCallback):
      (WebCore::StorageErrorCallback::~StorageErrorCallback):
      (WebCore::StorageErrorCallback::CallbackTask::create):
      * Modules/quota/StorageErrorCallback.idl: Renamed from Source/WebCore/Modules/quota/StorageInfoErrorCallback.idl.
      * Modules/quota/StorageInfo.cpp: Added code to relay requests to the new StorageQuota implementation.
      * Modules/quota/StorageInfo.h:
      * Modules/quota/StorageInfo.idl:
      * Modules/quota/StorageQuota.cpp: Added for the new interface.
      * Modules/quota/StorageQuota.h:
      (WebCore::StorageQuota::create):
      * Modules/quota/StorageQuota.idl: Copied from Source/WebCore/Modules/quota/StorageInfo.idl.
      * Modules/quota/StorageQuotaCallback.h: Renamed from Source/WebCore/Modules/quota/StorageInfoQuotaCallback.h.
      * Modules/quota/StorageQuotaCallback.idl: Renamed from Source/WebCore/Modules/quota/StorageInfoQuotaCallback.idl.
      * Modules/quota/StorageUsageCallback.h: Renamed from Source/WebCore/Modules/quota/StorageInfoUsageCallback.h.
      * Modules/quota/StorageUsageCallback.idl: Renamed from Source/WebCore/Modules/quota/StorageInfoUsageCallback.idl.
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * page/FeatureObserver.h:
      
      Source/WebKit/chromium:
      
      Add a new interface object (navigator.StorageQuota) and deprecate the old one (window.StorageInfo)
      to make the code match with the latest Quota API WD:
      http://www.w3.org/TR/quota-api/
      
      * WebKit.gyp:
      * src/AssertMatchingEnums.cpp:
      * src/StorageQuotaChromium.cpp: Renamed from Source/WebKit/chromium/src/StorageInfoChromium.cpp.
      (WebCore):
      (WebCore::StorageQuota::queryUsageAndQuota):
      (WebCore::StorageQuota::requestQuota):
      * src/WebStorageQuotaCallbacksImpl.cpp:
      (WebKit::WebStorageQuotaCallbacksImpl::WebStorageQuotaCallbacksImpl):
      * src/WebStorageQuotaCallbacksImpl.h:
      (WebCore):
      (WebStorageQuotaCallbacksImpl):
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      * storage/storagequota-query-usage-expected.txt: Added.
      * storage/storagequota-query-usage.html: Added.
      * storage/storagequota-request-quota-expected.txt: Added.
      * storage/storagequota-request-quota.html: Added.
      
      Rebaselines:
      * platform/chromium/fast/dom/everything-to-string-expected.txt: Added.
      * platform/chromium/fast/dom/navigator-detached-no-crash-expected.txt:
      * platform/chromium/fast/js/global-constructors-expected.txt:
      * platform/chromium/http/tests/security/isolatedWorld/all-window-properties-expected.txt: Added.
      * platform/chromium/http/tests/security/isolatedWorld/all-window-prototypes-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c3424aa
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 331b181c
      zandobersek@gmail.com authored
      Adding expectations for a couple of flaky crashers on the debug builder.
      Adding flaky failure expectations for a couple of SVG animations tests.
      Adding failure expectation for the SVG test introduced in 145541, failing due to disabled subpixel layout.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      331b181c
  13. 12 Mar, 2013 2 commits
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 3fe1ed6f
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Adding failure expectations for two crashers and a flaky test.
      * platform/gtk/fast/js/global-constructors-expected.txt: Rebaselining after r145526.
      * platform/gtk/http/tests/security/xssAuditor: Added. Adding baselines for tests introduced in r145503.
      * platform/gtk/http/tests/security/xssAuditor/xss-filter-bypass-big5-expected.txt: Added.
      * platform/gtk/http/tests/security/xssAuditor/xss-filter-bypass-sjis-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3fe1ed6f
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · d4374d0a
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Adding failure expectations for tests introduced in r145397 and r145474.
      * platform/gtk/fast/js/global-constructors-expected.txt: Rebaselining after r145400.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145497 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4374d0a
  14. 11 Mar, 2013 1 commit
  15. 08 Mar, 2013 1 commit
  16. 06 Mar, 2013 4 commits
    • jer.noble@apple.com's avatar
      Default mouse cursor behavior should be auto-hide for full screen video with custom controls · e0173750
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=107601
      
      Reviewed by Beth Dakin.
      
      Source/WebCore:
      
      Test: fullscreen/video-cursor-auto-hide.html
      
      To facilitate automatically hiding the mouse cursor after a certain amount of idle mouse
      time, add a new CSS property '-webkit-cursor-visibility', and handle that value inside of
      EventHandler. When that value is present, the EventHandler will start a timer which, when
      fired, will set the view's cursor to the None cursor. Subsequent mouse moves will either
      cancel the timer, or reset the auto-hide timer.
      
      Add a new CSS property, '-webkit-cursor-visibility':
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      (WebCore::CSSPrimitiveValue::operator ECursorVisibility):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in:
      * css/CSSValueKeywords.in:
      * css/StyleBuilder.cpp:
      (WebCore::StyleBuilder::StyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::applyProperty):
      
      Add a rule for video descendants of full screen elements to auto-hide the cursor on hover:
      * css/fullscreen.css:
      (:-webkit-full-screen video:hover):
      
      Add a new timer, m_autoHideCursorTimer, to control resetting the view's cursor to None after
      enough mouse idle time has passed.
      * page/EventHandler.cpp:
      (WebCore::EventHandler::EventHandler):
      (WebCore::EventHandler::~EventHandler):
      (WebCore::EventHandler::clear):
      (WebCore::EventHandler::selectCursor):
      (WebCore::EventHandler::startAutoHideCursorTimer):
      (WebCore::EventHandler::cancelAutoHideCursorTimer):
      (WebCore::EventHandler::autoHideCursorTimerFired):
      * page/EventHandler.h:
      
      Make FrameView::isActive() a public function (like it is in its superclass).
      * page/FrameView.h:
      (FrameView):
      
      Move the definition for timeWithoutMouseMovementBeforeHidingControls from page->theme()
      to page->settings() and allow that setting to be overridden in InternalSettings for
      testing purposes:
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      * page/Settings.h:
      (WebCore::Settings::setTimeWithoutMouseMovementBeforeHidingControls):
      (WebCore::Settings::timeWithoutMouseMovementBeforeHidingControls):
      * rendering/RenderTheme.h:
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      (WebCore::InternalSettings::setTimeWithoutMouseMovementBeforeHidingControls):
      * testing/InternalSettings.h:
      (InternalSettings):
      * testing/InternalSettings.idl:
      * html/shadow/MediaControls.cpp:
      (WebCore::MediaControls::startHideFullscreenControlsTimer):
      
      Add support to FeatureObserver for CURSOR_VISIBILITY:
      * page/FeatureObserver.h:
      
      Enable the feature flag:
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * WebKit.vcxproj/FeatureDefines.props:
      
      Source/WebKit/mac:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      Enable the CURSOR_VISIBILITY feature.
      
      * wtf/FeatureDefines.h:
      
      LayoutTests:
      
      * fullscreen/video-cursor-auto-hide-expected.txt: Added.
      * fullscreen/video-cursor-auto-hide.html: Added.
      
      Add an expected failing result in platforms which do not enable CURSOR_VISIBILITY.
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0173750
    • tony@chromium.org's avatar
      fast/css/hover-update.html is flaky · 63055e9d
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111592
      
      Reviewed by Ryosuke Niwa.
      
      Speculative fix for a flaky test. The test sometimes fails on slower machines (mostly debug).
      Re-check the results in a loop for up to 200ms to see if the :hover pseudo style applies.
      
      Also force a layout after changing the style, which should also trigger the :hover style.
      
      * fast/css/hover-update.html:
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63055e9d
    • zandobersek@gmail.com's avatar
      Unreviewed gardening. · 7727e791
      zandobersek@gmail.com authored
      * platform/efl/TestExpectations: Adjusting the expectation for fast/workers/shared-worker-load-error.html.
      * platform/gtk/TestExpectations: Add an expectation for a test added in r144824.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144933 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7727e791
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 179587ae
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Adding a failure expectation for a test added in r144877.
      * platform/gtk/fast/invalid/017-expected.txt: Rebaselining after r144837.
      * platform/gtk/fast/invalid/018-expected.txt: Ditto.
      * platform/gtk/tables/mozilla/bugs/bug113235-2-expected.txt: Added. Ditto.
      * platform/gtk/tables/mozilla/bugs/bug9024-expected.txt: Added. Ditto.
      * platform/gtk/tables/mozilla_expected_failures/bugs/bug3517-expected.txt: Added. Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      179587ae
  17. 05 Mar, 2013 1 commit
    • zandobersek@gmail.com's avatar
      Unreviewed gardening. · fac9f05b
      zandobersek@gmail.com authored
      * platform/efl/TestExpectations: Unskipping the fast/workers/shared-worker-load-error.html layout test
      and adding a flaky timeout expectation for it. Looking for testing data from the EFL port on this test.
      * platform/gtk-wk1/TestExpectations: Removed an expectation for a test that was removed in r144624.
      * platform/gtk/TestExpectations: Adding failure expectations for tests introduced in r144714 and r144747.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fac9f05b
  18. 04 Mar, 2013 1 commit
  19. 03 Mar, 2013 1 commit
    • zandobersek@gmail.com's avatar
      REGRESSION (r144517): IndexedDB layout test failures on GTK · ac2296cb
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=111243
      
      Reviewed by Martin Robinson.
      
      Source/WebCore: 
      
      Changes to the custom JSC bindings for IDBAny are required after r144517,
      specifically the case of IDBAny object having the KeyPathType type has to be covered.
      These changes are analogous to those made to the V8 bindings in the mentioned commit.
      
      No new tests - already covered by existing tests.
      
      * bindings/js/JSIDBAnyCustom.cpp:
      (WebCore::toJS): A helper function that wraps an IDBKeyPath into a JSValue.
      (WebCore): Shuffle the order inside the switch statement a bit to match the V8 custom bindings.
      Cover the case where the IDBAny object has the KeyPathType, calling the new helper method.
      
      LayoutTests: 
      
      * platform/gtk/TestExpectations: Removing failure expectations for IDB tests that again pass.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac2296cb
  20. 02 Mar, 2013 1 commit
  21. 28 Feb, 2013 2 commits
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · c0ca8688
      zandobersek@gmail.com authored
      Generating missing baselines for an octet of media tests and removing related expectations.
      
      * platform/gtk/TestExpectations: Also removing expectation for
      fast/multicol/newmulticol/column-rules-fixed-height.html, the test is now passing.
      * platform/gtk/media/audio-controls-rendering-expected.png: Added.
      * platform/gtk/media/audio-controls-rendering-expected.txt: Added.
      * platform/gtk/media/controls-after-reload-expected.png: Added.
      * platform/gtk/media/controls-after-reload-expected.txt:
      * platform/gtk/media/controls-strict-expected.png: Added.
      * platform/gtk/media/controls-strict-expected.txt:
      * platform/gtk/media/controls-styling-strict-expected.txt:
      * platform/gtk/media/controls-without-preload-expected.png: Added.
      * platform/gtk/media/controls-without-preload-expected.txt:
      * platform/gtk/media/video-controls-rendering-expected.png:
      * platform/gtk/media/video-controls-rendering-expected.txt:
      * platform/gtk/media/video-display-toggle-expected.png: Added.
      * platform/gtk/media/video-display-toggle-expected.txt:
      * platform/gtk/media/video-playing-and-pause-expected.png: Added.
      * platform/gtk/media/video-playing-and-pause-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0ca8688
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · d723ef87
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Adding failure expectations for tests added in r144236 and r144258.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d723ef87
  22. 27 Feb, 2013 3 commits
    • simonjam@chromium.org's avatar
      [chromium] Lower priority of preloaded images · 46617ac1
      simonjam@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=110527
      
      Source/WebCore:
      
      Reviewed by Nate Chapin.
      
      This improves Speed Index by ~5%, because it encourages us to load images that are needed for
      painting over speculative preloads. Ideally, all embedders would use this, but it relies on
      ResourceHandle::didChangePriority being implemented. Currently, only Chrome does that.
      
      Test: http/tests/loading/promote-img-preload-priority.html
      
      * loader/FrameLoaderClient.h:
      (FrameLoaderClient):
      (WebCore::FrameLoaderClient::dispatchDidChangeResourcePriority): Added callback to enable testing.
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::setLoadPriority): Signal callback.
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::preload): Actual behavior change.
      
      Source/WebKit/chromium:
      
      Plumb the didChangePriority signal into DRT so it can be tested.
      
      Reviewed by Nate Chapin.
      
      * public/WebFrameClient.h:
      (WebKit):
      (WebKit::WebFrameClient::didChangeResourcePriority):
      (WebFrameClient):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit::FrameLoaderClientImpl::dispatchDidChangeResourcePriority):
      (WebKit):
      * src/FrameLoaderClientImpl.h:
      (FrameLoaderClientImpl):
      
      Tools:
      
      Plumb the didChangePriority signal into DRT so it can be tested.
      
      Reviewed by Nate Chapin.
      
      * DumpRenderTree/chromium/TestRunner/public/WebTestProxy.h:
      (WebKit):
      (WebTestRunner::WebTestProxy::didChangeResourcePriority):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.cpp:
      (WebTestRunner::TestRunner::TestRunner):
      (WebTestRunner::TestRunner::reset):
      (WebTestRunner::TestRunner::shouldDumpResourcePriorities):
      (WebTestRunner):
      (WebTestRunner::TestRunner::dumpResourceRequestPriorities):
      * DumpRenderTree/chromium/TestRunner/src/TestRunner.h:
      (TestRunner):
      * DumpRenderTree/chromium/TestRunner/src/WebTestProxy.cpp:
      (WebTestRunner::WebTestProxyBase::assignIdentifierToRequest):
      (WebTestRunner::WebTestProxyBase::willSendRequest):
      (WebTestRunner::WebTestProxyBase::didChangeResourcePriority):
      (WebTestRunner):
      
      LayoutTests:
      
      Reviewed by Nate Chapin.
      
      * http/tests/loading/promote-img-preload-priority-expected.txt: Added.
      * http/tests/loading/promote-img-preload-priority.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46617ac1
    • abucur@adobe.com's avatar
      REGRESSION(r124739): fast/lists/list-marker-remove-crash.html hits an assertion in MoveParagraphs · 0f049e01
      abucur@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=93247
      
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      The listifyParagraph function inside InsertListCommand triggered a layout for the new list and updated
      only the "start" Position. The insertion and layout may have changed the "end" Position as well. The patch
      makes sure "end" is also recomputed.
      
      Test: No new test, the patch fixes a regression.
      
      * editing/InsertListCommand.cpp:
      (WebCore::InsertListCommand::listifyParagraph):
      
      LayoutTests:
      
      Update TestExpectations because the test doesn't crash any more.
      
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt-4.8/TestExpectations:
      * platform/qt-mac/TestExpectations:
      * platform/qt/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144213 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f049e01
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 2f8c60ee
      zandobersek@gmail.com authored
      * platform/gtk/TestExpectations: Template element support is already enabled in
      development builds. Removing skip entries for related tests as they all pass.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f8c60ee