1. 11 Oct, 2012 2 commits
    • jsbell@chromium.org's avatar
      IndexedDB: IDL types defined in spec should be visible to scripts · 9b681a3b
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99093
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Interfaces defined in the spec WebIDL, such as IDBCursorWithValue, should be exposed
      to scripts as properties of the global object. A few types were missing - add them.
      
      Test: storage/indexeddb/interfaces.html
      
      * Modules/indexeddb/DOMWindowIndexedDatabase.idl:
      * Modules/indexeddb/WorkerContextIndexedDatabase.idl:
      
      LayoutTests:
      
      Verify that interfaces defined in the IDB spec's WebIDL are present on the
      global object.
      
      * storage/indexeddb/interfaces-expected.txt: Added.
      * storage/indexeddb/interfaces.html: Added.
      * storage/indexeddb/resources/interfaces.js: Added.
      * storage/indexeddb/resources/shared.js: Remove assertion redundant with this test.
      (test):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b681a3b
    • jsbell@chromium.org's avatar
      WebIDL: overloaded methods prevent number -> string conversion · e0e3aef3
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=85326
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      Make the default behavior for overloaded methods matching DOMString arguments match the
      default behavior for non-overloaded methods, which more closely matches the WebIDL spec.
      Enable legacy behavior of only matching undefined/null/string/object(and not number,
      boolean, etc) via the StrictTypeChecking attribute.
      
      Tests: storage/indexeddb/cursor-overloads.html
             storage/indexeddb/legacy-constants.html
             ... and run-bindings-tests
      
      * Modules/indexeddb/IDBCursor.cpp:
      (WebCore::IDBCursor::stringToDirection): Handle "0"..."4" as stringified legacy constants.
      * Modules/indexeddb/IDBCursor.h:
      * Modules/indexeddb/IDBDatabase.cpp: Remove redundant overloads.
      (WebCore::IDBDatabase::transaction): Remove redundant overloads.
      * Modules/indexeddb/IDBDatabase.h:
      (IDBDatabase):
      * Modules/indexeddb/IDBDatabase.idl: Remove redundant overloads.
      * Modules/indexeddb/IDBIndex.cpp: Remove redundant overloads.
      (WebCore::IDBIndex::openCursor):
      (WebCore::IDBIndex::openKeyCursor):
      * Modules/indexeddb/IDBIndex.h: Remove redundant overloads.
      (IDBIndex):
      * Modules/indexeddb/IDBIndex.idl: Remove redundant overloads.
      * Modules/indexeddb/IDBObjectStore.cpp: Remove redundant overloads.
      (WebCore::IDBObjectStore::openCursor):
      * Modules/indexeddb/IDBObjectStore.h: Remove redundant overloads.
      (IDBObjectStore):
      * Modules/indexeddb/IDBObjectStore.idl: Remove redundant overloads.
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::stringToMode): Handle "0"..."4" as stringified legacy constants.
      * Modules/indexeddb/IDBTransaction.h:
      * bindings/scripts/CodeGeneratorJS.pm: Check for StrictTypeChecking attribute.
      (GenerateParametersCheckExpression):
      * bindings/scripts/CodeGeneratorV8.pm: Ditto.
      (GenerateParametersCheckExpression):
      * bindings/scripts/test/JS/JSTestObj.cpp: Rebaselined.
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod11):
      (WebCore):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod):
      * bindings/scripts/test/TestObj.idl: Added [StrictTypeChecking] to DOMString overloads,
      plus a new DOMString overload w/o it.
      * bindings/scripts/test/V8/V8TestObj.cpp: Rebaselined.
      (WebCore::TestObjV8Internal::overloadedMethod11Callback):
      (TestObjV8Internal):
      (WebCore::TestObjV8Internal::overloadedMethodCallback):
      * html/canvas/CanvasRenderingContext2D.idl: Tag legacy overloads with [StrictTypeChecking].
      * xml/XMLHttpRequest.idl: Ditto.
      
      LayoutTests:
      
      Updated expectations - new (more generic) console warnings.
      
      * storage/indexeddb/cursor-overloads-expected.txt:
      * storage/indexeddb/legacy-constants-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0e3aef3
  2. 09 Oct, 2012 2 commits
    • jsbell@chromium.org's avatar
      IndexedDB: Overflowing key generator should throw ConstraintError · 14afbbeb
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98807
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      After the WebKit implementation landed throwing DataError, public-webapps
      consensus was that the exception thrown should be ConstraintError. Trivial
      change, and we pass one more W3C test submission.
      
      Test: storage/indexeddb/key-generator.html
      
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::putInternal):
      
      LayoutTests:
      
      Verify that overflowing key generator throws ConstraintError.
      
      * storage/indexeddb/key-generator-expected.txt:
      * storage/indexeddb/resources/key-generator.js:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14afbbeb
    • commit-queue@webkit.org's avatar
      Source/Platform: Change PeerConnection getStats function to single value local / remote · bc8798ac
      commit-queue@webkit.org authored
      elements in RTCStatsReport.
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore: Change PeerConnection getStats function to single value local / remote
      elements in RTCStatsReport.
      
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      IDL of RTCStatsReport has been changed to make local/remote
      single valued RTCStatsElement attributes.
      The RTCStatsReport argument to index the list of RTCStatsElement
      in the local and remote functions has been removed.
      
      Tested by modifications to RTCPeerConnection-stats.html
      
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      (WebCore::RTCStatsReport::addStatistic):
      * Modules/mediastream/RTCStatsReport.h:
      (WebCore::RTCStatsReport::local):
      (WebCore::RTCStatsReport::remote):
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsReport.idl:
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      (WebCore::RTCStatsResponse::addStatistic):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      (WebKit::WebRTCStatsResponse::addStatistic):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools: Change PeerConnection getStats function to single value local / remote
      elements in RTCStatsReport.
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests: Change PeerConnection getStats function to single value local / remote
      elements in RTCStatsReport.
      https://bugs.webkit.org/show_bug.cgi?id=98753
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-09
      Reviewed by Adam Barth.
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130768 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc8798ac
  3. 08 Oct, 2012 1 commit
    • alecflett@chromium.org's avatar
      IndexedDB: remove autogenerated objectStore/index id code · cb23bff2
      alecflett@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98085
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Remove support for backend-generated objectstore and index
      ids. The frontend objects now manage that state during
      versionchange transactions. The IDBDatabaseBackendInterface and
      IDBObjectStoreBackendInterface methods will go away when
      https://bugs.webkit.org/show_bug.cgi?id=98682 lands.
      
      No new tests as this is part of a refactoring, existing indexeddb
      tests cover correctness.
      
      * Modules/indexeddb/IDBBackingStore.h:
      (IDBBackingStore):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::createObjectStore):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::createObjectStore):
      (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
      (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
      * Modules/indexeddb/IDBDatabaseBackendInterface.h:
      (IDBDatabaseBackendInterface):
      * Modules/indexeddb/IDBLevelDBBackingStore.cpp:
      (WebCore::IDBLevelDBBackingStore::createObjectStore):
      (WebCore::setMaxIndexId):
      (WebCore::IDBLevelDBBackingStore::createIndex):
      * Modules/indexeddb/IDBLevelDBBackingStore.h:
      (IDBLevelDBBackingStore):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::createIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
      (WebCore::IDBObjectStoreBackendImpl::createIndex):
      (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
      * Modules/indexeddb/IDBObjectStoreBackendInterface.h:
      
      Source/WebKit/chromium:
      
      Remove support for unused createObjectStore/createIndex. These
      methods will go away entirely when
      https://bugs.webkit.org/show_bug.cgi?id=98682 is fixed.
      
      * src/IDBDatabaseBackendProxy.cpp:
      (WebKit::IDBDatabaseBackendProxy::createObjectStore):
      * src/WebIDBDatabaseImpl.cpp:
      * src/WebIDBDatabaseImpl.h:
      (WebIDBDatabaseImpl):
      * src/WebIDBObjectStoreImpl.cpp:
      * src/WebIDBObjectStoreImpl.h:
      (WebIDBObjectStoreImpl):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb23bff2
  4. 07 Oct, 2012 1 commit
    • benjamin@webkit.org's avatar
      Rename first/second to key/value in HashMap iterators · ee554054
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82784
      
      Patch by Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> on 2012-10-07
      Reviewed by Eric Seidel.
      
      Source/JavaScriptCore: 
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnNonIndexPropertyNames):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::~OpaqueJSClass):
      (OpaqueJSClassContextData::OpaqueJSClassContextData):
      (OpaqueJSClass::contextData):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::EvalCodeCache::visitAggregate):
      (JSC::CodeBlock::nameForRegister):
      * bytecode/JumpTable.h:
      (JSC::StringJumpTable::offsetForValue):
      (JSC::StringJumpTable::ctiForValue):
      * bytecode/LazyOperandValueProfile.cpp:
      (JSC::LazyOperandValueProfileParser::getIfPresent):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeBadArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize):
      (JSC::DFG::ArgumentsSimplificationPhase::removeArgumentsReferencingPhantomChild):
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      (JSC::DFG::StructureCheckHoistingPhase::noticeStructureCheck):
      (JSC::DFG::StructureCheckHoistingPhase::noticeClobber):
      * heap/Heap.cpp:
      (JSC::Heap::markProtectedObjects):
      * heap/Heap.h:
      (JSC::Heap::forEachProtectedCell):
      * heap/JITStubRoutineSet.cpp:
      (JSC::JITStubRoutineSet::markSlow):
      (JSC::JITStubRoutineSet::deleteUnmarkedJettisonedStubRoutines):
      * heap/SlotVisitor.cpp:
      (JSC::SlotVisitor::internalAppend):
      * heap/Weak.h:
      (JSC::weakRemove):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * profiler/Profile.cpp:
      (JSC::functionNameCountPairComparator):
      (JSC::Profile::debugPrintDataSampleStyle):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnNonIndexPropertyNames):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::JSArray::setLength):
      * runtime/JSObject.cpp:
      (JSC::JSObject::getOwnPropertySlotByIndex):
      (JSC::JSObject::enterDictionaryIndexingModeWhenArrayStorageAlreadyExists):
      (JSC::JSObject::deletePropertyByIndex):
      (JSC::JSObject::getOwnPropertyNames):
      (JSC::JSObject::defineOwnIndexedProperty):
      (JSC::JSObject::attemptToInterceptPutByIndexOnHoleForPrototype):
      (JSC::JSObject::putByIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::putDirectIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::getOwnPropertyDescriptor):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnNonIndexPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSC::symbolTableGet):
      (JSC::symbolTablePut):
      (JSC::symbolTablePutWithAttributes):
      * runtime/RegExpCache.cpp:
      (JSC::RegExpCache::invalidateCode):
      * runtime/SparseArrayValueMap.cpp:
      (JSC::SparseArrayValueMap::putEntry):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayValueMap::visitChildren):
      * runtime/WeakGCMap.h:
      (JSC::WeakGCMap::clear):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      (JSC::ProfileTreeNode::childCount):
      (JSC::ProfileTreeNode::dumpInternal):
      (JSC::ProfileTreeNode::compareEntries):
      
      Source/WebCore: 
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Watchers::find):
      (WebCore::Geolocation::Watchers::remove):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::objectStoreNames):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::metadata):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::deleteDatabase):
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      (WebCore::IDBFactoryBackendImpl::open):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::indexNames):
      (WebCore::IDBObjectStore::put):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStore):
      (WebCore::IDBTransaction::objectStoreDeleted):
      (WebCore::IDBTransaction::onAbort):
      (WebCore::IDBTransaction::dispatchEvent):
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::getMandatoryConstraints):
      (WebCore::MediaConstraintsImpl::getMandatoryConstraintValue):
      * Modules/webdatabase/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::performOpenAndVerify):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::diskUsage):
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      (WebCore::SQLTransactionCoordinator::releaseLock):
      (WebCore::SQLTransactionCoordinator::shutdown):
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
      (WebCore::QuotaTracker::updateDatabaseSize):
      * Modules/websockets/WebSocketDeflateFramer.cpp:
      (WebCore::WebSocketExtensionDeflateFrame::processResponse):
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::~AXObjectCache):
      * bindings/gobject/DOMObjectCache.cpp:
      (WebKit::DOMObjectCache::clearByFrame):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      * bindings/js/ScriptCachedFrameData.cpp:
      (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
      (WebCore::ScriptCachedFrameData::restore):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::attachDebugger):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::createRootObject):
      (WebCore::ScriptController::collectIsolatedContexts):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::clearScriptObjects):
      * bindings/js/ScriptController.h:
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::existingWindowShell):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      (WebCore::ScriptDebugServer::removeBreakpoint):
      (WebCore::ScriptDebugServer::hasBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::checkForDuplicate):
      (WebCore::CloneSerializer::dumpIfTerminal):
      (WebCore::CloneSerializer::write):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      (WebCore::V8TestException::GetTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      (WebCore::V8TestNode::GetTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      (WebCore::V8TestObj::GetTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::deallocate):
      (WebCore::DOMWrapperWorld::ensureIsolatedWorld):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::clearScriptObjects):
      (WebCore::ScriptController::resetIsolatedWorlds):
      (WebCore::ScriptController::ensureIsolatedWorldContext):
      (WebCore::ScriptController::existingWindowShellInternal):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::collectIsolatedContexts):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8DOMMap.h:
      (WebCore::WeakReferenceMap::removeIfPresent):
      (WebCore::WeakReferenceMap::visit):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      * bindings/v8/npruntime.cpp:
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      (ObjectMap::remove):
      * bridge/runtime_root.cpp:
      (JSC::Bindings::RootObject::invalidate):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::counterToCSSValue):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      (WebCore::CSSImageGeneratorValue::getImage):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::parsePseudoType):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
      * css/RuleSet.cpp:
      (WebCore::reportAtomRuleMap):
      (WebCore::RuleSet::addToRuleSet):
      (WebCore::shrinkMapVectorsToFit):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectFeatures):
      (WebCore::StyleResolver::ruleSetForScope):
      (WebCore::StyleResolver::appendAuthorStylesheets):
      (WebCore::StyleResolver::sweepMatchedPropertiesCache):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::parserAddNamespace):
      (WebCore::StyleSheetContents::determineNamespace):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::CheckedRadioButtons::addButton):
      (WebCore::CheckedRadioButtons::removeButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationAccumulator::getOrCreate):
      * dom/Document.cpp:
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      (WebCore::Document::cachedImmutableAttributeData):
      (WebCore::Document::getCachedLocalizer):
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::markerContainingPoint):
      (WebCore::DocumentMarkerController::renderedRectsForMarkers):
      (WebCore::DocumentMarkerController::removeMarkers):
      (WebCore::DocumentMarkerController::repaintMarkers):
      (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
      (WebCore::DocumentMarkerController::showMarkers):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::remove):
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::pageGroupUserSheets):
      * dom/ElementAttributeData.cpp:
      (WebCore::ensureAttrListForElement):
      * dom/EventDispatcher.cpp:
      (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
      * dom/IdTargetObserverRegistry.cpp:
      (WebCore::IdTargetObserverRegistry::addObserver):
      (WebCore::IdTargetObserverRegistry::removeObserver):
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::isOldValueRequested):
      (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::clearRareData):
      (WebCore::NodeListsNodeData::invalidateCaches):
      (WebCore::collectMatchingObserversForMutation):
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::addCacheWithAtomicName):
      (WebCore::NodeListsNodeData::addCacheWithName):
      (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::adoptTreeScope):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::checkStyleSheet):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQueryCache::add):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * editing/mac/AlternativeTextUIController.mm:
      (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
      * html/FormController.cpp:
      (WebCore::SavedFormState::serializeTo):
      (WebCore::SavedFormState::appendControlState):
      (WebCore::SavedFormState::takeControlState):
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      (WebCore::FormController::createSavedFormStateMap):
      (WebCore::FormController::formElementsState):
      (WebCore::FormController::takeStateForFormElement):
      (WebCore::FormController::getReferencedFilePaths):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollectionCacheBase::append):
      * html/canvas/WebGLFramebuffer.cpp:
      (WebCore::WebGLFramebuffer::getAttachment):
      (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
      (WebCore::WebGLFramebuffer::checkStatus):
      (WebCore::WebGLFramebuffer::deleteObjectImpl):
      (WebCore::WebGLFramebuffer::initializeAttachments):
      * inspector/CodeGeneratorInspector.py:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      (WebCore::DOMPatchSupport::innerPatchChildren):
      (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::injectedScriptForId):
      (WebCore::InjectedScriptManager::injectedScriptIdFor):
      (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
      (WebCore::InjectedScriptManager::releaseObjectGroup):
      (WebCore::InjectedScriptManager::injectedScriptFor):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      (WebCore::SelectorProfile::commitSelectorTime):
      (WebCore::SelectorProfile::toInspectorObject):
      (WebCore::UpdateRegionLayoutTask::onTimer):
      (WebCore::InspectorCSSAgent::forcePseudoState):
      (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
      (WebCore::InspectorCSSAgent::assertStyleSheetForId):
      (WebCore::InspectorCSSAgent::didRemoveDOMNode):
      (WebCore::InspectorCSSAgent::didModifyDOMAttr):
      (WebCore::InspectorCSSAgent::resetPseudoStates):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::nodeForId):
      (WebCore::InspectorDOMAgent::performSearch):
      (WebCore::InspectorDOMAgent::getSearchResults):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::clearFrontend):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::storageId):
      (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
      (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
      (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::databaseId):
      (WebCore::InspectorDatabaseAgent::findByFileName):
      (WebCore::InspectorDatabaseAgent::databaseForId):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::getScriptSource):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::cachedResourcesForFrame):
      (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
      (WebCore::InspectorPageAgent::frameDetached):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore):
      (WebCore::InspectorProfilerAgent::getProfile):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::buildObjectForHeaders):
      (WebCore::InspectorResourceAgent::willSendRequest):
      (WebCore::InspectorResourceAgent::documentThreadableLoaderStartedLoadingForClient):
      (WebCore::InspectorResourceAgent::willLoadXHR):
      (WebCore::InspectorResourceAgent::replayXHR):
      * inspector/InspectorState.cpp:
      (WebCore::InspectorState::getBoolean):
      (WebCore::InspectorState::getString):
      (WebCore::InspectorState::getLong):
      (WebCore::InspectorState::getDouble):
      (WebCore::InspectorState::getObject):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyle::styleWithProperties):
      (WebCore::InspectorStyleSheet::inspectorStyleForId):
      * inspector/InspectorValues.cpp:
      (WebCore::InspectorObjectBase::get):
      (WebCore::InspectorObjectBase::writeJSON):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::workerContextTerminated):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      * inspector/MemoryInstrumentationImpl.cpp:
      (WebCore::MemoryInstrumentationClientImpl::countObjectSize):
      * inspector/MemoryInstrumentationImpl.h:
      (WebCore::MemoryInstrumentationClientImpl::totalSize):
      (WebCore::MemoryInstrumentationClientImpl::reportedSizeForAllTypes):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::NetworkResourcesData::setXHRReplayData):
      (WebCore::NetworkResourcesData::removeCachedResource):
      (WebCore::NetworkResourcesData::clear):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isSimpleCrossOriginAccessRequest):
      (WebCore::createAccessControlPreflightRequest):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
      (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::getSubresources):
      (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::servePendingRequests):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      (WebCore::ApplicationCache::clearStorageID):
      (WebCore::ApplicationCache::dump):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::startLoadingEntry):
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
      (WebCore::ApplicationCacheStorage::store):
      (WebCore::ApplicationCacheStorage::empty):
      (WebCore::ApplicationCacheStorage::storeCopyOfCache):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::switchClientsToRevalidatedResource):
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * loader/cache/CachedResourceClientWalker.h:
      (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::~CachedResourceLoader):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::reloadImagesIfNotDeferred):
      (WebCore::CachedResourceLoader::removeCachedResource):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeResourcesWithOrigin):
      (WebCore::MemoryCache::getOriginsWithCache):
      (WebCore::MemoryCache::getStatistics):
      (WebCore::MemoryCache::setDisabled):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::removeAllIcons):
      (WebCore::IconDatabase::iconRecordCountWithData):
      (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::closeLocalStorage):
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::urlForBlankFrame):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
      * page/Settings.cpp:
      (WebCore::setGenericFontFamilyMap):
      (WebCore::getGenericFontFamilyForScript):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::registerListener):
      * page/TouchDisambiguation.cpp:
      (WebCore::findGoodTouchTargets):
      * page/WindowFeatures.cpp:
      (WebCore::WindowFeatures::boolFeature):
      (WebCore::WindowFeatures::floatFeature):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::updateAnimations):
      (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::clearRenderer):
      (WebCore::CompositeAnimation::updateTransitions):
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      (WebCore::CompositeAnimation::animate):
      (WebCore::CompositeAnimation::getAnimatedStyle):
      (WebCore::CompositeAnimation::setAnimating):
      (WebCore::CompositeAnimation::timeToNextService):
      (WebCore::CompositeAnimation::getAnimationForProperty):
      (WebCore::CompositeAnimation::suspendAnimations):
      (WebCore::CompositeAnimation::resumeAnimations):
      (WebCore::CompositeAnimation::overrideImplicitAnimations):
      (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
      (WebCore::CompositeAnimation::isAnimatingProperty):
      (WebCore::CompositeAnimation::numberOfActiveAnimations):
      * platform/Language.cpp:
      (WebCore::languageDidChange):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
      * platform/audio/HRTFElevation.cpp:
      (WebCore::getConcatenatedImpulseResponsesForSubject):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::generateHtmlFragmentForCookies):
      (WebCore::CookieManager::removeAllCookies):
      * platform/blackberry/CookieMap.cpp:
      (WebCore::CookieMap::removeOldestCookie):
      (WebCore::CookieMap::getAllChildCookies):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/chromium/support/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * platform/chromium/support/WebURLRequest.cpp:
      (WebKit::WebURLRequest::visitHTTPHeaderFields):
      * platform/chromium/support/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      (WebKit::WebURLResponse::visitHTTPHeaderFields):
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
      (WebCore::DisplayRefreshMonitorManager::unregisterClient):
      * platform/graphics/FontCache.cpp:
      (WebCore::FontCache::getCachedFontPlatformData):
      (WebCore::FontCache::getVerticalData):
      (WebCore::FontCache::getCachedFontData):
      (WebCore::FontCache::releaseFontData):
      (WebCore::FontCache::purgeInactiveFontData):
      * platform/graphics/GlyphPageTreeNode.cpp:
      (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
      (WebCore::GlyphPageTreeNode::pageCount):
      (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneTreeFontData):
      (WebCore::GlyphPageTreeNode::pruneCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneFontData):
      (WebCore::GlyphPageTreeNode::showSubtree):
      (showGlyphPageTrees):
      * platform/graphics/TiledBackingStore.cpp:
      (WebCore::TiledBackingStore::updateTileBuffers):
      (WebCore::TiledBackingStore::resizeEdgeTiles):
      (WebCore::TiledBackingStore::setKeepRect):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::avfWrapperForCallbackContext):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::layerVisibilityChanged):
      (WebCore::LayerTiler::uploadTexturesIfNeeded):
      (WebCore::LayerTiler::addTileJob):
      (WebCore::LayerTiler::deleteTextures):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::bindContentsTexture):
      * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
      (WebCore::TextureCacheCompositingThread::textureForTiledContents):
      (WebCore::TextureCacheCompositingThread::textureForColor):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
      (WebCore::GraphicsLayerCA::pauseAnimation):
      (WebCore::GraphicsLayerCA::layerDidDisplay):
      (WebCore::GraphicsLayerCA::updateGeometry):
      (WebCore::GraphicsLayerCA::updateTransform):
      (WebCore::GraphicsLayerCA::updateChildrenTransform):
      (WebCore::GraphicsLayerCA::updateMasksToBounds):
      (WebCore::GraphicsLayerCA::updateContentsVisibility):
      (WebCore::GraphicsLayerCA::updateContentsOpaque):
      (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
      (WebCore::GraphicsLayerCA::updateFilters):
      (WebCore::GraphicsLayerCA::ensureStructuralLayer):
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      (WebCore::GraphicsLayerCA::updateContentsImage):
      (WebCore::GraphicsLayerCA::updateContentsRect):
      (WebCore::GraphicsLayerCA::updateMaskLayer):
      (WebCore::GraphicsLayerCA::updateLayerAnimations):
      (WebCore::GraphicsLayerCA::setAnimationOnLayer):
      (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
      (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
      (WebCore::GraphicsLayerCA::suspendAnimations):
      (WebCore::GraphicsLayerCA::resumeAnimations):
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      (WebCore::GraphicsLayerCA::setOpacityInternal):
      (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::~TileCache):
      (WebCore::TileCache::setNeedsDisplay):
      (WebCore::TileCache::setScale):
      (WebCore::TileCache::setAcceleratesDrawing):
      (WebCore::TileCache::setTileDebugBorderWidth):
      (WebCore::TileCache::setTileDebugBorderColor):
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::animationStarted):
      (resubmitAllAnimations):
      (PlatformCALayer::animationForKey):
      * platform/graphics/chromium/FontCacheChromiumWin.cpp:
      (WebCore::LookupAltName):
      (WebCore::fontContainsCharacter):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/filters/CustomFilterGlobalContext.cpp:
      (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
      (WebCore::CustomFilterGlobalContext::getValidatedProgram):
      (WebCore::CustomFilterGlobalContext::removeValidatedProgram):
      * platform/graphics/filters/CustomFilterProgram.cpp:
      (WebCore::CustomFilterProgram::notifyClients):
      * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
      (WebCore::getCachedHarfbuzzFace):
      (WebCore::releaseCachedHarfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
      (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
      (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::mappedSymbolName):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
      (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
      (WebCore::EGLDisplayOpenVG::destroySurface):
      (WebCore::EGLDisplayOpenVG::contextForSurface):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
      (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderManager::getShaderProgram):
      (WebCore::TextureMapperShaderManager::getShaderForFilter):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/DataObjectGtk.cpp:
      (WebCore::DataObjectGtk::forClipboard):
      * platform/gtk/GtkDragAndDropHelper.cpp:
      (WebCore::GtkDragAndDropHelper::handleGetDragData):
      (WebCore::GtkDragAndDropHelper::handleDragLeave):
      (WebCore::GtkDragAndDropHelper::handleDragMotion):
      (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
      (WebCore::GtkDragAndDropHelper::handleDragDrop):
      * platform/gtk/RedirectedXCompositeWindow.cpp:
      (WebCore::filterXDamageEvent):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      (WebCore::getStyleContext):
      * platform/mac/ScrollbarThemeMac.mm:
      (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
      * platform/network/CredentialStorage.cpp:
      (WebCore::CredentialStorage::set):
      (WebCore::CredentialStorage::get):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      (WebCore::HTTPHeaderMap::get):
      * platform/network/MIMEHeader.cpp:
      (WebCore::MIMEHeader::parseHeader):
      * platform/network/ResourceHandle.cpp:
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      (WebCore::ResourceRequestBase::addHTTPHeaderFields):
      * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
      (WebCore::ResourceRequest::targetTypeFromMimeType):
      (WebCore::ResourceRequest::initializePlatformRequest):
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::makeFinalRequest):
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::setHeaderFields):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::sendRequestCallback):
      (WebCore::ResourceHandle::setClientCertificate):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessage):
      (WebCore::ResourceRequest::toSoupMessage):
      * platform/network/soup/ResourceResponseSoup.cpp:
      (WebCore::ResourceResponse::toSoupMessage):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::start):
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/text/LocaleToScriptMappingDefault.cpp:
      (WebCore::scriptNameToCode):
      (WebCore::localeToScriptCodeForFontSelection):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::pruneBlacklistedCodecs):
      (WebCore::dumpTextEncodingNameMap):
      * platform/text/transcoder/FontTranscoder.cpp:
      (WebCore::FontTranscoder::converterType):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::LanguageManager::LanguageManager):
      (WebCore::getCodePage):
      (WebCore::TextCodecWin::registerExtendedEncodingNames):
      (WebCore::TextCodecWin::registerExtendedCodecs):
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getDataMapItem):
      (WebCore::getClipboardData):
      (WebCore::setClipboardData):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::types):
      * platform/win/FileSystemWin.cpp:
      (WebCore::cachedStorageDirectory):
      * platform/win/RunLoopWin.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/win/WCDataObject.cpp:
      (WebCore::WCDataObject::createInstance):
      * platform/wince/MIMETypeRegistryWinCE.cpp:
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/wx/ContextMenuWx.cpp:
      (WebCore::ContextMenu::appendItem):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::refresh):
      (WebCore::PluginDatabase::MIMETypeForExtension):
      (WebCore::PluginDatabase::remove):
      * plugins/PluginMainThreadScheduler.cpp:
      (WebCore::PluginMainThreadScheduler::scheduleCall):
      (WebCore::PluginMainThreadScheduler::dispatchCalls):
      * plugins/PluginStream.cpp:
      (WebCore::PluginStream::startStream):
      * plugins/blackberry/PluginDataBlackBerry.cpp:
      (WebCore::PluginData::initPlugins):
      * plugins/wx/PluginDataWx.cpp:
      (WebCore::PluginData::initPlugins):
      * rendering/ExclusionShapeInsideInfo.cpp:
      (WebCore::ExclusionShapeInsideInfo::ensureExclusionShapeInsideInfoForRenderBlock):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::requiresIdeographicBaseline):
      (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloats):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::highQualityRepaintTimerFired):
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderCounter.cpp:
      (WebCore::RenderCounter::destroyCounterNodes):
      (WebCore::RenderCounter::destroyCounterNode):
      (WebCore::updateCounters):
      (WebCore::RenderCounter::rendererStyleChanged):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paint):
      (WebCore::performOverlapTests):
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
      (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::cachedCollapsedBorder):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::systemColor):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::setSelection):
      * rendering/RenderWidget.cpp:
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::moveWidgets):
      * rendering/RootInlineBox.cpp:
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/VerticalPositionCache.h:
      (WebCore::VerticalPositionCache::get):
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * rendering/svg/SVGResourcesCache.cpp:
      (WebCore::SVGResourcesCache::resourceDestroyed):
      * rendering/svg/SVGRootInlineBox.cpp:
      (WebCore::swapItemsInLayoutAttributes):
      * rendering/svg/SVGTextLayoutAttributes.cpp:
      (WebCore::SVGTextLayoutAttributes::dump):
      * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
      (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
      (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
      * rendering/svg/SVGTextLayoutEngine.cpp:
      (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
      * rendering/svg/SVGTextMetricsBuilder.cpp:
      (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performImport):
      (WebCore::StorageAreaSync::sync):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::key):
      (WebCore::StorageMap::setItem):
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::localStorageNamespace):
      (WebCore::StorageNamespaceImpl::copy):
      (WebCore::StorageNamespaceImpl::close):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
      (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
      (WebCore::SVGDocumentExtensions::addPendingResource):
      (WebCore::SVGDocumentExtensions::isElementPendingResources):
      (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
      (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
      (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
      (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::~SVGElement):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::setElapsed):
      (WebCore::SMILTimeContainer::updateAnimations):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::~SVGImageCache):
      (WebCore::SVGImageCache::removeClientFromCache):
      (WebCore::SVGImageCache::requestedSizeAndScales):
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences):
      (WebCore::SVGFilterBuilder::addBuiltinEffects):
      * svg/properties/SVGAnimatedProperty.h:
      (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::hasPendingActivity):
      * workers/WorkerEventQueue.cpp:
      (WebCore::WorkerEventQueue::close):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      (WebCore::XMLHttpRequest::getAllResponseHeaders):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::createFunction):
      * xml/XPathParser.cpp:
      (isAxisName):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xsltParamArrayFromParameterMap):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTProcessor::transformToString):
      
      Source/WebKit/blackberry: 
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
      (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
      * WebCoreSupport/NotificationPresenterImpl.cpp:
      (WebCore::NotificationPresenterImpl::cancel):
      (WebCore::NotificationPresenterImpl::onPermission):
      (WebCore::NotificationPresenterImpl::notificationClicked):
      * WebCoreSupport/UserMediaClientImpl.cpp:
      (WebCore::UserMediaClientImpl::cancelUserMediaRequest):
      * WebKitSupport/AboutData.cpp:
      (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::removeLayerByFrame):
      (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread):
      (BlackBerry::WebKit::FrameLayers::calculateRootLayer):
      
      Source/WebKit/chromium: 
      
      * src/WebGeolocationPermissionRequestManager.cpp:
      (WebGeolocationPermissionRequestManager::remove):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      * src/WebIntent.cpp:
      (WebKit::WebIntent::extrasValue):
      * tests/MemoryInstrumentationTest.cpp:
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore::TEST_F):
      
      Source/WebKit/efl: 
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::getPluginInfo):
      * ewk/ewk_intent.cpp:
      (ewk_intent_extra_get):
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::getPluginInfo):
      * webkit/webkitfavicondatabase.cpp:
      (webkitFaviconDatabaseImportFinished):
      * webkit/webkitwebplugin.cpp:
      (webkit_web_plugin_get_mimetypes):
      
      Source/WebKit/mac: 
      
      * History/WebHistory.mm:
      (-[WebHistoryPrivate removeItemFromDateCaches:]):
      (-[WebHistoryPrivate orderedLastVisitedDays]):
      (WebHistoryWriter::WebHistoryWriter):
      * Misc/WebCoreStatistics.mm:
      (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
      (+[WebCoreStatistics javaScriptObjectTypeCounts]):
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      (WebKit::NetscapePluginHostManager::pluginHostDied):
      (WebKit::NetscapePluginHostManager::didCreateWindow):
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (WebKit::NetscapePluginHostProxy::pluginHostDied):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
      (WebKit::NetscapePluginInstanceProxy::destroy):
      (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
      (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView stopTimers]):
      (-[WebNetscapePluginView startTimers]):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      (WebNotificationClient::clearNotifications):
      (WebNotificationClient::notificationObjectDestroyed):
      * WebView/WebHTMLView.mm:
      (commandNameForSelector):
      
      Source/WebKit/qt: 
      
      * Api/qwebpage.cpp:
      (extractContentTypeFromPluginVector):
      * Api/qwebplugindatabase.cpp:
      (QWebPluginInfo::mimeTypes):
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::getPluginInfo):
      
      Source/WebKit/win: 
      
      * COMPropertyBag.h:
      (::Read):
      (::GetPropertyInfo):
      * WebCoreStatistics.cpp:
      (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::getPluginInfo):
      * WebHistory.cpp:
      (WebHistory::removeItemFromDateCaches):
      * WebKitCOMAPI.cpp:
      (classFactory):
      * WebKitStatistics.cpp:
      (WebKitStatistics::comClassNameCounts):
      * WebNotificationCenter.cpp:
      (WebNotificationCenter::postNotificationInternal):
      (WebNotificationCenter::addObserver):
      (WebNotificationCenter::removeObserver):
      
      Source/WebKit/wince: 
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::getPluginInfo):
      
      Source/WebKit2: 
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/gtk/WorkQueueGtk.cpp:
      (WorkQueue::registerEventSourceHandler):
      (WorkQueue::unregisterEventSourceHandler):
      * Platform/mac/WorkQueueMac.cpp:
      (WorkQueue::unregisterMachPortEventHandler):
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::pluginDestroyed):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPreferencesStore.cpp:
      (WebKit::valueForKey):
      (WebKit::WebPreferencesStore::getBoolValueForKey):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::decode):
      * Shared/qt/ArgumentCodersQt.cpp:
      (CoreIPC::::decode):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::decode):
      * UIProcess/API/efl/ewk_back_forward_list.cpp:
      (_Ewk_Back_Forward_List::~_Ewk_Back_Forward_List):
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Context::~_Ewk_Context):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_loading_resources_clear):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_subresources):
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseContainerForall):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _expectedPreviewCallbackForRect:]):
      (pageDidDrawToPDF):
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (commandNameForSelector):
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
      (WebKit::CoordinatedBackingStore::updateTile):
      (WebKit::CoordinatedBackingStore::texture):
      (WebKit::CoordinatedBackingStore::paintToTextureMapper):
      (WebKit::CoordinatedBackingStore::commitTileOperations):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::adjustPositionForFixedLayers):
      (WebKit::LayerTreeRenderer::syncCanvas):
      (WebKit::LayerTreeRenderer::setLayerChildren):
      (WebKit::LayerTreeRenderer::setLayerFilters):
      (WebKit::LayerTreeRenderer::setLayerState):
      (WebKit::LayerTreeRenderer::assignImageToLayer):
      * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
      (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/InspectorServer/WebInspectorServer.cpp:
      (WebKit::WebInspectorServer::~WebInspectorServer):
      (WebKit::WebInspectorServer::registerPage):
      * UIProcess/InspectorServer/WebSocketServerConnection.cpp:
      (WebKit::WebSocketServerConnection::sendHTTPResponseHeader):
      * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp:
      (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/Plugins/PluginProcessProxy.cpp:
      (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
      * UIProcess/WebContext.cpp:
      (WebKit::createDictionaryFromHashMap):
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::didFinishURLImport):
      * UIProcess/WebIntentData.cpp:
      (WebKit::WebIntentData::extras):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
      (WebKit::WebProcessProxy::addBackForwardItem):
      (WebKit::WebProcessProxy::frameCountInPage):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::cancelRequestForGeolocation):
      (WebKit::GeolocationPermissionRequestManager::didReceiveGeolocationPermissionDecision):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/InjectedBundle/InjectedBundleIntent.cpp:
      (WebKit::InjectedBundleIntent::extras):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::policyForOrigin):
      (WebKit::WebNotificationManager::show):
      (WebKit::WebNotificationManager::clearNotifications):
      (WebKit::WebNotificationManager::removeNotificationFromContextMap):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroyStream):
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::buildHTTPHeaders):
      (WebKit::PluginView::~PluginView):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::layerByID):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::adoptImageBackingStore):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::WebBackForwardListProxy::removeItem):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::commandNameForSelectorName):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::fromCountedSetToHashMap):
      (WebKit::WebProcess::setTextCheckerState):
      
      Source/WTF: 
      
      Currently HashMap iterators follow the same interface in std::map: given an
      iterator it, we use it->first to access the key and it->second to access the
      value. This patch changes these accesses to it->key and it->value, improving the
      readability at call sites.
      
      One potential downside of this change would be the confusion between std::map and
      HashMap interfaces. However, they are already different in other aspects and the
      usage of std::map is more an exception than a rule in WebKit code, so we consider
      the confusion will be less likely to happen.
      
      * wtf/HashCountedSet.h:
      (WTF::::add):
      (WTF::::remove):
      (WTF::copyToVector):
      * wtf/HashIterators.h:
      (WTF::HashTableConstKeysIterator::get):
      (WTF::HashTableConstValuesIterator::get):
      (WTF::HashTableKeysIterator::get):
      (WTF::HashTableValuesIterator::get):
      * wtf/HashMap.h:
      (WTF::KeyValuePairKeyExtractor::extract):
      (WTF::HashMapValueTraits::isEmptyValue):
      (WTF::HashMapTranslator::translate):
      (WTF::HashMapTranslatorAdapter::translate):
      (WTF::::set):
      (WTF::::get):
      (WTF::::take):
      (WTF::operator==):
      (WTF::deleteAllValues):
      (WTF::deleteAllKeys):
      Removed deleteAllPairFirsts() and deleteAllPairSeconds() since they are now unused.
      
      * wtf/HashTable.h:
      (WTF::hashTableSwap):
      (WTF::::checkTableConsistencyExceptSize):
      * wtf/HashTraits.h:
      (WTF):
      (WTF::KeyValuePair::KeyValuePair):
      (KeyValuePair):
      (WTF::KeyValuePairHashTraits::constructDeletedValue):
      (WTF::KeyValuePairHashTraits::isDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::addFreeSpace):
      (WTF::MetaAllocator::incrementPageOccupancy):
      (WTF::MetaAllocator::decrementPageOccupancy):
      * wtf/RefCountedLeakCounter.cpp:
      (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
      * wtf/RefPtrHashMap.h:
      (WTF::::set):
      (WTF::::get):
      (WTF::::inlineGet):
      (WTF::::take):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      (WTF::Spectrum::get):
      (WTF::Spectrum::buildList):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      
      Tools: 
      
      * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
      (MockWebSpeechInputController::addMockRecognitionResult):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      (NotificationPresenter::simulateClick):
      (NotificationPresenter::show):
      * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
      (CppBoundClass::~CppBoundClass):
      (CppBoundClass::invoke):
      (CppBoundClass::getProperty):
      (CppBoundClass::setProperty):
      (CppBoundClass::bindCallback):
      (CppBoundClass::bindProperty):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (applyFontMap):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::printResourceDescription):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::~AccessibilityController):
      (AccessibilityController::winNotificationReceived):
      * DumpRenderTree/win/ResourceLoadDelegate.cpp:
      (ResourceLoadDelegate::descriptionSuitableForTestResult):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::worldIDForWorld):
      (WTR::TestRunner::evaluateScriptInIsolatedWorld):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee554054
  5. 05 Oct, 2012 2 commits
    • bashi@chromium.org's avatar
      [WebSocket] ExtensionParser should have its own file · 076ac34b
      bashi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98475
      
      Reviewed by Yuta Kitamura.
      
      Source/WebCore:
      
      Factor out ExtensionParser from WebSocketExtensionDispatcher and rename it as WebSocketExtensionParser.
      WebSocketExtensionParser has its own file.
      
      No changes in behavior. Added a test case for parsing Sec-WebSocket-Extensions field as a chromium unit test.
      
      * CMakeLists.txt: Added WebSocketExtensionParser.
      * GNUmakefile.list.am: Ditto.
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::processHeaderValue):
      Use WebSocketExtensionParser::parseExtension() to parser extension header value.
      * Modules/websockets/WebSocketExtensionParser.cpp: Added.
      (WebCore):
      (WebCore::WebSocketExtensionParser::finished): Moved from ExtensionParser.
      (WebCore::WebSocketExtensionParser::parsedSuccessfully): Ditto.
      (WebCore::isSeparator): Ditto.
      (WebCore::WebSocketExtensionParser::skipSpaces): Ditto.
      (WebCore::WebSocketExtensionParser::consumeToken): Ditto.
      (WebCore::WebSocketExtensionParser::consumeQuotedString): Ditto.
      (WebCore::WebSocketExtensionParser::consumeQuotedStringOrToken): Ditto.
      (WebCore::WebSocketExtensionParser::consumeCharacter): Ditto.
      (WebCore::WebSocketExtensionParser::parseExtension): Moved from WebSocketExtensionDispatcher.
      * Modules/websockets/WebSocketExtensionParser.h: Added.
      (WebCore):
      (WebSocketExtensionParser):
      (WebCore::WebSocketExtensionParser::WebSocketExtensionParser):
      (WebCore::WebSocketExtensionParser::currentToken):
      * Target.pri: Added WebSocketExtensionParser.
      * WebCore.gypi: Ditto.
      * WebCore.vcproj/WebCore.vcproj: Ditto.
      * WebCore.xcodeproj/project.pbxproj: Ditto.
      
      Source/WebKit/chromium:
      
      Add a test for parsing Sec-WebSocket-Extensions field.
      
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore):
      (WebCore::TEST_F):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130471 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      076ac34b
    • abarth@webkit.org's avatar
      FeatureObserver should distinguish between legacy HTML and text notifications · 06ec66a9
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98441
      
      Reviewed by Tony Chang.
      
      We might be able to drop support for legacy HTML notifications before
      we can drop support for legacy text notifications. We should measure
      and find out.
      
      * Modules/notifications/NotificationCenter.idl:
      * page/FeatureObserver.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06ec66a9
  6. 04 Oct, 2012 5 commits
    • abarth@webkit.org's avatar
      [V8] NotificationCenter leaks because it uses buggy custom bindings · 6f20e386
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98445
      
      Reviewed by Tony Chang.
      
      There's no reason to use custom bindings here. All they do is cause leaks..
      
      * Modules/notifications/NotificationCenter.idl:
      * bindings/v8/custom/V8NotificationCenterCustom.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f20e386
    • alecflett@chromium.org's avatar
      IndexedDB: promote objectstore/index backend ids to the frontend · e49d929f
      alecflett@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97834
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Expose int64-based database/objectStore/index ids to the renderer,
      step 1 of 2. Support both styles of createObjectStore and
      createIndex: those that take an explicit id, and those that take
      -1, meaning to autogenerate an id on the backend. In part 2, after
      the chromium side lands, support for the autogenerated ids will be
      removed. (See https://bugs.webkit.org/show_bug.cgi?id=98085)
      
      This is a part of larger refactoring work to ultimately make the interface
      between the frontend and the backend simpler.
      
      No new tests, extensive ASSERTs and existing tests cover correctness.
      
      * Modules/indexeddb/IDBBackingStore.h:
      (IDBBackingStore):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::createObjectStore):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::IDBDatabaseBackendImpl):
      (WebCore::IDBDatabaseBackendImpl::openInternal):
      (WebCore::IDBDatabaseBackendImpl::metadata):
      (WebCore::IDBDatabaseBackendImpl::createObjectStore):
      (WebCore):
      (WebCore::IDBDatabaseBackendImpl::createObjectStoreInternal):
      (WebCore::IDBDatabaseBackendImpl::loadObjectStores):
      * Modules/indexeddb/IDBDatabaseBackendImpl.h:
      (IDBDatabaseBackendImpl):
      * Modules/indexeddb/IDBDatabaseBackendInterface.h:
      (IDBDatabaseBackendInterface):
      * Modules/indexeddb/IDBIndexBackendImpl.cpp:
      (WebCore::IDBIndexBackendImpl::metadata):
      * Modules/indexeddb/IDBIndexBackendImpl.h:
      (WebCore::IDBIndexBackendImpl::create):
      (IDBIndexBackendImpl):
      * Modules/indexeddb/IDBLevelDBBackingStore.cpp:
      (WebCore):
      (WebCore::getMaxObjectStoreId):
      (WebCore::IDBLevelDBBackingStore::getIDBDatabaseMetaData):
      (WebCore::IDBLevelDBBackingStore::deleteDatabase):
      (WebCore::IDBLevelDBBackingStore::getObjectStores):
      (WebCore::setMaxObjectStoreId):
      (WebCore::IDBLevelDBBackingStore::createObjectStore):
      (WebCore::getMaxIndexId):
      (WebCore::setMaxIndexId):
      (WebCore::IDBLevelDBBackingStore::createIndex):
      * Modules/indexeddb/IDBLevelDBBackingStore.h:
      (IDBLevelDBBackingStore):
      * Modules/indexeddb/IDBMetadata.h:
      (WebCore::IDBDatabaseMetadata::IDBDatabaseMetadata):
      (IDBDatabaseMetadata):
      (WebCore::IDBObjectStoreMetadata::IDBObjectStoreMetadata):
      (IDBObjectStoreMetadata):
      (WebCore::IDBIndexMetadata::IDBIndexMetadata):
      (IDBIndexMetadata):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::createIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::IDBObjectStoreBackendImpl):
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::IDBObjectStoreBackendImpl::createIndex):
      (WebCore):
      (WebCore::IDBObjectStoreBackendImpl::createIndexInternal):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.h:
      (WebCore::IDBObjectStoreBackendImpl::create):
      (IDBObjectStoreBackendImpl):
      * Modules/indexeddb/IDBObjectStoreBackendInterface.h:
      
      Source/WebKit/chromium:
      
      Support for marshalling additional IDBMetadata and new calls to
      createObjectStore/createIndex.
      
      * public/WebIDBDatabase.h:
      (WebKit::WebIDBDatabase::createObjectStore):
      * public/WebIDBMetadata.h:
      (ObjectStore):
      (Index):
      * public/WebIDBObjectStore.h:
      (WebKit::WebIDBObjectStore::createIndex):
      * src/IDBDatabaseBackendProxy.cpp:
      (WebKit::IDBDatabaseBackendProxy::createObjectStore):
      (WebKit):
      * src/IDBDatabaseBackendProxy.h:
      (IDBDatabaseBackendProxy):
      * src/IDBObjectStoreBackendProxy.cpp:
      (WebKit::IDBObjectStoreBackendProxy::createIndex):
      (WebKit):
      * src/IDBObjectStoreBackendProxy.h:
      (IDBObjectStoreBackendProxy):
      * src/WebIDBDatabaseImpl.cpp:
      (WebKit::WebIDBDatabaseImpl::createObjectStore):
      (WebKit):
      * src/WebIDBDatabaseImpl.h:
      (WebIDBDatabaseImpl):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      (WebKit::WebIDBMetadata::operator IDBDatabaseMetadata):
      * src/WebIDBObjectStoreImpl.cpp:
      (WebKit::WebIDBObjectStoreImpl::createIndex):
      (WebKit):
      * src/WebIDBObjectStoreImpl.h:
      (WebIDBObjectStoreImpl):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e49d929f
    • commit-queue@webkit.org's avatar
      Change RTCPeerConnection GetStats to use Date timestamp format · 223797fd
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98263
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-04
      Reviewed by Yury Semikhatsky.
      
      Source/Platform:
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore:
      
      Tested by extension to RTCPeerConnection-stats test.
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.h: long -> double
      (RTCStatsElement):
      (WebCore::RTCStatsElement::timestamp):
      * Modules/mediastream/RTCStatsElement.idl: long -> Date
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      223797fd
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r130377. · 82e3c909
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/130377
      https://bugs.webkit.org/show_bug.cgi?id=98392
      
      Chromium Win compilation is broken (Requested by yurys on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-04
      
      Source/Platform:
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore:
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.h:
      (RTCStatsElement):
      (WebCore::RTCStatsElement::timestamp):
      * Modules/mediastream/RTCStatsElement.idl:
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82e3c909
    • commit-queue@webkit.org's avatar
      Change RTCPeerConnection GetStats to use Date timestamp format · da7accae
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98263
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-04
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * chromium/public/WebRTCStatsResponse.h:
      (WebRTCStatsResponse):
      
      Source/WebCore:
      
      Tested by extension to RTCPeerConnection-stats test.
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.h: long -> double
      (RTCStatsElement):
      (WebCore::RTCStatsElement::timestamp):
      * Modules/mediastream/RTCStatsElement.idl: long -> Date
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore::RTCStatsReport::addElement):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::addElement):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * platform/chromium/support/WebRTCStatsResponse.cpp:
      (WebKit::WebRTCStatsResponse::addElement):
      * platform/mediastream/RTCStatsResponseBase.h:
      (RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (MockWebRTCPeerConnectionHandler::getStats):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      da7accae
  7. 03 Oct, 2012 7 commits
    • abarth@webkit.org's avatar
      Measure the usage of WebSQLDatabase · 1cc8419b
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98330
      
      Reviewed by Ojan Vafai.
      
      WebKit is the only engine that implements WebSQLDatabase. This patch
      causes us to measure its usage so we can see how quickly web sites move
      to IndexedDB.
      
      * Modules/webdatabase/DOMWindowWebDatabase.idl:
      * page/FeatureObserver.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cc8419b
    • jsbell@chromium.org's avatar
      IndexedDB: Memory leak when deleting object stores with indexes · 142a96e5
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98292
      
      Reviewed by Tony Chang.
      
      Reference cycles between IDBObjectStore and IDBIndex instances are explicitly
      broken when the transaction completes (and the spec allows traversal to fail).
      Deleted stores need to have the reference cycle broken too.
      
      Caught by running valgrind over: storage/indexeddb/keypath-basics.html
      
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStoreDeleted): Add store to set.
      (WebCore::IDBTransaction::dispatchEvent): Notify stores in set.
      * Modules/indexeddb/IDBTransaction.h: Add set of deleted stores.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      142a96e5
    • hans@chromium.org's avatar
      Speech JavaScript API: Add SpeechRecognition.interimResults attribute · ec32fe67
      hans@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98279
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Add the interimResults attribute and pass it to the embedder. It was
      added to the spec draft in
      http://dvcs.w3.org/hg/speech-api/rev/d25fea0d029c
      
      Tested in fast/speech/scripted/basics.html
      
      * Modules/speech/SpeechRecognition.cpp:
      (WebCore::SpeechRecognition::start):
      (WebCore::SpeechRecognition::SpeechRecognition):
      * Modules/speech/SpeechRecognition.h:
      (WebCore::SpeechRecognition::interimResults):
      (WebCore::SpeechRecognition::setInterimResults):
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionClient.h:
      (SpeechRecognitionClient):
      * Modules/speech/SpeechRecognitionController.h:
      (WebCore::SpeechRecognitionController::start):
      
      Source/WebKit/chromium:
      
      Plumb interimResults through to Chromium.
      
      * public/WebSpeechRecognitionParams.h:
      (WebKit::WebSpeechRecognitionParams::WebSpeechRecognitionParams):
      (WebKit::WebSpeechRecognitionParams::interimResults):
      (WebSpeechRecognitionParams):
      * src/SpeechRecognitionClientProxy.cpp:
      (WebKit::SpeechRecognitionClientProxy::start):
      * src/SpeechRecognitionClientProxy.h:
      (SpeechRecognitionClientProxy):
      
      LayoutTests:
      
      Update test to check for the interimResults attribute.
      
      * fast/speech/scripted/basics-expected.txt:
      * fast/speech/scripted/basics.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec32fe67
    • hans@chromium.org's avatar
      Speech JavaScript API: Remove resultdeleted event · bf790a87
      hans@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98272
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Remove the resultdeleted event. This was never used, and was removed
      from the spec draft in
      http://dvcs.w3.org/hg/speech-api/rev/f9d53ab8b449
      
      The fast/speech/scripted/basics.html test is updated to reflect this.
      
      * Modules/speech/SpeechRecognition.cpp:
      * Modules/speech/SpeechRecognition.h:
      (SpeechRecognition):
      * Modules/speech/SpeechRecognition.idl:
      * Modules/speech/SpeechRecognitionEvent.cpp:
      * Modules/speech/SpeechRecognitionEvent.h:
      (SpeechRecognitionEvent):
      * dom/EventNames.h:
      (WebCore):
      
      Source/WebKit/chromium:
      
      Remove didDeleteResult. This was never used, and has been removed from
      the spec draft.
      
      * public/WebSpeechRecognizerClient.h:
      * src/SpeechRecognitionClientProxy.cpp:
      * src/SpeechRecognitionClientProxy.h:
      (SpeechRecognitionClientProxy):
      
      LayoutTests:
      
      Update layout test not to check for onresultdeleted event handler.
      
      * fast/speech/scripted/basics-expected.txt:
      * fast/speech/scripted/basics.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf790a87
    • jsbell@chromium.org's avatar
      IndexedDB: Optimize encodeString/decodeString · 3ad9d8de
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97794
      
      Reviewed by Tony Chang.
      
      Optimize string encoding/decoding, which showed up as a CPU hot spot during profiling.
      The backing store uses big-endian ordering of 16-bit code unit strings, so a memcopy
      isn't sufficient, but the code used StringBuilder::append() character-by-character
      and custom byte-swapping which was slow.
      
      Ran a test w/ DumpRenderTree (to avoid multiprocess overhead) taking a 10k character string
      and putting it 20k times and getting it 20k times. On my test box, mean time before the
      patch was 8.2s, mean time after the patch was 4.6s.
      
      Tested by Chromium's webkit_unit_tests --gtest_filter='IDBLevelDBCodingTest.*String*'
      
      * Modules/indexeddb/IDBLevelDBCoding.cpp:
      (WebCore::IDBLevelDBCoding::encodeString):
      (WebCore::IDBLevelDBCoding::decodeString):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ad9d8de
    • tommyw@google.com's avatar
      MediaStream API: RTCPeerConnection should send down its handler via the... · 46689138
      tommyw@google.com authored
      MediaStream API: RTCPeerConnection should send down its handler via the FrameLoaderClient directly after creation.
      https://bugs.webkit.org/show_bug.cgi?id=98149
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      The chromium implementation needs to know which Frame created a PeerConnection so
      that the right housekeeping can take place correctly.
      
      Not testable in DRT, but have verified the change manually and with our pyautotests.
      
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::RTCPeerConnection):
      * loader/FrameLoaderClient.h:
      (WebCore):
      (FrameLoaderClient):
      (WebCore::FrameLoaderClient::dispatchWillStartUsingPeerConnectionHandler):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::toWebRTCPeerConnectionHandler):
      (WebCore):
      (WebCore::RTCPeerConnectionHandlerChromium::RTCPeerConnectionHandlerChromium):
      (WebCore::RTCPeerConnectionHandlerChromium::initialize):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Source/WebKit/chromium:
      
      Adding willStartUsingPeerConnectionHandler to the WebFrameClient.
      
      * public/WebFrameClient.h:
      (WebKit):
      (WebFrameClient):
      (WebKit::WebFrameClient::willStartUsingPeerConnectionHandler):
      * src/FrameLoaderClientImpl.cpp:
      (WebKit):
      (WebKit::FrameLoaderClientImpl::dispatchWillStartUsingPeerConnectionHandler):
      * src/FrameLoaderClientImpl.h:
      (FrameLoaderClientImpl):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46689138
    • commit-queue@webkit.org's avatar
      Add data passing to the GetStats interface of RTCPeerConnection · 301e929c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98003
      
      Patch by Harald Alvestrand <hta@google.com> on 2012-10-03
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * Platform.gypi:
      * chromium/public/WebRTCStatsRequest.h:
      (WebKit):
      (WebRTCStatsRequest):
      * chromium/public/WebRTCStatsResponse.h: Added.
      (WebCore):
      (WebKit):
      (WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::~WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::operator=):
      
      Source/WebCore:
      
      Added an RTCStatsResponseBase interface to platform, and let the
      RTCStatsRequestImpl class produce an implementation of it that's returned
      to WebCore.
      
      Tested by extension of the RTCPeerConnection-stats.html test.
      
      * Modules/mediastream/RTCStatsElement.cpp:
      (WebCore::RTCStatsElement::addStatistic):
      (WebCore):
      * Modules/mediastream/RTCStatsElement.h:
      (RTCStatsElement):
      * Modules/mediastream/RTCStatsReport.cpp:
      (WebCore):
      (WebCore::RTCStatsReport::addElement):
      (WebCore::RTCStatsReport::addStatistic):
      * Modules/mediastream/RTCStatsReport.h:
      (RTCStatsReport):
      * Modules/mediastream/RTCStatsRequestImpl.cpp:
      (WebCore::RTCStatsRequestImpl::createResponse):
      (WebCore):
      (WebCore::RTCStatsRequestImpl::requestSucceeded):
      * Modules/mediastream/RTCStatsRequestImpl.h:
      (RTCStatsRequestImpl):
      * Modules/mediastream/RTCStatsResponse.cpp:
      (WebCore::RTCStatsResponse::create):
      (WebCore::RTCStatsResponse::addReport):
      (WebCore):
      (WebCore::RTCStatsResponse::addElement):
      (WebCore::RTCStatsResponse::addStatistic):
      * Modules/mediastream/RTCStatsResponse.h:
      (RTCStatsResponse):
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp:
      (WebKit::WebRTCStatsRequest::response):
      (WebKit):
      (WebKit::WebRTCStatsRequest::requestSucceeded):
      * platform/chromium/support/WebRTCStatsResponse.cpp: Added.
      (WebKit):
      (WebKit::WebRTCStatsResponse::WebRTCStatsResponse):
      (WebKit::WebRTCStatsResponse::assign):
      (WebKit::WebRTCStatsResponse::reset):
      (WebKit::WebRTCStatsResponse::operator WTF::PassRefPtr<WebCore::RTCStatsResponseBase>):
      (WebKit::WebRTCStatsResponse::addReport):
      (WebKit::WebRTCStatsResponse::addElement):
      (WebKit::WebRTCStatsResponse::addStatistic):
      * platform/mediastream/RTCStatsRequest.h:
      (WebCore):
      (RTCStatsRequest):
      * platform/mediastream/RTCStatsResponseBase.h: Added.
      (WebCore):
      (RTCStatsResponseBase):
      (WebCore::RTCStatsResponseBase::~RTCStatsResponseBase):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
      (MockWebRTCPeerConnectionHandler::MockWebRTCPeerConnectionHandler):
      (MockWebRTCPeerConnectionHandler::addStream):
      (MockWebRTCPeerConnectionHandler::removeStream):
      (MockWebRTCPeerConnectionHandler::getStats):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt:
      * fast/mediastream/RTCPeerConnection-stats.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      301e929c
  8. 02 Oct, 2012 2 commits
  9. 01 Oct, 2012 3 commits
    • commit-queue@webkit.org's avatar
      The static function 'deleteFileSystem' in the LocalFileSystem.cpp should have another name. · 8058922a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98106
      
      Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-01
      Reviewed by Yuta Kitamura.
      
      A build error occurs because there are two functions which have same name in the LocalFileSystem.cpp file.
      One is member function of the class, and the other is a static function which is called by the member function.
      So, I've tried to change the name of the static function from 'deleteFileSystem' to 'performDeleteFileSystem'.
      
      No new functionality, no new test.
      
      * Modules/filesystem/LocalFileSystem.cpp:
      (WebCore::performDeleteFileSystem): The name of function is changed from 'deleteFileSystem'.
      (WebCore::LocalFileSystem::requestFileSystem):
      (WebCore::LocalFileSystem::deleteFileSystem):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130117 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8058922a
    • jsbell@chromium.org's avatar
      Source/WebCore: IndexedDB: Fire error rather than raising on request creation... · 27455051
      jsbell@chromium.org authored
      Source/WebCore: IndexedDB: Fire error rather than raising on request creation if transaction aborts asynchronously.
      https://bugs.webkit.org/show_bug.cgi?id=93054
      
      Reviewed by Tony Chang.
      
      All IDB data operations are asynchronous, producing IDBRequest objects. This was implemented
      by passing all data from the front-end to the back-end synchronously, and synchronously
      returning an exception code back if the request was invalid. Previous changes have moved
      request validation to the front-end except for the case of the back-end transaction having
      asynchronously aborted in the mean time.
      
      To eliminate that case (which would allow front-end to back-end communication to be
      asynchronous in multi-process ports), change from returning an exception code to relying on
      the front-end to abort the request when the abort event finally arrives.
      
      The difference would be noticeable in scripts - in a multi-process environment:
      
      var request1 = store.get(0);
      request1.onerror = errorHandler; // (A)
      // (B)
      var request2 = store.get(0); // (C)
      request2.onerror = errorHandler; // (D)
      
      If the transaction back-end were to asynchronously abort at exactly point (B), then prior to
      this patch an exception would be thrown at (C). With this patch, no exception but (D) would
      fire, same as (A).
      
      The back-end explicitly fires an error callback as well, as intermediate layers may rely on
      this to stop tracking the pending callback.
      
      No new layout tests - change is not observable in single-process ports.
      Added webkit_unit_test IDBRequestTest.AbortErrorAfterAbort to verify that IDBRequest
      is resilient to this pattern, but it was previous.
      
      * Modules/indexeddb/IDBCursor.cpp:
      (WebCore::IDBCursor::advance): Back end should never fail a request.
      (WebCore::IDBCursor::continueFunction): Ditto.
      (WebCore::IDBCursor::deleteFunction): Ditto, and also move "is key cursor" test
      here from back-end.
      * Modules/indexeddb/IDBCursorBackendImpl.cpp:
      (WebCore::IDBCursorBackendImpl::continueFunction): Change from EC to firing error.
      (WebCore::IDBCursorBackendImpl::advance): Ditto.
      (WebCore::IDBCursorBackendImpl::deleteFunction): Ditto, and remove test moved to FE.
      (WebCore::IDBCursorBackendImpl::prefetchContinue): Ditto.
      * Modules/indexeddb/IDBDatabaseError.cpp:
      (WebCore::IDBDatabaseError::create): Add overload that looks up message via code.
      (WebCore::IDBDatabaseError::IDBDatabaseError): Look up message via exception table.
      * Modules/indexeddb/IDBDatabaseException.h: Add getErrorDescription.
      * Modules/indexeddb/IDBDatabaseException.cpp: Implementation of getErrorDescription.
      * Modules/indexeddb/IDBIndex.cpp:
      (WebCore::IDBIndex::openCursor): Back end should never fail a request.
      (WebCore::IDBIndex::count): Ditto.
      (WebCore::IDBIndex::openKeyCursor): Ditto.
      (WebCore::IDBIndex::get): Ditto.
      (WebCore::IDBIndex::getKey): Ditto.
      * Modules/indexeddb/IDBIndexBackendImpl.cpp:
      (WebCore::IDBIndexBackendImpl::openCursor): Change from EC to firing error.
      (WebCore::IDBIndexBackendImpl::openKeyCursor): Ditto.
      (WebCore::IDBIndexBackendImpl::count): Ditto.
      (WebCore::IDBIndexBackendImpl::get): Ditto.
      (WebCore::IDBIndexBackendImpl::getKey): Ditto.
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::get): Back end should never fail a request.
      (WebCore::IDBObjectStore::put): Ditto.
      (WebCore::IDBObjectStore::deleteFunction): Ditto.
      (WebCore::IDBObjectStore::clear): Ditto.
      (WebCore): Ditto.
      (WebCore::IDBObjectStore::openCursor): Ditto.
      (WebCore::IDBObjectStore::count): Ditto.
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::get): Change from EC to firing error.
      (WebCore::IDBObjectStoreBackendImpl::putWithIndexKeys): Ditto.
      (WebCore):
      (WebCore::IDBObjectStoreBackendImpl::deleteFunction): Ditto.
      (WebCore::IDBObjectStoreBackendImpl::clear): Ditto.
      (WebCore::IDBObjectStoreBackendImpl::openCursor): Ditto.
      (WebCore::IDBObjectStoreBackendImpl::count): Ditto.
      
      Source/WebKit/chromium: IndexedDB: Move onSuccess(IDBDatabaseBackendInterface) to IDBOpenDBRequest
      https://bugs.webkit.org/show_bug.cgi?id=94757
      
      Reviewed by Tony Chang.
      
      * tests/IDBRequestTest.cpp: Ensure IDBRequest can handle Error after abort.
      (WebCore::TEST): Added AbortAfter
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27455051
    • bashi@chromium.org's avatar
      [WebSocket] Setting wrong value to binaryType should not raise exception · e1fd9418
      bashi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97999
      
      Reviewed by Yuta Kitamura.
      
      Source/WebCore:
      
      Don't raise exception when binaryType is the wrong value.
      Instead, show an error message to console.
      
      No new tests. Updated existing test.
      
      * Modules/websockets/WebSocket.cpp:
      (WebCore::WebSocket::setBinaryType): See the description.
      * Modules/websockets/WebSocket.h:
      (WebSocket): Removed ExceptionCode argument of setBinaryType().
      * Modules/websockets/WebSocket.idl:
      Removed "setter raises(DOMException)" and "[TreatReturnedNullStringAs=Undefined]".
      They are no longer needed.
      
      LayoutTests:
      
      Update binary-type.html.
      
      * http/tests/websocket/tests/hybi/binary-type-expected.txt:
      * http/tests/websocket/tests/hybi/binary-type.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130019 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e1fd9418
  10. 29 Sep, 2012 1 commit
    • commit-queue@webkit.org's avatar
      AsyncFileSystem::openFileSystem should have FileSystemType as a parameter. · a664e112
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97963
      
      Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-09-29
      Reviewed by Gyuyoung Kim.
      
      FileSystemType is an important information to maintain the file system,
      and AsyncFileSystem::openFileSystem need to get the type as a parameter.
      And, there are "FIXME" comments about that in WebCore source codes.
      
      No new functionality, no new tests.
      
      * Modules/filesystem/LocalFileSystem.cpp: Add FileSystemType as a parameter of AsyncFileSystem::openFileSystem.
      (WebCore::openFileSystem):
      (WebCore::LocalFileSystem::readFileSystem):
      (WebCore::LocalFileSystem::requestFileSystem):
      * platform/AsyncFileSystem.cpp: ditto.
      (WebCore::AsyncFileSystem::openFileSystem):
      * platform/AsyncFileSystem.h: ditto.
      (AsyncFileSystem):
      * platform/blackberry/AsyncFileSystemBlackBerry.cpp: ditto.
      (WebCore::AsyncFileSystem::openFileSystem):
      * platform/gtk/AsyncFileSystemGtk.cpp: ditto.
      (WebCore::AsyncFileSystem::openFileSystem):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129988 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a664e112
  11. 28 Sep, 2012 4 commits
    • jsbell@chromium.org's avatar
      Unreviewed, rolling out r129911. · a79312cc
      jsbell@chromium.org authored
      http://trac.webkit.org/changeset/129911
      https://bugs.webkit.org/show_bug.cgi?id=97933
      
      Inspector test crashes on win debug (Requested by jsbell on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-28
      
      * Modules/indexeddb/IDBTransactionBackendImpl.cpp:
      (WebCore::IDBTransactionBackendImpl::abort):
      (WebCore::IDBTransactionBackendImpl::taskTimerFired):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a79312cc
    • jsbell@chromium.org's avatar
      IndexedDB: Run multiple tasks per transaction tick · cf2fdcc4
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97738
      
      Reviewed by Tony Chang.
      
      Process multiple tasks from the pending queue(s) when the timer fires. The
      task may initiate new tasks that change which queue is active (e.g. indexing
      operations) so the loop must re-check each tick which queue to use.
      
      In DumpRenderTree, time to make 20k puts/20k gets dropped from 3.2s to 2.0s (-37%);
      in Chromium's content_shell, the time dropped from 8.1s to 4.6s (-42%).
      
      No new tests - just perf improvements, covered by (nearly) all existing IDB tests.
      
      * Modules/indexeddb/IDBTransactionBackendImpl.cpp:
      (WebCore::IDBTransactionBackendImpl::abort): Use takeFirst() to clean up code.
      (WebCore::IDBTransactionBackendImpl::taskTimerFired): Process as many tasks as are available.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf2fdcc4
    • commit-queue@webkit.org's avatar
      Implement the GetStats interface on PeerConnection · a26152d0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95193
      
      Source/Platform:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebRTCPeerConnectionHandler):
      (WebKit::WebRTCPeerConnectionHandler::getStats):
      * chromium/public/WebRTCStatsRequest.h: added.
      (WebCore):
      (WebKit):
      (WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::~WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::operator=):
      
      Source/WebCore:
      
      Specification:
      http://dev.w3.org/2011/webrtc/editor/webrtc-20120920.html
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      The implementation consists of a pure virtual platform object
      (RTCStatsRequest) that is implemented in WebCore, and stores
      its information in a straightforward data hierarchy.
      This patch adds the call path and the storage structures.
      It does not add filling in data.
      
      Test: fast/mediastream/RTCPeerConnection-stats.html
      
      * CMakeLists.txt:
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::getStats):
      (WebCore):
      * Modules/mediastream/RTCPeerConnection.h:
      (WebCore):
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsCallback.h: Added.
      (WebCore):
      (RTCStatsCallback):
      (WebCore::RTCStatsCallback::~RTCStatsCallback):
      * Modules/mediastream/RTCStatsCallback.idl: Added.
      * Modules/mediastream/RTCStatsElement.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      (WebCore::RTCStatsElement::stat):
      * Modules/mediastream/RTCStatsElement.h: Added.
      (WebCore):
      (RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.idl: Added.
      * Modules/mediastream/RTCStatsReport.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsReport::create):
      (WebCore::RTCStatsReport::RTCStatsReport):
      * Modules/mediastream/RTCStatsReport.h: Added.
      (WebCore):
      (RTCStatsReport):
      (WebCore::RTCStatsReport::local):
      (WebCore::RTCStatsReport::remote):
      * Modules/mediastream/RTCStatsReport.idl: Added.
      * Modules/mediastream/RTCStatsRequestImpl.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsRequestImpl::create):
      (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::~RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::requestSucceeded):
      (WebCore::RTCStatsRequestImpl::stop):
      (WebCore::RTCStatsRequestImpl::clear):
      * Modules/mediastream/RTCStatsRequestImpl.h: Added.
      (WebCore):
      (RTCStatsRequestImpl):
      * Modules/mediastream/RTCStatsResponse.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsResponse::create):
      (WebCore::RTCStatsResponse::RTCStatsResponse):
      * Modules/mediastream/RTCStatsResponse.h: Added.
      (WebCore):
      (RTCStatsResponse):
      (WebCore::RTCStatsResponse::result):
      * Modules/mediastream/RTCStatsResponse.idl: Added.
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
      (WebKit):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::assign):
      (WebKit::WebRTCStatsRequest::reset):
      (WebKit::WebRTCStatsRequest::requestSucceeded):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCStatsRequest.h: Copied from Source/WebCore/platform/mediastream/RTCPeerConnectionHandler.h.
      (WebCore):
      (RTCStatsRequest):
      (WebCore::RTCStatsRequest::~RTCStatsRequest):
      (WebCore::RTCStatsRequest::RTCStatsRequest):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::getStats):
      (WebCore):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Tools:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCStatsRequestSucceededTask):
      (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
      (MockWebRTCPeerConnectionHandler::getStats):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-28
      Reviewed by Adam Barth.
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt: Added.
      * fast/mediastream/RTCPeerConnection-stats.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a26152d0
    • commit-queue@webkit.org's avatar
      [WebDatabase] Error code should be CONSTRAINT_ERR if a statement fails due to a constraint failure · d1253f78
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97897
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-28
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebCore:
      
      Use CONSTRAINT_ERR error code instead of the generic DATABASE_ERR
      when a statement fails due to a constraint failure. This is documented
      in the W3C specification:
      http://dev.w3.org/html5/webdatabase/#dom-sqlexception-code-constraint
      
      Tests: storage/websql/sql-error-codes.html
      
      * Modules/webdatabase/SQLStatement.cpp:
      (WebCore::SQLStatement::execute):
      * Modules/webdatabase/SQLStatementSync.cpp:
      (WebCore::SQLStatementSync::execute):
      * platform/sql/SQLiteDatabase.cpp:
      (WebCore):
      * platform/sql/SQLiteDatabase.h:
      (WebCore):
      
      LayoutTests:
      
      Update storage/websql/sql-error-codes.html test case to check
      that the CONSTRAINT_ERR error code is used when a statement
      fails due to a constraint failure.
      
      * platform/chromium/storage/websql/sql-error-codes-expected.txt:
      * storage/websql/sql-error-codes-expected.txt:
      * storage/websql/sql-error-codes.js:
      (testConstraintFailure):
      (runTest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1253f78
  12. 27 Sep, 2012 5 commits
    • pilgrim@chromium.org's avatar
      [Chromium] Remove unused PlatformSupport reference in DraggedIsolatedFileSystem · eb4436bf
      pilgrim@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97851
      
      Reviewed by Kentaro Hara.
      
      Part of a refactoring series. See tracking bug 82948.
      
      * Modules/filesystem/chromium/DraggedIsolatedFileSystem.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb4436bf
    • jsbell@chromium.org's avatar
      Unreviewed, rolling out r129806. · e7aca46c
      jsbell@chromium.org authored
      http://trac.webkit.org/changeset/129806
      https://bugs.webkit.org/show_bug.cgi?id=97831
      
      Broke windows build due to missing header (Requested by jsbell
      on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-27
      
      * Modules/indexeddb/IDBLevelDBCoding.cpp:
      (WebCore::IDBLevelDBCoding::encodeString):
      (WebCore::IDBLevelDBCoding::decodeString):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129822 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7aca46c
    • jsbell@chromium.org's avatar
      IndexedDB: Optimize encodeString/decodeString · d50328d7
      jsbell@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97794
      
      Reviewed by Tony Chang.
      
      Optimize string encoding/decoding, which showed up as a CPU hot spot during profiling.
      The backing store uses big-endian ordering of 16-bit code unit strings, so a memcopy
      isn't sufficient, but the code used StringBuilder::append() character-by-character
      and custom byte-swapping which was slow.
      
      Ran a test w/ DumpRenderTree (to avoid multiprocess overhead) taking a 10k character string
      and putting it 20k times and getting it 20k times. On my test box, mean time before the
      patch was 8.2s, mean time after the patch was 4.6s.
      
      Tested by Chromium's webkit_unit_tests --gtest_filter='IDBLevelDBCodingTest.*String*'
      
      * Modules/indexeddb/IDBLevelDBCoding.cpp:
      (WebCore::IDBLevelDBCoding::encodeString):
      (WebCore::IDBLevelDBCoding::decodeString):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d50328d7
    • tommyw@google.com's avatar
      MediaStream API: Enhance MediaConstraints to make it easier to get the constraint data · 92f9e85d
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97559
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      Refactored to mimic the new MediaConstraints api.
      
      * chromium/public/WebMediaConstraints.h:
      (WebCore):
      (WebKit::WebMediaConstraint::WebMediaConstraint):
      (WebMediaConstraint):
      (WebKit):
      (WebMediaConstraints):
      
      Source/WebCore:
      
      Instead of just returning the names, return a pair of name and value.
      
      Existing tests cover this patch.
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::initialize):
      (WebCore::MediaConstraintsImpl::getMandatoryConstraints):
      (WebCore::MediaConstraintsImpl::getOptionalConstraints):
      (WebCore::MediaConstraintsImpl::getOptionalConstraintValue):
      * Modules/mediastream/MediaConstraintsImpl.h:
      (MediaConstraintsImpl):
      * platform/chromium/support/WebMediaConstraints.cpp:
      (WebKit::WebMediaConstraint::WebMediaConstraint):
      (WebKit):
      (WebKit::WebMediaConstraints::getMandatoryConstraints):
      (WebKit::WebMediaConstraints::getOptionalConstraints):
      * platform/mediastream/MediaConstraints.h:
      (WebCore::MediaConstraint::MediaConstraint):
      (MediaConstraint):
      (WebCore):
      (MediaConstraints):
      
      Tools:
      
      Refactoring for the new WebMediaConstraints api.
      
      * DumpRenderTree/chromium/MockConstraints.cpp:
      (MockConstraints::verify):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92f9e85d
    • tommyw@google.com's avatar
      MediaStream API: Update getUserMedia to match the latest specification · c12a3b57
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97540
      
      Reviewed by Adam Barth.
      
      Source/Platform:
      
      * chromium/public/WebMediaConstraints.h:
      (WebMediaConstraints):
      
      Source/WebCore:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      Existing tests expanded to cover the new change.
      
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::create):
      (WebCore):
      * Modules/mediastream/MediaConstraintsImpl.h:
      (MediaConstraintsImpl):
      * Modules/mediastream/NavigatorMediaStream.cpp:
      (WebCore::NavigatorMediaStream::webkitGetUserMedia):
      * Modules/mediastream/UserMediaRequest.cpp:
      (WebCore::parseOptions):
      (WebCore):
      (WebCore::UserMediaRequest::create):
      (WebCore::UserMediaRequest::UserMediaRequest):
      (WebCore::UserMediaRequest::audio):
      (WebCore::UserMediaRequest::video):
      (WebCore::UserMediaRequest::audioConstraints):
      (WebCore::UserMediaRequest::videoConstraints):
      * Modules/mediastream/UserMediaRequest.h:
      (WebCore):
      (UserMediaRequest):
      * platform/chromium/support/WebMediaConstraints.cpp:
      (WebKit::WebMediaConstraints::WebMediaConstraints):
      (WebKit):
      
      Source/WebKit/chromium:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      * public/WebUserMediaRequest.h:
      (WebKit):
      (WebUserMediaRequest):
      * src/WebUserMediaRequest.cpp:
      (WebKit::WebUserMediaRequest::audioConstraints):
      (WebKit):
      (WebKit::WebUserMediaRequest::videoConstraints):
      
      Tools:
      
      http://dev.w3.org/2011/webrtc/editor/getusermedia.html#navigatorusermedia
      Navigator.getUserMedia is changed so that the audio and video members can either
      be a bool or a constraints object.
      
      * public/WebUserMediaRequest.h:
      (WebKit):
      (WebUserMediaRequest):
      * src/WebUserMediaRequest.cpp:
      (WebKit::WebUserMediaRequest::audioConstraints):
      (WebKit):
      (WebKit::WebUserMediaRequest::videoConstraints):
      
      LayoutTests:
      
      Expanding tests to cover the new getUserMedia behaviour.
      
      * fast/mediastream/getusermedia-expected.txt:
      * fast/mediastream/getusermedia.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c12a3b57
  13. 26 Sep, 2012 5 commits
    • haraken@chromium.org's avatar
      Move IDL extended attributes to the location specified in WebIDL · 4b8ef5b6
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=26398
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-08-09
      Reviewed by Kentaro Hara.
      
      Recreated a new IDLParser based on the WebIDL spec:
      http://dev.w3.org/2006/webapi/WebIDL/
      
      Firstly merges two grammars (editors draft and WebKit current IDL) and
      generates IDL parser by using python script. The generated parser is
      modified to generate the same outputs as the previous IDLParser.pm.
      The new IDLParser.pm can parse both WebIDL grammar.
      
      No new tests. Tested by comparing with sources generated by
      the previous IDLParser.pm.
      
      * bindings/scripts/IDLParser.pm:
      (new):
      (assertTokenValue):
      (assertTokenType):
      (assertUnexpectedToken):
      (Parse):
      A method to start parsing a IDL file. Arguments and return values are
      the same as the previous IDLParser.pm's Parse method.
      (nextToken):
      Implemented to see a next token, because of LL(1).
      (getToken):
      Returns current token, and update next and current token.
      (getTokenInternal):
      According to the regular expressions defined in WebIDL spec, extracts
      one new token from a text string. The order of the regular expressions
      to be tested is important, i.e. "0." should be considered as a float
      token, but if firstly checks the integer regular expression, "0." is
      considered as "0" and ".".
      (parseDefinition):
      (parseCallbackOrInterface):
      (parseCallbackRestOrInterface):
      (parseInterface):
      (parsePartial):
      (parsePartialDefinition):
      (parsePartialInterface):
      (parseInterfaceMember):
      (parseDictionary):
      (parseDictionaryMember):
      (parsePartialDictionary):
      (parseDefaultValue):
      (parseException):
      (parseExceptionMembers):
      (parseEnum):
      (parseEnumValueList):
      (parseCallbackRest):
      (parseTypedef):
      (parseImplementsStatement):
      (parseConst):
      (parseConstValue):
      (parseBooleanLiteral):
      (parseFloatLiteral):
      (parseAttributeOrOperationOrIterator):
      (parseSerializer):
      (parseSerializationPattern):
      (parseQualifier):
      (parseAttributeOrOperationRest):
      (parseAttribute):
      (parseAttributeRest):
      (parseOperationOrIterator):
      (parseSpecialOperation):
      (parseSpecial):
      (parseOperationOrIteratorRest):
      (parseIteratorRest):
      (parseOptionalIteratorInterfaceOrObject):
      (parseOperationRest):
      (parseArguments):
      (parseArgument):
      (parseOptionalOrRequiredArgument):
      (parseArgumentName):
      (parseExceptionMember):
      (parseExceptionField):
      (parseExtendedAttributeList):
      (parseExtendedAttribute):
      (parseExtendedAttributeRest2):
      (parseArgumentNameKeyword):
      (parseType):
      (parseSingleType):
      (parseUnionType):
      (parseNonAnyType):
      (parsePrimitiveType):
      (parseUnrestrictedFloatType):
      (parseFloatType):
      (parseUnsignedIntegerType):
      (parseNull):
      (parseGet):
      (parseInheritsGetter):
      (parseSetGetRaises):
      (parseGetRaises2):
      (parseSetRaises):
      (parseSetRaises3):
      (parseDefinitionOld):
      (parseModule):
      (parseInterfaceOld):
      (parseInterfaceMemberOld):
      (parseDictionaryOld):
      (parseDictionaryMemberOld):
      (parseExceptionOld):
      (parseEnumOld):
      (parseAttributeOrOperationOrIteratorOld):
      (parseAttributeOrOperationRestOld):
      (parseAttributeOld):
      (parseIn):
      (parseOptionalSemicolon):
      (applyMemberList):
      (applyExtendedAttributeList):
      * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
      (WebDOMTestObj::longAttr):
      (WebDOMTestObj::setLongAttr):
      (WebDOMTestObj::voidMethodWithArgs):
      (WebDOMTestObj::longMethod):
      (WebDOMTestObj::longMethodWithArgs):
      (WebDOMTestObj::objMethodWithArgs):
      (WebDOMTestObj::convert1):
      (WebDOMTestObj::convert2):
      (WebDOMTestObj::convert3):
      (WebDOMTestObj::convert4):
      (WebDOMTestObj::convert5):
      * bindings/scripts/test/CPP/WebDOMTestObj.h:
      * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp:
      (webkit_dom_test_obj_set_property):
      (webkit_dom_test_obj_get_property):
      (webkit_dom_test_obj_class_init):
      (webkit_dom_test_obj_void_method_with_args):
      (webkit_dom_test_obj_long_method):
      (webkit_dom_test_obj_long_method_with_args):
      (webkit_dom_test_obj_obj_method_with_args):
      (webkit_dom_test_obj_convert1):
      (webkit_dom_test_obj_convert2):
      (webkit_dom_test_obj_convert3):
      (webkit_dom_test_obj_convert4):
      (webkit_dom_test_obj_convert5):
      (webkit_dom_test_obj_get_long_attr):
      (webkit_dom_test_obj_set_long_attr):
      * bindings/scripts/test/GObject/WebKitDOMTestObj.h:
      * bindings/scripts/test/JS/JSTestObj.cpp:
      (WebCore):
      (WebCore::jsTestObjLongAttr):
      (WebCore::setJSTestObjLongAttr):
      (WebCore::jsTestObjPrototypeFunctionVoidMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionLongMethod):
      (WebCore::jsTestObjPrototypeFunctionLongMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionObjMethodWithArgs):
      (WebCore::jsTestObjPrototypeFunctionMethodReturningSequence):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod2):
      (WebCore::jsTestObjPrototypeFunctionOverloadedMethod4):
      (WebCore::jsTestObjPrototypeFunctionConvert1):
      (WebCore::jsTestObjPrototypeFunctionConvert2):
      (WebCore::jsTestObjPrototypeFunctionConvert3):
      (WebCore::jsTestObjPrototypeFunctionConvert4):
      (WebCore::jsTestObjPrototypeFunctionConvert5):
      * bindings/scripts/test/JS/JSTestObj.h:
      (WebCore):
      * bindings/scripts/test/ObjC/DOMTestObj.h:
      * bindings/scripts/test/ObjC/DOMTestObj.mm:
      (-[DOMTestObj longAttr]):
      (-[DOMTestObj setLongAttr:]):
      (-[DOMTestObj voidMethodWithArgs:strArg:objArg:]):
      (-[DOMTestObj longMethod]):
      (-[DOMTestObj longMethodWithArgs:strArg:objArg:]):
      (-[DOMTestObj objMethodWithArgs:strArg:objArg:]):
      (-[DOMTestObj customMethodWithArgs:strArg:objArg:]):
      (-[DOMTestObj convert1:]):
      (-[DOMTestObj convert2:]):
      (-[DOMTestObj convert3:]):
      (-[DOMTestObj convert4:]):
      (-[DOMTestObj convert5:]):
      * bindings/scripts/test/TestObj.idl:
      Removed the line which has only "JSC, V8".
      Added argument to convert1, ... convert5.
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::longAttrAttrGetter):
      (WebCore::TestObjV8Internal::longAttrAttrSetter):
      (WebCore::TestObjV8Internal::voidMethodWithArgsCallback):
      (WebCore::TestObjV8Internal::longMethodCallback):
      (WebCore::TestObjV8Internal::longMethodWithArgsCallback):
      (WebCore::TestObjV8Internal::objMethodWithArgsCallback):
      (WebCore::TestObjV8Internal::methodReturningSequenceCallback):
      (WebCore::TestObjV8Internal::overloadedMethod2Callback):
      (WebCore::TestObjV8Internal::overloadedMethod4Callback):
      (WebCore::TestObjV8Internal::enabledAtRuntimeMethod1Callback):
      (WebCore::TestObjV8Internal::enabledAtRuntimeMethod2Callback):
      (WebCore::TestObjV8Internal::enabledPerContextMethod1Callback):
      (WebCore::TestObjV8Internal::enabledPerContextMethod2Callback):
      (WebCore::TestObjV8Internal::convert1Callback):
      (WebCore::TestObjV8Internal::convert2Callback):
      (WebCore::TestObjV8Internal::convert3Callback):
      (WebCore::TestObjV8Internal::convert4Callback):
      (WebCore::TestObjV8Internal::convert5Callback):
      (WebCore):
      (WebCore::ConfigureV8TestObjTemplate):
      * Modules/webaudio/AudioBufferSourceNode.idl:
      As only restricted extended attribute syntax is supported, modify the
      idl from [...] [...] to [..., ...].
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129723 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b8ef5b6
    • crogers@google.com's avatar
      DelayNode must take sample-accurate delay times into account · 3de1f676
      crogers@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97609
      
      Reviewed by Kenneth Russell.
      
      Currently DelayNode simply uses a coarse-grained k-rate smoothing of .delayTime
      It should also be capable of supporting audio-rate control of .delayTime
      
      * Modules/webaudio/DelayDSPKernel.cpp:
      (WebCore::DelayDSPKernel::DelayDSPKernel):
      (WebCore::DelayDSPKernel::process):
      * Modules/webaudio/DelayDSPKernel.h:
      (DelayDSPKernel):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3de1f676
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r129654. · 88c7df9e
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/129654
      https://bugs.webkit.org/show_bug.cgi?id=97702
      
      breaks chromium windows build (Requested by schenney on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-26
      
      Source/Platform:
      
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebRTCPeerConnectionHandler):
      * chromium/public/WebRTCStatsRequest.h: Removed.
      
      Source/WebCore:
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Modules/mediastream/RTCPeerConnection.cpp:
      * Modules/mediastream/RTCPeerConnection.h:
      (WebCore):
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsCallback.h: Removed.
      * Modules/mediastream/RTCStatsCallback.idl: Removed.
      * Modules/mediastream/RTCStatsElement.cpp: Removed.
      * Modules/mediastream/RTCStatsElement.h: Removed.
      * Modules/mediastream/RTCStatsElement.idl: Removed.
      * Modules/mediastream/RTCStatsReport.cpp: Removed.
      * Modules/mediastream/RTCStatsReport.h: Removed.
      * Modules/mediastream/RTCStatsReport.idl: Removed.
      * Modules/mediastream/RTCStatsRequestImpl.cpp: Removed.
      * Modules/mediastream/RTCStatsRequestImpl.h: Removed.
      * Modules/mediastream/RTCStatsResponse.cpp: Removed.
      * Modules/mediastream/RTCStatsResponse.h: Removed.
      * Modules/mediastream/RTCStatsResponse.idl: Removed.
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp: Removed.
      * platform/mediastream/RTCPeerConnectionHandler.cpp:
      (RTCPeerConnectionHandlerDummy):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCStatsRequest.h: Removed.
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Tools:
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt: Removed.
      * fast/mediastream/RTCPeerConnection-stats.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88c7df9e
    • commit-queue@webkit.org's avatar
      Implement the GetStats interface on PeerConnection · 82e28ae8
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95193
      
      Source/Platform:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      * chromium/public/WebRTCPeerConnectionHandler.h:
      (WebKit):
      (WebRTCPeerConnectionHandler):
      (WebKit::WebRTCPeerConnectionHandler::getStats):
      * chromium/public/WebRTCStatsRequest.h: added.
      (WebCore):
      (WebKit):
      (WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::~WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::operator=):
      
      Source/WebCore:
      
      Specification:
      http://dev.w3.org/2011/webrtc/editor/webrtc-20120920.html
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      The implementation consists of a pure virtual platform object
      (RTCStatsRequest) that is implemented in WebCore, and stores
      its information in a straightforward data hierarchy.
      This patch adds the call path and the storage structures.
      It does not add filling in data.
      
      Test: fast/mediastream/RTCPeerConnection-stats.html
      
      * CMakeLists.txt:
      * Modules/mediastream/RTCPeerConnection.cpp:
      (WebCore::RTCPeerConnection::getStats):
      (WebCore):
      * Modules/mediastream/RTCPeerConnection.h:
      (WebCore):
      (RTCPeerConnection):
      * Modules/mediastream/RTCPeerConnection.idl:
      * Modules/mediastream/RTCStatsCallback.h: Added.
      (WebCore):
      (RTCStatsCallback):
      (WebCore::RTCStatsCallback::~RTCStatsCallback):
      * Modules/mediastream/RTCStatsCallback.idl: Added.
      * Modules/mediastream/RTCStatsElement.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsElement::create):
      (WebCore::RTCStatsElement::RTCStatsElement):
      (WebCore::RTCStatsElement::stat):
      * Modules/mediastream/RTCStatsElement.h: Added.
      (WebCore):
      (RTCStatsElement):
      * Modules/mediastream/RTCStatsElement.idl: Added.
      * Modules/mediastream/RTCStatsReport.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsReport::create):
      (WebCore::RTCStatsReport::RTCStatsReport):
      * Modules/mediastream/RTCStatsReport.h: Added.
      (WebCore):
      (RTCStatsReport):
      (WebCore::RTCStatsReport::local):
      (WebCore::RTCStatsReport::remote):
      * Modules/mediastream/RTCStatsReport.idl: Added.
      * Modules/mediastream/RTCStatsRequestImpl.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsRequestImpl::create):
      (WebCore::RTCStatsRequestImpl::RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::~RTCStatsRequestImpl):
      (WebCore::RTCStatsRequestImpl::requestSucceeded):
      (WebCore::RTCStatsRequestImpl::stop):
      (WebCore::RTCStatsRequestImpl::clear):
      * Modules/mediastream/RTCStatsRequestImpl.h: Added.
      (WebCore):
      (RTCStatsRequestImpl):
      * Modules/mediastream/RTCStatsResponse.cpp: Added.
      (WebCore):
      (WebCore::RTCStatsResponse::create):
      (WebCore::RTCStatsResponse::RTCStatsResponse):
      * Modules/mediastream/RTCStatsResponse.h: Added.
      (WebCore):
      (RTCStatsResponse):
      (WebCore::RTCStatsResponse::result):
      * Modules/mediastream/RTCStatsResponse.idl: Added.
      * WebCore.gypi:
      * platform/chromium/support/WebRTCStatsRequest.cpp: Copied from Source/Platform/chromium/public/WebRTCPeerConnectionHandler.h.
      (WebKit):
      (WebKit::WebRTCStatsRequest::WebRTCStatsRequest):
      (WebKit::WebRTCStatsRequest::assign):
      (WebKit::WebRTCStatsRequest::reset):
      (WebKit::WebRTCStatsRequest::requestSucceeded):
      * platform/mediastream/RTCPeerConnectionHandler.h:
      (WebCore):
      (RTCPeerConnectionHandler):
      * platform/mediastream/RTCStatsRequest.h: Copied from Source/WebCore/platform/mediastream/RTCPeerConnectionHandler.h.
      (WebCore):
      (RTCStatsRequest):
      (WebCore::RTCStatsRequest::~RTCStatsRequest):
      (WebCore::RTCStatsRequest::RTCStatsRequest):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp:
      (WebCore::RTCPeerConnectionHandlerChromium::getStats):
      (WebCore):
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h:
      (RTCPeerConnectionHandlerChromium):
      
      Tools:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.cpp:
      (RTCStatsRequestSucceededTask):
      (RTCStatsRequestSucceededTask::RTCStatsRequestSucceededTask):
      (MockWebRTCPeerConnectionHandler::getStats):
      * DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
      (MockWebRTCPeerConnectionHandler):
      
      LayoutTests:
      
      Patch by Harald Tveit Alvestrand <harald@alvestrand.no> on 2012-09-26
      Reviewed by Adam Barth.
      
      * fast/mediastream/RTCPeerConnection-stats-expected.txt: Added.
      * fast/mediastream/RTCPeerConnection-stats.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82e28ae8
    • commit-queue@webkit.org's avatar
      Fix potential build error on LocalFileSystem::deleteFileSystem · 0038183e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97632
      
      Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-09-26
      Reviewed by Yuta Kitamura.
      
      Non-Chrome build of WebKit with FILE_SYSTEM flag will be broken at LocalFileSystem::deleteFileSystem.
      Type of the third parameter is PassOwnPtr<AsyncFileSystemCallbacks> in header file,
      but PassRefPtr<AsyncFileSystemCallbacks> in cpp file.
      
      Non-Chrome WebKit build with FILE_SYSTEM should be finished successfully.
      
      * Modules/filesystem/LocalFileSystem.cpp:
      (WebCore::LocalFileSystem::deleteFileSystem):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0038183e