1. 30 Sep, 2013 40 commits
    • weinig@apple.com's avatar
      More build fixing. · 818ce58a
      weinig@apple.com authored
      * GNUmakefile.list.am:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * inspector/InspectorAllInOne.cpp:
      * inspector/InstrumentingAgents.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      818ce58a
    • commit-queue@webkit.org's avatar
      check-webkit-style should not warn about use of C++11 “>>” instead of “> >" · 98310c18
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=116474
      
      Patch by Sam Weinig <sam@webkit.org> on 2013-09-30
      Reviewed by Ryosuke Niwa.
      
      * Scripts/webkitpy/style/checkers/cpp.py:
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156694 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98310c18
    • weinig@apple.com's avatar
      Fix the Efl and Gtk builds. · f7cc7dc6
      weinig@apple.com authored
      * GNUmakefile.list.am:
      * PlatformEfl.cmake:
      * PlatformGTK.cmake:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156693 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7cc7dc6
    • weinig@apple.com's avatar
      Remove support for DOMFileSystem · 7df82b33
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122137
      
      Reviewed by Anders Carlsson.
      
      .: 
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      * Files elided *
      
      Source/WebKit/blackberry: 
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      (BlackBerry::WebKit::WebPage::clearWebFileSystem):
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/efl: 
      
      * ewk/ewk_settings.cpp:
      (ewk_settings_file_system_path_set):
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * Scripts/webkitperl/FeatureList.pm:
      * Scripts/webkitpy/style/checkers/cpp.py:
      (check_spacing):
      * Scripts/webkitpy/style/checkers/cpp_unittest.py:
      (CppStyleTest.test_spacing_for_binary_ops):
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests: 
      
      * fast/dom/MutationObserver/filesystem-callback-delivery-expected.txt: Removed.
      * fast/dom/MutationObserver/filesystem-callback-delivery.html: Removed.
      * fast/filesystem: Removed.
      * fast/filesystem/async-operations-expected.txt: Removed.
      * fast/filesystem/async-operations.html: Removed.
      * fast/filesystem/cross-filesystem-op-expected.txt: Removed.
      * fast/filesystem/cross-filesystem-op.html: Removed.
      * fast/filesystem/directory-entry-to-uri-expected.txt: Removed.
      * fast/filesystem/directory-entry-to-uri.html: Removed.
      * fast/filesystem/entry-points-missing-arguments-expected.txt: Removed.
      * fast/filesystem/entry-points-missing-arguments.html: Removed.
      * fast/filesystem/file-after-reload-crash-expected.txt: Removed.
      * fast/filesystem/file-after-reload-crash.html: Removed.
      * fast/filesystem/file-entry-to-uri-expected.txt: Removed.
      * fast/filesystem/file-entry-to-uri.html: Removed.
      * fast/filesystem/file-from-file-entry-expected.txt: Removed.
      * fast/filesystem/file-from-file-entry.html: Removed.
      * fast/filesystem/file-metadata-after-write-expected.txt: Removed.
      * fast/filesystem/file-metadata-after-write.html: Removed.
      * fast/filesystem/file-writer-abort-continue-expected.txt: Removed.
      * fast/filesystem/file-writer-abort-continue.html: Removed.
      * fast/filesystem/file-writer-abort-depth-expected.txt: Removed.
      * fast/filesystem/file-writer-abort-depth.html: Removed.
      * fast/filesystem/file-writer-abort-expected.txt: Removed.
      * fast/filesystem/file-writer-abort.html: Removed.
      * fast/filesystem/file-writer-empty-blob-expected.txt: Removed.
      * fast/filesystem/file-writer-empty-blob.html: Removed.
      * fast/filesystem/file-writer-events-expected.txt: Removed.
      * fast/filesystem/file-writer-events.html: Removed.
      * fast/filesystem/file-writer-gc-blob-expected.txt: Removed.
      * fast/filesystem/file-writer-gc-blob.html: Removed.
      * fast/filesystem/file-writer-truncate-extend-expected.txt: Removed.
      * fast/filesystem/file-writer-truncate-extend.html: Removed.
      * fast/filesystem/file-writer-write-overlapped-expected.txt: Removed.
      * fast/filesystem/file-writer-write-overlapped.html: Removed.
      * fast/filesystem/filesystem-missing-arguments-expected.txt: Removed.
      * fast/filesystem/filesystem-missing-arguments.html: Removed.
      * fast/filesystem/filesystem-no-callback-null-ptr-crash-expected.txt: Removed.
      * fast/filesystem/filesystem-no-callback-null-ptr-crash.html: Removed.
      * fast/filesystem/filesystem-reference-expected.txt: Removed.
      * fast/filesystem/filesystem-reference.html: Removed.
      * fast/filesystem/filesystem-unserializable-expected.txt: Removed.
      * fast/filesystem/filesystem-unserializable.html: Removed.
      * fast/filesystem/filesystem-uri-origin-expected.txt: Removed.
      * fast/filesystem/filesystem-uri-origin.html: Removed.
      * fast/filesystem/flags-passing-expected.txt: Removed.
      * fast/filesystem/flags-passing.html: Removed.
      * fast/filesystem/input-access-entries-expected.txt: Removed.
      * fast/filesystem/input-access-entries.html: Removed.
      * fast/filesystem/not-enough-arguments-expected.txt: Removed.
      * fast/filesystem/not-enough-arguments.html: Removed.
      * fast/filesystem/op-copy-expected.txt: Removed.
      * fast/filesystem/op-copy.html: Removed.
      * fast/filesystem/op-get-entry-expected.txt: Removed.
      * fast/filesystem/op-get-entry.html: Removed.
      * fast/filesystem/op-get-metadata-expected.txt: Removed.
      * fast/filesystem/op-get-metadata.html: Removed.
      * fast/filesystem/op-get-parent-expected.txt: Removed.
      * fast/filesystem/op-get-parent.html: Removed.
      * fast/filesystem/op-move-expected.txt: Removed.
      * fast/filesystem/op-move.html: Removed.
      * fast/filesystem/op-read-directory-expected.txt: Removed.
      * fast/filesystem/op-read-directory.html: Removed.
      * fast/filesystem/op-remove-expected.txt: Removed.
      * fast/filesystem/op-remove.html: Removed.
      * fast/filesystem/op-restricted-chars-expected.txt: Removed.
      * fast/filesystem/op-restricted-chars.html: Removed.
      * fast/filesystem/op-restricted-names-expected.txt: Removed.
      * fast/filesystem/op-restricted-names.html: Removed.
      * fast/filesystem/op-restricted-unicode-expected.txt: Removed.
      * fast/filesystem/op-restricted-unicode.html: Removed.
      * fast/filesystem/read-directory-expected.txt: Removed.
      * fast/filesystem/read-directory.html: Removed.
      * fast/filesystem/resources: Removed.
      * fast/filesystem/resources/async-operations.js: Removed.
      * fast/filesystem/resources/directory-entry-to-uri.js: Removed.
      * fast/filesystem/resources/file-entry-to-uri-sync.js: Removed.
      * fast/filesystem/resources/file-entry-to-uri.js: Removed.
      * fast/filesystem/resources/file-from-file-entry-sync.js: Removed.
      * fast/filesystem/resources/file-from-file-entry.js: Removed.
      * fast/filesystem/resources/file-writer-abort-continue.js: Removed.
      * fast/filesystem/resources/file-writer-abort-depth.js: Removed.
      * fast/filesystem/resources/file-writer-abort.js: Removed.
      * fast/filesystem/resources/file-writer-empty-blob.js: Removed.
      * fast/filesystem/resources/file-writer-events.js: Removed.
      * fast/filesystem/resources/file-writer-gc-blob.js: Removed.
      * fast/filesystem/resources/file-writer-sync-truncate-extend.js: Removed.
      * fast/filesystem/resources/file-writer-sync-write-overlapped.js: Removed.
      * fast/filesystem/resources/file-writer-truncate-extend.js: Removed.
      * fast/filesystem/resources/file-writer-utils.js: Removed.
      * fast/filesystem/resources/file-writer-write-overlapped.js: Removed.
      * fast/filesystem/resources/fs-test-util.js: Removed.
      * fast/filesystem/resources/fs-worker-common.js: Removed.
      * fast/filesystem/resources/op-copy.js: Removed.
      * fast/filesystem/resources/op-get-entry.js: Removed.
      * fast/filesystem/resources/op-get-metadata.js: Removed.
      * fast/filesystem/resources/op-get-parent.js: Removed.
      * fast/filesystem/resources/op-move.js: Removed.
      * fast/filesystem/resources/op-read-directory.js: Removed.
      * fast/filesystem/resources/op-remove.js: Removed.
      * fast/filesystem/resources/op-restricted-chars.js: Removed.
      * fast/filesystem/resources/op-restricted-names.js: Removed.
      * fast/filesystem/resources/op-restricted-unicode.js: Removed.
      * fast/filesystem/resources/op-tests-helper.js: Removed.
      * fast/filesystem/resources/shared-worker-stub.js: Removed.
      * fast/filesystem/resources/simple-persistent-sync.js: Removed.
      * fast/filesystem/resources/simple-persistent.js: Removed.
      * fast/filesystem/resources/simple-readonly.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getdirectory.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getfile.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-getmetadata.js: Removed.
      * fast/filesystem/resources/simple-required-arguments-remove.js: Removed.
      * fast/filesystem/resources/simple-temporary-sync.js: Removed.
      * fast/filesystem/resources/simple-temporary.js: Removed.
      * fast/filesystem/resources/sync-operations.js: Removed.
      * fast/filesystem/script-tests: Removed.
      * fast/filesystem/script-tests/TEMPLATE.html: Removed.
      * fast/filesystem/script-tests/filesystem-reference.js: Removed.
      * fast/filesystem/script-tests/filesystem-unserializable.js: Removed.
      * fast/filesystem/script-tests/flags-passing.js: Removed.
      * fast/filesystem/script-tests/read-directory.js: Removed.
      * fast/filesystem/simple-persistent-expected.txt: Removed.
      * fast/filesystem/simple-persistent.html: Removed.
      * fast/filesystem/simple-readonly-expected.txt: Removed.
      * fast/filesystem/simple-readonly-file-object-expected.txt: Removed.
      * fast/filesystem/simple-readonly-file-object.html: Removed.
      * fast/filesystem/simple-readonly.html: Removed.
      * fast/filesystem/simple-required-arguments-getdirectory-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getdirectory.html: Removed.
      * fast/filesystem/simple-required-arguments-getfile-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getfile.html: Removed.
      * fast/filesystem/simple-required-arguments-getmetadata-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-getmetadata.html: Removed.
      * fast/filesystem/simple-required-arguments-remove-expected.txt: Removed.
      * fast/filesystem/simple-required-arguments-remove.html: Removed.
      * fast/filesystem/simple-temporary-expected.txt: Removed.
      * fast/filesystem/simple-temporary.html: Removed.
      * fast/filesystem/workers: Removed.
      * fast/filesystem/workers/async-operations-expected.txt: Removed.
      * fast/filesystem/workers/async-operations.html: Removed.
      * fast/filesystem/workers/detached-frame-crash-expected.txt: Removed.
      * fast/filesystem/workers/detached-frame-crash.html: Removed.
      * fast/filesystem/workers/file-entry-to-uri-sync-expected.txt: Removed.
      * fast/filesystem/workers/file-entry-to-uri-sync.html: Removed.
      * fast/filesystem/workers/file-from-file-entry-expected.txt: Removed.
      * fast/filesystem/workers/file-from-file-entry-sync-expected.txt: Removed.
      * fast/filesystem/workers/file-from-file-entry-sync.html: Removed.
      * fast/filesystem/workers/file-from-file-entry.html: Removed.
      * fast/filesystem/workers/file-writer-empty-blob-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-empty-blob.html: Removed.
      * fast/filesystem/workers/file-writer-events-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-events-shared-worker-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-events-shared-worker.html: Removed.
      * fast/filesystem/workers/file-writer-events.html: Removed.
      * fast/filesystem/workers/file-writer-gc-blob-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-gc-blob.html: Removed.
      * fast/filesystem/workers/file-writer-sync-truncate-extend-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-sync-truncate-extend.html: Removed.
      * fast/filesystem/workers/file-writer-sync-write-overlapped-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-sync-write-overlapped.html: Removed.
      * fast/filesystem/workers/file-writer-truncate-extend-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-truncate-extend.html: Removed.
      * fast/filesystem/workers/file-writer-write-overlapped-expected.txt: Removed.
      * fast/filesystem/workers/file-writer-write-overlapped.html: Removed.
      * fast/filesystem/workers/resources: Removed.
      * fast/filesystem/workers/resources/detached-frame-crash-frame.html: Removed.
      * fast/filesystem/workers/resources/detached-frame-crash-worker.js: Removed.
      * fast/filesystem/workers/simple-persistent-expected.txt: Removed.
      * fast/filesystem/workers/simple-persistent-sync-expected.txt: Removed.
      * fast/filesystem/workers/simple-persistent-sync.html: Removed.
      * fast/filesystem/workers/simple-persistent.html: Removed.
      * fast/filesystem/workers/simple-temporary-expected.txt: Removed.
      * fast/filesystem/workers/simple-temporary-sync-expected.txt: Removed.
      * fast/filesystem/workers/simple-temporary-sync.html: Removed.
      * fast/filesystem/workers/simple-temporary.html: Removed.
      * fast/filesystem/workers/sync-operations-expected.txt: Removed.
      * fast/filesystem/workers/sync-operations.html: Removed.
      * fast/forms/file/input-file-entries-expected.txt: Removed.
      * fast/forms/file/input-file-entries.html: Removed.
      * http/tests/filesystem: Removed.
      * http/tests/filesystem/no-cache-filesystem-url-expected.txt: Removed.
      * http/tests/filesystem/no-cache-filesystem-url.html: Removed.
      * http/tests/filesystem/resolve-uri-expected.txt: Removed.
      * http/tests/filesystem/resolve-uri.html: Removed.
      * http/tests/filesystem/resources: Removed.
      * http/tests/filesystem/resources/fs-test-util.js: Removed.
      * http/tests/filesystem/resources/fs-worker-common.js: Removed.
      * http/tests/filesystem/resources/fs-worker-test-util.js: Removed.
      * http/tests/filesystem/script-tests: Removed.
      * http/tests/filesystem/script-tests/TEMPLATE.html: Removed.
      * http/tests/filesystem/script-tests/resolve-uri.js: Removed.
      * http/tests/filesystem/workers: Removed.
      * http/tests/filesystem/workers/resolve-url-expected.txt: Removed.
      * http/tests/filesystem/workers/resolve-url-sync-expected.txt: Removed.
      * http/tests/filesystem/workers/resolve-url-sync.html: Removed.
      * http/tests/filesystem/workers/resolve-url.html: Removed.
      * http/tests/filesystem/workers/script-tests: Removed.
      * http/tests/filesystem/workers/script-tests/TEMPLATE.html: Removed.
      * http/tests/filesystem/workers/script-tests/resolve-url-sync.js: Removed.
      * http/tests/inspector/filesystem: Removed.
      * http/tests/inspector/filesystem/delete-entry-expected.txt: Removed.
      * http/tests/inspector/filesystem/delete-entry.html: Removed.
      * http/tests/inspector/filesystem/directory-tree-expected.txt: Removed.
      * http/tests/inspector/filesystem/directory-tree.html: Removed.
      * http/tests/inspector/filesystem/filesystem-test.js: Removed.
      * http/tests/inspector/filesystem/request-directory-content-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-directory-content.html: Removed.
      * http/tests/inspector/filesystem/request-file-content-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-file-content.html: Removed.
      * http/tests/inspector/filesystem/request-filesystem-root-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-filesystem-root.html: Removed.
      * http/tests/inspector/filesystem/request-metadata-expected.txt: Removed.
      * http/tests/inspector/filesystem/request-metadata.html: Removed.
      * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self-expected.txt: Removed.
      * http/tests/security/contentSecurityPolicy/filesystem-urls-match-self.html: Removed.
      * http/tests/security/filesystem-iframe-from-remote-expected.txt: Removed.
      * http/tests/security/filesystem-iframe-from-remote.html: Removed.
      * http/tests/security/mixedContent/filesystem-url-in-iframe-expected.txt: Removed.
      * http/tests/security/mixedContent/filesystem-url-in-iframe.html: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-expected.txt: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-fail-expected.txt: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob-fail.html: Removed.
      * http/tests/websocket/tests/hybi/send-file-blob.html: Removed.
      * http/tests/workers/resources/sync-operations.js:
      (onmessage):
      * http/tests/workers/terminate-during-sync-operation-expected.txt: Removed.
      * http/tests/workers/terminate-during-sync-operation.html: Removed.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156692 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7df82b33
    • bfulgham@apple.com's avatar
      [Windows] Build fix afer r156688. · fdc484d3
      bfulgham@apple.com authored
      * fileapi/ThreadableBlobRegistry.cpp:
      (WebCore::ThreadableBlobRegistry::registerBlobURL): Switch to std::unique_ptr in
      method implementation.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdc484d3
    • andersca@apple.com's avatar
      Fix build. · 5a11d156
      andersca@apple.com authored
      * NetworkProcess/mac/RemoteNetworkingContext.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a11d156
    • mrowe@apple.com's avatar
      More build fixage for builds with SDKs. · 48521e6f
      mrowe@apple.com authored
      * WebKitTestRunner/Configurations/Base.xcconfig:
      * WebKitTestRunner/Configurations/BaseTarget.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48521e6f
    • andersca@apple.com's avatar
      Get rid of more uses of OwnPtr and PassOwnPtr · c5e54cd2
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122136
      
      Reviewed by Antti Koivisto.
      
      Source/WebCore:
      
      * Modules/websockets/WebSocket.cpp:
      (WebCore::WebSocket::didReceiveBinaryData):
      * WebCore.exp.in:
      * fileapi/Blob.cpp:
      (WebCore::Blob::Blob):
      (WebCore::Blob::slice):
      * fileapi/Blob.h:
      (WebCore::Blob::create):
      * fileapi/File.cpp:
      (WebCore::createBlobDataForFileWithType):
      (WebCore::createBlobDataForFile):
      (WebCore::createBlobDataForFileWithName):
      * fileapi/ThreadableBlobRegistry.cpp:
      (WebCore::BlobRegistryContext::BlobRegistryContext):
      (WebCore::registerBlobURLTask):
      (WebCore::ThreadableBlobRegistry::registerBlobURL):
      * fileapi/ThreadableBlobRegistry.h:
      * fileapi/WebKitBlobBuilder.cpp:
      (WebCore::BlobBuilder::getBlob):
      * platform/network/BlobData.cpp:
      (WebCore::BlobDataHandle::BlobDataHandle):
      * platform/network/BlobData.h:
      (WebCore::BlobData::BlobData):
      (WebCore::BlobDataHandle::create):
      * platform/network/BlobRegistry.h:
      * platform/network/BlobRegistryImpl.cpp:
      (WebCore::BlobRegistryImpl::registerBlobURL):
      * platform/network/BlobRegistryImpl.h:
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::responseBlob):
      
      Source/WebKit2:
      
      * NetworkProcess/AsynchronousNetworkLoaderClient.h:
      * NetworkProcess/FileAPI/NetworkBlobRegistry.cpp:
      (WebKit::NetworkBlobRegistry::registerBlobURL):
      * NetworkProcess/FileAPI/NetworkBlobRegistry.h:
      * NetworkProcess/NetworkResourceLoader.cpp:
      (WebKit::NetworkResourceLoader::NetworkResourceLoader):
      * NetworkProcess/NetworkResourceLoader.h:
      * NetworkProcess/SynchronousNetworkLoaderClient.h:
      * NetworkProcess/mac/RemoteNetworkingContext.mm:
      * Platform/CoreIPC/ArgumentDecoder.h:
      * Platform/CoreIPC/ArgumentEncoder.h:
      * Platform/CoreIPC/MessageDecoder.cpp:
      (CoreIPC::MessageDecoder::setImportanceAssertion):
      * Platform/CoreIPC/MessageDecoder.h:
      * Platform/CoreIPC/mac/ConnectionMac.cpp:
      (CoreIPC::Connection::receiveSourceEventHandler):
      * Platform/CoreIPC/mac/ImportanceAssertion.h:
      (CoreIPC::ImportanceAssertion::ImportanceAssertion):
      * Platform/mac/LayerHostingContext.h:
      * Platform/mac/LayerHostingContext.mm:
      (WebKit::LayerHostingContext::createForPort):
      (WebKit::LayerHostingContext::createForWindowServer):
      * PluginProcess/PluginControllerProxy.cpp:
      (WebKit::PluginControllerProxy::paint):
      * PluginProcess/PluginControllerProxy.h:
      * PluginProcess/WebProcessConnection.cpp:
      (WebKit::WebProcessConnection::addPluginControllerProxy):
      (WebKit::WebProcessConnection::removePluginControllerProxy):
      (WebKit::WebProcessConnection::createPluginInternal):
      * PluginProcess/WebProcessConnection.h:
      * Shared/API/c/cg/WKImageCG.cpp:
      (WKImageCreateFromCGImage):
      * Shared/BlockingResponseMap.h:
      (BlockingResponseMap::waitForResponse):
      (BlockingResponseMap::didReceiveResponse):
      * Shared/Downloads/Download.cpp:
      * Shared/Downloads/Download.h:
      * Shared/Downloads/DownloadManager.cpp:
      (WebKit::DownloadManager::startDownload):
      (WebKit::DownloadManager::convertHandleToDownload):
      * Shared/FileAPI/BlobRegistrationData.cpp:
      (WebKit::BlobRegistrationData::BlobRegistrationData):
      (WebKit::BlobRegistrationData::releaseData):
      (WebKit::BlobRegistrationData::decode):
      * Shared/FileAPI/BlobRegistrationData.h:
      * Shared/Plugins/NPObjectMessageReceiver.cpp:
      * Shared/Plugins/NPObjectMessageReceiver.h:
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::registerNPObject):
      * Shared/Plugins/Netscape/NetscapePluginModule.cpp:
      (WebKit::NetscapePluginModule::tryLoad):
      * Shared/Plugins/Netscape/NetscapePluginModule.h:
      * Shared/ShareableBitmap.h:
      * Shared/WebURL.h:
      (WebKit::WebURL::create):
      (WebKit::WebURL::WebURL):
      (WebKit::WebURL::parseURLIfNecessary):
      * Shared/cg/ShareableBitmapCG.cpp:
      (WebKit::ShareableBitmap::createGraphicsContext):
      (WebKit::ShareableBitmap::makeCGImageCopy):
      * Shared/mac/SecItemShim.cpp:
      (WebKit::sendSecItemRequest):
      (WebKit::webSecItemCopyMatching):
      (WebKit::webSecItemAdd):
      (WebKit::webSecItemUpdate):
      (WebKit::webSecItemDelete):
      (WebKit::SecItemShim::secItemResponse):
      * UIProcess/API/mac/FindIndicatorWindow.h:
      * UIProcess/API/mac/PageClientImpl.h:
      * UIProcess/API/mac/PageClientImpl.mm:
      (WebKit::PageClientImpl::createDrawingAreaProxy):
      * UIProcess/API/mac/WKView.mm:
      (-[WKView std::WebKit::]):
      (-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]):
      * UIProcess/API/mac/WKViewInternal.h:
      * UIProcess/BackingStore.cpp:
      * UIProcess/BackingStore.h:
      * UIProcess/DrawingAreaProxyImpl.cpp:
      (WebKit::DrawingAreaProxyImpl::incorporateUpdate):
      * UIProcess/DrawingAreaProxyImpl.h:
      * UIProcess/Launcher/mac/DynamicLinkerEnvironmentExtractor.mm:
      * UIProcess/PageClient.h:
      * UIProcess/WebPageProxy.h:
      * UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.h:
      * UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:
      * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h:
      * WebProcess/FileAPI/BlobRegistryProxy.cpp:
      (WebKit::BlobRegistryProxy::registerBlobURL):
      * WebProcess/FileAPI/BlobRegistryProxy.h:
      * WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.cpp:
      * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm:
      (WKBundlePageBannerCreateBannerWithCALayer):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::imageForRect):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::scheduleTimer):
      (WebKit::NetscapePlugin::unscheduleTimer):
      (WebKit::NetscapePlugin::snapshot):
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
      * WebProcess/Plugins/PDF/PDFPlugin.mm:
      (WebKit::PDFPlugin::snapshot):
      * WebProcess/Plugins/PluginProxy.cpp:
      (WebKit::PluginProxy::paint):
      (WebKit::PluginProxy::update):
      * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm:
      (WebKit::convertImageToBitmap):
      * WebProcess/WebPage/DrawingArea.cpp:
      (WebKit::DrawingArea::create):
      * WebProcess/WebPage/DrawingArea.h:
      * WebProcess/WebPage/DrawingAreaImpl.cpp:
      (WebKit::DrawingAreaImpl::display):
      * WebProcess/WebPage/DrawingAreaImpl.h:
      * WebProcess/WebPage/FindController.cpp:
      (WebKit::FindController::getFindIndicatorBitmapAndRect):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::createWithCoreMainFrame):
      (WebKit::WebFrame::createSubframe):
      (WebKit::WebFrame::create):
      (WebKit::WebFrame::WebFrame):
      * WebProcess/WebPage/WebFrame.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::scaledSnapshotWithOptions):
      (WebKit::WebPage::drawRectToImage):
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebPage/mac/LayerTreeHostMac.h:
      * WebProcess/WebPage/mac/RemoteLayerTreeContext.h:
      * WebProcess/WebPage/mac/RemoteLayerTreeContext.mm:
      * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.h:
      * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
      (WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea):
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5e54cd2
    • andersca@apple.com's avatar
      Message sending functions should only accept rvalues · b9dc6e50
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122041
      
      Reviewed by Andreas Kling.
      
      In order to safely encode move-only types, make all send variants accept rvalues only, except
      for the "send to all processes" ones. For them, copy the message before sending. This ensures that trying
      to send a move-only type in a message will fail to compile.
      
      * NetworkProcess/NetworkResourceLoader.h:
      (WebKit::NetworkResourceLoader::sendAbortingOnFailure):
      * Platform/CoreIPC/Connection.h:
      (CoreIPC::Connection::send):
      (CoreIPC::Connection::sendSync):
      * Platform/CoreIPC/MessageSender.h:
      (CoreIPC::MessageSender::sendSync):
      * Shared/ChildProcessProxy.h:
      (WebKit::ChildProcessProxy::send):
      (WebKit::ChildProcessProxy::sendSync):
      * UIProcess/WebContext.h:
      (WebKit::WebContext::sendToNetworkingProcess):
      (WebKit::WebContext::sendToNetworkingProcessRelaunchingIfNecessary):
      (WebKit::WebContext::sendToAllProcesses):
      (WebKit::WebContext::sendToAllProcessesRelaunchingThemIfNecessary):
      (WebKit::WebContext::sendToOneProcess):
      * UIProcess/WebPageGroup.h:
      (WebKit::WebPageGroup::sendToAllProcessesInGroup):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9dc6e50
    • timothy@apple.com's avatar
      Add initial version of a new Buildbot dashboard view. · 1e9fc4a6
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122131
      
      Reviewed by Alexey Proskuryakov.
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Lion@2x.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Mavericks@2x.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/MountainLion@2x.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/PlatformRing.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/PlatformRing@2x.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows7.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows7@2x.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows8.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/Windows8@2x.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WindowsXP.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Images/WindowsXP@2x.png: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BaseObject.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Buildbot.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotBuilderQueueView.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotIteration.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueue.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotQueueView.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTestResults.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/BuildbotTesterQueueView.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Main.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/StatusLineView.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Utilities.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/WebKitBuildbot.js: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/BuildbotBuilderQueueView.css: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/BuildbotQueueView.css: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/BuildbotTesterQueueView.css: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/Main.css: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Styles/StatusLineView.css: Added.
      * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/index.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e9fc4a6
    • mitz@apple.com's avatar
      <rdar://problem/15114974> Assertion failure under -[JSObjCClassInfo... · 507879a1
      mitz@apple.com authored
      <rdar://problem/15114974> Assertion failure under -[JSObjCClassInfo allocateConstructorAndPrototypeWithSuperClassInfo:] if no classes conform to JSExport
      https://bugs.webkit.org/show_bug.cgi?id=122124
      
      Reviewed by Darin Adler.
      
      * API/JSWrapperMap.mm: Defined an empty class that conforms to the JSExport protocol, to
      ensure that the protocol is always registered with the runtime by the time
      getJSExportProtocol() is called.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      507879a1
    • benjamin@webkit.org's avatar
      Remove the code guarded by STYLE_SCOPED · 32bbc4c1
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122123
      
      Reviewed by Anders Carlsson.
      
      .: 
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      Start cleaning the code related to <style scoped>. This patch
      only removes the code with #ifdef guards.
      
      * Configurations/FeatureDefines.xcconfig:
      * WebCore.exp.in:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
      * bindings/generic/RuntimeEnabledFeatures.h:
      * css/DocumentRuleSets.cpp:
      (WebCore::DocumentRuleSets::appendAuthorStyleSheets):
      * css/ElementRuleCollector.cpp:
      (WebCore::ElementRuleCollector::matchScopedAuthorRules):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::locateCousinList):
      (WebCore::StyleResolver::canShareStyleWithElement):
      (WebCore::StyleResolver::locateSharedStyle):
      * css/StyleResolver.h:
      (WebCore::StyleResolver::ensureScopeResolver):
      * css/StyleScopeResolver.cpp:
      * css/StyleScopeResolver.h:
      * dom/Node.cpp:
      * dom/Node.h:
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::ShadowRoot):
      * dom/ShadowRoot.h:
      * html/HTMLStyleElement.cpp:
      (WebCore::HTMLStyleElement::HTMLStyleElement):
      (WebCore::HTMLStyleElement::parseAttribute):
      (WebCore::HTMLStyleElement::insertedInto):
      (WebCore::HTMLStyleElement::removedFrom):
      * html/HTMLStyleElement.h:
      * html/HTMLStyleElement.idl:
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      * testing/InternalSettings.h:
      * testing/InternalSettings.idl:
      * testing/Internals.cpp:
      * testing/Internals.h:
      * testing/Internals.idl:
      
      Source/WebKit: 
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h:
      
      Tools: 
      
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (resetDefaultsToConsistentValues):
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32bbc4c1
    • commit-queue@webkit.org's avatar
      ASSERT(!m_hasBadParent) in InlineBox::parent() should be ASSERT_WITH_SECURITY_IMPLICATION · 9204ef61
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122032
      
      Patch by Drew Yao <ayao@apple.com> on 2013-09-30
      Reviewed by Andreas Kling.
      
      Convert assertion to ASSERT_WITH_SECURITY_IMPLICATION to help catch use after free bugs.
      
      No new tests needed.
      
      * rendering/InlineBox.h:
      (WebCore::InlineBox::parent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9204ef61
    • commit-queue@webkit.org's avatar
      Don't attempt to destroy decoded frame if a BitmapImage doesn't have encoded raw data. · 18b1da9f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122115
      
      Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2013-09-30
      Reviewed by Daniel Bates.
      
      With BitmapImage::create(PassNativeImagePtr, ImageObserver*), a BitmapImage could be created by
      passing a native image.  If this image is added to memory cache, we shouldn't attempt to destroy
      its decoded frames since there is no encoded raw data and we won't be able to reconstruct the image again.
      
      No new tests for now. Currently there isn't a code path to add to the memory cache a BitmapImage
      that was created by adopting a native image. We'll add such a code path in a subsequent patch.
      
      * platform/graphics/BitmapImage.cpp:
      (WebCore::BitmapImage::destroyDecodedDataIfNecessary):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18b1da9f
    • akling@apple.com's avatar
      Pass VM instead of ExecState to ObjectPrototype constructor. · 0c4a2dbd
      akling@apple.com authored
      <https://webkit.org/b/122116>
      
      Reviewed by Geoffrey Garen.
      
      The ObjectPrototype constructor was only using the ExecState to get
      to the VM.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c4a2dbd
    • akling@apple.com's avatar
      Pass VM instead of JSGlobalObject to MathObject constructor. · 3828a863
      akling@apple.com authored
      <https://webkit.org/b/122119>
      
      Reviewed by Geoffrey Garen.
      
      The MathObject constructor was only using the global object to get
      to the VM. finishCreation() still uses it to set up functions.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3828a863
    • ap@apple.com's avatar
      Remove timeout from shouldBecome* functions in js-test-pre · 7f4e88e7
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122121
      
      Reviewed by Ryosuke Niwa.
      
      Removed timeout. A 0.5 sec timeout never makes sense, and if something is stuck,
      a test should just time out normally.
      
      * resources/js-test-pre.js:
      (_waitForCondition):
      (shouldBecomeEqual):
      (shouldBecomeEqualToString):
      (shouldBecomeDifferent):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f4e88e7
    • fpizlo@apple.com's avatar
      Get rid of the AlreadyInJSStack recoveries since they are totally redundant... · c6bb4a9f
      fpizlo@apple.com authored
      Get rid of the AlreadyInJSStack recoveries since they are totally redundant with the DisplacedInJSStack recoveries
      https://bugs.webkit.org/show_bug.cgi?id=122065
      
      Reviewed by Mark Hahnenberg.
              
      This mostly just kills a bunch of code.
              
      But incidentaly while killing that code, I uncovered a bug in our FTL OSR entrypoint
      creation phase. The phase inserts a sequence of SetLocal(ExtractOSREntryLocal) nodes.
      If we hoist some type check into the local, then we might inject a conversion node
      between the ExtractOSREntryLocal and the SetLocal - for example we might put in a
      Int32ToDouble node. But currently the FixupPhase will make all conversion nodes placed
      on an edge of a SetLocal use forward exit. This then confuses the OSR exit machinery.
      When OSR exit sees a forward exit, it tries to "roll forward" execution from the exiting
      node to the first node that has a different CodeOrigin. This only works if the nodes
      after the forward exit are MovHints or other tnings that the OSR exit compiler can
      forward-execute. But here, it will see a bunch of SetLocal and ExtractOSREntryLocal
      nodes for the same bytecode index. Two possible solutions exist. We could teach the
      forward-execution logic how to deal with multiple SetLocals and ExtractOSREntryLocals.
      This would be a lot of complexity; right now it just needs to deal with exactly one
      SetLocal-like operation. The alternative is to make sure that the conversion node that
      we inject ends up exiting *backward* rather than forward.
              
      But making the conversion nodes exit backward is somewhat tricky. Before this patch,
      conversion nodes always exit forward for SetLocals and backwards otherwise. It turns out
      that the solution is to rationalize how we choose the speculation direciton for a
      conversion node. The conversion node's speculation direction should be the same as the
      speculation direction of the node for which it is doing a conversion. Since SetLocal's
      already exit forward by default, this policy preserves our previous behavior. But it
      also allows the OSR entrypoint creation phase to make its SetLocals exit backward
      instead.
              
      Of course, if the SetLocal(ExtractOSREntryLocal) sequences exit backward, then we need
      to make sure that the OSR exit machine knows that the local variables are indeed live.
      Consider that if we have:
              
          a: ExtractOSREntryLocal(loc1)
          b: SetLocal(@a, loc1)
          c: ExtractOSRentryLocal(loc2)
          d: SetLocal(@c, loc2)
              
      Without additional magic, the exit at @b will think that loc2 is dead and the OSR exit
      compiler will clobber loc2 with Undefined. So we need to make sure that we actually
      emit code like:
              
          a: ExtractOSREntryLocal(loc1)
          b: ExtractOSREntryLocal(loc2)
          c: SetLocal(@a, loc1)
          d: SetLocal(@b, loc2)
          e: SetLocal(@a, loc1)
          f: SetLocal(@b, loc2)
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
      * JavaScriptCore.xcodeproj/project.pbxproj:
      * Target.pri:
      * bytecode/CodeOrigin.h:
      * bytecode/ValueRecovery.cpp: Added.
      (JSC::ValueRecovery::recover):
      (JSC::ValueRecovery::dumpInContext):
      (JSC::ValueRecovery::dump):
      * bytecode/ValueRecovery.h:
      * dfg/DFGFixupPhase.cpp:
      (JSC::DFG::FixupPhase::fixupSetLocalsInBlock):
      (JSC::DFG::FixupPhase::fixEdge):
      * dfg/DFGJITCode.cpp:
      (JSC::DFG::JITCode::reconstruct):
      * dfg/DFGNode.h:
      (JSC::DFG::Node::speculationDirection):
      (JSC::DFG::Node::setSpeculationDirection):
      * dfg/DFGOSREntrypointCreationPhase.cpp:
      (JSC::DFG::OSREntrypointCreationPhase::run):
      * dfg/DFGOSRExitCompiler32_64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      * dfg/DFGOSRExitCompiler64.cpp:
      (JSC::DFG::OSRExitCompiler::compileExit):
      * dfg/DFGSpeculativeJIT.cpp:
      (JSC::DFG::SpeculativeJIT::compileInlineStart):
      (JSC::DFG::SpeculativeJIT::computeValueRecoveryFor):
      * dfg/DFGSpeculativeJIT.h:
      (JSC::DFG::SpeculativeJIT::computeValueRecoveryFor):
      * dfg/DFGValueSource.h:
      (JSC::DFG::ValueSource::valueRecovery):
      * dfg/DFGVariableEventStream.cpp:
      (JSC::DFG::VariableEventStream::reconstruct):
      * ftl/FTLLowerDFGToLLVM.cpp:
      (JSC::FTL::LowerDFGToLLVM::speculate):
      (JSC::FTL::LowerDFGToLLVM::speculateMachineInt):
      * interpreter/Register.h:
      (JSC::Register::unboxedStrictInt52):
      * runtime/Arguments.cpp:
      (JSC::Arguments::tearOff):
      * runtime/Arguments.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c6bb4a9f
    • beidson@apple.com's avatar
      Remove IDBTracing.h. · 1367e453
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122118
      
      Reviewed by Alexey Proskuryakov.
      
      Global replace of "IDB_TRACE" with "LOG(StorageAPI)", and remove all notions of this header.
      
      * GNUmakefile.list.am:
      
      * Modules/indexeddb/IDBCursor.cpp:
      * Modules/indexeddb/IDBDatabase.cpp:
      * Modules/indexeddb/IDBDatabaseBackendInterface.h:
      * Modules/indexeddb/IDBFactory.cpp:
      * Modules/indexeddb/IDBIndex.cpp:
      * Modules/indexeddb/IDBObjectStore.cpp:
      * Modules/indexeddb/IDBOpenDBRequest.cpp:
      * Modules/indexeddb/IDBRequest.cpp:
      * Modules/indexeddb/IDBTracing.h: Removed.
      * Modules/indexeddb/IDBTransaction.cpp:
      * Modules/indexeddb/leveldb/IDBBackingStoreLevelDB.cpp:
      * Modules/indexeddb/leveldb/IDBCursorBackendLevelDB.cpp:
      * Modules/indexeddb/leveldb/IDBDatabaseBackendLevelDB.cpp:
      * Modules/indexeddb/leveldb/IDBFactoryBackendLevelDB.cpp:
      * Modules/indexeddb/leveldb/IDBObjectStoreBackendLevelDB.cpp:
      * Modules/indexeddb/leveldb/IDBTransactionBackendLevelDB.cpp:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/IDBBindingUtilities.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1367e453
    • graouts@apple.com's avatar
      Web Inspector: rows in the Layer sidebar panel may have the incorrect background color · c24920f7
      graouts@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122108
      
      Reviewed by Darin Adler.
      
      The LayerTreeDataGrid is a custom DataGrid subclass which exposes a .setChildren() method
      used to sort chidren without DOM order manipulation, for performance reason. However, since
      the way the alternating background color is usually implemented is based on the built-in
      CSS pseudo-classes working with DOM order, the background colors of nodes in the LayerTreeDataGrid
      can be incorrect depending on the sort order and the number of nodes. To fix this, we now manually
      set "even" and "odd" CSS classes on those nodes when they're sorted such that we have a chance
      to style them as intended.
      
      * UserInterface/LayerTreeDataGrid.js:
      (WebInspector.LayerTreeDataGrid.prototype._updateChildren):
      Check if the data grid node index is even or odd and reflect this via an exclusive "even"
      or "odd" CSS class name.
      
      * UserInterface/LayerTreeSidebarPanel.css:
      (.layer-tree.panel .data-container tbody > tr.even):
      (.layer-tree.panel .data-container tbody > tr.odd):
      Apply alternating colors based on the exclusive "even" and "odd" CSS class names as applied in
      WebInspector.LayerTreeDataGrid.prototype._updateChildren().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c24920f7
    • alex.christensen@flexsim.com's avatar
      [Windows] Unreviewed build fix for Win64. · edaf7841
      alex.christensen@flexsim.com authored
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in:
      Added correct 64-bit BitmapImage::create symbol.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edaf7841
    • graouts@apple.com's avatar
      Web Inspector: Popover displaying "reasons for compositing" may remain on... · f39127ff
      graouts@apple.com authored
      Web Inspector: Popover displaying "reasons for compositing" may remain on screen after selected layer is removed
      https://bugs.webkit.org/show_bug.cgi?id=117575
      
      Ensure the popover attached to the selected data grid node is updated when the
      content or sort order of the Layer sidebar panel is updated.
      
      Reviewed by Darin Adler.
      
      * UserInterface/LayerTreeSidebarPanel.js:
      (WebInspector.LayerTreeSidebarPanel.prototype._sortDataGrid):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f39127ff
    • graouts@apple.com's avatar
      Web Inspector: nodes can be dragged from the console log · 9b15e9df
      graouts@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122105
      
      Reviewed by Darin Adler.
      
      Catch "dragstart" events targeting nodes hosted in a DOMTreeOutline within the console
      log view and prevent the default logic to trigger so that these nodes can't be dragged
      off the console as it wouldn't make sense to.
      
      * UserInterface/DOMTreeOutline.js:
      (WebInspector.DOMTreeOutline):
      Create a class property to allow the CSS class name to be used in WebInspector.LogContentView.
      
      * UserInterface/LogContentView.js:
      (WebInspector.LogContentView):
      (WebInspector.LogContentView.prototype._ondragstart):
      Track the "dragstart" events in their capture phase such that, if the event target is
      a DOM node hosted in a DOMTreeOutline, we can prevent the event from propagating and
      cancel its default behavior such that no dragging at all is performed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b15e9df
    • alex.christensen@flexsim.com's avatar
      Win64 compile fix after r1256490. · 949e2853
      alex.christensen@flexsim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122117
      
      Patch by Alex Christensen <alex.christensen@flexsim.com> on 2013-09-30
      Reviewed by Michael Saboff.
      
      * jit/JITStubsMSVC64.asm:
      Implemented getHostCallReturnValue for Windows x86_64 processors.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      949e2853
    • ossy@webkit.org's avatar
      NetworkResourceLoader.messages.in should be ENABLE(NETWORK_PROCESS) guarded · a405ba88
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122110
      
      Reviewed by Darin Adler.
      
      * NetworkProcess/NetworkResourceLoader.messages.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a405ba88
    • bfulgham@apple.com's avatar
      [Windows] Build fix after r156622. Build RenderLayerModelObject.cpp in a separate compilation unit · 5b568441
      bfulgham@apple.com authored
      from the RenderLayerAllnOne file so that the scalar and vector destructors are visible to other
      elements of WebCore during the build.
      
      * WebCore.vcxproj/WebCore.vcxproj: Compile RenderLayerModelObject outside of the all-in-one file.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
      * rendering/RenderingAllInOne.cpp: Remove RenderLayerModelObject.cpp.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b568441
    • akling@apple.com's avatar
      Pass VM instead of JSGlobalObject to RegExp constructor. · 8662c390
      akling@apple.com authored
      <https://webkit.org/b/122113>
      
      Reviewed by Darin Adler.
      
      RegExps don't need anything from the global object during their
      construction and only use it to get to the VM. Reduce loads by
      simply passing the VM around instead.
      
      JSC release binary size -= 120 bytes(!)
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8662c390
    • bfulgham@apple.com's avatar
      [Win] Compile errors in WebKit (via peavo@outlook.com). · a5926ef4
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122106
      
      Reviewed by Darin Adler.
      
      * WebKit.vcxproj/WebKitExportGenerator/WebKitExports.def.in: Add link
      declarations missed in r156655.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5926ef4
    • mrowe@apple.com's avatar
      Fix the build when building against an SDK. · 013b13b8
      mrowe@apple.com authored
      Xcode helpfully prepends $(SDKROOT) to the paths in FRAMEWORK_SEARCH_PATHS when generating
      the compiler command lines. It can't know to do this for the system framework search paths
      we add manually via OTHER_CFLAGS though, so we need to prefix them with $(SDKROOT) ourself.
      
      Source/WebCore:
      
      * Configurations/WebCore.xcconfig:
      
      Source/WebKit/mac:
      
      * Configurations/WebKit.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/BaseTarget.xcconfig:
      
      Tools:
      
      * DumpRenderTree/mac/Configurations/BaseTarget.xcconfig:
      * WebKitTestRunner/Configurations/BaseTarget.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      013b13b8
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed build fix. · e92efa05
      bfulgham@apple.com authored
      * WebCore.vcxproj/WebCore.vcxproj.filters: Correct malformed XML in project files.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e92efa05
    • jer.noble@apple.com's avatar
      Unreviewed, roll back in r156546 with rebaselined tests. · 49eab497
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122111
      
      Source/WebCore:
      
      * Modules/mediacontrols/mediaControlsApple.js:
      (Controller):
      (Controller.prototype.addVideoListeners):
      (Controller.prototype.removeVideoListeners):
      (Controller.prototype.updateHasAudio):
      
      LayoutTests:
      
      * platform/mac/TestExpectations:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.png:
      * platform/mac/fast/hidpi/video-controls-in-hidpi-expected.txt:
      * platform/mac/fast/layers/video-layer-expected.png:
      * platform/mac/fast/layers/video-layer-expected.txt:
      * platform/mac/media/media-controls-clone-expected.png:
      * platform/mac/media/media-controls-clone-expected.txt:
      * platform/mac/media/video-no-audio-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49eab497
    • commit-queue@webkit.org's avatar
      editing/execCommand/findString-diacriticals.html expects to fail · 4d066c61
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122100
      
      Patch by Robert Plociennik <r.plociennik@samsung.com> on 2013-09-30
      Reviewed by Alexey Proskuryakov.
      
      Since all major platforms pass editing/execCommand/findString-diacriticals.html,
      the test now globally expects "PASS" instead of "FAIL" rendering the individual
      platform expectation files obsolete.
      
      * editing/execCommand/findString-diacriticals-expected.txt: "PASS" -> "FAIL"
      * platform/efl/TestExpectations: EFL passes editing/execCommand/findString-diacriticals.
      * platform/gtk/editing/execCommand/findString-diacriticals-expected.txt: Removed.
      * platform/mac/editing/execCommand/findString-diacriticals-expected.txt: Removed.
      * platform/qt/editing/execCommand/findString-diacriticals-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d066c61
    • bfulgham@apple.com's avatar
      [Windows] Unreviewed test fix. Prevent crash when changing URL paths during testing. · 8735dae3
      bfulgham@apple.com authored
      A shared BSTR value (_bstr_t) was being reallocated outside the smart pointer, causing
      it to be double-freed.
      
      * WinLauncher/WinLauncher.cpp:
      (EditProc): Be explicit about type passed to loadURL.
      (loadURL): Create a shallow copy of the BSTR so we only allocate memory if needed. Use _bstr_t so
      that reallocating the BSTR is done with the knowledge of the smart pointer.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8735dae3
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r156656. · 5294f11b
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/156656
      https://bugs.webkit.org/show_bug.cgi?id=122111
      
      Broke several media tests (Requested by ap on #webkit).
      
      Source/WebCore:
      
      * Modules/mediacontrols/mediaControlsApple.js:
      (Controller):
      (Controller.prototype.addVideoListeners):
      (Controller.prototype.removeVideoListeners):
      
      LayoutTests:
      
      * platform/mac/TestExpectations:
      * platform/mac/media/video-no-audio-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5294f11b
    • weinig@apple.com's avatar
      Convert a bunch of OwnPtrs on Page to std::unique_ptrs · 60edc2c7
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122086
      
      Reviewed by Darin Adler.
      
      * loader/ProgressTracker.cpp:
      * loader/ProgressTracker.h:
      * page/Page.cpp:
      (WebCore::Page::Page):
      (WebCore::Page::setGroupName):
      (WebCore::Page::initGroup):
      * page/Page.h:
      * page/PageGroup.cpp:
      (WebCore::PageGroup::PageGroup):
      * page/PageGroup.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60edc2c7
    • commit-queue@webkit.org's avatar
      [EFL] Changed expectation for accessibility/file-upload-button-stringvalue.html after r156532 · ac11ea23
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=122103
      
      Unreviewed EFL gardening.
      
      Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-09-30
      
      * platform/efl-wk1/TestExpectations: file-upload-button-stringvalue.html fails on efl-wk1.
      Unskipped accessibility/heading-level.html. It passes after r156551.
      * platform/efl-wk2/accessibility/file-upload-button-stringvalue-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac11ea23
    • allan.jensen@digia.com's avatar
      [Qt] Fix force_static_libs_as_shared in WebKit2 · cc23ae4d
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=121961
      
      Reviewed by Csaba Osztrogonác.
      
      Get rid of the unused WebKit2QML library
      
      .:
      
      * Source/api.pri:
      
      Source/WebKit2:
      
      * Target.pri:
      * WebKit2.pro:
      * WebKit2QML.pri: Removed.
      
      Tools:
      
      * qmake/mkspecs/features/webkit_modules.prf:
      * qmake/mkspecs/modules/webkit2qml.prf: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc23ae4d
    • antti@apple.com's avatar
      Remove FontTranscoder · 7530ae1f
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122088
      
      Reviewed by Andreas Kling.
      
      This overly generic class just implements mapping of backslash to yen symbol for some legacy Japanese fonts.
      
      * CMakeLists.txt:
      * GNUmakefile.am:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.pri:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.xcodeproj/project.pbxproj:
      * platform/graphics/Font.cpp:
      (WebCore::useBackslashAsYenSignForFamily):
              
          Move the family set to Font.cpp.
      
      (WebCore::Font::Font):
      (WebCore::Font::operator=):
      (WebCore::Font::update):
              
          Keep the cached boolean up to date.
      
      * platform/graphics/Font.h:
      (WebCore::Font::useBackslashAsYenSymbol):
              
          Use descriptive name instead of talking about "transcoding".
      
      * platform/text/transcoder: Removed.
      * platform/text/transcoder/FontTranscoder.cpp: Removed.
      * platform/text/transcoder/FontTranscoder.h: Removed.
      * rendering/RenderText.cpp:
      (WebCore::RenderText::RenderText):
      (WebCore::RenderText::computeUseBackslashAsYenSymbol):
              
          Rename for clarity. 
          Avoid unnecessary hash lookup, just check the cached bit in Font.
      
      (WebCore::RenderText::styleDidChange):
      (WebCore::RenderText::setTextInternal):
              
          "Transcoding" here was just a simple character replacement.
      
      (WebCore::RenderText::textWithoutConvertingBackslashToYenSymbol):
              
          Renamed.
      
      * rendering/RenderText.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7530ae1f
    • jer.noble@apple.com's avatar
      REGRESSION(r156546): media/video-no-audio.html broken · 76755699
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=122049
      
      Reviewed by Eric Carlson.
      
      Source/WebCore:
      
      Now that our video elements have audio tracks, use their presence or
      absense to show or hide the volume controls.
      
      * Modules/mediacontrols/mediaControlsApple.js:
      (Controller):
      (Controller.prototype.addVideoListeners): Listen for audioTrack changes.
      (Controller.prototype.removeVideoListeners): Stop listening to same.
      (Controller.prototype.handleAudioTrackChange): Call this.updateHasAudio()
      (Controller.prototype.handleAudioTrackAdd): Ditto.
      (Controller.prototype.handleAudioTrackRemove): Ditto.
      (Controller.prototype.updateHasAudio): Hide the volume controls if no
          audioTracks are present, and vice versa.
      
      LayoutTests:
      
      * platform/mac/TestExpectations:
      * platform/mac/media/video-no-audio-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76755699
    • akling@apple.com's avatar
      Try to fix the Windows build. · 1ac03372
      akling@apple.com authored
      * WebFrame.cpp:
      (WebFrame::pauseAnimation):
      (WebFrame::pauseTransition):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ac03372