- 06 Apr, 2013 1 commit
-
-
ggaren@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=114094 Reviewed by Anders Carlsson. Source/JavaScriptCore: * API/JSContextRef.cpp: (JSContextCreateBacktrace): * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitDebugHook): * interpreter/Interpreter.cpp: (JSC): (JSC::Interpreter::dumpRegisters): (JSC::Interpreter::unwindCallFrame): (JSC::getLineNumberForCallFrame): (JSC::getCallerInfo): (JSC::Interpreter::getStackTrace): (JSC::Interpreter::addStackTraceIfNecessary): (JSC::Interpreter::retrieveCallerFromVMCode): * interpreter/Interpreter.h: (StackFrame): (JSC::StackFrame::toString): (JSC::StackFrame::friendlyLineNumber): (Interpreter): * runtime/Error.cpp: (JSC::throwError): * runtime/JSGlobalData.h: (JSC): (JSGlobalData): * runtime/JSGlobalObject.cpp: (JSC::DynamicGlobalObjectScope::DynamicGlobalObjectScope): Source/WebCore: * bindings/js/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack): * inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::isEqual): * inspector/ScriptCallFrame.h: (ScriptCallFrame): (WebCore::ScriptCallFrame::lineNumber): Tools: * Scripts/run-jsc: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147846 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Apr, 2013 1 commit
-
-
oliver@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=114072 Reviewed by Filip Pizlo. Source/JavaScriptCore: Makes JSC::StackFrame record the bytecode offset and other necessary data rather than requiring us to perform eager evaluation of the line number, etc. Then remove most of the users of retrieveLastCaller, as most of them were using it to create a stack trace in a fairly incomplete and inefficient way. StackFrame now also has a couple of helpers to get the line and column info. * API/JSContextRef.cpp: (JSContextCreateBacktrace): * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitDebugHook): * interpreter/Interpreter.cpp: (JSC): (JSC::Interpreter::dumpRegisters): (JSC::Interpreter::unwindCallFrame): (JSC::getBytecodeOffsetForCallFrame): (JSC::getCallerInfo): (JSC::StackFrame::line): (JSC::StackFrame::column): (JSC::StackFrame::expressionInfo): (JSC::StackFrame::toString): (JSC::Interpreter::getStackTrace): (JSC::Interpreter::addStackTraceIfNecessary): (JSC::Interpreter::retrieveCallerFromVMCode): * interpreter/Interpreter.h: (StackFrame): (Interpreter): * runtime/Error.cpp: (JSC::throwError): * runtime/JSGlobalData.h: (JSC): (JSGlobalData): * runtime/JSGlobalObject.cpp: (JSC::DynamicGlobalObjectScope::DynamicGlobalObjectScope): Source/WebCore: Now that we've fleshed out the StackFrames from Interpreter::getStackTrace WebCore can just ask us for a stack trace rather than implementing its own stack walking. * bindings/js/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack): * inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::isEqual): * inspector/ScriptCallFrame.h: (ScriptCallFrame): (WebCore::ScriptCallFrame::columnNumber): Tools: The commandline jsc executable no longer requires arguments, so I've made run-jsc work without them. * Scripts/run-jsc: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Sep, 2012 1 commit
-
-
weinig@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=95931 Reviewed by Adam Barth. Remove PlatformString.h Source/WebCore: * GNUmakefile.list.am: * Modules/filesystem/AsyncFileWriter.h: * Modules/filesystem/DOMFilePath.h: * Modules/filesystem/DOMFileSystemBase.h: * Modules/filesystem/DirectoryEntry.h: * Modules/filesystem/DirectoryEntrySync.h: * Modules/filesystem/DirectoryReader.h: * Modules/filesystem/DirectoryReaderBase.h: * Modules/filesystem/DirectoryReaderSync.h: * Modules/filesystem/EntryBase.cpp: * Modules/filesystem/EntrySync.h: * Modules/filesystem/FileEntrySync.h: * Modules/filesystem/FileSystemCallbacks.h: * Modules/filesystem/LocalFileSystem.h: * Modules/geolocation/GeolocationError.h: * Modules/geolocation/Geoposition.h: * Modules/geolocation/PositionError.h: * Modules/indexeddb/IDBAny.h: * Modules/indexeddb/IDBDatabaseBackendInterface.h: * Modules/indexeddb/IDBDatabaseCallbacks.h: * Modules/indexeddb/IDBDatabaseCallbacksImpl.h: * Modules/indexeddb/IDBDatabaseError.h: * Modules/indexeddb/IDBFactory.h: * Modules/indexeddb/IDBFactoryBackendInterface.h: * Modules/indexeddb/IDBIndex.h: * Modules/indexeddb/IDBIndexBackendInterface.h: * Modules/indexeddb/IDBKey.h: * Modules/indexeddb/IDBKeyPath.h: * Modules/indexeddb/IDBMetadata.h: * Modules/indexeddb/IDBObjectStore.h: * Modules/indexeddb/IDBObjectStoreBackendInterface.h: * Modules/indexeddb/IDBTransactionBackendInterface.h: * Modules/indexeddb/IDBUpgradeNeededEvent.h: * Modules/indexeddb/IDBVersionChangeEvent.h: * Modules/mediastream/MediaStreamTrack.h: * Modules/networkinfo/NetworkInfoConnection.h: * Modules/notifications/DOMWindowNotifications.h: * Modules/speech/SpeechGrammar.h: * Modules/speech/SpeechRecognition.h: * Modules/speech/SpeechRecognitionAlternative.h: * Modules/speech/SpeechRecognitionClient.h: * Modules/speech/SpeechRecognitionError.h: * Modules/webaudio/AudioContext.cpp: * Modules/webaudio/AudioParam.h: * Modules/webdatabase/AbstractDatabase.h: * Modules/webdatabase/ChangeVersionWrapper.h: * Modules/webdatabase/DOMWindowWebDatabase.h: * Modules/webdatabase/Database.h: * Modules/webdatabase/DatabaseAuthorizer.cpp: * Modules/webdatabase/DatabaseAuthorizer.h: * Modules/webdatabase/DatabaseDetails.h: * Modules/webdatabase/DatabaseSync.h: * Modules/webdatabase/DatabaseTask.h: * Modules/webdatabase/DatabaseTracker.h: * Modules/webdatabase/OriginUsageRecord.h: * Modules/webdatabase/SQLError.h: * Modules/webdatabase/SQLStatement.h: * Modules/webdatabase/SQLStatementSync.h: * Modules/webdatabase/SQLTransaction.cpp: * Modules/webdatabase/SQLTransactionSync.cpp: * Modules/webdatabase/SQLTransactionSync.h: * Modules/webdatabase/WorkerContextWebDatabase.h: * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp: * Modules/webdatabase/chromium/QuotaTracker.h: * Modules/websockets/ThreadableWebSocketChannel.cpp: * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h: * Modules/websockets/WebSocketHandshake.h: * Modules/websockets/WebSocketHandshakeResponse.h: * Modules/websockets/WorkerThreadableWebSocketChannel.cpp: * Modules/websockets/WorkerThreadableWebSocketChannel.h: * WebCore.gypi: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/gobject/ConvertToUTF8String.cpp: * bindings/js/JSCSSStyleDeclarationCustom.cpp: * bindings/js/JSClipboardCustom.cpp: * bindings/js/JSImageDataCustom.cpp: * bindings/js/JSInspectorFrontendHostCustom.cpp: * bindings/js/JSLazyEventListener.h: * bindings/js/JSStorageCustom.cpp: * bindings/js/JSXSLTProcessorCustom.cpp: * bindings/js/JavaScriptCallFrame.cpp: * bindings/js/ScheduledAction.h: * bindings/js/ScriptDebugServer.h: * bindings/js/ScriptHeapSnapshot.h: * bindings/js/ScriptValue.h: * bindings/js/SerializedScriptValue.h: * bindings/objc/DOMCustomXPathNSResolver.mm: * bindings/objc/DOMXPath.mm: * bindings/objc/WebScriptObject.mm: * bindings/scripts/CodeGeneratorJS.pm: (AddIncludesForTypeInImpl): (AddIncludesForSVGAnimatedType): * bindings/scripts/CodeGeneratorV8.pm: (AddIncludesForType): * bindings/v8/Dictionary.h: * bindings/v8/JavaScriptCallFrame.h: * bindings/v8/NPV8Object.cpp: * bindings/v8/ScriptDebugServer.h: * bindings/v8/ScriptFunctionCall.h: * bindings/v8/ScriptHeapSnapshot.h: * bindings/v8/ScriptProfile.h: * bindings/v8/ScriptProfileNode.h: * bindings/v8/ScriptProfiler.h: * bindings/v8/ScriptSourceCode.h: * bindings/v8/V8Binding.cpp: * bindings/v8/V8DOMWrapper.h: * bindings/v8/V8LazyEventListener.h: * bindings/v8/V8NPUtils.cpp: * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp: * bindings/v8/custom/V8InspectorFrontendHostCustom.cpp: * bindings/v8/custom/V8LocationCustom.cpp: * bridge/IdentifierRep.cpp: * bridge/NP_jsobject.cpp: * bridge/c/c_utility.cpp: * css/CSSBasicShapes.h: * css/CSSBorderImageSliceValue.cpp: * css/CSSCharsetRule.h: * css/CSSCursorImageValue.cpp: * css/CSSFontFaceSrcValue.h: * css/CSSGradientValue.cpp: * css/CSSInheritedValue.cpp: * css/CSSInitialValue.cpp: * css/CSSLineBoxContainValue.cpp: * css/CSSMediaRule.h: * css/CSSProperty.cpp: * css/CSSPropertySourceData.cpp: * css/CSSPropertySourceData.h: * css/CSSReflectValue.cpp: * css/CSSTimingFunctionValue.cpp: * css/CSSUnicodeRangeValue.cpp: * css/CSSValueList.cpp: * css/Counter.h: * css/FontFeatureValue.h: * css/FontValue.cpp: * css/MediaQuery.h: * css/MediaQueryEvaluator.h: * css/MediaQueryListListener.h: * css/ShadowValue.cpp: * css/StyleMedia.h: * css/StyleSheet.h: * css/StyleSheetList.cpp: * css/WebKitCSSMatrix.h: * css/WebKitCSSTransformValue.cpp: * dom/DOMStringList.h: * dom/DOMStringMap.h: * dom/DocumentMarker.h: * dom/ErrorEvent.h: * dom/ExceptionBase.h: * dom/MessagePortChannel.h: * dom/MutationRecord.h: * dom/TransformSource.h: * dom/ViewportArguments.cpp: * editing/DOMTransactionStep.h: * editing/EditingStyle.h: * editing/MarkupAccumulator.h: * editing/SmartReplaceICU.cpp: * editing/SpellChecker.h: * editing/SurroundingText.h: * fileapi/AsyncFileStream.cpp: * fileapi/Blob.h: * fileapi/BlobURL.cpp: * fileapi/File.h: * history/HistoryItem.h: * history/blackberry/HistoryItemViewState.h: * history/cf/HistoryPropertyList.h: * html/DOMFormData.cpp: * html/DOMURL.h: * html/MicroDataItemValue.h: * html/PublicURLManager.h: * html/canvas/CanvasPattern.cpp: * html/canvas/CanvasRenderingContext2D.h: * html/canvas/CanvasStyle.h: * html/canvas/WebGLActiveInfo.h: * html/canvas/WebGLGetInfo.h: * html/canvas/WebGLRenderingContext.h: * html/parser/CSSPreloadScanner.h: * html/parser/HTMLEntitySearch.h: * html/parser/HTMLEntityTable.h: * html/parser/HTMLMetaCharsetParser.cpp: * inspector/CodeGeneratorInspector.py: (InspectorFrontend_h): * inspector/ContentSearchUtils.h: * inspector/InjectedScript.cpp: * inspector/InjectedScriptBase.cpp: * inspector/InjectedScriptManager.h: * inspector/InjectedScriptModule.h: * inspector/InjectedScriptWebGLModule.h: * inspector/InspectorAgent.h: * inspector/InspectorCSSAgent.h: * inspector/InspectorController.h: * inspector/InspectorDOMDebuggerAgent.h: * inspector/InspectorDOMStorageAgent.h: * inspector/InspectorDatabaseAgent.h: * inspector/InspectorDatabaseResource.h: * inspector/InspectorFrontendClientLocal.cpp: * inspector/InspectorFrontendClientLocal.h: * inspector/InspectorFrontendHost.h: * inspector/InspectorIndexedDBAgent.h: * inspector/InspectorPageAgent.h: * inspector/InspectorProfilerAgent.h: * inspector/InspectorResourceAgent.h: * inspector/InspectorState.h: * inspector/InspectorStyleSheet.h: * inspector/InspectorStyleTextEditor.h: * inspector/InspectorValues.h: * inspector/InspectorWebGLAgent.h: * inspector/InspectorWorkerResource.h: * inspector/ScriptArguments.h: * inspector/ScriptBreakpoint.h: * inspector/ScriptCallFrame.h: * inspector/ScriptDebugListener.h: * inspector/TimelineRecordFactory.h: * inspector/generate-inspector-protocol-version: (main): * loader/DocumentLoader.cpp: * loader/DocumentWriter.h: * loader/FTPDirectoryParser.h: * loader/FormState.h: * loader/HistoryController.h: * loader/PolicyChecker.h: * loader/ResourceLoadScheduler.h: * loader/SubframeLoader.h: * loader/SubstituteData.h: * loader/WorkerThreadableLoader.h: * loader/appcache/ApplicationCache.h: * loader/appcache/ApplicationCacheGroup.h: * loader/archive/ArchiveFactory.cpp: * loader/archive/ArchiveResourceCollection.h: * loader/cache/CachedResource.h: * loader/cache/MemoryCache.h: * loader/icon/IconRecord.h: * loader/icon/PageURLRecord.h: * loader/mac/LoaderNSURLExtras.mm: * loader/win/DocumentLoaderWin.cpp: * page/Console.cpp: * page/Coordinates.h: * page/DOMSelection.cpp: * page/EventSource.cpp: * page/GroupSettings.h: * page/NavigatorBase.cpp: * page/OriginAccessEntry.h: * page/Page.h: * page/SecurityOrigin.h: * page/SpeechInputResult.h: * page/UserContentURLPattern.h: * page/WindowFeatures.cpp: * page/WindowFeatures.h: * page/WorkerNavigator.h: * page/animation/AnimationControllerPrivate.h: * platform/AsyncFileSystem.h: * platform/AsyncFileSystemCallbacks.h: * platform/ContentType.h: * platform/ContextMenu.h: * platform/ContextMenuItem.h: * platform/Cookie.h: * platform/CrossThreadCopier.cpp: * platform/DateComponents.cpp: * platform/FileChooser.h: * platform/FileStream.cpp: * platform/FileSystem.h: * platform/KURL.cpp: (WebCore): * platform/KURL.h: * platform/KURLHash.h: * platform/KillRing.h: * platform/Language.cpp: * platform/Length.cpp: * platform/LinkHash.cpp: * platform/Logging.cpp: * platform/MIMETypeRegistry.h: * platform/SSLKeyGenerator.h: * platform/SchemeRegistry.h: * platform/SharedBuffer.h: * platform/Theme.h: * platform/UUID.h: * platform/animation/Animation.h: * platform/blackberry/CookieDatabaseBackingStore/CookieDatabaseBackingStore.h: * platform/blackberry/CookieManager.h: * platform/blackberry/CookieMap.h: * platform/blackberry/DragDataBlackBerry.cpp: * platform/blackberry/KURLBlackBerry.cpp: * platform/blackberry/LocalizedStringsBlackBerry.cpp: * platform/blackberry/SSLKeyGeneratorBlackBerry.cpp: * platform/blackberry/TemporaryLinkStubs.cpp: * platform/cf/FileSystemCF.cpp: * platform/cf/SchedulePair.h: * platform/chromium/ChromiumDataObject.h: * platform/chromium/ClipboardUtilitiesChromium.cpp: * platform/chromium/DragDataChromium.cpp: * platform/chromium/FileSystemChromium.cpp: * platform/chromium/FileSystemChromiumMac.mm: * platform/chromium/LanguageChromium.cpp: * platform/chromium/SSLKeyGeneratorChromium.cpp: * platform/cocoa/KeyEventCocoa.mm: * platform/efl/ErrorsEfl.h: * platform/efl/LanguageEfl.cpp: * platform/efl/LocalizedStringsEfl.cpp: * platform/efl/LoggingEfl.cpp: * platform/efl/PasteboardEfl.cpp: * platform/efl/PlatformScreenEfl.cpp: * platform/graphics/ANGLEWebKitBridge.h: * platform/graphics/BitmapImage.cpp: * platform/graphics/FontPlatformData.cpp: * platform/graphics/GlyphPageTreeNode.cpp: * platform/graphics/GraphicsContext3D.h: * platform/graphics/GraphicsTypes.cpp: * platform/graphics/SegmentedFontData.cpp: * platform/graphics/blackberry/IconBlackBerry.cpp: * platform/graphics/blackberry/LayerData.h: * platform/graphics/blackberry/LayerFilterRenderer.cpp: * platform/graphics/blackberry/LayerRenderer.cpp: * platform/graphics/blackberry/skia/PlatformSupport.h: * platform/graphics/ca/PlatformCALayer.h: * platform/graphics/ca/PlatformCALayerClient.h: * platform/graphics/ca/mac/PlatformCAAnimationMac.mm: * platform/graphics/ca/win/PlatformCAAnimationWin.cpp: * platform/graphics/cairo/ImageBufferCairo.cpp: * platform/graphics/cairo/PathCairo.cpp: * platform/graphics/cg/ImageSourceCGMac.mm: * platform/graphics/cg/PathCG.cpp: * platform/graphics/chromium/FontUtilsChromiumWin.cpp: * platform/graphics/chromium/GraphicsLayerChromium.cpp: * platform/graphics/chromium/IconChromium.cpp: * platform/graphics/chromium/IconChromiumAndroid.cpp: * platform/graphics/cocoa/FontPlatformDataCocoa.mm: * platform/graphics/efl/IconEfl.cpp: * platform/graphics/filters/FEComposite.h: * platform/graphics/filters/FEDisplacementMap.h: * platform/graphics/filters/SourceAlpha.cpp: * platform/graphics/filters/SourceAlpha.h: * platform/graphics/filters/SourceGraphic.cpp: * platform/graphics/filters/SourceGraphic.h: * platform/graphics/freetype/FontPlatformDataFreeType.cpp: * platform/graphics/harfbuzz/FontPlatformDataHarfBuzz.cpp: * platform/graphics/mac/IconMac.mm: * platform/graphics/mac/ImageMac.mm: * platform/graphics/opentype/OpenTypeUtilities.h: * platform/graphics/openvg/PathOpenVG.cpp: * platform/graphics/pango/FontPlatformDataPango.cpp: * platform/graphics/qt/FontCacheQt.cpp: * platform/graphics/qt/FontPlatformDataQt.cpp: * platform/graphics/qt/IconQt.cpp: * platform/graphics/qt/ImageQt.cpp: * platform/graphics/qt/PathQt.cpp: * platform/graphics/skia/FontCustomPlatformData.h: * platform/graphics/skia/ImageSkia.cpp: * platform/graphics/win/FontCustomPlatformData.h: * platform/graphics/win/FontPlatformDataCGWin.cpp: * platform/graphics/win/FontPlatformDataCairoWin.cpp: * platform/graphics/win/FontPlatformDataWin.cpp: * platform/graphics/win/IconWin.cpp: * platform/graphics/win/ImageCGWin.cpp: * platform/graphics/win/ImageCairoWin.cpp: * platform/graphics/win/SimpleFontDataCGWin.cpp: * platform/graphics/wince/FontCustomPlatformData.h: * platform/graphics/wince/FontPlatformData.cpp: * platform/graphics/wince/ImageWinCE.cpp: * platform/graphics/wince/MediaPlayerProxy.cpp: * platform/graphics/wince/PathWinCE.cpp: * platform/graphics/wince/PlatformPathWinCE.cpp: * platform/graphics/wx/FontCacheWx.cpp: * platform/graphics/wx/FontPlatformDataWx.cpp: * platform/graphics/wx/IconWx.cpp: * platform/graphics/wx/PathWx.cpp: * platform/gtk/ErrorsGtk.h: * platform/gtk/FileSystemGtk.cpp: * platform/gtk/GtkPopupMenu.h: * platform/gtk/KeyBindingTranslator.h: * platform/gtk/LanguageGtk.cpp: * platform/gtk/LocalizedStringsGtk.cpp: * platform/gtk/LoggingGtk.cpp: * platform/gtk/PasteboardGtk.cpp: * platform/image-decoders/ImageDecoder.h: * platform/leveldb/LevelDBSlice.h: * platform/mac/FileSystemMac.mm: * platform/mediastream/MediaStreamSource.h: * platform/mock/GeolocationClientMock.h: * platform/network/BlobData.h: * platform/network/BlobRegistryImpl.h: * platform/network/BlobResourceHandle.h: * platform/network/Credential.h: * platform/network/FormData.h: * platform/network/FormDataBuilder.h: * platform/network/HTTPParsers.cpp: * platform/network/HTTPRequest.h: * platform/network/HTTPValidation.cpp: * platform/network/ProtectionSpace.h: * platform/network/ResourceErrorBase.h: * platform/network/SocketStreamErrorBase.h: * platform/network/blackberry/DNSBlackBerry.cpp: * platform/network/blackberry/DeferredData.h: * platform/network/blackberry/NetworkJob.h: * platform/network/cf/CookieJarCFNet.cpp: * platform/network/curl/CookieJarCurl.cpp: * platform/network/curl/ResourceHandleManager.h: * platform/network/qt/DnsPrefetchHelper.cpp: * platform/network/soup/ResourceRequestSoup.cpp: * platform/network/soup/ResourceResponseSoup.cpp: * platform/network/win/CookieJarWin.cpp: * platform/posix/FileSystemPOSIX.cpp: * platform/qt/ClipboardQt.cpp: * platform/qt/CookieJarQt.cpp: * platform/qt/FileSystemQt.cpp: * platform/qt/LanguageQt.cpp: * platform/qt/LocalizedStringsQt.cpp: * platform/qt/LoggingQt.cpp: * platform/qt/PlatformSupport.h: * platform/sql/SQLValue.h: * platform/sql/SQLiteDatabase.h: * platform/sql/SQLiteFileSystem.h: * platform/text/DecodeEscapeSequences.h: * platform/text/LineEnding.cpp: * platform/text/ParserUtilities.h: * platform/text/PlatformString.h: Removed. * platform/text/RegularExpression.h: * platform/text/SegmentedString.h: * platform/text/StringWithDirection.h: * platform/text/SuffixTree.h: * platform/text/TextBreakIteratorICU.cpp: * platform/text/TextCodec.cpp: * platform/text/TextCodec.h: * platform/text/TextCodecLatin1.cpp: * platform/text/TextCodecUTF16.cpp: * platform/text/TextCodecUserDefined.cpp: * platform/text/TextEncoding.cpp: * platform/text/blackberry/StringBlackBerry.cpp: * platform/text/cf/StringCF.cpp: * platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp: * platform/text/gtk/TextCodecGtk.cpp: * platform/text/mac/StringMac.mm: * platform/text/mac/TextCodecMac.cpp: * platform/text/qt/TextCodecQt.cpp: * platform/text/win/TextCodecWin.h: * platform/text/wince/TextBreakIteratorWinCE.cpp: * platform/win/BString.cpp: * platform/win/DragDataWin.cpp: * platform/win/GDIObjectCounter.h: * platform/win/LoggingWin.cpp: * platform/win/WCDataObject.cpp: * platform/wince/DragDataWinCE.cpp: * platform/wx/ClipboardWx.cpp: * platform/wx/FileSystemWx.cpp: * platform/wx/LanguageWx.cpp: * platform/wx/LocalizedStringsWx.cpp: * platform/wx/LoggingWx.cpp: * platform/wx/PasteboardWx.cpp: * platform/wx/PopupMenuWx.cpp: * plugins/PluginData.h: * plugins/PluginDatabase.h: * plugins/PluginDebug.cpp: * plugins/PluginPackage.h: * plugins/PluginStream.h: * rendering/style/StyleDashboardRegion.h: * storage/Storage.cpp: * storage/StorageArea.h: * storage/StorageEvent.h: * storage/StorageEventDispatcher.h: * storage/StorageMap.h: * storage/StorageNamespace.h: * storage/StorageNamespaceImpl.h: * storage/StorageSyncManager.h: * storage/StorageTask.h: * storage/StorageTracker.h: * svg/SVGPathByteStreamBuilder.h: * svg/SVGPathParser.h: * svg/SVGPathStringSource.h: * svg/SVGStyledElement.cpp: * svg/animation/SMILTimeContainer.h: * svg/graphics/filters/SVGFilterBuilder.cpp: * svg/graphics/filters/SVGFilterBuilder.h: * testing/Internals.h: * workers/DefaultSharedWorkerRepository.cpp: * workers/WorkerLocation.cpp: * workers/WorkerThread.cpp: * xml/DOMParser.cpp: * xml/NativeXPathNSResolver.cpp: * xml/XMLSerializer.cpp: * xml/XMLSerializer.h: * xml/XPathExpression.cpp: * xml/XPathValue.h: * xml/XSLTUnicodeSort.cpp: Source/WebKit/blackberry: * Api/DumpRenderTreeClient.h: * WebCoreSupport/ChromeClientBlackBerry.cpp: * WebCoreSupport/InspectorClientBlackBerry.h: * WebCoreSupport/JavaScriptDebuggerBlackBerry.cpp: * WebKitSupport/AboutData.h: Source/WebKit/cf: * WebCoreSupport/WebInspectorClientCF.cpp: (WebInspectorClient::createFrontendSettings): Source/WebKit/chromium: * src/ContextMenuClientImpl.cpp: * src/EditorClientImpl.cpp: * src/InspectorFrontendClientImpl.cpp: * src/LocalFileSystemChromium.cpp: * src/SpeechInputClientImpl.cpp: * src/SpeechRecognitionClientProxy.h: * src/WebDevToolsAgentImpl.cpp: * src/WebDevToolsFrontendImpl.cpp: * src/WebDevToolsFrontendImpl.h: * src/WebEntities.h: * src/WebFrameImpl.h: * src/WorkerFileSystemCallbacksBridge.h: * tests/UniscribeHelperTest.cpp: Source/WebKit/efl: * WebCoreSupport/ChromeClientEfl.cpp: * WebCoreSupport/InspectorClientEfl.cpp: Source/WebKit/gtk: * WebCoreSupport/ChromeClientGtk.cpp: * WebCoreSupport/DumpRenderTreeSupportGtk.cpp: * WebCoreSupport/InspectorClientGtk.cpp: * gdom/ConvertToGCharPrivate.h: * webkit/webkitsecurityorigin.cpp: * webkit/webkitwebdatasource.cpp: * webkit/webkitwebhistoryitem.cpp: * webkit/webkitwebresource.cpp: Source/WebKit/mac: * History/WebHistoryItem.mm: * Misc/WebStringTruncator.mm: * Plugins/Hosted/NetscapePluginHostManager.h: (NetscapePluginHostManager): * Plugins/WebPluginController.mm: * Storage/WebStorageTrackerClient.mm: * WebCoreSupport/WebChromeClient.mm: * WebCoreSupport/WebEditorClient.mm: * WebCoreSupport/WebFrameLoaderClient.mm: * WebCoreSupport/WebIconDatabaseClient.mm: * WebCoreSupport/WebInspectorClient.h: (WebInspectorClient): (WebInspectorFrontendClient): * WebView/WebRenderLayer.mm: * WebView/WebViewData.h: Source/WebKit/qt: * Api/qwebdatabase_p.h: * Api/qwebframe_p.h: * Api/qwebhistory.cpp: * Api/qwebhistoryinterface.cpp: * Api/qwebpage_p.h: * Api/qwebsettings.cpp: * WebCoreSupport/ChromeClientQt.h: * WebCoreSupport/InspectorClientQt.cpp: Source/WebKit/win: * DOMCSSClasses.cpp: * DefaultPolicyDelegate.cpp: * MarshallingHelpers.cpp: * WebCoreSupport/WebInspectorClient.h: * WebDownload.h: * WebFrame.h: * WebHistoryItem.h: * WebIconDatabase.cpp: * WebKitDLL.h: * WebKitGraphics.cpp: * WebKitSystemBits.cpp: * WebLocalizableStrings.cpp: * WebNotificationCenter.cpp: * WebResource.h: Source/WebKit/wx: * WebFrame.cpp: * WebKitSupport/ChromeClientWx.cpp: * WebKitSupport/EditorClientWx.cpp: * WebKitSupport/FrameLoaderClientWx.cpp: * WebKitSupport/InspectorClientWx.cpp: * WebSettings.cpp: * WebView.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Mar, 2012 1 commit
-
-
vsevik@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=81558 Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-03-28 Reviewed by Pavel Feldman. Client code is switched to typed API (all InspectorObject and InspectorArray types are replaced with generated types from TypeBuilder according to Inspector.json). Missing array of int specialization is added. Code generator now has a check against misspelled (non-existing) domain names. * inspector/CodeGeneratorInspector.py: (Generator.go): check against misspelled domain names added. * inspector/InjectedScript.cpp: (WebCore::InjectedScript::evaluate): (WebCore::InjectedScript::callFunctionOn): (WebCore::InjectedScript::evaluateOnCallFrame): (WebCore::InjectedScript::getProperties): (WebCore::InjectedScript::wrapObject): (WebCore::InjectedScript::wrapNode): (WebCore::InjectedScript::wrapSerializedObject): (WebCore::InjectedScript::makeEvalCall): * inspector/InjectedScript.h: (InjectedScript): * inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::getDocument): (WebCore::InspectorDOMAgent::pushChildNodesToFrontend): (WebCore::InspectorDOMAgent::querySelectorAll): (WebCore::InspectorDOMAgent::pushNodePathToFrontend): (WebCore::InspectorDOMAgent::getEventListenersForNode): (WebCore::InspectorDOMAgent::getSearchResults): (WebCore::InspectorDOMAgent::resolveNode): (WebCore::InspectorDOMAgent::getAttributes): (WebCore::InspectorDOMAgent::buildObjectForNode): (WebCore::InspectorDOMAgent::buildArrayForElementAttributes): (WebCore::InspectorDOMAgent::buildArrayForContainerChildren): (WebCore::InspectorDOMAgent::loadEventFired): (WebCore::InspectorDOMAgent::didInsertDOMNode): (WebCore::InspectorDOMAgent::styleAttributeInvalidated): (WebCore::InspectorDOMAgent::pushNodeByPathToFrontend): * inspector/InspectorDOMAgent.h: (InspectorDOMAgent): * inspector/InspectorPageAgent.cpp: (WebCore::InspectorPageAgent::resourceTypeJson): (WebCore::InspectorPageAgent::cachedResourceTypeJson): (WebCore::InspectorPageAgent::buildObjectForFrameTree): * inspector/InspectorPageAgent.h: * inspector/InspectorResourceAgent.cpp: (WebCore::buildObjectForResourceRequest): (WebCore::buildObjectForResourceResponse): (WebCore::buildObjectForCachedResource): (WebCore::InspectorResourceAgent::willSendRequest): (WebCore::InspectorResourceAgent::didReceiveResponse): (WebCore::InspectorResourceAgent::didLoadResourceFromMemoryCache): (WebCore::InspectorResourceAgent::buildInitiatorObject): (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest): (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse): * inspector/InspectorResourceAgent.h: (InspectorResourceAgent): * inspector/InspectorRuntimeAgent.cpp: (WebCore::InspectorRuntimeAgent::evaluate): (WebCore::InspectorRuntimeAgent::callFunctionOn): (WebCore::InspectorRuntimeAgent::getProperties): * inspector/InspectorRuntimeAgent.h: (InspectorRuntimeAgent): * inspector/InspectorValues.h: (InspectorArray): (WebCore::InspectorArray::pushInt): (WebCore): * inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::buildInspectorObject): * inspector/ScriptCallFrame.h: (ScriptCallFrame): * inspector/ScriptCallStack.cpp: (WebCore::ScriptCallStack::buildInspectorArray): * inspector/ScriptCallStack.h: (ScriptCallStack): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Jan, 2011 1 commit
-
-
abarth@webkit.org authored
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Dec, 2010 3 commits
-
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. [v8] Web Inspector: remove duplicate code for capturing stack trace https://bugs.webkit.org/show_bug.cgi?id=50461 No new tests. Covered with existing inspector tests. * bindings/js/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack): * bindings/js/ScriptCallStackFactory.h: * bindings/v8/ScriptCallStackFactory.cpp: (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack): * bindings/v8/ScriptCallStackFactory.h: * bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler): * inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject): * inspector/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL): * inspector/ScriptCallStack.h: * inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createGenericRecord): * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Unreviewed, rolling out r73351. http://trac.webkit.org/changeset/73351 https://bugs.webkit.org/show_bug.cgi?id=50560 "The change broke plugin tests in Chromium" (Requested by yurys on #webkit). * bindings/js/ScriptCallStackFactory.cpp: (WebCore::ScriptCallStack::stackTrace): * bindings/js/ScriptCallStackFactory.h: * bindings/v8/ScriptCallStackFactory.cpp: (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack): (WebCore::ScriptCallStack::stackTrace): * bindings/v8/ScriptCallStackFactory.h: * bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler): * inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject): * inspector/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL): * inspector/ScriptCallStack.h: * inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createGenericRecord): * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. [v8] Web Inspector: remove duplicate code for capturing stack trace https://bugs.webkit.org/show_bug.cgi?id=50461 No new tests. Covered with existing inspector tests. * bindings/js/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack): * bindings/js/ScriptCallStackFactory.h: * bindings/v8/ScriptCallStackFactory.cpp: (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack): * bindings/v8/ScriptCallStackFactory.h: * bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler): * inspector/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject): * inspector/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL): * inspector/ScriptCallStack.h: * inspector/TimelineRecordFactory.cpp: (WebCore::TimelineRecordFactory::createGenericRecord): * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Nov, 2010 1 commit
-
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: make ScriptCallStack and ScriptArguments reference counted https://bugs.webkit.org/show_bug.cgi?id=50156 No new tests. This refactoring is covered with existing inspector tests. * bindings/js/JSConsoleCustom.cpp: (WebCore::JSConsole::profile): (WebCore::JSConsole::profileEnd): * bindings/js/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack): (WebCore::createScriptArguments): * bindings/js/ScriptCallStackFactory.h: * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/CodeGeneratorV8.pm: * bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException): * bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjInternal::customArgsAndExceptionCallback): * bindings/v8/ScriptCallStackFactory.cpp: (WebCore::createScriptCallStack): (WebCore::createScriptArguments): * bindings/v8/ScriptCallStackFactory.h: * bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler): (WebCore::V8ConsoleMessage::dispatchNow): * bindings/v8/V8ConsoleMessage.h: * bindings/v8/custom/V8ConsoleCustom.cpp: (WebCore::V8Console::traceCallback): (WebCore::V8Console::assertCallback): (WebCore::V8Console::profileCallback): (WebCore::V8Console::profileEndCallback): * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::ConsoleMessage): * inspector/ConsoleMessage.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::addMessageToConsole): (WebCore::InspectorController::startGroup): * inspector/InspectorController.h: * inspector/ScriptArguments.cpp: (WebCore::ScriptArguments::create): * inspector/ScriptArguments.h: * inspector/ScriptCallFrame.h: * inspector/ScriptCallStack.cpp: (WebCore::ScriptCallStack::create): (WebCore::ScriptCallStack::at): (WebCore::ScriptCallStack::size): * inspector/ScriptCallStack.h: * page/Console.cpp: (WebCore::Console::addMessage): (WebCore::Console::debug): (WebCore::Console::error): (WebCore::Console::info): (WebCore::Console::log): (WebCore::Console::dir): (WebCore::Console::dirxml): (WebCore::Console::trace): (WebCore::Console::assertCondition): (WebCore::Console::count): (WebCore::Console::markTimeline): (WebCore::Console::profile): (WebCore::Console::profileEnd): (WebCore::Console::timeEnd): (WebCore::Console::group): (WebCore::Console::groupCollapsed): (WebCore::Console::warn): * page/Console.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 08 Nov, 2010 1 commit
-
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: decouple ScriptArguments from ScriptCallStack https://bugs.webkit.org/show_bug.cgi?id=48058 ScriptCallFrame and ScriptCallStack are now the same for both JSC and V8. The factory functions that allow to create ScriptCallStack from VM-specific objects are defined in ScriptCallStackFactory.cpp. ScriptArguments class is used for passing arguments from JS code to the native part. No new tests. This refactoring is covered with existing Console tests. * Android.jscbindings.mk: * Android.v8bindings.mk: * CMakeLists.txt: * GNUmakefile.am: * WebCore.gypi: * WebCore.pro: * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSBindingsAllInOne.cpp: * bindings/js/JSConsoleCustom.cpp: (WebCore::JSConsole::profile): (WebCore::JSConsole::profileEnd): * bindings/js/ScriptCallStackFactory.cpp: Renamed from WebCore/bindings/js/ScriptCallStack.cpp. (WebCore::createScriptCallStack): (WebCore::createScriptArguments): (WebCore::ScriptCallStack::stackTrace): * bindings/js/ScriptCallStackFactory.h: Copied from WebCore/bindings/js/ScriptCallFrame.cpp. * bindings/js/ScriptState.cpp: (WebCore::ScriptStateProtectedPtr::~ScriptStateProtectedPtr): (WebCore::ScriptStateProtectedPtr::ScriptStateProtectedPtr): (WebCore::ScriptStateProtectedPtr::get): * bindings/js/ScriptState.h: * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/CodeGeneratorV8.pm: * bindings/scripts/test/JS/JSTestObj.cpp: (WebCore::jsTestObjPrototypeFunctionCustomArgsAndException): * bindings/scripts/test/V8/V8TestObj.cpp: (WebCore::TestObjInternal::customArgsAndExceptionCallback): * bindings/v8/ScriptCallFrame.h: Removed. * bindings/v8/ScriptCallStack.h: Removed. * bindings/v8/ScriptCallStackFactory.cpp: Renamed from WebCore/bindings/v8/ScriptCallStack.cpp. (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack): (WebCore::createScriptArguments): (WebCore::ScriptCallStack::stackTrace): * bindings/v8/ScriptCallStackFactory.h: Copied from WebCore/bindings/js/ScriptCallFrame.cpp. * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::setCaptureCallStackForUncaughtExceptions): * bindings/v8/ScriptState.h: (WebCore::ScriptStateProtectedPtr::get): * bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler): (WebCore::V8ConsoleMessage::dispatchNow): * bindings/v8/V8ConsoleMessage.h: * bindings/v8/custom/V8ConsoleCustom.cpp: (WebCore::V8Console::traceCallback): (WebCore::V8Console::assertCallback): (WebCore::V8Console::profileCallback): (WebCore::V8Console::profileEndCallback): * dom/NodeFilter.h: * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::ConsoleMessage): (WebCore::ConsoleMessage::addToFrontend): (WebCore::ConsoleMessage::updateRepeatCountInConsole): (WebCore::ConsoleMessage::isEqual): * inspector/ConsoleMessage.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::addMessageToConsole): (WebCore::InspectorController::startGroup): * inspector/InspectorController.h: * inspector/ScriptArguments.cpp: Copied from WebCore/bindings/v8/ScriptCallFrame.cpp. (WebCore::ScriptArguments::ScriptArguments): (WebCore::ScriptArguments::~ScriptArguments): (WebCore::ScriptArguments::argumentAt): (WebCore::ScriptArguments::globalState): (WebCore::ScriptArguments::getFirstArgumentAsString): (WebCore::ScriptArguments::isEqual): * inspector/ScriptArguments.h: Copied from WebCore/bindings/js/ScriptCallFrame.h. (WebCore::ScriptArguments::argumentCount): * inspector/ScriptCallFrame.cpp: Renamed from WebCore/bindings/v8/ScriptCallFrame.cpp. (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::~ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject): * inspector/ScriptCallFrame.h: Renamed from WebCore/bindings/js/ScriptCallFrame.h. (WebCore::ScriptCallFrame::functionName): (WebCore::ScriptCallFrame::sourceURL): (WebCore::ScriptCallFrame::lineNumber): * inspector/ScriptCallStack.cpp: Renamed from WebCore/bindings/js/ScriptCallFrame.cpp. (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::~ScriptCallStack): (WebCore::ScriptCallStack::at): (WebCore::ScriptCallStack::size): (WebCore::ScriptCallStack::isEqual): (WebCore::ScriptCallStack::buildInspectorObject): * inspector/ScriptCallStack.h: Renamed from WebCore/bindings/js/ScriptCallStack.h. * page/Console.cpp: (WebCore::Console::addMessage): (WebCore::Console::debug): (WebCore::Console::error): (WebCore::Console::info): (WebCore::Console::log): (WebCore::Console::dir): (WebCore::Console::dirxml): (WebCore::Console::trace): (WebCore::Console::assertCondition): (WebCore::Console::count): (WebCore::Console::markTimeline): (WebCore::Console::profile): (WebCore::Console::profileEnd): (WebCore::Console::timeEnd): (WebCore::Console::group): (WebCore::Console::groupCollapsed): (WebCore::Console::shouldCaptureFullStackTrace): (WebCore::Console::warn): * page/Console.h: (WebCore::Console::profiles): * page/Console.idl: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Oct, 2010 2 commits
-
-
yurys@chromium.org authored
Unreviewed, rolling out r70298.WebKit win compilation failure. http://trac.webkit.org/changeset/70298 https://bugs.webkit.org/show_bug.cgi?id=48122 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: decouple ScriptArguments from ScriptCallStack https://bugs.webkit.org/show_bug.cgi?id=48058 ScriptCallFrame and ScriptCallStack are now the same for both JSC and V8. The factory functions that allow to create ScriptCallStack from VM-specific objects are defined in ScriptCallStackFactory.cpp. ScriptArguments class is used for passing arguments from JS code to the native part. No new tests. This refactoring is covered with existing Console tests. * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScriptCallFrame.cpp: Removed. * bindings/js/ScriptCallFrame.h: Removed. * bindings/js/ScriptCallStack.cpp: Removed. * bindings/js/ScriptCallStack.h: Removed. * bindings/js/ScriptCallStackFactory.cpp: Added. (WebCore::createScriptCallStack): (WebCore::createScriptArguments): (WebCore::ScriptCallStack::stackTrace): * bindings/js/ScriptCallStackFactory.h: Added. * bindings/js/ScriptState.h: (WebCore::ScriptStateProtectedPtr::get): * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/ScriptCallFrame.cpp: Removed. * bindings/v8/ScriptCallFrame.h: Removed. * bindings/v8/ScriptCallStack.cpp: Removed. * bindings/v8/ScriptCallStack.h: Removed. * bindings/v8/ScriptCallStackFactory.cpp: Added. (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack): (WebCore::createScriptArguments): (WebCore::ScriptCallStack::stackTrace): * bindings/v8/ScriptCallStackFactory.h: Added. * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::setCaptureCallStackForUncaughtExceptions): * bindings/v8/ScriptState.h: (WebCore::ScriptStateProtectedPtr::get): * bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler): (WebCore::V8ConsoleMessage::dispatchNow): * bindings/v8/V8ConsoleMessage.h: * bindings/v8/custom/V8ConsoleCustom.cpp: (WebCore::V8Console::traceCallback): (WebCore::V8Console::assertCallback): * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::ConsoleMessage): (WebCore::ConsoleMessage::addToFrontend): (WebCore::ConsoleMessage::updateRepeatCountInConsole): (WebCore::ConsoleMessage::isEqual): * inspector/ConsoleMessage.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::addMessageToConsole): (WebCore::InspectorController::startGroup): * inspector/InspectorController.h: * inspector/ScriptArguments.cpp: Added. (WebCore::ScriptArguments::ScriptArguments): (WebCore::ScriptArguments::~ScriptArguments): (WebCore::ScriptArguments::argumentAt): (WebCore::ScriptArguments::globalState): (WebCore::ScriptArguments::getFirstArgumentAsString): (WebCore::ScriptArguments::isEqual): * inspector/ScriptArguments.h: Added. (WebCore::ScriptArguments::argumentCount): * inspector/ScriptCallFrame.cpp: Added. (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::~ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject): * inspector/ScriptCallFrame.h: Added. (WebCore::ScriptCallFrame::functionName): (WebCore::ScriptCallFrame::sourceURL): (WebCore::ScriptCallFrame::lineNumber): * inspector/ScriptCallStack.cpp: Added. (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::~ScriptCallStack): (WebCore::ScriptCallStack::at): (WebCore::ScriptCallStack::size): (WebCore::ScriptCallStack::isEqual): (WebCore::ScriptCallStack::buildInspectorObject): * inspector/ScriptCallStack.h: Added. * page/Console.cpp: (WebCore::Console::addMessage): (WebCore::Console::debug): (WebCore::Console::error): (WebCore::Console::info): (WebCore::Console::log): (WebCore::Console::dir): (WebCore::Console::dirxml): (WebCore::Console::trace): (WebCore::Console::assertCondition): (WebCore::Console::count): (WebCore::Console::markTimeline): (WebCore::Console::profile): (WebCore::Console::profileEnd): (WebCore::Console::timeEnd): (WebCore::Console::group): (WebCore::Console::groupCollapsed): (WebCore::Console::shouldCaptureFullStackTrace): (WebCore::Console::warn): * page/Console.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Oct, 2010 2 commits
-
-
yurys@chromium.org authored
Unreviewed. Revert r70232. Chromium compilation failure. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70235 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: decouple ScriptArguments from ScriptCallStack https://bugs.webkit.org/show_bug.cgi?id=48058 ScriptCallFrame and ScriptCallStack are now the same for both JSC and V8. The factory functions that allow to create ScriptCallStack from VM-specific objects are defined in ScriptCallStackFactory.cpp. ScriptArguments class is used for passing arguments from JS code to the native part. No new tests. This refactoring is covered with existing Console tests. * WebCore.gypi: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScriptCallFrame.cpp: Removed. * bindings/js/ScriptCallFrame.h: Removed. * bindings/js/ScriptCallStack.cpp: Removed. * bindings/js/ScriptCallStack.h: Removed. * bindings/js/ScriptCallStackFactory.cpp: Added. (WebCore::createScriptCallStack): (WebCore::createScriptArguments): (WebCore::ScriptCallStack::stackTrace): * bindings/js/ScriptCallStackFactory.h: Added. * bindings/js/ScriptState.h: (WebCore::ScriptStateProtectedPtr::get): * bindings/scripts/CodeGeneratorJS.pm: * bindings/scripts/CodeGeneratorV8.pm: * bindings/v8/ScriptCallFrame.cpp: Removed. * bindings/v8/ScriptCallFrame.h: Removed. * bindings/v8/ScriptCallStack.cpp: Removed. * bindings/v8/ScriptCallStack.h: Removed. * bindings/v8/ScriptCallStackFactory.cpp: Added. (WebCore::toScriptCallFrame): (WebCore::toScriptCallFramesVector): (WebCore::createScriptCallStack): (WebCore::createScriptArguments): (WebCore::ScriptCallStack::stackTrace): * bindings/v8/ScriptCallStackFactory.h: Added. * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::setCaptureCallStackForUncaughtExceptions): * bindings/v8/ScriptState.h: (WebCore::ScriptStateProtectedPtr::get): * bindings/v8/V8ConsoleMessage.cpp: (WebCore::V8ConsoleMessage::handler): (WebCore::V8ConsoleMessage::dispatchNow): * bindings/v8/V8ConsoleMessage.h: * bindings/v8/custom/V8ConsoleCustom.cpp: (WebCore::V8Console::traceCallback): (WebCore::V8Console::assertCallback): * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::ConsoleMessage): (WebCore::ConsoleMessage::addToFrontend): (WebCore::ConsoleMessage::updateRepeatCountInConsole): (WebCore::ConsoleMessage::isEqual): * inspector/ConsoleMessage.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::addMessageToConsole): (WebCore::InspectorController::startGroup): * inspector/InspectorController.h: * inspector/ScriptArguments.cpp: Added. (WebCore::ScriptArguments::ScriptArguments): (WebCore::ScriptArguments::~ScriptArguments): (WebCore::ScriptArguments::argumentAt): (WebCore::ScriptArguments::globalState): (WebCore::ScriptArguments::getFirstArgumentAsString): (WebCore::ScriptArguments::isEqual): * inspector/ScriptArguments.h: Added. (WebCore::ScriptArguments::argumentCount): * inspector/ScriptCallFrame.cpp: Added. (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::~ScriptCallFrame): (WebCore::ScriptCallFrame::isEqual): (WebCore::ScriptCallFrame::buildInspectorObject): * inspector/ScriptCallFrame.h: Added. (WebCore::ScriptCallFrame::functionName): (WebCore::ScriptCallFrame::sourceURL): (WebCore::ScriptCallFrame::lineNumber): * inspector/ScriptCallStack.cpp: Added. (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::~ScriptCallStack): (WebCore::ScriptCallStack::at): (WebCore::ScriptCallStack::size): (WebCore::ScriptCallStack::isEqual): (WebCore::ScriptCallStack::buildInspectorObject): * inspector/ScriptCallStack.h: Added. * page/Console.cpp: (WebCore::Console::addMessage): (WebCore::Console::debug): (WebCore::Console::error): (WebCore::Console::info): (WebCore::Console::log): (WebCore::Console::dir): (WebCore::Console::dirxml): (WebCore::Console::trace): (WebCore::Console::assertCondition): (WebCore::Console::count): (WebCore::Console::markTimeline): (WebCore::Console::profile): (WebCore::Console::profileEnd): (WebCore::Console::timeEnd): (WebCore::Console::group): (WebCore::Console::groupCollapsed): (WebCore::Console::shouldCaptureFullStackTrace): (WebCore::Console::warn): * page/Console.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70232 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Oct, 2010 1 commit
-
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: encapsulate ScriptState into ConsoleMessage instead of passing it as additional parameter https://bugs.webkit.org/show_bug.cgi?id=47675 No new tests. This refactoring is covered by existing inspector tests. * bindings/js/JSConsoleCustom.cpp: * bindings/js/ScriptCallFrame.cpp: * bindings/js/ScriptCallFrame.h: (WebCore::ScriptCallFrame::functionName): (WebCore::ScriptCallFrame::sourceURL): (WebCore::ScriptCallFrame::lineNumber): (WebCore::ScriptCallFrame::argumentCount): * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::isEqual): * inspector/ConsoleMessage.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::addMessageToConsole): (WebCore::InspectorController::addConsoleMessage): (WebCore::InspectorController::startGroup): (WebCore::InspectorController::endGroup): * inspector/InspectorController.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69799 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 13 Oct, 2010 2 commits
-
-
barraclough@apple.com authored
Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder to construct their internal result string. Remove ScriptString (this is now redundant). Reviewed by Oliver Hunt. WebCore: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSDOMBinding.cpp: (WebCore::jsOwnedStringOrNull): * bindings/js/JSDOMBinding.h: * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::responseText): * bindings/js/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): * bindings/js/ScriptCallFrame.h: (WebCore::ScriptCallFrame::functionName): * bindings/js/ScriptCallStack.h: * bindings/js/ScriptFunctionCall.cpp: * bindings/js/ScriptFunctionCall.h: * bindings/js/ScriptString.h: Removed. * dom/ScriptExecutionContext.h: * fileapi/FileReader.cpp: (WebCore::FileReader::FileReader): (WebCore::FileReader::abort): (WebCore::FileReader::didReceiveData): (WebCore::FileReader::result): (WebCore::FileReader::convertToText): (WebCore::FileReader::convertToDataURL): * fileapi/FileReader.h: * fileapi/FileReaderSync.cpp: (WebCore::FileReaderSyncLoader::FileReaderSyncLoader): (WebCore::FileReaderSyncLoader::didReceiveData): (WebCore::FileReaderSync::readAsBinaryString): (WebCore::FileReaderSync::readAsText): (WebCore::FileReaderSync::readAsDataURL): (WebCore::FileReaderSync::read): (WebCore::FileReaderSync::convertToText): * fileapi/FileReaderSync.h: (WebCore::FileReaderSync::readAsText): (WebCore::FileReaderSync::FileReaderSync): * inspector/InspectorController.cpp: (WebCore::InspectorController::resourceRetrievedByXMLHttpRequest): (WebCore::InspectorController::scriptImported): * inspector/InspectorController.h: * inspector/InspectorResource.cpp: (WebCore::InspectorResource::setOverrideContent): * inspector/InspectorResource.h: * loader/FrameLoader.cpp: * loader/FrameLoader.h: * loader/FrameLoaderClient.h: * loader/ResourceLoadNotifier.h: * workers/WorkerScriptLoader.h: * xml/XMLHttpRequest.cpp: (WebCore::XMLHttpRequest::XMLHttpRequest): (WebCore::XMLHttpRequest::responseText): (WebCore::XMLHttpRequest::responseXML): (WebCore::XMLHttpRequest::abort): (WebCore::XMLHttpRequest::clearResponse): (WebCore::XMLHttpRequest::dropProtection): (WebCore::XMLHttpRequest::didFinishLoading): (WebCore::XMLHttpRequest::didReceiveData): * xml/XMLHttpRequest.h: WebKit/efl: * WebCoreSupport/FrameLoaderClientEfl.cpp: (WebCore::FrameLoaderClientEfl::dispatchDidLoadResourceByXMLHttpRequest): * WebCoreSupport/FrameLoaderClientEfl.h: WebKit/mac: * WebCoreSupport/WebFrameLoaderClient.mm: WebKit/qt: * WebCoreSupport/FrameLoaderClientQt.cpp: WebKit/win: * WebCoreSupport/WebFrameLoaderClient.cpp: WebKit/wx: * WebKitSupport/FrameLoaderClientWx.cpp: WebKit2: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest): * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
yurys@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: stack information is inconsistent between console.trace and runtime errors. https://bugs.webkit.org/show_bug.cgi?id=47252 * console.trace() is now formatted the same way as other stack traces * If there is //@ sourceURL=url line at the end of eval'ed script source the url will be shown in the stack traces for script. That is why ScriptCallFrame::sourceURL type has changed from KURL to String. Tests: inspector/console-trace-in-eval.html inspector/console-uncaught-exception-in-eval.html * bindings/js/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): * bindings/js/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL): * bindings/v8/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): * bindings/v8/ScriptCallFrame.h: (WebCore::ScriptCallFrame::sourceURL): * bindings/v8/ScriptCallStack.cpp: (WebCore::getFrameLocation): (WebCore::ScriptCallStack::create): * bindings/v8/ScriptCallStack.h: * bindings/v8/ScriptController.cpp: (WebCore::ScriptController::setCaptureCallStackForUncaughtExceptions): * bindings/v8/custom/V8ConsoleCustom.cpp: (WebCore::V8Console::traceCallback): * inspector/ConsoleMessage.cpp: (WebCore::ConsoleMessage::CallFrame::buildInspectorObject): (WebCore::ConsoleMessage::ConsoleMessage): * inspector/ConsoleMessage.h: * inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._formatMessage): * page/Console.cpp: (WebCore::Console::addMessage): (WebCore::Console::count): (WebCore::Console::timeEnd): 2010-10-13 Yury Semikhatsky <yurys@chromium.org> Reviewed by Pavel Feldman. Web Inspector: stack information is inconsistent between console.trace and runtime errors. https://bugs.webkit.org/show_bug.cgi?id=47252 * inspector/console-trace-in-eval-expected.txt: Added. * inspector/console-trace-in-eval.html: Added. * inspector/console-uncaught-exception-in-eval-expected.txt: Added. * inspector/console-uncaught-exception-in-eval.html: Added. * platform/chromium/console-trace-in-eval-expected.txt: Added. * platform/chromium/console-uncaught-exception-in-eval-expected.txt: Added. 2010-10-13 Yury Semikhatsky <yurys@chromium.org> Reviewed by Pavel Feldman. Web Inspector: stack information is inconsistent between console.trace and runtime errors. https://bugs.webkit.org/show_bug.cgi?id=47252 * DEPS: bump up V8 revision git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 29 May, 2010 1 commit
-
-
ggaren@apple.com authored
Reviewed by Sam Weinig, Gavin Barraclough, Oliver Hunt. 22.5% speedup on 32-bit host function calls. 9.5% speedup on 64-bit host function calls. No change on SunSpider. All JS calls (but not constructs, yet) now go through the normal JS calling convention via the RegisterFile. As a result, the host calling convention, which used to be this JSValue (JSC_HOST_CALL *NativeFunction)(ExecState*, JSObject*, JSValue thisValue, const ArgList&) is now this JSValue (JSC_HOST_CALL *NativeFunction)(ExecState*) Callee, 'this', and argument access all hapen relative to the ExecState*, which is a pointer into the RegisterFile. This patch comes in two parts. PART ONE: Functional code changes. * wtf/Platform.h: Disabled optimized calls on platforms I didn't test. We can re-enable once we verify that host calls on these platforms are correct. * debugger/DebuggerCallFrame.cpp: (JSC::DebuggerCallFrame::functionName): (JSC::DebuggerCallFrame::calculatedFunctionName): Updated for change to ExecState::callee(). (JSC::DebuggerCallFrame::thisObject): Updated for removal of ExecState::thisValue(). * interpreter/CallFrame.cpp: * interpreter/CallFrame.h: (JSC::ExecState::callee): (JSC::ExecState::scopeChain): (JSC::ExecState::init): Changed callee() to be JSObject* instead of JSFunction* -- now, it might be some other callable host object. (JSC::ExecState::hostThisRegister): (JSC::ExecState::hostThisValue): (JSC::ExecState::argumentCount): (JSC::ExecState::argumentCountIncludingThis): (JSC::ExecState::argument): (JSC::ExecState::setArgumentCountIncludingThis): (JSC::ExecState::setCallee): Added convenient accessors for arguments from within a host function. Removed thisValue() because it was too tempting to use incorrectly, and it only had one or two clients, anyway. * interpreter/Interpreter.cpp: (JSC::Interpreter::callEval): Updated for removal of ExecState::thisValue(). (JSC::Interpreter::throwException): Be sure to shrink the register file before invoking the exception handler, to reduce the chances that the handler will re-throw in the case of stack overflow. (Re-throwing is now more likely than it used to be, since standardizing the calling convention implicitly added stack overflow checks to some places where they used to be missing.) (JSC::Interpreter::execute): Clarified the scope of DynamicGlobalObjectScope. Updated for CallFrame::init API change. (JSC::Interpreter::executeCall): Clarified scope of DynamicGlobalObjectScope. Updated for CallFrame::init API change. Added support for calling a host function. (JSC::Interpreter::executeConstruct): Clarified scope of DynamicGlobalObjectScope. Updated for CallFrame::init API change. (JSC::Interpreter::prepareForRepeatCall): Updated for CallFrame::init API change. (JSC::Interpreter::privateExecute): Updated for CallFrame::init API change. Added some explicit JSValue(JSObject*) initialization, since relaxing the JSFunction* restriction on callee has made register types more ambiguous. Removed toThisObject() conversion, since all callees do it themselves now. Updated host function call for new host function signature. Updated for change to ExecState::argumentCount() API. * interpreter/Register.h: (JSC::Register::): (JSC::Register::operator=): (JSC::Register::function): Changed callee() to be JSObject* instead of JSFunction* -- now, it might be some other callable host object. * jit/JITOpcodes.cpp: (JSC::JIT::privateCompileCTINativeCall): * jit/JITOpcodes32_64.cpp: (JSC::JIT::privateCompileCTINativeCall): Deleted a bunch of code that set up the arguments to host functions -- all but one of the arguments are gone now. This is the actual optimization. * jit/JITStubs.cpp: (JSC::DEFINE_STUB_FUNCTION): Updated for ExecState and Register API changes noted above. Removed toThisObject() conversion, since all callees do it themselves now. * runtime/ArgList.h: (JSC::ArgList::ArgList): ArgList is getting close to unused. Added a temporary shim for converting from ExecState* to ArgList where it's still necessary. * runtime/Arguments.h: (JSC::Arguments::getArgumentsData): (JSC::Arguments::Arguments): Updated for ExecState and Register API changes noted above. * runtime/CallData.cpp: (JSC::call): Changed call always to call Interpreter::executeCall, even for host functions. This ensures that the normal calling convention is set up in the RegsiterFile when calling from C++ to host function. * runtime/CallData.h: Changed host function signature as described above. * runtime/ConstructData.cpp: (JSC::construct): Moved JSFunction::construct code here so I could nix JSFunction::call and JSFunction::call. We want a JSFunction-agnostic way to call and construct, so that everything works naturally for non- JSFunction objects. * runtime/JSFunction.cpp: (JSC::callHostFunctionAsConstructor): * runtime/JSFunction.h: Updated for ExecState and Register API changes noted above. Nixed JSFunction::call and JSFunction::construct, noted above. * runtime/JSGlobalObject.cpp: (JSC::JSGlobalObject::init): Ditto. PART TWO: Global search and replace. In the areas below, I used global search-and-replace to change (ExecState*, JSObject*, JSValue, const ArgList&) => (ExecState*) args.size() => exec->argumentCount() args.at(i) => exec->argument(i) * API/JSCallbackFunction.cpp: (JSC::JSCallbackFunction::call): * API/JSCallbackFunction.h: * API/JSCallbackObject.h: * API/JSCallbackObjectFunctions.h: (JSC::::call): * JavaScriptCore.exp: * jsc.cpp: (functionPrint): (functionDebug): (functionGC): (functionVersion): (functionRun): (functionLoad): (functionCheckSyntax): (functionSetSamplingFlags): (functionClearSamplingFlags): (functionReadline): (functionQuit): * runtime/ArrayConstructor.cpp: (JSC::callArrayConstructor): (JSC::arrayConstructorIsArray): * runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncToString): (JSC::arrayProtoFuncToLocaleString): (JSC::arrayProtoFuncJoin): (JSC::arrayProtoFuncConcat): (JSC::arrayProtoFuncPop): (JSC::arrayProtoFuncPush): (JSC::arrayProtoFuncReverse): (JSC::arrayProtoFuncShift): (JSC::arrayProtoFuncSlice): (JSC::arrayProtoFuncSort): (JSC::arrayProtoFuncSplice): (JSC::arrayProtoFuncUnShift): (JSC::arrayProtoFuncFilter): (JSC::arrayProtoFuncMap): (JSC::arrayProtoFuncEvery): (JSC::arrayProtoFuncForEach): (JSC::arrayProtoFuncSome): (JSC::arrayProtoFuncReduce): (JSC::arrayProtoFuncReduceRight): (JSC::arrayProtoFuncIndexOf): (JSC::arrayProtoFuncLastIndexOf): * runtime/BooleanConstructor.cpp: (JSC::callBooleanConstructor): * runtime/BooleanPrototype.cpp: (JSC::booleanProtoFuncToString): (JSC::booleanProtoFuncValueOf): * runtime/DateConstructor.cpp: (JSC::callDate): (JSC::dateParse): (JSC::dateNow): (JSC::dateUTC): * runtime/DatePrototype.cpp: (JSC::formatLocaleDate): (JSC::fillStructuresUsingTimeArgs): (JSC::fillStructuresUsingDateArgs): (JSC::dateProtoFuncToString): (JSC::dateProtoFuncToUTCString): (JSC::dateProtoFuncToISOString): (JSC::dateProtoFuncToDateString): (JSC::dateProtoFuncToTimeString): (JSC::dateProtoFuncToLocaleString): (JSC::dateProtoFuncToLocaleDateString): (JSC::dateProtoFuncToLocaleTimeString): (JSC::dateProtoFuncGetTime): (JSC::dateProtoFuncGetFullYear): (JSC::dateProtoFuncGetUTCFullYear): (JSC::dateProtoFuncToGMTString): (JSC::dateProtoFuncGetMonth): (JSC::dateProtoFuncGetUTCMonth): (JSC::dateProtoFuncGetDate): (JSC::dateProtoFuncGetUTCDate): (JSC::dateProtoFuncGetDay): (JSC::dateProtoFuncGetUTCDay): (JSC::dateProtoFuncGetHours): (JSC::dateProtoFuncGetUTCHours): (JSC::dateProtoFuncGetMinutes): (JSC::dateProtoFuncGetUTCMinutes): (JSC::dateProtoFuncGetSeconds): (JSC::dateProtoFuncGetUTCSeconds): (JSC::dateProtoFuncGetMilliSeconds): (JSC::dateProtoFuncGetUTCMilliseconds): (JSC::dateProtoFuncGetTimezoneOffset): (JSC::dateProtoFuncSetTime): (JSC::setNewValueFromTimeArgs): (JSC::setNewValueFromDateArgs): (JSC::dateProtoFuncSetMilliSeconds): (JSC::dateProtoFuncSetUTCMilliseconds): (JSC::dateProtoFuncSetSeconds): (JSC::dateProtoFuncSetUTCSeconds): (JSC::dateProtoFuncSetMinutes): (JSC::dateProtoFuncSetUTCMinutes): (JSC::dateProtoFuncSetHours): (JSC::dateProtoFuncSetUTCHours): (JSC::dateProtoFuncSetDate): (JSC::dateProtoFuncSetUTCDate): (JSC::dateProtoFuncSetMonth): (JSC::dateProtoFuncSetUTCMonth): (JSC::dateProtoFuncSetFullYear): (JSC::dateProtoFuncSetUTCFullYear): (JSC::dateProtoFuncSetYear): (JSC::dateProtoFuncGetYear): (JSC::dateProtoFuncToJSON): * runtime/ErrorConstructor.cpp: (JSC::callErrorConstructor): * runtime/ErrorPrototype.cpp: (JSC::errorProtoFuncToString): * runtime/FunctionConstructor.cpp: (JSC::callFunctionConstructor): * runtime/FunctionPrototype.cpp: (JSC::callFunctionPrototype): (JSC::functionProtoFuncToString): (JSC::functionProtoFuncApply): (JSC::functionProtoFuncCall): * runtime/JSGlobalObjectFunctions.cpp: (JSC::encode): (JSC::decode): (JSC::globalFuncEval): (JSC::globalFuncParseInt): (JSC::globalFuncParseFloat): (JSC::globalFuncIsNaN): (JSC::globalFuncIsFinite): (JSC::globalFuncDecodeURI): (JSC::globalFuncDecodeURIComponent): (JSC::globalFuncEncodeURI): (JSC::globalFuncEncodeURIComponent): (JSC::globalFuncEscape): (JSC::globalFuncUnescape): (JSC::globalFuncJSCPrint): * runtime/JSGlobalObjectFunctions.h: * runtime/JSONObject.cpp: (JSC::JSONProtoFuncParse): (JSC::JSONProtoFuncStringify): * runtime/JSString.h: * runtime/MathObject.cpp: (JSC::mathProtoFuncAbs): (JSC::mathProtoFuncACos): (JSC::mathProtoFuncASin): (JSC::mathProtoFuncATan): (JSC::mathProtoFuncATan2): (JSC::mathProtoFuncCeil): (JSC::mathProtoFuncCos): (JSC::mathProtoFuncExp): (JSC::mathProtoFuncFloor): (JSC::mathProtoFuncLog): (JSC::mathProtoFuncMax): (JSC::mathProtoFuncMin): (JSC::mathProtoFuncPow): (JSC::mathProtoFuncRandom): (JSC::mathProtoFuncRound): (JSC::mathProtoFuncSin): (JSC::mathProtoFuncSqrt): (JSC::mathProtoFuncTan): * runtime/NativeErrorConstructor.cpp: (JSC::callNativeErrorConstructor): * runtime/NumberConstructor.cpp: (JSC::callNumberConstructor): * runtime/NumberPrototype.cpp: (JSC::numberProtoFuncToString): (JSC::numberProtoFuncToLocaleString): (JSC::numberProtoFuncValueOf): (JSC::numberProtoFuncToFixed): (JSC::numberProtoFuncToExponential): (JSC::numberProtoFuncToPrecision): * runtime/ObjectConstructor.cpp: (JSC::callObjectConstructor): (JSC::objectConstructorGetPrototypeOf): (JSC::objectConstructorGetOwnPropertyDescriptor): (JSC::objectConstructorGetOwnPropertyNames): (JSC::objectConstructorKeys): (JSC::objectConstructorDefineProperty): (JSC::objectConstructorDefineProperties): (JSC::objectConstructorCreate): * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncValueOf): (JSC::objectProtoFuncHasOwnProperty): (JSC::objectProtoFuncIsPrototypeOf): (JSC::objectProtoFuncDefineGetter): (JSC::objectProtoFuncDefineSetter): (JSC::objectProtoFuncLookupGetter): (JSC::objectProtoFuncLookupSetter): (JSC::objectProtoFuncPropertyIsEnumerable): (JSC::objectProtoFuncToLocaleString): (JSC::objectProtoFuncToString): * runtime/ObjectPrototype.h: * runtime/Operations.h: (JSC::jsString): * runtime/RegExpConstructor.cpp: (JSC::callRegExpConstructor): * runtime/RegExpObject.cpp: (JSC::RegExpObject::test): (JSC::RegExpObject::exec): (JSC::callRegExpObject): (JSC::RegExpObject::match): * runtime/RegExpObject.h: * runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncTest): (JSC::regExpProtoFuncExec): (JSC::regExpProtoFuncCompile): (JSC::regExpProtoFuncToString): * runtime/StringConstructor.cpp: (JSC::stringFromCharCodeSlowCase): (JSC::stringFromCharCode): (JSC::callStringConstructor): * runtime/StringPrototype.cpp: (JSC::stringProtoFuncReplace): (JSC::stringProtoFuncToString): (JSC::stringProtoFuncCharAt): (JSC::stringProtoFuncCharCodeAt): (JSC::stringProtoFuncConcat): (JSC::stringProtoFuncIndexOf): (JSC::stringProtoFuncLastIndexOf): (JSC::stringProtoFuncMatch): (JSC::stringProtoFuncSearch): (JSC::stringProtoFuncSlice): (JSC::stringProtoFuncSplit): (JSC::stringProtoFuncSubstr): (JSC::stringProtoFuncSubstring): (JSC::stringProtoFuncToLowerCase): (JSC::stringProtoFuncToUpperCase): (JSC::stringProtoFuncLocaleCompare): (JSC::stringProtoFuncBig): (JSC::stringProtoFuncSmall): (JSC::stringProtoFuncBlink): (JSC::stringProtoFuncBold): (JSC::stringProtoFuncFixed): (JSC::stringProtoFuncItalics): (JSC::stringProtoFuncStrike): (JSC::stringProtoFuncSub): (JSC::stringProtoFuncSup): (JSC::stringProtoFuncFontcolor): (JSC::stringProtoFuncFontsize): (JSC::stringProtoFuncAnchor): (JSC::stringProtoFuncLink): (JSC::stringProtoFuncTrim): (JSC::stringProtoFuncTrimLeft): (JSC::stringProtoFuncTrimRight): JavaScriptGlue: Simplified the host calling convention. Reviewed by Sam Weinig, Gavin Barraclough, Oliver Hunt. PART ONE: Functional code changes. [ None in JavaScriptGlue ] PART TWO: Global search and replace. In the areas below, I used global search-and-replace to change (ExecState*, JSObject*, JSValue, const ArgList&) => (ExecState*) args.size() => exec->argumentCount() args.at(i) => exec->argument(i) * JSObject.cpp: (nativeCallFunction): * UserObjectImp.cpp: (UserObjectImp::callAsFunction): * UserObjectImp.h: WebCore: Simplified the host calling convention. Reviewed by Sam Weinig, Gavin Barraclough, Oliver Hunt. PART ONE: Functional code changes. [ None in WebCore ] PART TWO: Global search and replace. In the areas below, I used global search-and-replace to change (ExecState*, JSObject*, JSValue, const ArgList&) => (ExecState*) args.size() => exec->argumentCount() args.at(i) => exec->argument(i) * bindings/js/JSArrayBufferViewCustom.cpp: (WebCore::JSArrayBufferView::slice): * bindings/js/JSArrayBufferViewHelper.h: (WebCore::setWebGLArrayHelper): * bindings/js/JSCanvasRenderingContext2DCustom.cpp: (WebCore::JSCanvasRenderingContext2D::setFillColor): (WebCore::JSCanvasRenderingContext2D::setStrokeColor): (WebCore::JSCanvasRenderingContext2D::strokeRect): (WebCore::JSCanvasRenderingContext2D::drawImage): (WebCore::JSCanvasRenderingContext2D::drawImageFromRect): (WebCore::JSCanvasRenderingContext2D::setShadow): (WebCore::JSCanvasRenderingContext2D::createPattern): (WebCore::JSCanvasRenderingContext2D::createImageData): (WebCore::JSCanvasRenderingContext2D::putImageData): (WebCore::JSCanvasRenderingContext2D::fillText): (WebCore::JSCanvasRenderingContext2D::strokeText): * bindings/js/JSClipboardCustom.cpp: (WebCore::JSClipboard::clearData): (WebCore::JSClipboard::getData): (WebCore::JSClipboard::setDragImage): * bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::hasItem): (WebCore::JSDOMApplicationCache::add): (WebCore::JSDOMApplicationCache::remove): * bindings/js/JSDOMFormDataCustom.cpp: (WebCore::JSDOMFormData::append): * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::open): (WebCore::JSDOMWindow::showModalDialog): (WebCore::JSDOMWindow::postMessage): (WebCore::JSDOMWindow::setTimeout): (WebCore::JSDOMWindow::setInterval): (WebCore::JSDOMWindow::addEventListener): (WebCore::JSDOMWindow::removeEventListener): (WebCore::JSDOMWindow::openDatabase): * bindings/js/JSDatabaseCustom.cpp: (WebCore::JSDatabase::changeVersion): (WebCore::createTransaction): (WebCore::JSDatabase::transaction): (WebCore::JSDatabase::readTransaction): * bindings/js/JSDatabaseSyncCustom.cpp: (WebCore::JSDatabaseSync::changeVersion): (WebCore::createTransaction): (WebCore::JSDatabaseSync::transaction): (WebCore::JSDatabaseSync::readTransaction): * bindings/js/JSDedicatedWorkerContextCustom.cpp: (WebCore::JSDedicatedWorkerContext::postMessage): * bindings/js/JSDesktopNotificationsCustom.cpp: (WebCore::JSNotificationCenter::requestPermission): * bindings/js/JSFloatArrayCustom.cpp: (WebCore::JSFloatArray::set): * bindings/js/JSGeolocationCustom.cpp: (WebCore::JSGeolocation::getCurrentPosition): (WebCore::JSGeolocation::watchPosition): * bindings/js/JSHTMLAllCollectionCustom.cpp: (WebCore::callHTMLAllCollection): (WebCore::JSHTMLAllCollection::item): (WebCore::JSHTMLAllCollection::namedItem): * bindings/js/JSHTMLCanvasElementCustom.cpp: (WebCore::JSHTMLCanvasElement::getContext): * bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::callHTMLCollection): (WebCore::JSHTMLCollection::item): (WebCore::JSHTMLCollection::namedItem): * bindings/js/JSHTMLDocumentCustom.cpp: (WebCore::JSHTMLDocument::open): (WebCore::documentWrite): (WebCore::JSHTMLDocument::write): (WebCore::JSHTMLDocument::writeln): * bindings/js/JSHTMLInputElementCustom.cpp: (WebCore::JSHTMLInputElement::setSelectionRange): * bindings/js/JSHTMLOptionsCollectionCustom.cpp: (WebCore::JSHTMLOptionsCollection::add): (WebCore::JSHTMLOptionsCollection::remove): * bindings/js/JSHTMLSelectElementCustom.cpp: (WebCore::JSHTMLSelectElement::remove): * bindings/js/JSHistoryCustom.cpp: (WebCore::JSHistory::pushState): (WebCore::JSHistory::replaceState): * bindings/js/JSInjectedScriptHostCustom.cpp: (WebCore::JSInjectedScriptHost::databaseForId): (WebCore::JSInjectedScriptHost::currentCallFrame): (WebCore::JSInjectedScriptHost::nodeForId): (WebCore::JSInjectedScriptHost::pushNodePathToFrontend): (WebCore::JSInjectedScriptHost::selectDatabase): (WebCore::JSInjectedScriptHost::selectDOMStorage): (WebCore::JSInjectedScriptHost::reportDidDispatchOnInjectedScript): * bindings/js/JSInspectorFrontendHostCustom.cpp: (WebCore::JSInspectorFrontendHost::platform): (WebCore::JSInspectorFrontendHost::port): (WebCore::JSInspectorFrontendHost::showContextMenu): * bindings/js/JSInt16ArrayCustom.cpp: (WebCore::JSInt16Array::set): * bindings/js/JSInt32ArrayCustom.cpp: (WebCore::JSInt32Array::set): * bindings/js/JSInt8ArrayCustom.cpp: (WebCore::JSInt8Array::set): * bindings/js/JSJavaScriptCallFrameCustom.cpp: (WebCore::JSJavaScriptCallFrame::evaluate): (WebCore::JSJavaScriptCallFrame::scopeType): * bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::replace): (WebCore::JSLocation::reload): (WebCore::JSLocation::assign): (WebCore::JSLocation::toString): * bindings/js/JSMessageEventCustom.cpp: (WebCore::JSMessageEvent::initMessageEvent): * bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::postMessage): * bindings/js/JSMessagePortCustom.h: (WebCore::handlePostMessage): * bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::insertBefore): (WebCore::JSNode::replaceChild): (WebCore::JSNode::removeChild): (WebCore::JSNode::appendChild): * bindings/js/JSNodeListCustom.cpp: (WebCore::callNodeList): * bindings/js/JSPluginElementFunctions.cpp: (WebCore::callPlugin): * bindings/js/JSSQLResultSetRowListCustom.cpp: (WebCore::JSSQLResultSetRowList::item): * bindings/js/JSSQLTransactionCustom.cpp: (WebCore::JSSQLTransaction::executeSql): * bindings/js/JSSQLTransactionSyncCustom.cpp: (WebCore::JSSQLTransactionSync::executeSql): * bindings/js/JSSVGLengthCustom.cpp: (WebCore::JSSVGLength::convertToSpecifiedUnits): * bindings/js/JSSVGMatrixCustom.cpp: (WebCore::JSSVGMatrix::multiply): (WebCore::JSSVGMatrix::inverse): (WebCore::JSSVGMatrix::rotateFromVector): * bindings/js/JSSVGPODListCustom.h: (WebCore::JSSVGPODListCustom::clear): (WebCore::JSSVGPODListCustom::initialize): (WebCore::JSSVGPODListCustom::getItem): (WebCore::JSSVGPODListCustom::insertItemBefore): (WebCore::JSSVGPODListCustom::replaceItem): (WebCore::JSSVGPODListCustom::removeItem): (WebCore::JSSVGPODListCustom::appendItem): * bindings/js/JSSVGPathSegListCustom.cpp: (WebCore::JSSVGPathSegList::clear): (WebCore::JSSVGPathSegList::initialize): (WebCore::JSSVGPathSegList::getItem): (WebCore::JSSVGPathSegList::insertItemBefore): (WebCore::JSSVGPathSegList::replaceItem): (WebCore::JSSVGPathSegList::removeItem): (WebCore::JSSVGPathSegList::appendItem): * bindings/js/JSUint16ArrayCustom.cpp: (WebCore::JSUint16Array::set): * bindings/js/JSUint32ArrayCustom.cpp: (WebCore::JSUint32Array::set): * bindings/js/JSUint8ArrayCustom.cpp: (WebCore::JSUint8Array::set): * bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::JSWebGLRenderingContext::bufferData): (WebCore::JSWebGLRenderingContext::bufferSubData): (WebCore::getObjectParameter): (WebCore::JSWebGLRenderingContext::getBufferParameter): (WebCore::JSWebGLRenderingContext::getFramebufferAttachmentParameter): (WebCore::JSWebGLRenderingContext::getParameter): (WebCore::JSWebGLRenderingContext::getProgramParameter): (WebCore::JSWebGLRenderingContext::getRenderbufferParameter): (WebCore::JSWebGLRenderingContext::getShaderParameter): (WebCore::JSWebGLRenderingContext::getTexParameter): (WebCore::JSWebGLRenderingContext::getUniform): (WebCore::JSWebGLRenderingContext::getVertexAttrib): (WebCore::JSWebGLRenderingContext::texImage2D): (WebCore::JSWebGLRenderingContext::texSubImage2D): (WebCore::dataFunctionf): (WebCore::dataFunctioni): (WebCore::dataFunctionMatrix): (WebCore::JSWebGLRenderingContext::uniform1fv): (WebCore::JSWebGLRenderingContext::uniform1iv): (WebCore::JSWebGLRenderingContext::uniform2fv): (WebCore::JSWebGLRenderingContext::uniform2iv): (WebCore::JSWebGLRenderingContext::uniform3fv): (WebCore::JSWebGLRenderingContext::uniform3iv): (WebCore::JSWebGLRenderingContext::uniform4fv): (WebCore::JSWebGLRenderingContext::uniform4iv): (WebCore::JSWebGLRenderingContext::uniformMatrix2fv): (WebCore::JSWebGLRenderingContext::uniformMatrix3fv): (WebCore::JSWebGLRenderingContext::uniformMatrix4fv): (WebCore::JSWebGLRenderingContext::vertexAttrib1fv): (WebCore::JSWebGLRenderingContext::vertexAttrib2fv): (WebCore::JSWebGLRenderingContext::vertexAttrib3fv): (WebCore::JSWebGLRenderingContext::vertexAttrib4fv): * bindings/js/JSWebSocketCustom.cpp: (WebCore::JSWebSocket::send): * bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::importScripts): (WebCore::JSWorkerContext::setTimeout): (WebCore::JSWorkerContext::setInterval): (WebCore::JSWorkerContext::openDatabase): (WebCore::JSWorkerContext::openDatabaseSync): * bindings/js/JSWorkerCustom.cpp: (WebCore::JSWorker::postMessage): * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::open): (WebCore::JSXMLHttpRequest::send): * bindings/js/JSXSLTProcessorCustom.cpp: (WebCore::JSXSLTProcessor::importStylesheet): (WebCore::JSXSLTProcessor::transformToFragment): (WebCore::JSXSLTProcessor::transformToDocument): (WebCore::JSXSLTProcessor::setParameter): (WebCore::JSXSLTProcessor::getParameter): (WebCore::JSXSLTProcessor::removeParameter): * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::create): (WebCore::ScheduledAction::ScheduledAction): * bindings/js/ScheduledAction.h: * bindings/js/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): * bindings/js/ScriptCallFrame.h: * bindings/js/ScriptCallStack.cpp: (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::initialize): * bindings/js/ScriptCallStack.h: * bindings/scripts/CodeGeneratorJS.pm: * bridge/c/c_instance.cpp: (JSC::Bindings::CInstance::invokeMethod): (JSC::Bindings::CInstance::invokeDefaultMethod): * bridge/c/c_instance.h: * bridge/jni/jsc/JavaInstanceJSC.cpp: (JavaInstance::invokeMethod): * bridge/jni/jsc/JavaInstanceJSC.h: * bridge/jsc/BridgeJSC.h: (JSC::Bindings::Instance::invokeDefaultMethod): * bridge/objc/objc_instance.h: * bridge/objc/objc_instance.mm: (ObjcInstance::invokeMethod): (ObjcInstance::invokeObjcMethod): (ObjcInstance::invokeDefaultMethod): * bridge/objc/objc_runtime.mm: (JSC::Bindings::callObjCFallbackObject): * bridge/runtime_method.cpp: (JSC::callRuntimeMethod): * bridge/runtime_object.cpp: (JSC::Bindings::callRuntimeObject): WebKit/mac: Simplified the host calling convention. Reviewed by Sam Weinig, Gavin Barraclough, Oliver Hunt. PART ONE: Functional code changes. [ None in WebKit ] PART TWO: Global search and replace. In the areas below, I used global search-and-replace to change (ExecState*, JSObject*, JSValue, const ArgList&) => (ExecState*) args.size() => exec->argumentCount() args.at(i) => exec->argument(i) * Plugins/Hosted/ProxyInstance.h: * Plugins/Hosted/ProxyInstance.mm: (WebKit::ProxyInstance::invoke): (WebKit::ProxyInstance::invokeMethod): (WebKit::ProxyInstance::invokeDefaultMethod): LayoutTests: Simplified the host calling convention. Reviewed by Sam Weinig, Gavin Barraclough, Oliver Hunt. Changed these results to expect to fail to stringify their exception objects in the case of stack overflow. (Standardizing the calling convention has implicitly added stack overflow checks to some places where they used to be missing.) In a future patch, I plan to implement a more reliable way to stringify exceptions without invoking a JS function. For now, though, it seems best to match other test results, instead of silently overflowing the stack. * fast/js/global-recursion-on-full-stack-expected.txt: * fast/xmlhttprequest/xmlhttprequest-recursive-sync-event-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@60392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 29 Apr, 2009 1 commit
-
-
ggaren@apple.com authored
2009-04-28 Geoffrey Garen <ggaren@apple.com> Rubber stamped by Beth Dakin. Removed scaffolding supporting dynamically converting between 32bit and 64bit value representations. * API/JSCallbackConstructor.cpp: (JSC::constructJSCallback): * API/JSCallbackFunction.cpp: (JSC::JSCallbackFunction::call): * API/JSCallbackObjectFunctions.h: (JSC::::construct): (JSC::::call): * bytecode/CodeBlock.cpp: (JSC::CodeBlock::dump): * bytecode/CodeBlock.h: (JSC::CodeBlock::getConstant): * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::emitEqualityOp): * interpreter/CallFrame.cpp: (JSC::CallFrame::thisValue): * interpreter/Interpreter.cpp: (JSC::Interpreter::callEval): (JSC::Interpreter::throwException): (JSC::Interpreter::createExceptionScope): (JSC::Interpreter::privateExecute): (JSC::Interpreter::retrieveArguments): * interpreter/Register.h: (JSC::Register::): (JSC::Register::Register): (JSC::Register::jsValue): (JSC::Register::marked): (JSC::Register::mark): (JSC::Register::i): (JSC::Register::activation): (JSC::Register::arguments): (JSC::Register::callFrame): (JSC::Register::codeBlock): (JSC::Register::function): (JSC::Register::propertyNameIterator): (JSC::Register::scopeChain): (JSC::Register::vPC): * jit/JITStubs.cpp: (JSC::JITStubs::cti_op_call_NotJSFunction): (JSC::JITStubs::cti_op_load_varargs): (JSC::JITStubs::cti_op_call_eval): * jsc.cpp: (functionPrint): (functionDebug): (functionRun): (functionLoad): * runtime/ArgList.h: (JSC::ArgList::at): * runtime/Arguments.cpp: (JSC::Arguments::copyToRegisters): (JSC::Arguments::fillArgList): (JSC::Arguments::getOwnPropertySlot): * runtime/ArrayConstructor.cpp: (JSC::constructArrayWithSizeQuirk): * runtime/ArrayPrototype.cpp: (JSC::arrayProtoFuncJoin): (JSC::arrayProtoFuncConcat): (JSC::arrayProtoFuncPush): (JSC::arrayProtoFuncSlice): (JSC::arrayProtoFuncSort): (JSC::arrayProtoFuncSplice): (JSC::arrayProtoFuncUnShift): (JSC::arrayProtoFuncFilter): (JSC::arrayProtoFuncMap): (JSC::arrayProtoFuncEvery): (JSC::arrayProtoFuncForEach): (JSC::arrayProtoFuncSome): (JSC::arrayProtoFuncReduce): (JSC::arrayProtoFuncReduceRight): (JSC::arrayProtoFuncIndexOf): (JSC::arrayProtoFuncLastIndexOf): * runtime/BooleanConstructor.cpp: (JSC::constructBoolean): (JSC::callBooleanConstructor): * runtime/DateConstructor.cpp: (JSC::constructDate): (JSC::dateParse): (JSC::dateUTC): * runtime/DatePrototype.cpp: (JSC::formatLocaleDate): (JSC::fillStructuresUsingTimeArgs): (JSC::fillStructuresUsingDateArgs): (JSC::dateProtoFuncSetTime): (JSC::dateProtoFuncSetYear): * runtime/ErrorConstructor.cpp: (JSC::constructError): * runtime/FunctionConstructor.cpp: (JSC::constructFunction): * runtime/FunctionPrototype.cpp: (JSC::functionProtoFuncApply): (JSC::functionProtoFuncCall): * runtime/JSArray.cpp: (JSC::JSArray::JSArray): (JSC::constructArray): * runtime/JSArray.h: * runtime/JSGlobalObjectFunctions.cpp: (JSC::encode): (JSC::decode): (JSC::globalFuncEval): (JSC::globalFuncParseInt): (JSC::globalFuncParseFloat): (JSC::globalFuncIsNaN): (JSC::globalFuncIsFinite): (JSC::globalFuncEscape): (JSC::globalFuncUnescape): (JSC::globalFuncJSCPrint): * runtime/MathObject.cpp: (JSC::mathProtoFuncAbs): (JSC::mathProtoFuncACos): (JSC::mathProtoFuncASin): (JSC::mathProtoFuncATan): (JSC::mathProtoFuncATan2): (JSC::mathProtoFuncCeil): (JSC::mathProtoFuncCos): (JSC::mathProtoFuncExp): (JSC::mathProtoFuncFloor): (JSC::mathProtoFuncLog): (JSC::mathProtoFuncMax): (JSC::mathProtoFuncMin): (JSC::mathProtoFuncPow): (JSC::mathProtoFuncRound): (JSC::mathProtoFuncSin): (JSC::mathProtoFuncSqrt): (JSC::mathProtoFuncTan): * runtime/NativeErrorConstructor.cpp: (JSC::NativeErrorConstructor::construct): * runtime/NumberConstructor.cpp: (JSC::constructWithNumberConstructor): (JSC::callNumberConstructor): * runtime/NumberPrototype.cpp: (JSC::numberProtoFuncToString): (JSC::numberProtoFuncToFixed): (JSC::numberProtoFuncToExponential): (JSC::numberProtoFuncToPrecision): * runtime/ObjectConstructor.cpp: (JSC::constructObject): * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncHasOwnProperty): (JSC::objectProtoFuncIsPrototypeOf): (JSC::objectProtoFuncDefineGetter): (JSC::objectProtoFuncDefineSetter): (JSC::objectProtoFuncLookupGetter): (JSC::objectProtoFuncLookupSetter): (JSC::objectProtoFuncPropertyIsEnumerable): * runtime/PropertySlot.h: (JSC::PropertySlot::getValue): * runtime/RegExpConstructor.cpp: (JSC::constructRegExp): * runtime/RegExpObject.cpp: (JSC::RegExpObject::match): * runtime/RegExpPrototype.cpp: (JSC::regExpProtoFuncCompile): * runtime/StringConstructor.cpp: (JSC::stringFromCharCodeSlowCase): (JSC::stringFromCharCode): (JSC::constructWithStringConstructor): (JSC::callStringConstructor): * runtime/StringPrototype.cpp: (JSC::stringProtoFuncReplace): (JSC::stringProtoFuncCharAt): (JSC::stringProtoFuncCharCodeAt): (JSC::stringProtoFuncConcat): (JSC::stringProtoFuncIndexOf): (JSC::stringProtoFuncLastIndexOf): (JSC::stringProtoFuncMatch): (JSC::stringProtoFuncSearch): (JSC::stringProtoFuncSlice): (JSC::stringProtoFuncSplit): (JSC::stringProtoFuncSubstr): (JSC::stringProtoFuncSubstring): (JSC::stringProtoFuncLocaleCompare): (JSC::stringProtoFuncFontcolor): (JSC::stringProtoFuncFontsize): (JSC::stringProtoFuncAnchor): (JSC::stringProtoFuncLink): WebCore: 2009-04-28 Geoffrey Garen <ggaren@apple.com> Rubber stamped by Beth Dakin. Removed scaffolding supporting dynamically converting between 32bit and 64bit value representations. * bindings/js/JSAudioConstructor.cpp: (WebCore::constructAudio): * bindings/js/JSCanvasRenderingContext2DCustom.cpp: (WebCore::JSCanvasRenderingContext2D::setFillColor): (WebCore::JSCanvasRenderingContext2D::setStrokeColor): (WebCore::JSCanvasRenderingContext2D::strokeRect): (WebCore::JSCanvasRenderingContext2D::drawImage): (WebCore::JSCanvasRenderingContext2D::drawImageFromRect): (WebCore::JSCanvasRenderingContext2D::setShadow): (WebCore::JSCanvasRenderingContext2D::createPattern): (WebCore::JSCanvasRenderingContext2D::putImageData): (WebCore::JSCanvasRenderingContext2D::fillText): (WebCore::JSCanvasRenderingContext2D::strokeText): * bindings/js/JSClipboardCustom.cpp: (WebCore::JSClipboard::clearData): (WebCore::JSClipboard::getData): (WebCore::JSClipboard::setData): (WebCore::JSClipboard::setDragImage): * bindings/js/JSDOMApplicationCacheCustom.cpp: (WebCore::JSDOMApplicationCache::hasItem): (WebCore::JSDOMApplicationCache::add): (WebCore::JSDOMApplicationCache::remove): (WebCore::JSDOMApplicationCache::addEventListener): (WebCore::JSDOMApplicationCache::removeEventListener): * bindings/js/JSDOMStringListCustom.cpp: (WebCore::JSDOMStringList::item): * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::open): (WebCore::JSDOMWindow::showModalDialog): (WebCore::JSDOMWindow::postMessage): (WebCore::JSDOMWindow::setTimeout): (WebCore::JSDOMWindow::setInterval): (WebCore::JSDOMWindow::atob): (WebCore::JSDOMWindow::btoa): (WebCore::JSDOMWindow::addEventListener): (WebCore::JSDOMWindow::removeEventListener): * bindings/js/JSDatabaseCustom.cpp: (WebCore::JSDatabase::changeVersion): (WebCore::JSDatabase::transaction): * bindings/js/JSElementCustom.cpp: (WebCore::JSElement::setAttribute): (WebCore::JSElement::setAttributeNode): (WebCore::JSElement::setAttributeNS): (WebCore::JSElement::setAttributeNodeNS): * bindings/js/JSGeolocationCustom.cpp: (WebCore::JSGeolocation::getCurrentPosition): (WebCore::JSGeolocation::watchPosition): * bindings/js/JSHTMLCollectionCustom.cpp: (WebCore::callHTMLCollection): (WebCore::JSHTMLCollection::item): (WebCore::JSHTMLCollection::namedItem): * bindings/js/JSHTMLDocumentCustom.cpp: (WebCore::documentWrite): * bindings/js/JSHTMLInputElementCustom.cpp: (WebCore::JSHTMLInputElement::setSelectionRange): * bindings/js/JSHTMLOptionsCollectionCustom.cpp: (WebCore::JSHTMLOptionsCollection::add): * bindings/js/JSHTMLSelectElementCustom.cpp: (WebCore::JSHTMLSelectElement::remove): * bindings/js/JSImageConstructor.cpp: (WebCore::constructImage): * bindings/js/JSInspectorControllerCustom.cpp: (WebCore::JSInspectorController::highlightDOMNode): (WebCore::JSInspectorController::addResourceSourceToFrame): (WebCore::JSInspectorController::addSourceToFrame): (WebCore::JSInspectorController::getResourceDocumentNode): (WebCore::JSInspectorController::search): (WebCore::JSInspectorController::databaseTableNames): (WebCore::JSInspectorController::setting): (WebCore::JSInspectorController::setSetting): (WebCore::JSInspectorController::wrapCallback): * bindings/js/JSJavaScriptCallFrameCustom.cpp: (WebCore::JSJavaScriptCallFrame::evaluate): * bindings/js/JSLocationCustom.cpp: (WebCore::JSLocation::replace): (WebCore::JSLocation::assign): * bindings/js/JSMessagePortCustom.cpp: (WebCore::JSMessagePort::startConversation): (WebCore::JSMessagePort::addEventListener): (WebCore::JSMessagePort::removeEventListener): * bindings/js/JSNodeCustom.cpp: (WebCore::JSNode::insertBefore): (WebCore::JSNode::replaceChild): (WebCore::JSNode::removeChild): (WebCore::JSNode::appendChild): (WebCore::JSNode::addEventListener): (WebCore::JSNode::removeEventListener): * bindings/js/JSNodeFilterCustom.cpp: (WebCore::JSNodeFilter::acceptNode): * bindings/js/JSNodeListCustom.cpp: (WebCore::callNodeList): * bindings/js/JSOptionConstructor.cpp: (WebCore::constructHTMLOptionElement): * bindings/js/JSQuarantinedObjectWrapper.cpp: (WebCore::JSQuarantinedObjectWrapper::construct): (WebCore::JSQuarantinedObjectWrapper::call): * bindings/js/JSSQLResultSetRowListCustom.cpp: (WebCore::JSSQLResultSetRowList::item): * bindings/js/JSSQLTransactionCustom.cpp: (WebCore::JSSQLTransaction::executeSql): * bindings/js/JSSVGElementInstanceCustom.cpp: (WebCore::JSSVGElementInstance::addEventListener): (WebCore::JSSVGElementInstance::removeEventListener): * bindings/js/JSSVGLengthCustom.cpp: (WebCore::JSSVGLength::convertToSpecifiedUnits): * bindings/js/JSSVGMatrixCustom.cpp: (WebCore::JSSVGMatrix::rotateFromVector): * bindings/js/JSSVGPathSegListCustom.cpp: (WebCore::JSSVGPathSegList::initialize): (WebCore::JSSVGPathSegList::getItem): (WebCore::JSSVGPathSegList::insertItemBefore): (WebCore::JSSVGPathSegList::replaceItem): (WebCore::JSSVGPathSegList::removeItem): (WebCore::JSSVGPathSegList::appendItem): * bindings/js/JSSVGPointListCustom.cpp: (WebCore::JSSVGPointList::initialize): (WebCore::JSSVGPointList::getItem): (WebCore::JSSVGPointList::insertItemBefore): (WebCore::JSSVGPointList::replaceItem): (WebCore::JSSVGPointList::removeItem): (WebCore::JSSVGPointList::appendItem): * bindings/js/JSSVGTransformListCustom.cpp: (WebCore::JSSVGTransformList::initialize): (WebCore::JSSVGTransformList::getItem): (WebCore::JSSVGTransformList::insertItemBefore): (WebCore::JSSVGTransformList::replaceItem): (WebCore::JSSVGTransformList::removeItem): (WebCore::JSSVGTransformList::appendItem): * bindings/js/JSWebKitCSSMatrixConstructor.cpp: (WebCore::constructWebKitCSSMatrix): * bindings/js/JSWebKitPointConstructor.cpp: (WebCore::constructWebKitPoint): * bindings/js/JSWorkerConstructor.cpp: (WebCore::constructWorker): * bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::importScripts): (WebCore::JSWorkerContext::addEventListener): (WebCore::JSWorkerContext::removeEventListener): (WebCore::JSWorkerContext::setTimeout): (WebCore::JSWorkerContext::setInterval): * bindings/js/JSWorkerCustom.cpp: (WebCore::JSWorker::addEventListener): (WebCore::JSWorker::removeEventListener): * bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::open): (WebCore::JSXMLHttpRequest::setRequestHeader): (WebCore::JSXMLHttpRequest::send): (WebCore::JSXMLHttpRequest::getResponseHeader): (WebCore::JSXMLHttpRequest::overrideMimeType): (WebCore::JSXMLHttpRequest::addEventListener): (WebCore::JSXMLHttpRequest::removeEventListener): * bindings/js/JSXMLHttpRequestUploadCustom.cpp: (WebCore::JSXMLHttpRequestUpload::addEventListener): (WebCore::JSXMLHttpRequestUpload::removeEventListener): * bindings/js/JSXSLTProcessorCustom.cpp: (WebCore::JSXSLTProcessor::importStylesheet): (WebCore::JSXSLTProcessor::transformToFragment): (WebCore::JSXSLTProcessor::transformToDocument): (WebCore::JSXSLTProcessor::setParameter): (WebCore::JSXSLTProcessor::getParameter): (WebCore::JSXSLTProcessor::removeParameter): * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::create): (WebCore::ScheduledAction::ScheduledAction): * bindings/js/ScheduledAction.h: * bindings/js/ScriptCallFrame.cpp: (WebCore::ScriptCallFrame::ScriptCallFrame): * bindings/js/ScriptCallFrame.h: * bindings/js/ScriptCallStack.cpp: (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::initialize): * bridge/c/c_instance.cpp: (JSC::Bindings::CInstance::invokeMethod): (JSC::Bindings::CInstance::invokeDefaultMethod): (JSC::Bindings::CInstance::invokeConstruct): * bridge/jni/jni_instance.cpp: (JavaInstance::invokeMethod): * bridge/objc/objc_instance.mm: (ObjcInstance::invokeMethod): (ObjcInstance::invokeDefaultMethod): WebKit/mac: 2009-04-28 Geoffrey Garen <ggaren@apple.com> Rubber stamped by Beth Dakin. Removed scaffolding supporting dynamically converting between 32bit and 64bit value representations. * Plugins/Hosted/NetscapePluginInstanceProxy.mm: (WebKit::NetscapePluginInstanceProxy::marshalValues): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 09 Dec, 2008 1 commit
-
-
darin@chromium.org authored
Fixes bustages. https://bugs.webkit.org/show_bug.cgi?id=22631 Adding missing files from previous commit. * bindings/js/ScriptCallFrame.cpp: Added. (WebCore::ScriptCallFrame::ScriptCallFrame): (WebCore::ScriptCallFrame::~ScriptCallFrame): (WebCore::ScriptCallFrame::argumentAt): * bindings/js/ScriptCallFrame.h: Added. (WebCore::ScriptCallFrame::functionName): (WebCore::ScriptCallFrame::sourceURL): (WebCore::ScriptCallFrame::lineNumber): (WebCore::ScriptCallFrame::argumentCount): * bindings/js/ScriptCallStack.cpp: Added. (WebCore::ScriptCallStack::ScriptCallStack): (WebCore::ScriptCallStack::~ScriptCallStack): (WebCore::ScriptCallStack::at): (WebCore::ScriptCallStack::size): (WebCore::ScriptCallStack::initialize): * bindings/js/ScriptCallStack.h: Added. (WebCore::ScriptCallStack::state): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@39143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Nov, 2008 1 commit
-
-
darin@chromium.org authored
Reviewed by Sam Weinig. https://bugs.webkit.org/show_bug.cgi?id=22448 Create an abstraction for JSC::SourceCode * WebCore.vcproj/WebCore.vcproj: * bindings/js/CachedScriptSourceProvider.h: * bindings/js/ScriptController.cpp: (WebCore::ScriptController::evaluate): * bindings/js/ScriptController.h: * bindings/js/ScriptSourceCode.h: Added. (WebCore::ScriptSourceCode::ScriptSourceCode): (WebCore::ScriptSourceCode::length): (WebCore::ScriptSourceCode::jsSourceCode): * bindings/js/WorkerScriptController.cpp: (WebCore::Workevn ScriptController::evaluate): * bindings/js/WorkerScriptController.h: * dom/ScriptElement.cpp: (WebCore::ScriptElement::insertedIntoDocument): (WebCore::ScriptElement::childrenChanged): (WebCore::ScriptElementData::evaluateScript): (WebCore::ScriptElementData::notifyFinished): * dom/ScriptElement.h: * dom/WorkerThread.cpp: (WebCore::WorkerThread::workerThread): * dom/WorkerThread.h: * dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::notifyFinished): * dom/XMLTokenizerLibxml2.cpp: (WebCore::XMLTokenizer::endElementNs): * dom/XMLTokenizerQt.cpp: (WebCore::XMLTokenizer::parseEndElement): * html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::scriptHandler): (WebCore::HTMLTokenizer::scriptExecution): (WebCore::HTMLTokenizer::notifyFinished): * html/HTMLTokenizer.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::executeScript): * loader/FrameLoader.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Nov, 2008 1 commit
-
-
darin@chromium.org authored
Reviewed by Geoff Garen. https://bugs.webkit.org/show_bug.cgi?id=22345 Define ScriptValue as a thin container for a JSC::Value*. * WebCore.vcproj/WebCore.vcproj: * WebCore.xcodeproj/project.pbxproj: * bindings/js/ScheduledAction.cpp: * bindings/js/ScriptController.cpp: (WebCore::ScriptController::evaluate): * bindings/js/ScriptController.h: * bindings/js/ScriptValue.cpp: Added. (WebCore::ScriptValue::getString): * bindings/js/ScriptValue.h: Added. (WebCore::ScriptValue::ScriptValue): (WebCore::ScriptValue::jsValue): * dom/ScriptElement.cpp: * dom/XMLTokenizer.cpp: * dom/XMLTokenizerLibxml2.cpp: * html/HTMLTokenizer.cpp: * loader/FrameLoader.cpp: (WebCore::FrameLoader::executeIfJavaScriptURL): (WebCore::FrameLoader::executeScript): * loader/FrameLoader.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-