1. 12 Nov, 2013 40 commits
    • ap@apple.com's avatar
      Implement key generation and JWK import for RSASSA-PKCS1-v1_5 · 668796b4
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124236
      
      Release build fix.
      
      * bindings/js/JSCryptoAlgorithmBuilder.cpp: Include TypedArrayInlines.h
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      668796b4
    • ap@apple.com's avatar
      Implement key generation and JWK import for RSASSA-PKCS1-v1_5 · c0d58adc
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124236
      
      Reviewed by Sam Weinig.
      
      Source/WebCore: 
      
      Tests: crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html
             crypto/subtle/rsassa-pkcs1-v1_5-import-jwk.html
      
      * WebCore.xcodeproj/project.pbxproj: Added new files.
      
      * bindings/js/JSCryptoAlgorithmBuilder.cpp:
      (WebCore::JSCryptoAlgorithmBuilder::add):
      * bindings/js/JSCryptoAlgorithmBuilder.h:
      * crypto/CryptoAlgorithmDescriptionBuilder.h:
      Added a way to add an Uint8Array, as needed for RSA key.algorithm.publicExponent.
      
      * bindings/js/JSCryptoAlgorithmDictionary.cpp:
      (WebCore::createAesCbcParams): Removed unneeded JSC prefixes.
      (WebCore::createAesKeyGenParams): Ditto.
      (WebCore::createHmacParams): Ditto.
      (WebCore::createHmacKeyParams): Ditto.
      (WebCore::createRsaKeyGenParams): Added. 
      (WebCore::createRsaSsaKeyParams): Added. WebCrypto currently doesn't specify any
      parameters for importKey, so the structure remains blank (unlike with JWK).
      (WebCore::createRsaSsaParams): Added (currently unused, will be sued for sign/verify soon).
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForEncrypt): Removed unneeded JSC prefixes.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForDecrypt): Ditto.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForSign): Added support for RSAES_PKCS1_v1_5.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForVerify): Ditto.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForDigest): Removed unneeded JSC prefixes.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForGenerateKey): Ditto.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForDeriveKey): Ditto.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForDeriveBits): Ditto.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForImportKey): Added support for RSAES_PKCS1_v1_5.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForExportKey): Removed unneeded JSC prefixes.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForWrapKey): Ditto.
      (WebCore::JSCryptoAlgorithmDictionary::createParametersForUnwrapKey): Ditto.
      
      * bindings/js/JSCryptoKeySerializationJWK.h:
      * bindings/js/JSCryptoKeySerializationJWK.cpp:
      (WebCore::getJSArrayFromJSON): Added.
      (WebCore::getBigIntegerVectorFromJSON): Added.
      (WebCore::createRSASSAKeyParameters): Create parameters for key import. The key
      will remember which algorithm it's allowed to be used with.
      (WebCore::JSCryptoKeySerializationJWK::reconcileAlgorithm): Added support for
      RS256...RS512 (tha is, RSAES_PKCS1_v1_5 with SHA-256...SHA-512).
      (WebCore::JSCryptoKeySerializationJWK::keyDataOctetSequence): Split out of keyData().
      (WebCore::JSCryptoKeySerializationJWK::keyDataRSAComponents): Added code to read
      RSA key components from JWK.
      (WebCore::JSCryptoKeySerializationJWK::keyData): Call one of the above functions.
      
      * crypto/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp: Added.
      (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::sign):
      (WebCore::CryptoAlgorithmRSASSA_PKCS1_v1_5::verify):
      Placeholders.
      
      * crypto/CryptoKey.h: (WebCore::CryptoKeyClass): Added RSA key class for poor man's RTTI.
      
      * crypto/CryptoKeyData.h: (WebCore::CryptoKeyData::FormatRSAComponents): Added RSAComponents
      for poor man's RTTI.
      
      * crypto/algorithms/CryptoAlgorithmAES_CBC.cpp: (WebCore::CryptoAlgorithmAES_CBC::importKey): 
      * crypto/algorithms/CryptoAlgorithmHMAC.cpp: (WebCore::CryptoAlgorithmHMAC::importKey):
      * crypto/keys/CryptoKeyAES.h:
      (WebCore::isCryptoKeyAES):
      (WebCore::toCryptoKeyAES):
      * crypto/keys/CryptoKeyDataOctetSequence.h:
      (WebCore::toCryptoKeyDataOctetSequence):
      * crypto/keys/CryptoKeyHMAC.h:
      (WebCore::isCryptoKeyHMAC):
      (WebCore::toCryptoKeyHMAC):
      * crypto/mac/CryptoAlgorithmAES_CBCMac.cpp:
      (WebCore::CryptoAlgorithmAES_CBC::encrypt):
      (WebCore::CryptoAlgorithmAES_CBC::decrypt):
      * crypto/mac/CryptoAlgorithmHMACMac.cpp:
      (WebCore::CryptoAlgorithmHMAC::sign):
      (WebCore::CryptoAlgorithmHMAC::verify):
      Switched from "as" functions to "is" and "to" ones, as that's more idiomatic.
      
      * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.cpp: Added.
      * crypto/algorithms/CryptoAlgorithmRSASSA_PKCS1_v1_5.h: Added.
      Glue code for importKey/generateKey for now.
      
      * crypto/keys/CryptoKeyDataRSAComponents.cpp: Added.
      (WebCore::CryptoKeyDataRSAComponents::CryptoKeyDataRSAComponents):
      (WebCore::CryptoKeyDataRSAComponents::~CryptoKeyDataRSAComponents):
      * crypto/keys/CryptoKeyDataRSAComponents.h: Added.
      (WebCore::toCryptoKeyDataRSAComponents):
      Added a structure to hold RSA key components, extracted from JWK or another format.
      
      * crypto/keys/CryptoKeyRSA.h: Added.
      * crypto/mac/CryptoKeyRSAMac.cpp: Added.
      
      * crypto/mac/CryptoAlgorithmRegistryMac.cpp:
      (WebCore::CryptoAlgorithmRegistry::platformRegisterAlgorithms):
      Register RSASSA_PKCS1_v1_5.
      
      * crypto/parameters/CryptoAlgorithmHmacKeyParams.h: Added a constructor to make
      sure that hasLength is never left uninitialized, even when reading formats that
      don't contain a length.
      
      * crypto/parameters/CryptoAlgorithmRsaKeyGenParams.h: Added.
      * crypto/parameters/CryptoAlgorithmRsaSsaKeyParams.h: Added.
      * crypto/parameters/CryptoAlgorithmRsaSsaParams.h: Added.
      Added parameter structures that are needed for RSASSA_PKCS1_v1_5.
      
      LayoutTests: 
      
      * crypto/subtle/resources/common.js:
      (hexToArrayBuffer): Fixed a typo
      (Base64URL.stringify):
      (Base64URL.parse):
      Added helpers to deal with Base64URL, as needed for JWK.
      
      * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-expected.txt: Added.
      * crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html: Added.
      * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-expected.txt: Added.
      * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0d58adc
    • bjonesbe@adobe.com's avatar
      Move ValueToString out to its own header file to remove duplication · 3afbee3d
      bjonesbe@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124237
      
      Reviewed by Alexandru Chiculita.
      
      The ValueToString struct is used in many places for debugging. Move it
      out to its own header file to remove all the duplicated definitions
      and make it possible for the specializations to be placed in the
      header files with the implementation of the classes they print.
      
      No new tests, no behavior change.
      
      * GNUmakefile.list.am:
      * WebCore.xcodeproj/project.pbxproj:
      * html/HTMLMediaElement.h:
      * platform/LayoutUnit.h:
      * platform/PODInterval.h:
      * platform/PODIntervalTree.h:
      * platform/PODRedBlackTree.h:
      * platform/ValueToString.h: Added.
      * platform/graphics/FloatPolygon.h:
      * rendering/FloatingObjects.cpp:
      * rendering/FloatingObjects.h:
      * rendering/RenderBlock.h:
      * rendering/RenderBlockFlow.h:
      * rendering/RenderFlowThread.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3afbee3d
    • commit-queue@webkit.org's avatar
      Fix GTK build after r159142 · c435abd7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124243
      
      Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-11-12
      Reviewed by Anders Carlsson.
      
      Use Vector + ImmutableArray instead of MutableArray
      
      * UIProcess/API/gtk/WebKitContextMenuItem.cpp:
      (webkitContextMenuItemCreate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c435abd7
    • roger_fong@apple.com's avatar
      [Windows] Unreviewed gardening. Re-add someone Windows expections that were erroneously removed. · d39f1168
      roger_fong@apple.com authored
      * platform/win/editing/selection/extend-selection-home-end-expected.txt: Added.
      * platform/win/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Added.
      * platform/win/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
      * platform/win/fast/canvas/canvas-render-layer-expected.txt: Added.
      * platform/win/fast/canvas/canvas-scale-shadowBlur-expected.txt: Added.
      * platform/win/fast/canvas/canvas-scale-strokePath-shadow-expected.txt: Added.
      * platform/win/fast/canvas/canvas-strokePath-gradient-shadow-expected.txt: Added.
      * platform/win/fast/canvas/canvas-strokeRect-alpha-shadow-expected.txt: Added.
      * platform/win/fast/canvas/canvas-strokeRect-gradient-shadow-expected.txt: Added.
      * platform/win/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Added.
      * platform/win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Added.
      * platform/win/fast/forms/cursor-at-editable-content-boundary-expected.txt: Added.
      * platform/win/fast/forms/implicit-submission-expected.txt: Added.
      * platform/win/fast/forms/select-popup-pagekeys-expected.txt: Added.
      * platform/win/fast/forms/slider-mouse-events-expected.txt: Added.
      * platform/win/media/media-can-play-wav-audio-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d39f1168
    • andersca@apple.com's avatar
      Remove ImmutableArray::isMutable · fcf53253
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124242
      
      Reviewed by Dan Bernstein.
      
      * Shared/API/c/WKMutableArray.cpp:
      (WKArrayIsMutable):
      * Shared/Cocoa/WKNSArray.mm:
      (-[WKNSArray copyWithZone:]):
      * Shared/ImmutableArray.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fcf53253
    • andersca@apple.com's avatar
      WKMutableArrayRef should be an ImmutableArray · 33ce1d56
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124239
      
      Reviewed by Sam Weinig.
      
      * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
      (ensureObjectStream):
      * Shared/API/c/WKMutableArray.cpp:
      (WKMutableArrayCreate):
      * Shared/API/c/WKSharedAPICast.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33ce1d56
    • hyatt@apple.com's avatar
      Fix windows build bustage. · 1750ad38
      hyatt@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1750ad38
    • commit-queue@webkit.org's avatar
      [sh4] Fix load32WithUnalignedHalfWords function in baseline JIT. · c89ac1fd
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=124233
      
      Patch by Julien Brianceau <jbriance@cisco.com> on 2013-11-12
      Reviewed by Michael Saboff.
      
      * assembler/MacroAssemblerSH4.h:
      (JSC::MacroAssemblerSH4::load32WithUnalignedHalfWords): Do not claim scratch register too early.
      Test already covered by fast/regex/pcre-test-1.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c89ac1fd
    • andersca@apple.com's avatar
      Remove more functionality from MutableArray · c5391c64
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124235
      
      Reviewed by Beth Dakin.
      
      * Shared/API/Cocoa/WKRemoteObjectCoder.mm:
      (encodeToObjectStream):
      * Shared/API/c/WKMutableArray.cpp:
      (WKArrayAppendItem):
      (WKArrayRemoveItemAtIndex):
      * Shared/Cocoa/WKNSArray.mm:
      (-[WKNSArray copyWithZone:]):
      * Shared/ImmutableArray.h:
      (WebKit::ImmutableArray::elements):
      * Shared/MutableArray.cpp:
      * Shared/MutableArray.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5391c64
    • achicu@adobe.com's avatar
      Web Inspector: ContentFlowTreeContentView should use only one DOMTreeOutline · 5aef1877
      achicu@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124230
      
      Reviewed by Timothy Hatcher.
      
      Changed ContentFlowTreeContentView to use one DOMTreeOutline by just
      populating it with root DOMTreeElements directly. That is very
      similar to how DOMTreeOutline works when omitRootDOMNode is used.
      
      Now that ContentFlowTreeContentView has only one DOMTreeOutline,
      it makes sense to change its base class to be DOMTreeContentView instead.
      Also, with that I've changed its name to ContentFlowDOMTreeContentView.
      
      I had to move all the DOMTree document loading code from DOMTreeContentView to a
      new class called FrameDOMTreeContentView. This is used to display the DOM of the
      frame objects. FrameDOMTreeContentView is also inheriting from DOMTreeContentView.
      
      Issues that are fixed as a side effect:
      - Selection path components are now displaying all the sibling elements for contentFlow.contentNodes
      (those are the nodes that have "-webkit-flow-into" set directly).
      - Keyboard navigation works for the contentFlow.contentNodes.
      - Search is implemented in DOMTreeContentView, so that code now works for flows too.
      The DOMAgents's search API will use all the Documents to lookup for nodes, so it might
      find DOM nodes that are not part of the flow. This is in line with the behavior for the
      frames.
      
      * UserInterface/ContentFlowDOMTreeContentView.js: Renamed from ContentFlowTreeContentView
      to better reflect the inheritance from DOMTreeContentView.
      (WebInspector.ContentFlowDOMTreeContentView):
      (WebInspector.ContentFlowDOMTreeContentView.prototype.closed):
      (WebInspector.ContentFlowDOMTreeContentView.prototype._createContentTrees):
      (WebInspector.ContentFlowDOMTreeContentView.prototype._contentNodeWasAdded):
      (WebInspector.ContentFlowDOMTreeContentView.prototype._contentNodeWasRemoved):
      * UserInterface/ContentView.js:
      (WebInspector.ContentView):
      * UserInterface/DOMTreeContentView.js:
      (WebInspector.DOMTreeContentView):
      (WebInspector.DOMTreeContentView.prototype.closed):
      (WebInspector.DOMTreeContentView.prototype.):
      (WebInspector.DOMTreeContentView.prototype._restoreSelectedNodeAfterUpdate):
      (WebInspector.DOMTreeContentView.prototype._selectedNodeDidChange):
      * UserInterface/FrameDOMTreeContentView.js: Added.
      (WebInspector.FrameDOMTreeContentView):
      (WebInspector.FrameDOMTreeContentView.prototype.get domTree):
      (WebInspector.FrameDOMTreeContentView.prototype.closed):
      (WebInspector.FrameDOMTreeContentView.prototype._rootDOMNodeAvailable):
      (WebInspector.FrameDOMTreeContentView.prototype._rootDOMNodeInvalidated):
      (WebInspector.FrameDOMTreeContentView.prototype._requestRootDOMNode):
      * UserInterface/Main.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5aef1877
    • hyatt@apple.com's avatar
      Make RenderBlockRareData be in a hashtable instead of being a member variable. · e96ebafe
      hyatt@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124056
      
      Reviewed by Anders Carlsson.
      
      Right now RenderBlock has 4 bytes taken up by a m_rareData member that is almost
      never allocated. This is better off in a separate hash, so that RenderBlock can
      get 4 bytes back.
              
      Since RenderBlockFlow's rare data member was recently removed and folded into
      RenderBlock, we need to undo that change and put the rare data member back in
      RenderBlockFlow. RenderBlockFlowRareData inheriting from RenderBlockRareData
      was not a good idea anyway, since RenderBlockFlows also very rarely need the
      RenderBlockRareData members, and were thus paying a heavier cost when the rare
      data was created than was necessary.
       
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlockRareData::RenderBlockRareData):
      (WebCore::RenderBlock::~RenderBlock):
      (WebCore::RenderBlock::hasRareData):
      (WebCore::getRareData):
      (WebCore::ensureRareData):
      (WebCore::RenderBlock::ensureShapeInsideInfo):
      (WebCore::RenderBlock::shapeInsideInfo):
      (WebCore::RenderBlock::setShapeInsideInfo):
      (WebCore::RenderBlock::paginationStrut):
      (WebCore::RenderBlock::pageLogicalOffset):
      (WebCore::RenderBlock::setPaginationStrut):
      (WebCore::RenderBlock::setPageLogicalOffset):
      * rendering/RenderBlock.h:
      * rendering/RenderBlockFlow.cpp:
      (WebCore::RenderBlockFlow::setMaxMarginBeforeValues):
      (WebCore::RenderBlockFlow::setMaxMarginAfterValues):
      (WebCore::RenderBlockFlow::setMustDiscardMarginBefore):
      (WebCore::RenderBlockFlow::setMustDiscardMarginAfter):
      (WebCore::RenderBlockFlow::mustDiscardMarginBefore):
      (WebCore::RenderBlockFlow::mustDiscardMarginAfter):
      (WebCore::RenderBlockFlow::setBreakAtLineToAvoidWidow):
      (WebCore::RenderBlockFlow::setDidBreakAtLineToAvoidWidow):
      (WebCore::RenderBlockFlow::clearDidBreakAtLineToAvoidWidow):
      (WebCore::RenderBlockFlow::clearShouldBreakAtLineToAvoidWidow):
      (WebCore::RenderBlockFlow::setRenderNamedFlowFragment):
      (WebCore::RenderBlockFlow::ensureRareBlockFlowData):
      (WebCore::RenderBlockFlow::materializeRareBlockFlowData):
      * rendering/RenderBlockFlow.h:
      (WebCore::RenderBlockFlow::shouldBreakAtLineToAvoidWidow):
      (WebCore::RenderBlockFlow::lineBreakToAvoidWidow):
      (WebCore::RenderBlockFlow::didBreakAtLineToAvoidWidow):
      (WebCore::RenderBlockFlow::lineGridBox):
      (WebCore::RenderBlockFlow::setLineGridBox):
      (WebCore::RenderBlockFlow::renderNamedFlowFragment):
      (WebCore::RenderBlockFlow::maxPositiveMarginBefore):
      (WebCore::RenderBlockFlow::maxNegativeMarginBefore):
      (WebCore::RenderBlockFlow::maxPositiveMarginAfter):
      (WebCore::RenderBlockFlow::maxNegativeMarginAfter):
      (WebCore::RenderBlockFlow::initMaxMarginValues):
      (WebCore::RenderBlockFlow::hasRareBlockFlowData):
      (WebCore::RenderBlockFlow::rareBlockFlowData):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e96ebafe
    • andersca@apple.com's avatar
      Remove most uses of MutableArray · a6b7366a
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124232
      
      Reviewed by Sam Weinig.
      
      * Shared/API/c/WKMutableArray.cpp:
      (WKMutableArrayCreate):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/WebRenderLayer.h:
      (WebKit::WebRenderLayer::create):
      (WebKit::WebRenderLayer::WebRenderLayer):
      * Shared/WebRenderObject.cpp:
      (WebKit::WebRenderObject::WebRenderObject):
      * Shared/WebRenderObject.h:
      (WebKit::WebRenderObject::create):
      (WebKit::WebRenderObject::WebRenderObject):
      * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp:
      (WebKit::InjectedBundlePageContextMenuClient::getCustomMenuFromDefaultItems):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6b7366a
    • bfulgham@apple.com's avatar
      [Win] Unreviewed gardening. · e8faf43f
      bfulgham@apple.com authored
      * WTF.vcxproj/WTF.vcxproj.filters: Tidy up filters so files show up
      in their proper directories.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e8faf43f
    • alex.christensen@flexsim.com's avatar
      Build GStreamer files on Windows. · 607d1c00
      alex.christensen@flexsim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124180
      
      Reviewed by Brent Fulgham.
      
      Source/WebCore: 
      
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.vcxproj/copyForwardingHeaders.cmd:
      Include gstreamer files in WinCairo build.
      
      Source/WTF: 
      
      * WTF.vcxproj/WTF.vcxproj:
      * WTF.vcxproj/WTF.vcxproj.filters:
      * WTF.vcxproj/copy-files.cmd:
      Include gobject files in WinCairo build.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      607d1c00
    • timothy_horton@apple.com's avatar
      Add fast/images/pdf-as-image-crop-box.html to the pile of tiny-color-mismatch tests. · 7d368ffd
      timothy_horton@apple.com authored
      * platform/mac-wk2/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159145 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d368ffd
    • beidson@apple.com's avatar
      Introduce IDBServerConnection (and start moving things to it). · d37cec23
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124193
      
      Reviewed by Alexey Proskuryakov.
      
      IDBServerConnection will be a purely asynchronous interface for database connections, transactions, and cursors.
      Its interface will be 100% asynchronous and callback based - Perfect for an IPC divide.
      Eventually none of the IDB<Foo>Backend classes will need IDBBackingStore<Foo> classes at all,
      and they’ll all use IDBServerConnection directly.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * WebCore.xcodeproj/project.pbxproj:
      
      * Modules/indexeddb/IDBServerConnection.h: Added.
      (WebCore::IDBServerConnection::~IDBServerConnection):
      
      Concrete implementation that - for now - wraps an IDBBackingStoreLevelDB:
      * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.cpp: Added.
      (WebCore::IDBServerConnectionLevelDB::IDBServerConnectionLevelDB):
      (WebCore::IDBServerConnectionLevelDB::deprecatedBackingStore):
      (WebCore::IDBServerConnectionLevelDB::isClosed):
      (WebCore::IDBServerConnectionLevelDB::getOrEstablishIDBDatabaseMetadata):
      (WebCore::IDBServerConnectionLevelDB::deleteDatabase):
      (WebCore::IDBServerConnectionLevelDB::close):
      * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h: Added.
      
      LevelDB created databases get LevelDB server connections:
      * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
      (WebCore::IDBFactoryBackendLevelDB::deleteDatabase):
      (WebCore::IDBFactoryBackendLevelDB::open):
      
      Replace most uses of IDBBackingStore with server connection:
      * Modules/indexeddb/IDBDatabaseBackend.cpp:
      (WebCore::IDBDatabaseBackend::create):
      (WebCore::IDBDatabaseBackend::IDBDatabaseBackend):
      (WebCore::IDBDatabaseBackend::openInternalAsync):
      (WebCore::IDBDatabaseBackend::setIndexKeys):
      (WebCore::IDBDatabaseBackend::openConnectionInternal):
      (WebCore::IDBDatabaseBackend::deleteDatabaseAsync):
      (WebCore::IDBDatabaseBackend::close):
      * Modules/indexeddb/IDBDatabaseBackend.h:
      (WebCore::IDBDatabaseBackend::serverConnection):
      
      Change all the operations to access their DatabaseBackend’s server connection instead
      if hanging on to a backing store directly:
      * Modules/indexeddb/IDBTransactionBackend.cpp:
      (WebCore::IDBTransactionBackend::IDBTransactionBackend):
      (WebCore::IDBTransactionBackend::scheduleCreateObjectStoreOperation):
      (WebCore::IDBTransactionBackend::scheduleDeleteObjectStoreOperation):
      (WebCore::IDBTransactionBackend::scheduleCreateIndexOperation):
      (WebCore::IDBTransactionBackend::scheduleDeleteIndexOperation):
      (WebCore::IDBTransactionBackend::scheduleGetOperation):
      (WebCore::IDBTransactionBackend::schedulePutOperation):
      (WebCore::IDBTransactionBackend::scheduleOpenCursorOperation):
      (WebCore::IDBTransactionBackend::scheduleCountOperation):
      (WebCore::IDBTransactionBackend::scheduleDeleteRangeOperation):
      (WebCore::IDBTransactionBackend::scheduleClearOperation):
      * Modules/indexeddb/IDBTransactionBackend.h:
      
      * Modules/indexeddb/IDBTransactionBackendOperations.cpp:
      (WebCore::CreateObjectStoreOperation::perform):
      (WebCore::CreateIndexOperation::perform):
      (WebCore::DeleteIndexOperation::perform):
      (WebCore::GetOperation::perform):
      (WebCore::PutOperation::perform):
      (WebCore::OpenCursorOperation::perform):
      (WebCore::CountOperation::perform):
      (WebCore::DeleteRangeOperation::perform):
      (WebCore::ClearOperation::perform):
      (WebCore::DeleteObjectStoreOperation::perform):
      (WebCore::IDBDatabaseBackend::VersionChangeOperation::perform):
      * Modules/indexeddb/IDBTransactionBackendOperations.h:
      (WebCore::CreateObjectStoreOperation::create):
      (WebCore::CreateObjectStoreOperation::CreateObjectStoreOperation):
      (WebCore::DeleteObjectStoreOperation::create):
      (WebCore::DeleteObjectStoreOperation::DeleteObjectStoreOperation):
      (WebCore::CreateIndexOperation::create):
      (WebCore::CreateIndexOperation::CreateIndexOperation):
      (WebCore::DeleteIndexOperation::create):
      (WebCore::DeleteIndexOperation::DeleteIndexOperation):
      (WebCore::GetOperation::create):
      (WebCore::GetOperation::GetOperation):
      (WebCore::PutOperation::create):
      (WebCore::PutOperation::PutOperation):
      (WebCore::OpenCursorOperation::create):
      (WebCore::OpenCursorOperation::OpenCursorOperation):
      (WebCore::CountOperation::create):
      (WebCore::CountOperation::CountOperation):
      (WebCore::DeleteRangeOperation::create):
      (WebCore::DeleteRangeOperation::DeleteRangeOperation):
      (WebCore::ClearOperation::create):
      (WebCore::ClearOperation::ClearOperation):
      * Modules/indexeddb/IDBTransactionCoordinator.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d37cec23
    • bfulgham@apple.com's avatar
      [Win] Unreviewed gardening. · 065fbec3
      bfulgham@apple.com authored
      * WebCore.vcxproj/WebCore.vcxproj.filters: Correct filter file so that source
      files show up in their proper directories in Visual Studio.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      065fbec3
    • andersca@apple.com's avatar
      Use Vector + ImmutableArray instead of MutableArray · 46267714
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124221
      
      Reviewed by Andreas Kling.
      
      * Shared/WebRenderLayer.cpp:
      (WebKit::WebRenderLayer::createArrayFromLayerList):
      * Shared/WebRenderLayer.h:
      * UIProcess/Notifications/WebNotificationProvider.cpp:
      (WebKit::WebNotificationProvider::clearNotifications):
      * UIProcess/WebPageContextMenuClient.cpp:
      (WebKit::WebPageContextMenuClient::getContextMenuFromProposedMenu):
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      (contextMenuItems):
      (WKBundlePageCopyContextMenuItems):
      (WKBundlePageCopyContextMenuAtPointInWindow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46267714
    • fpizlo@apple.com's avatar
      Liveness analysis should take less memory in CodeBlock when it is unused · d0f35b6b
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124225
      
      Reviewed by Mark Hahnenberg.
              
      Basically, I turned CodeBlock::m_livenessAnalysis into a pointer that is null by
      default.
      
      * bytecode/BytecodeLivenessAnalysis.cpp:
      (JSC::BytecodeLivenessAnalysis::BytecodeLivenessAnalysis):
      (JSC::BytecodeLivenessAnalysis::runLivenessFixpoint):
      (JSC::BytecodeLivenessAnalysis::operandIsLiveAtBytecodeOffset):
      (JSC::BytecodeLivenessAnalysis::dumpResults):
      (JSC::BytecodeLivenessAnalysis::compute):
      * bytecode/BytecodeLivenessAnalysis.h:
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::CodeBlock):
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::livenessAnalysis):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0f35b6b
    • timothy_horton@apple.com's avatar
      fast/canvas/webgl/draw-arrays-out-of-bounds.html is flaky on Mavericks WK2... · ca94cf42
      timothy_horton@apple.com authored
      fast/canvas/webgl/draw-arrays-out-of-bounds.html is flaky on Mavericks WK2 testers, fails about 20% of the time
      https://bugs.webkit.org/show_bug.cgi?id=124223
      
      Mark as flaky on Mac-Mavericks-WebKit2.
      
      * platform/mac-wk2/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca94cf42
    • oliver@apple.com's avatar
      Support unprefixed deconstructing assignment · 2bae57ad
      oliver@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124172
      
      Reviewed by Mark Lam.
      
      Source/JavaScriptCore:
      
      Add support for unprefixed descontructive assignment.
      
      Happily non-reference types on the left hand side of an assignment
      are a runtime error, so we're able to defer validation of the binding
      pattern to codegen time when we're already doing a lot more work.
      
      We're also able to predicate our attempt to parse on the existence of
      '[' or '{' as they are not as common as other constructs.
      
      * bytecompiler/NodesCodegen.cpp:
      (JSC::ArrayPatternNode::emitDirectBinding):
      * parser/ASTBuilder.h:
      * parser/Parser.cpp:
      (JSC::::createBindingPattern):
      (JSC::::tryParseDeconstructionPatternExpression):
      (JSC::::parseDeconstructionPattern):
      (JSC::::parseForStatement):
      (JSC::::parseAssignmentExpression):
      * parser/Parser.h:
      (JSC::Parser::createSavePoint):
      (JSC::Parser::restoreSavePoint):
      * parser/SyntaxChecker.h:
      
      LayoutTests:
      
      Add and expand testing of destructuring assignment
      
      * js/basic-for-of-expected.txt:
      * js/destructuring-assignment-expected.txt:
      * js/parser-syntax-check-expected.txt:
      * js/script-tests/basic-for-of.js:
      * js/script-tests/destructuring-assignment.js:
      (testDestructuring):
      * js/script-tests/parser-syntax-check.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2bae57ad
    • aestes@apple.com's avatar
      Run JavaScriptCore Objective-C API tests on all supported platforms · 529b5ec5
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124214
      
      Reviewed by Mark Hahnenberg.
      
      Now that we support the API on iOS and on OS X 10.8, there's no reason
      to limit the tests to OS X 10.9 (or greater).
      
      * API/tests/CurrentThisInsideBlockGetterTest.h:
      * API/tests/CurrentThisInsideBlockGetterTest.mm:
      * API/tests/testapi.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      529b5ec5
    • roger_fong@apple.com's avatar
      [Windows] Unreviewed gardening of some media tests. · 9145a28d
      roger_fong@apple.com authored
      * platform/win/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9145a28d
    • mhahnenberg@apple.com's avatar
      CodeBlocks should be able to determine bytecode liveness · 3811e215
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=118546
      
      Reviewed by Filip Pizlo.
      
      This will simplify some things in the DFG related to OSR exits and determining 
      which bytecode variables are live at which points during execution. It will
      also be useful for making our conservative GC scan more precise. Currently it 
      doesn't properly account for liveness while the DFG is running, so it will be 
      off by default behing a runtime Options flag.
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * bytecode/BytecodeBasicBlock.cpp: Added.
      (JSC::isBranch): Used to determine the end of basic blocks.
      (JSC::isUnconditionalBranch): Used to determine when a branch at the end of a 
      basic block can't possibly fall through to the next basic block in program order.
      (JSC::isTerminal): Also used to detect the end of a block.
      (JSC::isThrow):
      (JSC::isJumpTarget): Used to correctly separate basic blocks. Any jump destination 
      must be the head of its own basic block.
      (JSC::linkBlocks): Links two blocks together in a bi-direcitonal fashion.
      (JSC::computeBytecodeBasicBlocks): Creates a set of basic blocks given a particular 
      CodeBlock and links them together.
      * bytecode/BytecodeBasicBlock.h: Added.
      (JSC::BytecodeBasicBlock::isEntryBlock): Entry blocks are a special basic blocks 
      that indicate the beginning of the function.
      (JSC::BytecodeBasicBlock::isExitBlock): Exit blocks are a special basic block that 
      all blocks that exit the function have as a successor. Entry and exit blocks allows 
      the various code paths to be more regular.
      (JSC::BytecodeBasicBlock::leaderBytecodeOffset): The leader bytecode offset is the 
      bytecode offset of the first instruction in the block.
      (JSC::BytecodeBasicBlock::totalBytecodeLength): The total length of all the bytecodes 
      in this block.
      (JSC::BytecodeBasicBlock::bytecodeOffsets): The bytecode offsets in this particular 
      basic block. This Vector allows us to iterate over the bytecodes in reverse order 
      which wouldn't be possible normally since they are of variable size.
      (JSC::BytecodeBasicBlock::addPredecessor): Links a block to a specified predecessor. 
      Only creates one direction of the link.
      (JSC::BytecodeBasicBlock::addSuccessor): Same as addPredecessor, but for successors.
      (JSC::BytecodeBasicBlock::predecessors): Getter for predecessors.
      (JSC::BytecodeBasicBlock::successors): Getter for successors.
      (JSC::BytecodeBasicBlock::in): Getter for the liveness info at the head of the block.
      (JSC::BytecodeBasicBlock::out): Getter for the liveness info at  the tail of the block.
      (JSC::BytecodeBasicBlock::BytecodeBasicBlock):
      (JSC::BytecodeBasicBlock::addBytecodeLength): When creating basic blocks we call 
      this function when we want to add the next bytecode in program order to this block.
      * bytecode/BytecodeLivenessAnalysis.cpp: Added.
      (JSC::BytecodeLivenessAnalysis::BytecodeLivenessAnalysis):
      (JSC::numberOfCapturedVariables): Convenience wrapper. Returns the
      number of captured variables for a particular CodeBlock, or 0 if 
      the CodeBlock has no SymbolTable.
      (JSC::captureStart): Ditto, but for captureStart().
      (JSC::captureEnd): Ditto, but for captureEnd().
      (JSC::isValidRegisterForLiveness): Returns true if the liveness analysis should 
      track the liveness of a particular operand. We ignore constants, arguments, and 
      captured variables. We ignore arguments because they're live for the duration of 
      a function call. We ignore captured variables because we also treat them as live 
      for the duration of the function. This could probably be improved to be more precise, 
      but it didn't seem worth it for now.
      (JSC::setForOperand): Convenience wrapper that sets the bit in the provided bit 
      vector for the provided operand. It handles skipping over captured variables.
      (JSC::computeUsesForBytecodeOffset): Computes which operands are used by a particular bytecode.
      (JSC::computeDefsForBytecodeOffset): Computes which operands are defined by a particular 
      bytecode. Typically this is just the left-most operand.
      (JSC::findBasicBlockWithLeaderOffset): 
      (JSC::findBasicBlockForBytecodeOffset): Scans over basic blocks to find the block 
      which contains a particular bytecode offset.
      (JSC::computeLocalLivenessForBytecodeOffset): Computes block-local liveness from the 
      bottom of the block until a specified bytecode offset is reached. 
      (JSC::computeLocalLivenessForBlock): Computes liveness for the entire block and 
      stores the resulting liveness at the head.
      (JSC::BytecodeLivenessAnalysis::runLivenessFixpoint): Runs backward flow liveness 
      analysis to fixpoint.
      (JSC::BytecodeLivenessAnalysis::getLivenessInfoForNonCapturedVarsAtBytecodeOffset): 
      Slow path to get liveness info for non-captured, non-argument variable.
      (JSC::BytecodeLivenessAnalysis::operandIsLiveAtBytecodeOffset): 
      (JSC::BytecodeLivenessAnalysis::getLivenessInfoAtBytecodeOffset): Returns the liveness 
      info for both captured and non-captured vars at a particular bytecode offset.
      (JSC::BytecodeLivenessAnalysis::dumpResults): Dumps the output of the liveness analysis. 
      Controlled by new flag in Options.h/.cpp.
      (JSC::BytecodeLivenessAnalysis::compute): Creates bytecode basic blocks and runs 
      full liveness analysis.
      * bytecode/BytecodeLivenessAnalysis.h: Added.
      (JSC::BytecodeLivenessAnalysis::hasBeenComputed):
      (JSC::BytecodeLivenessAnalysis::computeIfNecessary):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::CodeBlock):
      * bytecode/CodeBlock.h:
      (JSC::CodeBlock::livenessAnalysis):
      * bytecode/PreciseJumpTargets.cpp: Refactored to be able to get the jump targets for 
      a particular bytecode offset for use during bytecode basic block construction.
      (JSC::getJumpTargetsForBytecodeOffset):
      (JSC::computePreciseJumpTargets):
      (JSC::findJumpTargetsForBytecodeOffset):
      * bytecode/PreciseJumpTargets.h:
      * runtime/Options.cpp:
      (JSC::Options::initialize):
      * runtime/Options.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3811e215
    • timothy_horton@apple.com's avatar
      "AVF info: hasOfflineRenderer, board-id check : true" in... · 7368f1e7
      timothy_horton@apple.com authored
      "AVF info: hasOfflineRenderer, board-id check : true" in media/track/track-forced-subtitles-in-band.html
      https://bugs.webkit.org/show_bug.cgi?id=124219
      
      Logging that happens unpredictably underneath us; marking the test as flaky on Mavericks for now.
      
      * platform/mac/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7368f1e7
    • zandobersek@gmail.com's avatar
      Unreviewed GTK build fix after r159129. · 9ccf9f00
      zandobersek@gmail.com authored
      * UIProcess/API/gtk/WebKitFileChooserRequest.cpp:
      (webkit_file_chooser_request_select_files): Use ImmutableArray::create() instead.
      * UIProcess/API/gtk/WebKitWebViewGroup.cpp:
      (toImmutableArray): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ccf9f00
    • andersca@apple.com's avatar
      Stop using WKArrayCreate internally · bb2ed332
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124217
      
      Reviewed by Andreas Kling.
      
      * UIProcess/API/mac/WKBrowsingContextGroup.mm:
      (createWKArray):
      (-[WKBrowsingContextGroup addUserStyleSheet:baseURL:whitelistedURLPatterns:blacklistedURLPatterns:mainFrameOnly:]):
      (-[WKBrowsingContextGroup addUserScript:baseURL:whitelistedURLPatterns:blacklistedURLPatterns:injectionTime:mainFrameOnly:]):
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      (WKBundlePageCopyContextMenuItems):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb2ed332
    • stavila@adobe.com's avatar
      Created test for testing repaint rects for elements inside relative-positioned regions. · ba4495bf
      stavila@adobe.com authored
      [CSS Regions] clip rectangles are incorrectly computed in some positioned elements
      https://bugs.webkit.org/show_bug.cgi?id=114722
      
      Reviewed by Mihnea Ovidenie.
      
      * fast/repaint/increasing-region-content-height-expected.txt: Added.
      * fast/repaint/increasing-region-content-height.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba4495bf
    • ossy@webkit.org's avatar
      URTBF after r159129, use create() instead of adopt() everywhere. · 9d93140a
      ossy@webkit.org authored
      * UIProcess/WebGrammarDetail.cpp:
      (WebKit::WebGrammarDetail::guesses):
      * UIProcess/efl/WebUIPopupMenuClient.cpp:
      (WebUIPopupMenuClient::showPopupMenu):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9d93140a
    • timothy_horton@apple.com's avatar
      After http://trac.webkit.org/changeset/159109, update · 31803ed0
      timothy_horton@apple.com authored
      rebaseline_unittest to use the new GTK bot names.
      
      * Scripts/webkitpy/tool/commands/rebaseline_unittest.py:
      (TestRebaselineTest.test_baseline_directory):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31803ed0
    • andersca@apple.com's avatar
      Simplify ImmutableArray creation · 7241adc0
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124213
      
      Reviewed by Andreas Kling.
      
      Get rid of the various ImmutableArray::adopt functions and have a single create function instead.
      Use std::move to avoid unnecessarily copying vector data.
      
      * Shared/API/c/WKArray.cpp:
      (WKArrayCreate):
      (WKArrayCreateAdoptingValues):
      * Shared/Cocoa/WKNSArray.mm:
      (-[WKNSArray copyWithZone:]):
      * Shared/ImmutableArray.cpp:
      (WebKit::ImmutableArray::create):
      (WebKit::ImmutableArray::createStringArray):
      (WebKit::ImmutableArray::ImmutableArray):
      * Shared/ImmutableArray.h:
      (WebKit::ImmutableArray::at):
      (WebKit::ImmutableArray::size):
      (WebKit::ImmutableArray::entries):
      * Shared/ImmutableDictionary.cpp:
      (WebKit::ImmutableDictionary::keys):
      * Shared/MutableArray.cpp:
      (WebKit::MutableArray::MutableArray):
      (WebKit::MutableArray::append):
      (WebKit::MutableArray::reserveCapacity):
      (WebKit::MutableArray::removeItemAtIndex):
      * Shared/SecurityOriginData.cpp:
      (WebKit::performAPICallbackWithSecurityOriginDataVector):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/WebArchive.cpp:
      (WebKit::WebArchive::subresources):
      (WebKit::WebArchive::subframeArchives):
      * Shared/WebContextMenuItem.cpp:
      (WebKit::WebContextMenuItem::submenuItemsAsImmutableArray):
      * UIProcess/API/C/mac/WKContextPrivateMac.mm:
      (WKContextGetInfoForInstalledPlugIns):
      * UIProcess/StatisticsRequest.cpp:
      (WebKit::StatisticsRequest::completedRequest):
      * UIProcess/WebBackForwardList.cpp:
      (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit):
      (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::pluginInfoStoreDidLoadPlugins):
      * UIProcess/WebDatabaseManagerProxy.cpp:
      (WebKit::WebDatabaseManagerProxy::didGetDatabasesByOrigin):
      (WebKit::WebDatabaseManagerProxy::didGetDatabaseOrigins):
      * UIProcess/WebKeyValueStorageManager.cpp:
      (WebKit::didGetKeyValueStorageOrigins):
      * UIProcess/WebLoaderClient.cpp:
      (WebKit::WebLoaderClient::didChangeBackForwardList):
      * UIProcess/WebPageContextMenuClient.cpp:
      (WebKit::WebPageContextMenuClient::showContextMenu):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::relatedPages):
      (WebKit::WebPageProxy::didFindStringMatches):
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::originsWithApplicationCache):
      * WebProcess/InjectedBundle/InjectedBundleBackForwardListItem.cpp:
      (WebKit::InjectedBundleBackForwardListItem::children):
      * WebProcess/InjectedBundle/InjectedBundlePageFormClient.cpp:
      (WebKit::InjectedBundlePageFormClient::didAssociateFormControls):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::childFrames):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::trackedRepaintRects):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7241adc0
    • timothy_horton@apple.com's avatar
      Fix accessibility/aria-help after r159067. · 1641b4bb
      timothy_horton@apple.com authored
      It's failing everywhere because the path to its script is wrong.
      
      * accessibility/aria-help.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1641b4bb
    • ossy@webkit.org's avatar
      The last URTBF after r159108 to make GTK happy. · 82f3ae4f
      ossy@webkit.org authored
      * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82f3ae4f
    • ossy@webkit.org's avatar
      One more URTBF after r159108, I hope the last one. · a159dac6
      ossy@webkit.org authored
      * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159126 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a159dac6
    • aestes@apple.com's avatar
      [iOS] Define JSC_OBJC_API_ENABLED · 695a7f50
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124192
      
      Reviewed by Geoffrey Garen.
      
      * API/JSBase.h: JSC_OBJC_API_ENABLED should evaluate to true if
      TARGET_OS_IPHONE is true.
      * API/JSValue.h: Ensure CG types referenced later in the file are defined.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159125 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      695a7f50
    • timothy_horton@apple.com's avatar
      Remote Layer Tree: Assertions during layer flushing after replaceSublayer() · 744bfb9b
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124194
      
      Reviewed by Anders Carlsson.
      
      * WebProcess/WebPage/mac/PlatformCALayerRemote.cpp:
      (PlatformCALayerRemote::replaceSublayer):
      Only remove the old layer from the children array once (via removeFromSuperlayer).
      Update the superlayer backpointer on the new layer.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159124 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      744bfb9b
    • andersca@apple.com's avatar
      Add ImmutableArray::createStringArray · 59e56558
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124210
      
      Reviewed by Andreas Kling.
      
      Creating an ImmutableArray of WebStrings is a common operation, so add a
      helper function to ImmutableArray that does this from a Vector of Strings.
      
      * Shared/ImmutableArray.cpp:
      (WebKit::ImmutableArray::createStringArray):
      * Shared/ImmutableArray.h:
      * Shared/ImmutableDictionary.cpp:
      (WebKit::ImmutableDictionary::keys):
      * Shared/WebOpenPanelParameters.cpp:
      (WebKit::WebOpenPanelParameters::acceptMIMETypes):
      (WebKit::WebOpenPanelParameters::selectedFileNames):
      * UIProcess/Plugins/WebPluginSiteDataManager.cpp:
      (WebKit::WebPluginSiteDataManager::didGetSitesWithData):
      * UIProcess/WebCookieManagerProxy.cpp:
      (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies):
      * UIProcess/WebMediaCacheManagerProxy.cpp:
      (WebKit::WebMediaCacheManagerProxy::didGetHostnamesWithMediaCache):
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      (WebKit::InjectedBundlePageLoaderClient::featuresUsedInPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159123 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59e56558
    • alex.christensen@flexsim.com's avatar
      [WinCairo] Preparation for ENABLE(VIDEO). · 0e4d08bf
      alex.christensen@flexsim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=57420
      
      Reviewed by Martin Robinson.
      
      Source/WebCore: 
      
      * platform/FileSystem.h:
      * platform/graphics/MediaPlayer.cpp:
      * rendering/RenderMediaControls.cpp:
      * rendering/RenderThemeWin.cpp:
      (WebCore::RenderThemeWin::adjustSliderThumbSize):
      Separated CG code from GStreamer code.
      
      Source/WebKit/win: 
      
      * FullscreenVideoController.cpp:
      Don't compile if using GStreamer.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159122 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e4d08bf
    • akling@apple.com's avatar
      Remove body onload handler from html5-8266.html that was causing · 31b95729
      akling@apple.com authored
      the test to sometimes finish before doing anything interesting.
      
      Unskip Parser/HTML5-8266-FullRender.html now that it's stable.
      
      Rubber-stamped by Antti Koivisto.
      
      * Parser/resources/html5-8266.html:
      * Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159121 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      31b95729