1. 09 Nov, 2012 40 commits
    • fpizlo@apple.com's avatar
      Fix indentation of BatchedTransitionOptimizer.h · c055027f
      fpizlo@apple.com authored
      Rubber stamped by Mark Hahnenberg.
      
      * runtime/BatchedTransitionOptimizer.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c055027f
    • enne@google.com's avatar
      [chromium] Rebaselining software compositor tests. · 955bc47e
      enne@google.com authored
      Patch by Slavomir Kaslev <skaslev@google.com> on 2012-11-09
      Patch by Slavomir Kaslev <skaslev@google.com> on 2012-11-09
      Reviewed by Adrienne Walker.
      
      * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/masks/masked-ancestor-expected.png: Added.
      * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-animated-expected.png: Added.
      * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-opacity-expected.png: Added.
      * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/color-matching/image-color-matching-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/direct-image-compositing-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/flat-with-transformed-child-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/geometry/clipping-foreground-expected.png: Renamed from LayoutTests/platform/chromium-android/platform/chromium/virtual/softwarecompositing/geometry/clipping-foreground-expected.png.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/geometry/vertical-scroll-composited-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/masks/direct-image-mask-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/masks/masked-ancestor-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/masks/multiple-masks-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/masks/simple-composited-mask-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-anchor-point-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-animated-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-mask-change-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-opacity-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-transition-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/reflection-in-composited-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/reflections/transform-inside-reflection-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/chromium-linux/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/color-matching/image-color-matching-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/direct-image-compositing-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/geometry/clipping-foreground-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/images/direct-image-background-color-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/masks/direct-image-mask-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/masks/masked-ancestor-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/masks/multiple-masks-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/masks/simple-composited-mask-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-anchor-point-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-animated-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-mask-change-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-opacity-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-transition-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/reflection-in-composited-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/reflections/transform-inside-reflection-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/color-matching/image-color-matching-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/direct-image-compositing-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/geometry/clipping-foreground-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/images/direct-image-background-color-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/masks/direct-image-mask-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/masks/masked-ancestor-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/masks/multiple-masks-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/masks/simple-composited-mask-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-anchor-point-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-animated-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-mask-change-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-opacity-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-transition-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/reflection-in-composited-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/reflections/transform-inside-reflection-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/chromium-mac-snowleopard/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/color-matching/image-color-matching-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/direct-image-compositing-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/flat-with-transformed-child-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/geometry/clipping-foreground-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/geometry/vertical-scroll-composited-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/images/direct-image-background-color-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/masks/direct-image-mask-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/masks/masked-ancestor-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/masks/multiple-masks-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/masks/simple-composited-mask-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-anchor-point-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-animated-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-mask-change-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-opacity-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-transition-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/reflection-in-composited-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/reflections/transform-inside-reflection-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/scaling/tiled-layer-recursion-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/scrollbar-painting-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png: Added.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/visibility/visibility-image-layers-expected.png: Added.
      * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/masks/masked-ancestor-expected.png: Added.
      * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-animated-expected.png: Added.
      * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-opacity-expected.png: Added.
      * platform/chromium-win-xp/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/color-matching/image-color-matching-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/direct-image-compositing-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/flat-with-transformed-child-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/geometry/bounds-ignores-hidden-dynamic-negzindex-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/geometry/layer-due-to-layer-children-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/geometry/vertical-scroll-composited-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/masks/direct-image-mask-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/masks/masked-ancestor-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/masks/multiple-masks-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/masks/simple-composited-mask-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/animation-inside-reflection-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-anchor-point-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-animated-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-opacity-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/nested-reflection-transition-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/reflection-in-composited-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/reflections/transform-inside-reflection-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/scaling/tiled-layer-recursion-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/transitions/scale-transition-no-start-expected.png: Added.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/visibility/visibility-image-layers-expected.png: Added.
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134112 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      955bc47e
    • danakj@chromium.org's avatar
      [chromium] Define WEBKIT_IMPLEMENTATION everywhere inside WebCore · 8f126427
      danakj@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101795
      
      Reviewed by James Robinson.
      
      * WebCore.gyp/WebCore.gyp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134111 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f126427
    • jsbell@chromium.org's avatar
      [Chromium] Unreviewed gardening, failing new hidpi tests in r134099/r134100 · c362e100
      jsbell@chromium.org authored
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134110 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c362e100
    • dpranke@chromium.org's avatar
      Unreviewed, last few chromium-mac-mountainlion expectations cleaned up. · 50d4bdda
      dpranke@chromium.org authored
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50d4bdda
    • jsbell@chromium.org's avatar
      Unreviewed, rolling out r134101. · a55cc05d
      jsbell@chromium.org authored
      http://trac.webkit.org/changeset/134101
      https://bugs.webkit.org/show_bug.cgi?id=101790
      
      IDBDatabaseBackendTest.BackingStoreRetention failing
      (Requested by jsbell|gardener on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-11-09
      
      Source/WebCore:
      
      * GNUmakefile.list.am:
      * Modules/indexeddb/IDBBackingStore.cpp:
      (WebCore::IDBLevelDBBackingStore::IDBLevelDBBackingStore):
      (WebCore::IDBLevelDBBackingStore::~IDBLevelDBBackingStore):
      (WebCore::IDBLevelDBBackingStore::open):
      (WebCore::IDBLevelDBBackingStore::getDatabaseNames):
      (WebCore::IDBLevelDBBackingStore::getIDBDatabaseMetaData):
      (WebCore::IDBLevelDBBackingStore::createIDBDatabaseMetaData):
      (WebCore::IDBLevelDBBackingStore::updateIDBDatabaseIntVersion):
      (WebCore::IDBLevelDBBackingStore::updateIDBDatabaseMetaData):
      (WebCore::IDBLevelDBBackingStore::deleteDatabase):
      (WebCore::IDBLevelDBBackingStore::getObjectStores):
      (WebCore::IDBLevelDBBackingStore::createObjectStore):
      (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
      (WebCore::IDBLevelDBBackingStore::getRecord):
      (WebCore):
      (WebCore::IDBLevelDBBackingStore::putRecord):
      (WebCore::IDBLevelDBBackingStore::clearObjectStore):
      (WebCore::IDBLevelDBBackingStore::createInvalidRecordIdentifier):
      (WebCore::IDBLevelDBBackingStore::deleteRecord):
      (WebCore::IDBLevelDBBackingStore::getKeyGeneratorCurrentNumber):
      (WebCore::IDBLevelDBBackingStore::maybeUpdateKeyGeneratorCurrentNumber):
      (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
      (WebCore::IDBLevelDBBackingStore::getIndexes):
      (WebCore::IDBLevelDBBackingStore::createIndex):
      (WebCore::IDBLevelDBBackingStore::deleteIndex):
      (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
      (WebCore::IDBLevelDBBackingStore::deleteIndexDataForRecord):
      (WebCore::IDBLevelDBBackingStore::findKeyInIndex):
      (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
      (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
      (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
      (WebCore::IDBLevelDBBackingStore::openObjectStoreKeyCursor):
      (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
      (WebCore::IDBLevelDBBackingStore::openIndexCursor):
      (WebCore::IDBLevelDBBackingStore::createTransaction):
      (WebCore::IDBLevelDBBackingStore::Transaction::create):
      (WebCore::IDBLevelDBBackingStore::Transaction::Transaction):
      (WebCore::IDBLevelDBBackingStore::Transaction::begin):
      (WebCore::IDBLevelDBBackingStore::Transaction::commit):
      (WebCore::IDBLevelDBBackingStore::Transaction::rollback):
      (WebCore::IDBLevelDBBackingStore::backingStoreExists):
      * Modules/indexeddb/IDBBackingStore.h:
      (WebCore):
      (WebCore::IDBBackingStore::~IDBBackingStore):
      (IDBBackingStore):
      (RecordIdentifier):
      (WebCore::IDBBackingStore::Cursor::~Cursor):
      (WebCore::IDBBackingStore::Transaction::~Transaction):
      (Transaction):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      * Modules/indexeddb/IDBLevelDBBackingStore.h: Copied from Source/WebCore/Modules/indexeddb/IDBBackingStore.h.
      (WebCore):
      (IDBLevelDBBackingStore):
      (Transaction):
      (WebCore::IDBLevelDBBackingStore::Transaction::levelDBTransactionFrom):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::setIndexKeys):
      (WebCore::IDBObjectStoreBackendImpl::putInternal):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransactionBackendImpl.cpp:
      (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl):
      (WebCore::IDBTransactionBackendImpl::abort):
      (WebCore::IDBTransactionBackendImpl::commit):
      (WebCore::IDBTransactionBackendImpl::taskTimerFired):
      * Modules/indexeddb/IDBTransactionBackendImpl.h:
      (WebCore::IDBTransactionBackendImpl::backingStoreTransaction):
      * WebCore.xcodeproj/project.pbxproj:
      
      Source/WebKit/chromium:
      
      * tests/IDBFakeBackingStore.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a55cc05d
    • dpranke@chromium.org's avatar
      Unreviewed, baselines change - remove stray baselines for reftests. · f4fbb782
      dpranke@chromium.org authored
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/text-on-scaled-layer-expected.png: Removed.
      * platform/chromium-mac/platform/chromium/virtual/softwarecompositing/text-on-scaled-surface-expected.png: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4fbb782
    • arv@chromium.org's avatar
      REGRESSION (r125239): classList contains() doesn't work after element was... · 290e61a4
      arv@chromium.org authored
      REGRESSION (r125239): classList contains() doesn't work after element was moved from strict mode document to quirks mode document
      https://bugs.webkit.org/show_bug.cgi?id=101627
      
      Reviewed by Alexey Proskuryakov.
      
      We used to only create m_classNamesForQuirksMode in the constructor or when the class attribute
      was changed. If an element is moved from a standards document to a quirks mode document the
      m_classNamesForQuirksMode would not be up to date which lead to wrong results.
      
      Now we alway check if m_classNamesForQuirksMode is up to date (in quirks mode only).
      
      Source/WebCore:
      
      Test: fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.html
      
      * html/ClassList.cpp:
      (WebCore::ClassList::classNames): Create the m_classNamesForQuirksMode lazily as needed so that
                                        it is up to date.
      * html/ClassList.h:
      
      LayoutTests:
      
      * fast/dom/Element/class-list-move-between-document-with-different-quirks-mode-expected.txt: Added.
      * fast/dom/Element/class-list-move-between-document-with-different-quirks-mode.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      290e61a4
    • alecflett@chromium.org's avatar
      IndexedDB: Combine IDBBackingStore and IDBLevelDBBackingStore · 88e10a75
      alecflett@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101415
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Combine abstract interface IDBBackingStore with its only
      implementation, IDBLevelDBBackingStore, to reduce code
      complexity. The legacy structure existed to support a SQLLite
      IDBBackingStore, but it is no longer worth the complexity to
      support this abstraction.
      
      Changes include:
      1) Merging IDBLevelDBBackingStore into IDBBackingStore.
      
      2) Merge together IDBBackingStore's inner classes: Cursor,
      Transaction, and ObjectStoreRecordIdentfier with their respective
      subclasses in IDBLevelDBBackingStore.
      
      3) Simplifying the inner Transaction class to not be refcounted or
      virtualized, to allow it to be a simple concrete member of its
      owner, IDBTransactionBackendImpl.
      
      No new tests as this is purely a refactor.
      
      * Modules/indexeddb/IDBBackingStore.cpp:
      (WebCore::recordInternalError):
      (WebCore::setUpMetadata):
      (WebCore::IDBBackingStore::IDBBackingStore):
      (WebCore):
      (WebCore::IDBBackingStore::~IDBBackingStore):
      (WebCore::IDBBackingStore::open):
      (WebCore::IDBBackingStore::getDatabaseNames):
      (WebCore::IDBBackingStore::getIDBDatabaseMetaData):
      (WebCore::IDBBackingStore::createIDBDatabaseMetaData):
      (WebCore::IDBBackingStore::updateIDBDatabaseIntVersion):
      (WebCore::IDBBackingStore::updateIDBDatabaseMetaData):
      (WebCore::deleteRange):
      (WebCore::IDBBackingStore::deleteDatabase):
      (WebCore::IDBBackingStore::getObjectStores):
      (WebCore::setMaxObjectStoreId):
      (WebCore::IDBBackingStore::createObjectStore):
      (WebCore::IDBBackingStore::deleteObjectStore):
      (WebCore::IDBBackingStore::getRecord):
      (WebCore::IDBBackingStore::putRecord):
      (WebCore::IDBBackingStore::clearObjectStore):
      (WebCore::IDBBackingStore::deleteRecord):
      (WebCore::IDBBackingStore::getKeyGeneratorCurrentNumber):
      (WebCore::IDBBackingStore::maybeUpdateKeyGeneratorCurrentNumber):
      (WebCore::IDBBackingStore::keyExistsInObjectStore):
      (WebCore::IDBBackingStore::getIndexes):
      (WebCore::setMaxIndexId):
      (WebCore::IDBBackingStore::createIndex):
      (WebCore::IDBBackingStore::deleteIndex):
      (WebCore::IDBBackingStore::putIndexDataForRecord):
      (WebCore::IDBBackingStore::deleteIndexDataForRecord):
      (WebCore::IDBBackingStore::findKeyInIndex):
      (WebCore::IDBBackingStore::getPrimaryKeyViaIndex):
      (WebCore::IDBBackingStore::keyExistsInIndex):
      (WebCore::IDBBackingStore::Cursor::Cursor):
      (WebCore::IDBBackingStore::Cursor::firstSeek):
      (WebCore::IDBBackingStore::Cursor::advance):
      (WebCore::IDBBackingStore::Cursor::continueFunction):
      (WebCore::IDBBackingStore::Cursor::haveEnteredRange):
      (WebCore::IDBBackingStore::Cursor::isPastBounds):
      (WebCore::ObjectStoreKeyCursorImpl::create):
      (ObjectStoreKeyCursorImpl):
      (WebCore::ObjectStoreKeyCursorImpl::value):
      (WebCore::ObjectStoreKeyCursorImpl::ObjectStoreKeyCursorImpl):
      (WebCore::ObjectStoreKeyCursorImpl::loadCurrentRow):
      (WebCore::ObjectStoreCursorImpl::create):
      (ObjectStoreCursorImpl):
      (WebCore::ObjectStoreCursorImpl::value):
      (WebCore::ObjectStoreCursorImpl::ObjectStoreCursorImpl):
      (WebCore::ObjectStoreCursorImpl::loadCurrentRow):
      (WebCore::IndexKeyCursorImpl::create):
      (IndexKeyCursorImpl):
      (WebCore::IndexKeyCursorImpl::value):
      (WebCore::IndexKeyCursorImpl::primaryKey):
      (WebCore::IndexKeyCursorImpl::recordIdentifier):
      (WebCore::IndexKeyCursorImpl::IndexKeyCursorImpl):
      (WebCore::IndexKeyCursorImpl::loadCurrentRow):
      (WebCore::IndexCursorImpl::create):
      (IndexCursorImpl):
      (WebCore::IndexCursorImpl::value):
      (WebCore::IndexCursorImpl::primaryKey):
      (WebCore::IndexCursorImpl::recordIdentifier):
      (WebCore::IndexCursorImpl::IndexCursorImpl):
      (WebCore::IndexCursorImpl::loadCurrentRow):
      (WebCore::objectStoreCursorOptions):
      (WebCore::indexCursorOptions):
      (WebCore::IDBBackingStore::openObjectStoreCursor):
      (WebCore::IDBBackingStore::openObjectStoreKeyCursor):
      (WebCore::IDBBackingStore::openIndexKeyCursor):
      (WebCore::IDBBackingStore::openIndexCursor):
      (WebCore::IDBBackingStore::Transaction::Transaction):
      (WebCore::IDBBackingStore::Transaction::begin):
      (WebCore::IDBBackingStore::Transaction::commit):
      (WebCore::IDBBackingStore::Transaction::rollback):
      * Modules/indexeddb/IDBBackingStore.h:
      (WebCore):
      (IDBBackingStore):
      (RecordIdentifier):
      (WebCore::IDBBackingStore::RecordIdentifier::create):
      (WebCore::IDBBackingStore::RecordIdentifier::~RecordIdentifier):
      (WebCore::IDBBackingStore::RecordIdentifier::isValid):
      (WebCore::IDBBackingStore::RecordIdentifier::primaryKey):
      (WebCore::IDBBackingStore::RecordIdentifier::setPrimaryKey):
      (WebCore::IDBBackingStore::RecordIdentifier::version):
      (WebCore::IDBBackingStore::RecordIdentifier::setVersion):
      (WebCore::IDBBackingStore::RecordIdentifier::RecordIdentifier):
      (Transaction):
      (WebCore::IDBBackingStore::Transaction::levelDBTransactionFrom):
      (CursorOptions):
      (Cursor):
      (WebCore::IDBBackingStore::Cursor::Cursor):
      (WebCore::IDBBackingStore::Cursor::key):
      (WebCore::IDBBackingStore::Cursor::primaryKey):
      (WebCore::IDBBackingStore::Cursor::~Cursor):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      * Modules/indexeddb/IDBIndexBackendImpl.cpp:
      (WebCore::IDBIndexBackendImpl::countInternal):
      * Modules/indexeddb/IDBLevelDBBackingStore.h: Removed.
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::setIndexKeys):
      (WebCore::IDBObjectStoreBackendImpl::putInternal):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransactionBackendImpl.cpp:
      (WebCore::IDBTransactionBackendImpl::IDBTransactionBackendImpl):
      (WebCore::IDBTransactionBackendImpl::abort):
      (WebCore::IDBTransactionBackendImpl::commit):
      (WebCore::IDBTransactionBackendImpl::taskTimerFired):
      * Modules/indexeddb/IDBTransactionBackendImpl.h:
      (WebCore::IDBTransactionBackendImpl::backingStoreTransaction):
      * WebCore.xcodeproj/project.pbxproj:
      
      Source/WebKit/chromium:
      
      Remove method that is no longer in the base class.
      
      * tests/IDBFakeBackingStore.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88e10a75
    • timothy@apple.com's avatar
      Source/WebCore: Make -webkit-canvas in CSS use the full backing store instead · 4447e4e5
      timothy@apple.com authored
      of always 1x when rendering.
      
      https://bugs.webkit.org/show_bug.cgi?id=100611
      
      Reviewed by Dean Jackson.
      
      Test: fast/canvas/canvas-as-image-hidpi.html
      
      * html/HTMLCanvasElement.cpp:
      (WebCore::HTMLCanvasElement::makePresentationCopy): Pass Unscaled to copyImage.
      (WebCore::HTMLCanvasElement::copiedImage): Ditto.
      * platform/graphics/ImageBuffer.h:
      * platform/graphics/cg/ImageBufferCG.cpp:
      (WebCore::ImageBuffer::copyImage): Added Scale parameter and use copyNativeImage for Unscaled.
      * platform/graphics/cairo/ImageBufferCairo.cpp:
      (WebCore::ImageBuffer::copyImage): Added unnamed ScaleBehavior parameter.
      * platform/graphics/qt/ImageBufferQt.cpp:
      (WebCore::ImageBuffer::copyImage): Ditto.
      * platform/graphics/skia/ImageBufferSkia.cpp:
      (WebCore::ImageBuffer::copyImage): Ditto.
      * platform/graphics/wince/ImageBufferWinCE.cpp:
      (WebCore::ImageBuffer::copyImage): Ditto.
      * platform/graphics/wx/ImageBufferWx.cpp:
      (WebCore::ImageBuffer::copyImage): Ditto.
      
      LayoutTests: Test if -webkit-canvas in CSS uses the full backing store instead
      of always 1x when rendering.
      
      https://bugs.webkit.org/show_bug.cgi?id=100611
      
      Reviewed by Dean Jackson.
      
      * fast/canvas/canvas-as-image-hidpi-expected.png: Added.
      * fast/canvas/canvas-as-image-hidpi-expected.txt: Added.
      * fast/canvas/canvas-as-image-hidpi.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4447e4e5
    • timothy@apple.com's avatar
      Source/WebCore: Reset the canvas backing store pixel ratio when the buffer resizes. · daeb9537
      timothy@apple.com authored
      The backing store was not being recreated using the current page pixel ratio
      when a resize occurred.
      
      https://bugs.webkit.org/show_bug.cgi?id=100608
      
      Reviewed by Darin Adler.
      
      Test: fast/canvas/canvas-resize-reset-pixelRatio.html
      
      * html/HTMLCanvasElement.cpp:
      (WebCore::HTMLCanvasElement::HTMLCanvasElement): Use targetDeviceScaleFactor.
      (WebCore::HTMLCanvasElement::reset): Do a clear only if the pixel ratios also
      match. Store the new pixel ratio in m_deviceScaleFactor.
      (WebCore::HTMLCanvasElement::targetDeviceScaleFactor): Added.
      * html/HTMLCanvasElement.h:
      (WebCore::HTMLCanvasElement::setSize): Return early only if the sizes and
      pixel ratios match.
      
      LayoutTests: Test the canvas backing store pixel ratio when the buffer resizes.
      
      https://bugs.webkit.org/show_bug.cgi?id=100608
      
      Reviewed by Darin Adler.
      
      * fast/canvas/canvas-resize-reset-pixelRatio-expected.txt: Added.
      * fast/canvas/canvas-resize-reset-pixelRatio.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      daeb9537
    • commit-queue@webkit.org's avatar
      [EFL][WK2][AC] Fixed layers are shaking when scrolling · 8c736283
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101549
      
      Patch by Hurnjoo Lee <hurnjoo.lee@samsung.com> on 2012-11-09
      Reviewed by Kenneth Rohde Christiansen.
      
      At the time of adjusting positions for fixed layers, the locations of
      fixed layers are calculated incorrectly because the contentsSize is empty.
      
      * UIProcess/efl/PageViewportControllerClientEfl.cpp:
      (WebKit::PageViewportControllerClientEfl::didChangeContentsSize): Call the
      setContentsSize function in LayerTreeCoordinatorProxy in order to calculate
      the locations of fixed layers correctly.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c736283
    • rniwa@webkit.org's avatar
      People with dichromacy can't tell crashes and passes on flakiness dashboard · 855aae85
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101711
      
      Reviewed by Ojan Vafai.
      
      Lower the brightness of orange, and raise the brightness of green so that
      people with color blindnes can still distinguish passes and crashes easily.
      
      * TestResultServer/static-dashboards/flakiness_dashboard_tests.css:
      (.P):
      (.C):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      855aae85
    • rniwa@webkit.org's avatar
      RemoveFormat command doesn't remove background color · 86e52ebe
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101682
      
      Reviewed by Tony Chang.
      
      Source/WebCore: 
      
      Fixed the bug by removing all non-transparent background-color properties.
      
      Test: editing/execCommand/remove-format-background-color.html
      
      * editing/RemoveFormatCommand.cpp:
      (WebCore::RemoveFormatCommand::doApply):
      
      LayoutTests: 
      
      Added a regression test.
      
      * editing/execCommand/remove-format-background-color-expected.txt: Added.
      * editing/execCommand/remove-format-background-color.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86e52ebe
    • alecflett@chromium.org's avatar
      IndexedDB: switch frontend to use int64_t-based references · 0e11d584
      alecflett@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100426
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Remove String-based objectStore/index references, obsoleted by
      https://bugs.webkit.org/show_bug.cgi?id=100425.
      
      No new tests as this is the second half of a refactor.
      
      * Modules/indexeddb/IDBCallbacks.h:
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::deleteObjectStore):
      (WebCore::IDBDatabase::transaction):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::setVersion):
      (WebCore::IDBDatabaseBackendImpl::transaction):
      (WebCore::IDBDatabaseBackendImpl::runIntVersionChangeTransaction):
      * Modules/indexeddb/IDBDatabaseBackendImpl.h:
      (IDBDatabaseBackendImpl):
      * Modules/indexeddb/IDBDatabaseBackendInterface.h:
      (IDBDatabaseBackendInterface):
      * Modules/indexeddb/IDBMetadata.h:
      (WebCore::IDBObjectStoreMetadata::findIndex):
      (IDBObjectStoreMetadata):
      (WebCore::IDBObjectStoreMetadata::containsIndex):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::put):
      (WebCore):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::put):
      (WebCore):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.h:
      (IDBObjectStoreBackendImpl):
      * Modules/indexeddb/IDBObjectStoreBackendInterface.h:
      * inspector/Inspector-1.0.json:
      * inspector/Inspector.json:
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      (WebCore::InspectorIndexedDBAgent::requestData):
      * inspector/InspectorIndexedDBAgent.h:
      (InspectorIndexedDBAgent):
      
      Source/WebKit/chromium:
      
      Remove implementation stubs from chromium API for
      methods obsoleted by https://bugs.webkit.org/show_bug.cgi?id=100425
      
      * src/IDBObjectStoreBackendProxy.cpp:
      * src/IDBObjectStoreBackendProxy.h:
      (IDBObjectStoreBackendProxy):
      * src/WebIDBDatabaseImpl.cpp:
      * src/WebIDBDatabaseImpl.h:
      (WebIDBDatabaseImpl):
      * src/WebIDBObjectStoreImpl.cpp:
      * src/WebIDBObjectStoreImpl.h:
      (WebIDBObjectStoreImpl):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e11d584
    • mario@webkit.org's avatar
      [GTK] Isolate the GTK/Gail/Pango specific code in accessibility/gtk · 8c5dd900
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101727
      
      Reviewed by Chris Fleizach.
      
      Added conditional compilation checks for GTK+ specific
      accessibility code, to pave the way for sharing this
      implementation with other ports (e.g WebKitEFL).
      
      * accessibility/gtk/WebKitAccessibleInterfaceText.cpp:
      (webkitAccessibleTextGetTextAfterOffset): Added conditional
      compilation checks, only implementing it in GTK so far.
      (webkitAccessibleTextGetTextAtOffset): Ditto.
      (webkitAccessibleTextGetTextBeforeOffset): Ditto.
      * accessibility/gtk/WebKitAccessibleWrapperAtk.cpp:
      (atkParentOfRootObject): Added conditional compilation checks,
      only implementing in GTK the part of getting the accessible object
      for the root object.
      (webkitAccessibleGetParent): Updated comments.
      (webkitAccessibleGetNChildren): Ditto.
      (webkitAccessibleRefChild): Ditto.
      (webkitAccessibleGetIndexInParent): Ditto.
      (webkitAccessibleGetAttributes): Only set the 'toolkit' attribute
      for GTK. Other ports might be interested in this too.
      (setAtkStateSetFromCoreObject): Updated comments.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c5dd900
    • tommyw@google.com's avatar
      MediaStream API: Don't trigger any object deletion during RTCPeerConnection::stop · 288b0295
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101586
      
      Reviewed by Adam Barth.
      
      Stop calling stop on the RTCPeerConnectionHandler, and don't delete it, when
      ActiveDOMObject::stop is called on RTCPeerConnection. Due to the async nature of the new
      API some WebCore objects might be cleaned away which is not allowed at this stage.
      
      This behaviour is not possible to test unfortunately in webkit.
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::stop):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      288b0295
    • oliver@apple.com's avatar
      2012-11-09 Oliver Hunt <oliver@apple.com> · 8ecea866
      oliver@apple.com authored
              So Thingy probably isn't the best name for a class, so
              renamed to CacheMap.
      
              RS=Geoff
      
              * runtime/CodeCache.h:
              (JSC::CacheMap::CacheMap):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ecea866
    • jsbell@chromium.org's avatar
      [Chromium] Unreviewed gardening. Fix chromium-win builds following r134082 · 1139eff2
      jsbell@chromium.org authored
      * WebCore.gypi:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1139eff2
    • beidson@apple.com's avatar
      NetworkRequest refactoring · e6dcc550
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101777
      
      Reviewed by Alexey Proskuryakov.
      
      Move all of the ResourceHandleClient stubs from the .h to the .cpp in one patch
      to make future patches cleaner.
      
      Also completely remove the declaration for shouldCacheResponse() for now.
      
      * NetworkProcess/NetworkRequest.cpp:
      (WebKit::NetworkRequest::willSendRequest):
      (WebKit::NetworkRequest::didSendData):
      (WebKit::NetworkRequest::didReceiveCachedMetadata):
      (WebKit::NetworkRequest::wasBlocked):
      (WebKit::NetworkRequest::cannotShowURL):
      (WebKit::NetworkRequest::willCacheResponse):
      (WebKit::NetworkRequest::shouldUseCredentialStorage):
      (WebKit::NetworkRequest::didReceiveAuthenticationChallenge):
      (WebKit::NetworkRequest::didCancelAuthenticationChallenge):
      (WebKit::NetworkRequest::receivedCancellation):
      (WebKit::NetworkRequest::canAuthenticateAgainstProtectionSpace):
      (WebKit::NetworkRequest::supportsDataArray):
      (WebKit::NetworkRequest::didReceiveDataArray):
      (WebKit::NetworkRequest::willStopBufferingData):
      (WebKit::NetworkRequest::createAsyncFileStream):
      * NetworkProcess/NetworkRequest.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6dcc550
    • commit-queue@webkit.org's avatar
      [V8] Remove ScriptController::windowShell() · cd7baa96
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100235
      
      Patch by Dan Carney <dcarney@google.com> on 2012-11-09
      Reviewed by Adam Barth.
      
      Refactored windowShell(DOMWrapperWorld*) and
      existingWindowShell(DOMWrapperWorld*) to be like JSC.
      
      No new tests. No change in functionality.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateToV8Converters):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::isolatedWorldMap):
      (WebCore::DOMWrapperWorld::getAllWorlds):
      (WebCore):
      * bindings/v8/DOMWrapperWorld.h:
      (DOMWrapperWorld):
      * bindings/v8/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearForOutOfMemory):
      (WebCore):
      (WebCore::ScriptController::clearForClose):
      (WebCore::ScriptController::updateSecurityOrigin):
      (WebCore::ScriptController::initializeMainWorld): Returns true if the main world was initialized.
      (WebCore::existingWindowShellWorkaroundWorld):
      (WebCore::ScriptController::existingWindowShell):
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::currentWorldContext):
      (WebCore::ScriptController::mainWorldContext):
      (WebCore::ScriptController::haveInterpreter):
      (WebCore::ScriptController::enableEval):
      (WebCore::ScriptController::disableEval):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::setContextDebugId):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::namedItemAdded):
      (WebCore::ScriptController::namedItemRemoved):
      * bindings/v8/ScriptController.h:
      (ScriptController):
      (WebCore::ScriptController::getAllWorlds):
      * bindings/v8/V8Binding.cpp:
      (WebCore::perContextDataForCurrentWorld):
      (WebCore::handleOutOfMemory):
      * bindings/v8/V8DOMWindowShell.cpp:
      (WebCore::V8DOMWindowShell::initializeIfNeeded):
      (WebCore::V8DOMWindowShell::updateDocument):
      (WebCore::V8DOMWindowShell::namedItemAdded):
      (WebCore::V8DOMWindowShell::namedItemRemoved):
      * bindings/v8/V8DOMWindowShell.h:
      (WebCore::V8DOMWindowShell::isContextInitialized):
      (WebCore::V8DOMWindowShell::isGlobalInitialized):
      * bindings/v8/custom/V8DocumentCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
      (WebCore::toV8):
      * bindings/v8/custom/V8SVGDocumentCustom.cpp:
      (WebCore::toV8):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd7baa96
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · db01c02a
      zandobersek@gmail.com authored
      Rebaselining and removing stale expectations after the Cairo
      version used in Jhbuild modules was bumped to 1.12.8 in r134073.
      
      * platform/gtk/TestExpectations:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-08-t-expected.png:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-83-t-expected.png:
      * platform/gtk/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/paths-data-01-t-expected.png:
      * platform/gtk/svg/W3C-SVG-1.1/paths-data-01-t-expected.txt:
      * platform/gtk/svg/W3C-SVG-1.1/paths-data-02-t-expected.png:
      * platform/gtk/svg/W3C-SVG-1.1/paths-data-02-t-expected.txt:
      * platform/gtk/svg/batik/text/smallFonts-expected.png:
      * platform/gtk/svg/batik/text/smallFonts-expected.txt:
      * platform/gtk/svg/batik/text/textGlyphOrientationHorizontal-expected.png:
      * platform/gtk/svg/batik/text/textGlyphOrientationHorizontal-expected.txt:
      * platform/gtk/svg/batik/text/textOnPath-expected.png:
      * platform/gtk/svg/batik/text/textOnPath-expected.txt:
      * platform/gtk/svg/batik/text/textOnPath2-expected.png:
      * platform/gtk/svg/batik/text/textOnPath2-expected.txt:
      * platform/gtk/svg/batik/text/textOnPath3-expected.png:
      * platform/gtk/svg/batik/text/textOnPath3-expected.txt:
      * platform/gtk/svg/batik/text/textOnPathSpaces-expected.png:
      * platform/gtk/svg/batik/text/textOnPathSpaces-expected.txt:
      * platform/gtk/svg/batik/text/verticalTextOnPath-expected.png:
      * platform/gtk/svg/batik/text/verticalTextOnPath-expected.txt:
      * platform/gtk/svg/custom/js-update-path-changes-expected.png:
      * platform/gtk/svg/custom/js-update-path-changes-expected.txt:
      * platform/gtk/svg/custom/js-update-path-removal-expected.png:
      * platform/gtk/svg/custom/js-update-path-removal-expected.txt:
      * platform/gtk/svg/custom/path-textPath-simulation-expected.png:
      * platform/gtk/svg/custom/path-textPath-simulation-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db01c02a
    • abarth@webkit.org's avatar
      [V8] Remove a level of indirection in DOMDataStore · f2a89916
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101690
      
      Reviewed by Kentaro Hara.
      
      There is no longer any reason for the DOMDataStore to hold the wrapper
      map via a pointer. It can just hold the wrapper map directly, saving a
      level of indirection. I doubt this has any measurable performance gain.
      
      * bindings/v8/DOMDataStore.cpp:
      (WebCore::DOMDataStore::DOMDataStore):
      (WebCore::DOMDataStore::~DOMDataStore):
      (WebCore::DOMDataStore::reportMemoryUsage):
      * bindings/v8/DOMDataStore.h:
      (WebCore::DOMDataStore::get):
      (WebCore::DOMDataStore::set):
      (DOMDataStore):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2a89916
    • mihnea@adobe.com's avatar
      [CSSRegions] Region styling properties are not filtered correctly · 55b59ea2
      mihnea@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101768
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      Region styling allows only a handful of css properties. There is a mechanism in place,
      in StyleResolver::isValidRegionStyleProperty that filters the supported region style properties.
      In order to be effective, this mechanism relies on RuleData::m_isInRegionRule being set correctly.
      This patch makes sure that the flag RuleData::m_isInRegionRule is set properly in RuleData constructor.
      
      Test: fast/regions/region-style-not-supported-properties.html
      
      * css/RuleSet.cpp:
      (WebCore::RuleData::RuleData):
      
      LayoutTests:
      
      Visibility is not a supported region style property, therefore using it inside @-webkit-region
      should not be possible.
      
      * fast/regions/region-style-not-supported-properties-expected.html: Added.
      * fast/regions/region-style-not-supported-properties.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55b59ea2
    • tommyw@google.com's avatar
      MediaStream API: Deleting all files relating to the deprecated PeerConnection00 · de84f91a
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101730
      
      Reviewed by Adam Barth.
      
      Since RTCPeerConenction has superseeded PeerConnection00 this patch removes all
      files relating to the old API.
      
      Source/Platform:
      
      * Platform.gypi:
      * chromium/public/Platform.h:
      (WebKit):
      (Platform):
      * chromium/public/WebICECandidateDescriptor.h: Removed.
      * chromium/public/WebICEOptions.h: Removed.
      * chromium/public/WebMediaHints.h: Removed.
      * chromium/public/WebMediaStreamCenter.h:
      (WebKit):
      (WebMediaStreamCenter):
      * chromium/public/WebPeerConnection00Handler.h: Removed.
      * chromium/public/WebPeerConnection00HandlerClient.h: Removed.
      * chromium/public/WebPeerConnectionHandler.h: Removed.
      * chromium/public/WebPeerConnectionHandlerClient.h: Removed.
      * chromium/public/WebSessionDescriptionDescriptor.h: Removed.
      
      Source/WebCore:
      
      No testing needed, the remaining tests makes sure that nothing else breaks.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/DOMWindowMediaStream.idl:
      * Modules/mediastream/IceCallback.h: Removed.
      * Modules/mediastream/IceCallback.idl: Removed.
      * Modules/mediastream/IceCandidate.cpp: Removed.
      * Modules/mediastream/IceCandidate.h: Removed.
      * Modules/mediastream/IceCandidate.idl: Removed.
      * Modules/mediastream/PeerConnection00.cpp: Removed.
      * Modules/mediastream/PeerConnection00.h: Removed.
      * Modules/mediastream/PeerConnection00.idl: Removed.
      * Modules/mediastream/SessionDescription.cpp: Removed.
      * Modules/mediastream/SessionDescription.h: Removed.
      * Modules/mediastream/SessionDescription.idl: Removed.
      * WebCore.gypi:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      * dom/EventTargetFactory.in:
      * platform/chromium/support/WebICECandidateDescriptor.cpp: Removed.
      * platform/chromium/support/WebICEOptions.cpp: Removed.
      * platform/chromium/support/WebMediaHints.cpp: Removed.
      * platform/mediastream/IceCandidateDescriptor.cpp: Removed.
      * platform/mediastream/IceCandidateDescriptor.h: Removed.
      * platform/mediastream/IceOptions.cpp: Removed.
      * platform/mediastream/IceOptions.h: Removed.
      * platform/mediastream/MediaHints.cpp: Removed.
      * platform/mediastream/MediaHints.h: Removed.
      * platform/mediastream/MediaStreamCenter.h:
      (WebCore):
      (MediaStreamCenter):
      * platform/mediastream/PeerConnection00Handler.cpp: Removed.
      * platform/mediastream/PeerConnection00Handler.h: Removed.
      * platform/mediastream/PeerConnection00HandlerClient.h: Removed.
      * platform/mediastream/SessionDescriptionDescriptor.cpp: Removed.
      * platform/mediastream/SessionDescriptionDescriptor.h: Removed.
      * platform/mediastream/blackberry/MediaStreamCenterBlackBerry.cpp:
      * platform/mediastream/blackberry/MediaStreamCenterBlackBerry.h:
      (WebCore):
      (MediaStreamCenterBlackBerry):
      * platform/mediastream/chromium/MediaStreamCenterChromium.cpp:
      * platform/mediastream/chromium/MediaStreamCenterChromium.h:
      (WebCore):
      (MediaStreamCenterChromium):
      * platform/mediastream/chromium/PeerConnection00Handler.cpp: Removed.
      * platform/mediastream/chromium/PeerConnection00HandlerInternal.cpp: Removed.
      * platform/mediastream/chromium/PeerConnection00HandlerInternal.h: Removed.
      * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.cpp:
      * platform/mediastream/gstreamer/MediaStreamCenterGStreamer.h:
      (WebCore):
      (MediaStreamCenterGStreamer):
      
      Source/WebKit/chromium:
      
      * WebKit.gyp:
      * public/WebRuntimeFeatures.h:
      (WebRuntimeFeatures):
      * public/platform/WebICECandidateDescriptor.h: Removed.
      * public/platform/WebICEOptions.h: Removed.
      * public/platform/WebMediaHints.h: Removed.
      * public/platform/WebPeerConnection00Handler.h: Removed.
      * public/platform/WebPeerConnection00HandlerClient.h: Removed.
      * public/platform/WebPeerConnectionHandler.h: Removed.
      * public/platform/WebPeerConnectionHandlerClient.h: Removed.
      * public/platform/WebSessionDescriptionDescriptor.h: Removed.
      * src/AssertMatchingEnums.cpp:
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::isPeerConnectionEnabled):
      * src/WebSessionDescriptionDescriptor.cpp: Removed.
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebMediaStreamCenter.cpp:
      * DumpRenderTree/chromium/MockWebMediaStreamCenter.h:
      (MockWebMediaStreamCenter):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      
      LayoutTests:
      
      * fast/mediastream/SessionDescription-expected.txt: Removed.
      * fast/mediastream/SessionDescription.html: Removed.
      * fast/mediastream/constructors-expected.txt:
      * fast/mediastream/constructors.html:
      * fast/mediastream/peerconnection-Attributes-expected.txt: Removed.
      * fast/mediastream/peerconnection-Attributes.html: Removed.
      * fast/mediastream/peerconnection-addstream-expected.txt: Removed.
      * fast/mediastream/peerconnection-addstream.html: Removed.
      * fast/mediastream/peerconnection-argument-types-expected.txt: Removed.
      * fast/mediastream/peerconnection-argument-types.html: Removed.
      * fast/mediastream/peerconnection-eventlistener-optional-argument-expected.txt: Removed.
      * fast/mediastream/peerconnection-eventlistener-optional-argument.html: Removed.
      * fast/mediastream/peerconnection-iceoptions-expected.txt: Removed.
      * fast/mediastream/peerconnection-iceoptions.html: Removed.
      * fast/mediastream/peerconnection-mediastreamlist-expected.txt: Removed.
      * fast/mediastream/peerconnection-mediastreamlist.html: Removed.
      * fast/mediastream/peerconnection-removestream-expected.txt: Removed.
      * fast/mediastream/peerconnection-removestream.html: Removed.
      * fast/mediastream/script-tests/peerconnection-Attributes.js: Removed.
      * fast/mediastream/script-tests/peerconnection-addstream.js: Removed.
      * fast/mediastream/script-tests/peerconnection-argument-types.js: Removed.
      * fast/mediastream/script-tests/peerconnection-removestream.js: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      de84f91a
    • jer.noble@apple.com's avatar
      Plugin diagnostic logging should send plugin file basename instead of MIME type. · b9f63b07
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101679
      
      Reviewed by Eric Carlson.
      
      Log the basename of the plugin file rather than the mime type so as to more
      accurately log which plugin was used to handle the request.
      
      * loader/SubframeLoader.cpp:
      (WebCore::logPluginRequest): Log the plugin 'file' field, if present.
      * plugins/PluginData.cpp:
      (WebCore::PluginData::pluginInfoForMimeType): Factored out from pluginNameForMimeType.
      (WebCore::PluginData::pluginNameForMimeType): Use pluginInfoForMimeType to retrieve name field.
      (WebCore::PluginData::pluginFileForMimeType): Use pluginInfoForMimeType to retrieve file field.
      * plugins/PluginData.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9f63b07
    • ap@apple.com's avatar
      CookieJar uses Document class, which is a layering violation · 85140765
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101621
      
      Reviewed by Brady Eidson.
      
      Source/WebCore:
      
      Split CookieJar in two parts, one that takes a Document, and another that is a pure
      platform one, using NetworkingContext to access the correct platform storage.
      
      * GNUmakefile.list.am:
      * PlatformBlackBerry.cmake:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      Updated.
      
      * loader/CookieJar.cpp: Added.
      (WebCore::networkingContext):
      (WebCore::cookies):
      (WebCore::setCookies):
      (WebCore::cookiesEnabled):
      (WebCore::cookieRequestHeaderFieldValue):
      (WebCore::getRawCookies):
      (WebCore::deleteCookie):
      (WebCore::getHostnamesWithCookies):
      (WebCore::deleteCookiesForHostname):
      (WebCore::deleteAllCookies):
      * loader/CookieJar.h: Copied from Source/WebCore/platform/CookieJar.h.
      This is an adaptor for pure platform implementations. Clients continue to use the
      old interface unchanged.
      
      * platform/blackberry/CookieJarBlackBerry.cpp: Removed.
      * loader/blackberry/CookieJarBlackBerry.cpp: Copied from Source/WebCore/platform/blackberry/CookieJarBlackBerry.cpp.
      * platform/network/chromium/CookieJarChromium.cpp: Removed.
      * loader/chromium/CookieJarChromium.cpp: Copied from Source/WebCore/platform/network/chromium/CookieJarChromium.cpp.
      These platforms do not have a pure platform implementation yet, so they just keep
      to use original implementations. Since the code is not in platform/ any more, the
      violation is resolved for Chromium and Blackberry, too.
      
      * platform/CookieJar.h: Removed.
      * platform/network/PlatformCookieJar.h: Copied from Source/WebCore/platform/CookieJar.h.
      The platform interface is now more uniform - all functions take a NetworkingContext
      instead of hardcoding which cookie storage to use in some cases.
      Renamed functions that are only useful for document.cookie implementation to look
      less generic.
      
      * platform/mac/CookieJar.mm: Removed.
      * platform/network/mac/CookieJarMac.mm: Copied from Source/WebCore/platform/mac/CookieJar.mm.
      (WebCore::cookiesForDOM): This now takes a context instead of Document, and also
      takes a firstParty URL (unused on Mac, but used on some other platforms).
      (WebCore::cookieRequestHeaderFieldValue): Get cookie storage from context (and
      use shared one if context is null).
      (WebCore::setCookiesFromDOM): Ditto.
      (WebCore::cookiesEnabled): Ditto.
      (WebCore::getRawCookies): Ditto.
      (WebCore::deleteCookie): Ditto.
      (WebCore::getHostnamesWithCookies): Ditto. This used to only support default storage,
      but its cleaner to have a uniform interface.
      (WebCore::deleteCookiesForHostname): Ditto.
      (WebCore::deleteAllCookies): Ditto.
      
      * platform/network/cf/CookieJarCFNet.cpp:
      Same changes as on Mac.
      
      * platform/network/curl/CookieJarCurl.cpp:
      Updated for new interface. Implementation is largely a dummy one.
      
      * platform/qt/CookieJarQt.h: Removed.
      * platform/network/qt/CookieJarQt.h: Copied from Source/WebCore/platform/qt/CookieJarQt.h.
      Moved to a common location, most cookie files were in network/ already.
      
      * platform/qt/CookieJarQt.cpp: Removed.
      * platform/network/qt/CookieJarQt.cpp: Copied from Source/WebCore/platform/qt/CookieJarQt.cpp.
      (WebCore::setCookiesFromDOM): Use context's or shared cooke jar as appropriate.
      (WebCore::cookiesForDOM): Ditto.
      (WebCore::cookieRequestHeaderFieldValue): Ditto.
      (WebCore::cookiesEnabled): Ditto.
      (WebCore::getRawCookies): Ditto.
      (WebCore::deleteCookie): Ditto.
      (WebCore::getHostnamesWithCookies): Back-end implementation can only handle shared
      jar here, assert that argument does not request another one.
      (WebCore::deleteCookiesForHostname): Ditto.
      (WebCore::deleteAllCookies): Ditto.
      
      * platform/network/soup/CookieJarSoup.cpp:
      (WebCore::cookieJarForContext):
      (WebCore::setCookiesFromDOM):
      (WebCore::cookiesForContext):
      (WebCore::cookiesForDOM):
      (WebCore::cookieRequestHeaderFieldValue):
      (WebCore::cookiesEnabled):
      (WebCore::getRawCookies):
      (WebCore::deleteCookie):
      (WebCore::getHostnamesWithCookies):
      (WebCore::deleteCookiesForHostname):
      (WebCore::deleteAllCookies):
      Updated for new function signatures, and use the same cross-platform logic for
      choosing a cookie jar.
      
      * platform/network/soup/CookieJarSoup.h: Don't include unnecessary CooieJar.h.
      
      * platform/network/win/CookieJarWin.cpp:
      (WebCore::setCookiesFromDOM):
      (WebCore::cookiesForDOM):
      (WebCore::cookieRequestHeaderFieldValue):
      (WebCore::cookiesEnabled):
      (WebCore::getRawCookies):
      (WebCore::deleteCookie):
      (WebCore::getHostnamesWithCookies):
      (WebCore::deleteCookiesForHostname):
      (WebCore::deleteAllCookies):
      Updated for new function signatures.
      
      Source/WebKit2:
      
      * UIProcess/API/C/WKAPICast.h: Don't include CookieJar.h, its completely unnecessary.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85140765
    • fpizlo@apple.com's avatar
      ArrayPrototype should start out with a blank indexing type · f932523d
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101719
      
      Reviewed by Mark Hahnenberg.
      
      This allows us to track if the array prototype ever ends up with indexed
      properties.
      
      * runtime/ArrayPrototype.cpp:
      (JSC::ArrayPrototype::create):
      (JSC::ArrayPrototype::ArrayPrototype):
      * runtime/ArrayPrototype.h:
      (ArrayPrototype):
      (JSC::ArrayPrototype::createStructure):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f932523d
    • mhahnenberg@apple.com's avatar
      MarkStackArray should use the BlockAllocator instead of the MarkStackSegmentAllocator · b8f29543
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101642
      
      Reviewed by Filip Pizlo.
      
      MarkStackSegmentAllocator is like a miniature version of the BlockAllocator. Now that the BlockAllocator has support 
      for a variety of block sizes, we should get rid of the MarkStackSegmentAllocator in favor of the BlockAllocator.
      
      * heap/BlockAllocator.h: Add new specializations of regionSetFor for the new MarkStackSegments.
      (JSC):
      (JSC::MarkStackSegment):
      * heap/GCThreadSharedData.cpp:
      (JSC::GCThreadSharedData::GCThreadSharedData):
      (JSC::GCThreadSharedData::reset):
      * heap/GCThreadSharedData.h:
      (GCThreadSharedData):
      * heap/MarkStack.cpp: 
      (JSC::MarkStackArray::MarkStackArray): We now have a doubly linked list of MarkStackSegments, so we need to refactor 
      all the places that used the old custom tail/previous logic.
      (JSC::MarkStackArray::~MarkStackArray):
      (JSC::MarkStackArray::expand):
      (JSC::MarkStackArray::refill):
      (JSC::MarkStackArray::donateSomeCellsTo): Refactor to use the new linked list.
      (JSC::MarkStackArray::stealSomeCellsFrom): Ditto.
      * heap/MarkStack.h:
      (JSC):
      (MarkStackSegment):
      (JSC::MarkStackSegment::MarkStackSegment):
      (JSC::MarkStackSegment::sizeFromCapacity):
      (MarkStackArray):
      * heap/MarkStackInlines.h:
      (JSC::MarkStackSegment::create):
      (JSC):
      (JSC::MarkStackArray::postIncTop):
      (JSC::MarkStackArray::preDecTop):
      (JSC::MarkStackArray::setTopForFullSegment):
      (JSC::MarkStackArray::setTopForEmptySegment):
      (JSC::MarkStackArray::top):
      (JSC::MarkStackArray::validatePrevious):
      (JSC::MarkStackArray::append):
      (JSC::MarkStackArray::removeLast):
      (JSC::MarkStackArray::isEmpty):
      (JSC::MarkStackArray::size):
      * heap/SlotVisitor.cpp:
      (JSC::SlotVisitor::SlotVisitor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8f29543
    • commit-queue@webkit.org's avatar
      [EFL] Give the view a size in TestWebKitAPI · 018eb60e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101770
      
      Patch by Yael Aharon <yael.aharon@intel.com> on 2012-11-09
      Reviewed by Laszlo Gombos.
      
      2 tests are currently failing, because they expect us to paint, but we don't paint if the view size is empty.
      
      * TestWebKitAPI/efl/PlatformWebView.cpp:
      (TestWebKitAPI::PlatformWebView::PlatformWebView):
      (TestWebKitAPI::PlatformWebView::~PlatformWebView):
      (TestWebKitAPI):
      (TestWebKitAPI::PlatformWebView::resizeTo):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      018eb60e
    • bruno.abinader@basyskom.com's avatar
      [css] Text decoration's "blink" not valid when CSS3_TEXT is enabled · 7a818bb0
      bruno.abinader@basyskom.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101750
      
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      This patch fixes an issue regarding "blink" value, which is valid for CSS 2.1
      "text-decoration" property, but recently have its parser function modified by
      the addition of CSS3 "-webkit-text-decoration-line" property.
      
      The 'fast/css/getComputedStyle/getComputedStyle-text-decoration.html'
      layout test is updated with all possible value combinations.
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseTextDecoration): Added 'blink' value to list
      if accepted.
      
      LayoutTests:
      
      This patch updates the "text-decoration" computed style layout tests to
      handle a larger variety of value combinations.
      
      * fast/css/getComputedStyle/getComputedStyle-text-decoration-expected.txt:
      * fast/css/getComputedStyle/script-tests/getComputedStyle-text-decoration.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a818bb0
    • jsbell@chromium.org's avatar
      [Chromium] Unreviewed gardening - rebaseline a handful of image tests for chromium-mac-lion. · 60457273
      jsbell@chromium.org authored
      * platform/chromium-mac-lion/platform/chromium/compositing/layout-width-change-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/compositing/video-frame-size-change-expected.png: Added.
      * platform/chromium-mac-lion/tables/mozilla_expected_failures/core/backgrounds-expected.png: Added.
      * platform/chromium-mac-lion/tables/mozilla_expected_failures/core/captions1-expected.png: Added.
      * platform/chromium-mac-lion/tables/mozilla_expected_failures/core/captions2-expected.png: Added.
      * platform/chromium-mac-lion/tables/mozilla_expected_failures/core/captions3-expected.png: Added.
      * platform/chromium-mac-lion/tables/mozilla_expected_failures/marvin/backgr_border-table-cell-expected.png: Added.
      * platform/chromium-mac-lion/tables/mozilla_expected_failures/marvin/backgr_border-table-column-group-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60457273
    • xan@webkit.org's avatar
      2012-11-09 Xan Lopez <xlopez@igalia.com> · d10207ae
      xan@webkit.org authored
              [GTK] Do not use 'ls' to list IDL files in EXTRA_DIST
              https://bugs.webkit.org/show_bug.cgi?id=101581
      
              Reviewed by Martin Robinson.
      
              Use normal GNU Make wildcards instead of 'ls' to list files in
              EXTRA_DIST, it's safer and more straightforward.
      
              * GNUmakefile.am: ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d10207ae
    • rakuco@webkit.org's avatar
      Unreviewed, rolling out r134068. · 7fcf2bdb
      rakuco@webkit.org authored
      http://trac.webkit.org/changeset/134068
      https://bugs.webkit.org/show_bug.cgi?id=101766
      
      Caused crashes on the bots. (Requested by rakuco on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-11-09
      
      * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
      (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fcf2bdb
    • zandobersek@gmail.com's avatar
      [GTK] Bump the jhbuild Cairo version to 1.12.8 · 5ef230b8
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=101721
      
      Bump the Cairo version in Jhbuild moduleset to 1.12.8. This version
      should fix multiple failures in canvas tests and also contains
      fixes for X-related crashes that occurred from the 1.12.4 version onwards.
      
      * gtk/jhbuild.modules:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ef230b8
    • ossy@webkit.org's avatar
      [Qt] r133953 broke the ARM_TRADITIONAL build · cf4fd5bc
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101706
      
      Patch by Gabor Ballabas <gaborb@inf.u-szeged.hu> on 2012-11-09
      Reviewed by Csaba Osztrogonác.
      
      Fix for both hardfp and softfp.
      
      * dfg/DFGCCallHelpers.h:
      (CCallHelpers):
      (JSC::DFG::CCallHelpers::setupArgumentsWithExecState):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf4fd5bc
    • charles.wei@torchmobile.com.cn's avatar
      Need to clear exception in JSDictionary that might have been caused by previous operation. · 8f6b39ae
      charles.wei@torchmobile.com.cn authored
      https://bugs.webkit.org/show_bug.cgi?id=96614
      
      Reviewed by George Staikos.
      
      IndexedDB IDBDatabase::createObjectStore supports both String type of KeyPath and
      String Array type of KeyPath. It will first try to get the keyPath as a String Array,
      if fails, it will try to get KeyPath as a String, from the Dictionary. The first get
      will leave the internal ExecState of Dictionary in exception state. We need to clear
      the exception state before the 2nd query, otherwise the second query will also fail.
      
      No new tests. The existing test case LayoutTests/storage/indexeddb/tutorial.html should
      now work with this patch.
      * bindings/js/JSDictionary.cpp:
      (WebCore::JSDictionary::getWithUndefinedOrNullCheck):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f6b39ae
    • rakuco@webkit.org's avatar
      [WTR][Cairo] Do not call paintRepaintRectOverlay() when there is no repaint rect. · 6b4de24b
      rakuco@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101759
      
      Reviewed by Kenneth Rohde Christiansen.
      
      * WebKitTestRunner/cairo/TestInvocationCairo.cpp:
      (WTR::TestInvocation::dumpPixelsAndCompareWithExpected): Improve
      the check for an empty repaintRect -- we need to check if the
      WKArrayRef has any items. `if (repaintRect)' will return true
      regardless of whether the array is empty or not.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b4de24b
    • staikos@webkit.org's avatar
      [BlackBerry] Remove obsolete tokenizer settings · d85b536e
      staikos@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101689
      
      Reviewed by Yong Li.
      
      These tokenizer settings are obsolete and should not be here.  Remove them.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d85b536e
    • vestbo@webkit.org's avatar
      [Qt] Stop watchlist from triggering QtBuildSystem rule on DerivedSources · 85a4af3b
      vestbo@webkit.org authored
      Having DerivedSources.pri in the watchlist regexp was creating too much
      noise.
      
      Reviewed by Ossy.
      
      * Scripts/webkitpy/common/config/watchlist:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85a4af3b