- 03 Dec, 2013 40 commits
-
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=110073 Reviewed by Benjamin Poulain. Added "webkit-patch setup-git-clone" to setup a brand new Git clone. This command runs various commands listed on http://trac.webkit.org/wiki/UsingGitWithWebKit * Scripts/webkitpy/tool/commands/__init__.py: * Scripts/webkitpy/tool/commands/setupgitclone.py: Added. (SetupGitClone): (SetupGitClone.execute): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
fpizlo@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125172 <rdar://problem/15233487> Reviewed by Mark Hahnenberg. We would previously sometimes get a null Structure because checking if the profile is non-null and loading the structure from it were two separate operations. * dfg/DFGAbstractInterpreterInlines.h: (JSC::DFG::::executeEffects): * dfg/DFGAbstractValue.cpp: (JSC::DFG::AbstractValue::setFuturePossibleStructure): * dfg/DFGByteCodeParser.cpp: (JSC::DFG::ByteCodeParser::parseBlock): * runtime/JSFunction.h: (JSC::JSFunction::allocationProfile): (JSC::JSFunction::allocationStructure): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125131 Reviewed by Antti Koivisto. Import the tests for parsing XHTML documents and fragments at f744661dbd0c29bb6a54c1530f9843838eec1300 after self-closing link elements in template-child-nodes-div.xhtml and template-child-nodes-nested.xhtml as these two files would encounter parser errors otherwise (I'll be merging these changes back into the web-platform-tests repository later). This completes the importation of W3C tests for the HTML template element. * html-templates/additions-to-parsing-xhtml-documents: Added. * html-templates/additions-to-parsing-xhtml-documents/node-document-expected.txt: Added. * html-templates/additions-to-parsing-xhtml-documents/node-document.html: Added. * html-templates/additions-to-parsing-xhtml-documents/template-child-nodes-expected.txt: Added. * html-templates/additions-to-parsing-xhtml-documents/template-child-nodes.html: Added. * html-templates/additions-to-serializing-xhtml-documents: Added. * html-templates/additions-to-serializing-xhtml-documents/outerhtml-expected.txt: Added. * html-templates/additions-to-serializing-xhtml-documents/outerhtml.html: Added. * html-templates/resources/template-child-nodes-div.xhtml: * html-templates/resources/template-child-nodes-nested.xhtml: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125178 Reviewed by Sam Weinig. Source/WebKit2: * Shared/API/c/WKDeclarationSpecifiers.h: Add WK_DEPRECATED and WK_ENUM_DEPRECATED macros so we can things as deprecated. * UIProcess/API/C/WKNotificationManager.cpp: (WKNotificationManagerSetProvider): * UIProcess/API/C/WKNotificationManager.h: WKNotificationManagerSetProvider now takes a WKNotificationProviderBase. * UIProcess/API/C/WKNotificationProvider.h: Deprecate WKNotificationProvider and kWKNotificationProviderCurrentVersion. Tools: Update for WebKit2 changes. * WebKitTestRunner/TestController.cpp: (WTR::TestController::initialize): * WebKitTestRunner/WebNotificationProvider.cpp: (WTR::WebNotificationProvider::provider): * WebKitTestRunner/WebNotificationProvider.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160036 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125179 Reviewed by Tim Horton. Enable the user to specify a location for 64-bit support libraries (such as libxml2, ICU, etc.) on Windows until an official distribution is available that properly creates registry settings to specify these locations. * Scripts/webkitdirs.pm: (setupAppleWinEnv): Notify user to set WEBKIT_64_SUPPORT environment variable if needed. (setupCygwinEnv): Report WEWBKIT_64_SUPPORT path when running 64-bit builds. (appleApplicationSupportPath): Add WEBKIT_64_SUPPORT location to runtime environment when running 64-bit builds. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
beidson@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125127 Reviewed by Darin Adler. Add a non-main WorkQueue to the DatabaseProcess: * DatabaseProcess/DatabaseProcess.cpp: (WebKit::DatabaseProcess::DatabaseProcess): (WebKit::DatabaseProcess::queue): * DatabaseProcess/DatabaseProcess.h: * DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp: (WebKit::UniqueIDBDatabase::UniqueIDBDatabase): (WebKit::UniqueIDBDatabase::enqueueDatabaseQueueRequest): Add an AsyncRequest to the deque then schedule performing the requests on the background WorkQueue. (WebKit::UniqueIDBDatabase::processDatabaseRequestQueue): Processes all enqueued database requests. (WebKit::UniqueIDBDatabase::getOrEstablishIDBDatabaseMetadata): Renamed from getIDBDatabaseMetadata(). (WebKit::UniqueIDBDatabase::getOrEstablishIDBDatabaseMetadataInternal): For doing i/o on a background queue/thread. * DatabaseProcess/IndexedDB/UniqueIDBDatabase.h: Add a creator that takes the abort handler as an argument, and rename requestedCompleted() to completeRequest(). This makes more sense in more situations: * Shared/AsyncRequest.cpp: (WebKit::AsyncRequest::AsyncRequest): (WebKit::AsyncRequest::setAbortHandler): * Shared/AsyncRequest.h: (WebKit::AsyncRequest::completeRequest): Update for the AsyncRequest rename: * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp: (WebKit::WebIDBServerConnection::didGetOrEstablishIDBDatabaseMetadata): * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp: (WebKit::DatabaseProcessIDBConnection::getOrEstablishIDBDatabaseMetadata): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
samuel_white@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=76677 Reviewed by Simon Fraser. Make sure a press targets an element's center point. * accessibility/press-targets-center-point-expected.txt: Added. * accessibility/press-targets-center-point.html: Added. Set the coordinates of a simulated press equal to the center of the target element when the simulated press does not have a related mouse event. Test: accessibility/press-targets-center-point.html * dom/Element.cpp: (WebCore::Element::clientRect): (WebCore::Element::screenRect): * dom/Element.h: * dom/EventDispatcher.cpp: (WebCore::EventDispatcher::dispatchSimulatedClick): * dom/MouseEvent.cpp: (WebCore::SimulatedMouseEvent::create): (WebCore::SimulatedMouseEvent::SimulatedMouseEvent): * dom/MouseEvent.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
timothy_horton@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125176 Reviewed by Simon Fraser. Remove unused code. * UIProcess/API/ios/WKContentView.mm: * UIProcess/ios/TiledCoreAnimationDrawingAreaProxyIOS.h: Removed. * UIProcess/ios/TiledCoreAnimationDrawingAreaProxyIOS.mm: Removed. * Shared/DrawingAreaInfo.h: * WebProcess/WebPage/DrawingArea.cpp: (WebKit::DrawingArea::create): * WebProcess/WebPage/ios/TiledCoreAnimationDrawingAreaIOS.h: Removed. * WebProcess/WebPage/ios/TiledCoreAnimationDrawingAreaIOS.mm: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=124871 Reviewed by Brent Fulgham. Source/WebCore: Implement the OES_texture_float_linear extension. Generally we'd also enable OES_texture_half_float_linear at the same time, but that's blocked on webkit.org/b/110936. Test: fast/canvas/webgl/oes-texture-float-linear.html * CMakeLists.txt: Add new files. * DerivedSources.cpp: Ditto. * DerivedSources.make: Generate new file from IDL. * GNUmakefile.list.am: Add new files. * WebCore.vcxproj/WebCore.vcxproj: Ditto. * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto. * WebCore.xcodeproj/project.pbxproj: New files for OESTextureFloatLinear. * bindings/js/JSWebGLRenderingContextCustom.cpp: (WebCore::toJS): Map the new name into the appropriate type. * html/canvas/OESTextureFloatLinear.cpp: Added. This is a very simple class that's mostly empty. (WebCore::OESTextureFloatLinear::OESTextureFloatLinear): (WebCore::OESTextureFloatLinear::~OESTextureFloatLinear): (WebCore::OESTextureFloatLinear::getName): (WebCore::OESTextureFloatLinear::create): * html/canvas/OESTextureFloatLinear.h: Added. * html/canvas/OESTextureFloatLinear.idl: Added. * html/canvas/WebGLExtension.h: Declare the new name in the enum of extensions. * html/canvas/WebGLRenderingContext.cpp: (WebCore::WebGLRenderingContext::drawArrays): Call new name. (WebCore::WebGLRenderingContext::drawElements): Call new name. (WebCore::WebGLRenderingContext::getExtension): Create the new extension if asked. (WebCore::WebGLRenderingContext::checkTextureCompleteness): Renamed from handleNPOTTextures. Now checks for the type of the texture too. * html/canvas/WebGLRenderingContext.h: Member variable for new extension. * html/canvas/WebGLTexture.cpp: (WebCore::WebGLTexture::WebGLTexture): (WebCore::WebGLTexture::needToUseBlackTexture): Takes an extra parameter which indicates if it has an extension enabled. (WebCore::WebGLTexture::update): Note it is a float type when updating. * html/canvas/WebGLTexture.h: New flag to indicate float type. * platform/graphics/Extensions3D.h: New flag type. * platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::supportsExtension): Add a comment about the extension. LayoutTests: Add the Khronos test files for this extension. Add the JS test file for OES_texture_float_linear and OES_texture_half_float_linear even though it's only used for the former at the moment. * fast/canvas/webgl/oes-texture-float-linear.html: Added. * fast/canvas/webgl/resources/oes-texture-float-and-half-float-linear.js: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=124483 Reviewed by Anders Carlsson. Source/WebCore: Test: crypto/subtle/rsa-export-private-key.html It might be better to have our own bignum implementation in WTF, but we currently don't, and the need for this computation is Common Crypto specific anyway. * crypto/CommonCryptoUtilities.h: * crypto/CommonCryptoUtilities.cpp: (WebCore::CCBigNum::CCBigNum): (WebCore::CCBigNum::~CCBigNum): (WebCore::CCBigNum::operator=): (WebCore::CCBigNum::data): (WebCore::CCBigNum::operator-): (WebCore::CCBigNum::operator%): (WebCore::CCBigNum::inverse): Added a minimal wrapper around CommonCrypto BigNum. * crypto/mac/CryptoKeyRSAMac.cpp: (WebCore::getPrivateKeyComponents): Compute missing parts using CCBigNum. (WebCore::CryptoKeyRSA::exportData): Implemented private key case. LayoutTests: * crypto/subtle/rsa-export-private-key-expected.txt: Added. * crypto/subtle/rsa-export-private-key.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125173 Reviewed by Antti Koivisto. * Shared/APIClient.h: * Shared/APIClientTraits.cpp: Removed. * Shared/APIClientTraits.h: Removed. * WebKit2.xcodeproj/project.pbxproj: * WebProcess/Plugins/PDF/PDFPlugin.mm: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125114 Update layout test result for a last minute change in test content. * crypto/subtle/hmac-check-algorithm-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
enrica@apple.com authored
Reviewed by Tim Horton. * Shared/WebCoreArgumentCoders.cpp: Added missing header. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160026 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=122125 Patch by Brian J. Burg <burg@cs.washington.edu> on 2013-12-03 Reviewed by Timothy Hatcher. The previous strategy for restoring content views after inspector re-open did not consider the active sidebar and its selection, and tried to recreate the appropriate selection from the saved content view. However, doesn't work for tree elements in the sidebar panel that don't change views when selected, such as script breakpoints, special breakpoints, call stack, timeline sections, etc. This patch implements a new strategy that saves the navigation sidebar panel's view state by serializing the identity of the selected element's represented object. Relevant represented object classes implement the saveIdentityToCookie() method. Each represented object class also adds a TypeIdentifier property to its constructor, to aid inexact matching based on represented object type, rather than its complete identity. When restoring, the navigation sidebar attempts to match added tree elements against the pending cookie, and selects the element if it matches. A represented object matches if its serialized identity matches the previously saved serialized identity. The inspector view state is now only saved on the page hide event (for saving across reopen) and when the main frame commits its provisional load (for saving across same-page reloads). It consolidates similar view state settings into a single setting. * UserInterface/ApplicationCacheFrame.js: (WebInspector.ApplicationCacheFrame): Add cookie keys and type identifier. (WebInspector.ApplicationCacheFrame.prototype.saveIdentityToCookie): Added. * UserInterface/ApplicationCacheManager.js: remove objectForCookie(). * UserInterface/Breakpoint.js: (WebInspector.Breakpoint): Add cookie keys and type identifier. (WebInspector.Breakpoint.prototype.saveIdentityToCookie): * UserInterface/CookieStorageObject.js: (WebInspector.CookieStorageObject.prototype.saveIdentityToCookie): Added. * UserInterface/DOMStorageObject.js: (WebInspector.DOMStorageObject): Add cookie keys and type identifier. (WebInspector.DOMStorageObject.prototype.saveIdentityToCookie): Added. * UserInterface/DatabaseObject.js: (WebInspector.DatabaseObject): Add cookie keys and type identifier. (WebInspector.DatabaseObject.prototype.saveIdentityToCookie): Added. * UserInterface/DatabaseTableObject.js: (WebInspector.DatabaseTableObject): Add cookie keys and type identifier. (WebInspector.DatabaseTableObject.prototype.saveIdentityToCookie): Added. * UserInterface/DebuggerSidebarPanel.js: (WebInspector.DebuggerSidebarPanel.prototype.saveStateToCookie): Added. (WebInspector.DebuggerSidebarPanel.prototype.restoreStateFromCookie): Added. * UserInterface/Frame.js: (WebInspector.Frame): Add cookie keys and type identifier. (WebInspector.Frame.prototype.saveIdentityToCookie): Added. * UserInterface/FrameResourceManager.js: remove objectForCookie(). * UserInterface/InstrumentSidebarPanel.js: (WebInspector.InstrumentSidebarPanel.prototype.showTimelineForRecordType): Return the shown timeline, if any. (WebInspector.InstrumentSidebarPanel.prototype.saveStateToCookie): Added. (WebInspector.InstrumentSidebarPanel.prototype.restoreStateFromCookie): Added. (WebInspector.InstrumentSidebarPanel.prototype.showProfile): Return the shown profile, if any. * UserInterface/Main.js: (WebInspector): Added cookie keys for the selected sidebar and typeidentifier of the sidebar's selected tree element. (WebInspector.contentLoaded): Remove callbacks for resolveAndShowPendingContentViewCookie(). Consolidate all saved inspector view state into one Setting. Move special-cased restoring of the console to the restoration method. Move saving of last opened navigation panel to the saving method. (WebInspector._mainResourceDidChange): Try to restore saved view state when the main resource changes. (WebInspector._provisionalLoadCommitted): Update the saved view state when the navigation commits. This is the last chance to save it before the main resource changes and the navigation panel view state is discarded and rebuilt. (WebInspector._pageHidden): Update the saved view state when the inspector page is hidden, but before state is discarded. (WebInspector._navigationSidebarPanelSelected): Don't save last navigation sidebar panel. (WebInspector._updateCookieForInspectorViewState): Renamed from _updateCurrentContentViewCookie. It delegates view state serialization to the currently open navigation sidebar, rather than the current content view. (WebInspector._contentBrowserRepresentedObjectsDidChange): Don't spuriously serialize the current view state cookie on every ContentView change. (WebInspector._restoreInspectorViewStateFromCookie): Renamed from _showContentViewForCookie. It now restores a specific navigation panel and delegates remaining view state restoration to the panel itself. Last-resort selection of any tree element with the same type identifier was moved to the navigation panel's restore method. * UserInterface/NavigationSidebarPanel.js: (WebInspector.NavigationSidebarPanel): (WebInspector.NavigationSidebarPanel.prototype.set contentTreeOutline): (WebInspector.NavigationSidebarPanel.prototype.createContentTreeOutline): Save references to all created TreeOutlines in a Set, so we can restore any tree's selection. (WebInspector.NavigationSidebarPanel.prototype.saveStateToCookie): Added. Find the selected tree element from all tree outlines and ask it to serialize its identity. (WebInspector.NavigationSidebarPanel.prototype.restoreStateFromCookie): Added. Eagerly search existing tree elements for a matching representedObject. If none exists, save the pending cookie and schedule last-resort matching using the provided timeout interval. (WebInspector.NavigationSidebarPanel.prototype._treeElementAddedOrChanged): Check if the added tree element matches a pending view state cookie, if one exists. (WebInspector.NavigationSidebarPanel.prototype.treeElementMatchesCookie): Added. Check if the tree element's representedObject matches the pending view state cookie. (WebInspector.NavigationSidebarPanel.prototype._checkElementsForPendingViewStateCookie): Added. For each provided tree element, check if the tree element's represented object produces the same serialized identity as the pending view state cookie that we are trying to resolve. If a match is found (possibly by relaxing to matching anything with the same type), select the tree element and clear both the pending view state cookie and last-resort selection timer. * UserInterface/Resource.js: (WebInspector.Resource): Add cookie keys and type identifier. (WebInspector.Resource.prototype.saveIdentityToCookie): Added. * UserInterface/ResourceClusterContentView.js: (WebInspector.ResourceClusterContentView.prototype.saveToCookie): (WebInspector.ResourceClusterContentView.prototype.restoreFromCookie): Since identity state is serialized by the representedObject, these methods only need to save view-specific state, such as the visible subview. Remove extraneous state. * UserInterface/Script.js: (WebInspector.Script): Add cookie keys and type identifier. (WebInspector.Script.prototype.saveIdentityToCookie): Added. * UserInterface/StorageManager.js: remove objectForCookie(). * UserInterface/TimelineManager.js: remove objectForCookie(). * UserInterface/TimelinesContentView.js: (WebInspector.TimelinesContentView.prototype.saveToCookie): (WebInspector.TimelinesContentView.prototype.restoreFromCookie): Since identity state is serialized by the representedObject, these methods only need to save view-specific state, such as the visible subview. Remove extraneous state. * UserInterface/TreeOutline.js: Add TreeOutline.prototype.constructor so other code can assume the constructor property exists. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125132 Reviewed by Darin Adler. Source/WebCore: Always use the context element's namespace as the default namespace URI when one is not specified by xmlns. The new behavior matches that of Internet Explorer and the specified behavior in HTML5: http://www.w3.org/TR/2013/CR-html5-20130806/the-xhtml-syntax.html#parsing-xhtml-fragments "The default namespace is the namespace for which the DOM isDefaultNamespace() method on the element would return true." Test: fast/parser/fragment-parsing-in-document-without-xmlns.html * xml/parser/XMLDocumentParserLibxml2.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): LayoutTests: Added a test for parsing a markup fragment inside a XHTML document without xmlns. The parsed fragment should use the context element's namespace as the default namespace. * fast/parser/fragment-parsing-in-document-without-xmlns-expected.txt: Added. * fast/parser/fragment-parsing-in-document-without-xmlns.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160024 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125167 Patch by Nick Diego Yamane <nick.yamane@openbossa.org> on 2013-12-03 Reviewed by Darin Adler. Source/WebCore: No new tests needed. Only removing leftover code. * css/CSSBasicShapes.cpp: * css/CSSBasicShapes.h: Source/WebKit/blackberry: * WebCoreSupport/AboutDataEnableFeatures.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=124578 Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2013-12-03 Reviewed by Anders Carlsson. The WTF:: prefixes are removed from the messages.in files, and the messages.py now handles unprefixed non-template WTF classes (only the WTF::String class is used currently). Tests are also updated. * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in: * NetworkProcess/NetworkConnectionToWebProcess.messages.in: * NetworkProcess/NetworkProcess.messages.in: * PluginProcess/PluginControllerProxy.messages.in: * PluginProcess/PluginProcess.messages.in: * Scripts/webkit2/messages.py: (forward_declarations_and_headers): (class_template_headers): (argument_coder_headers_for_type): * Scripts/webkit2/messages_unittest.py: (std): * Shared/Network/CustomProtocols/CustomProtocolManager.messages.in: * UIProcess/Downloads/DownloadProxy.messages.in: * UIProcess/Plugins/PluginProcessProxy.messages.in: * UIProcess/Storage/StorageManager.messages.in: * UIProcess/WebContext.messages.in: * UIProcess/WebCookieManagerProxy.messages.in: * UIProcess/WebDatabaseManagerProxy.messages.in: * UIProcess/WebIconDatabase.messages.in: * UIProcess/WebInspectorProxy.messages.in: * UIProcess/WebMediaCacheManagerProxy.messages.in: * UIProcess/WebPageProxy.messages.in: * UIProcess/WebProcessProxy.messages.in: * WebProcess/Cookies/WebCookieManager.messages.in: * WebProcess/Geolocation/WebGeolocationManager.messages.in: * WebProcess/MediaCache/WebMediaCacheManager.messages.in: * WebProcess/Notifications/WebNotificationManager.messages.in: * WebProcess/Plugins/PluginProcessConnection.messages.in: * WebProcess/Plugins/PluginProxy.messages.in: * WebProcess/Storage/StorageAreaMap.messages.in: * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in: * WebProcess/WebPage/WebInspector.messages.in: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebProcess.messages.in: * WebProcess/soup/WebSoupRequestManager.messages.in: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160022 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125162 Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-12-03 Reviewed by Darin Adler. After talking with the original author of this line, is was a typo to make sure that the second-to-last bit in an address is 0. Instead, we want to make sure that the address is aligned to a 4-byte boundary No behavior change, so no test is necessary * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::ImageBuffer::ImageBuffer): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160021 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
andersca@apple.com authored
* Shared/APIClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dbates@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125164 https://code.google.com/p/angleproject/issues/detail?id=534 Reviewed by Darin Adler. Move the definition of the constant kTraceBufferLen under the macro guard TRACE_ENABLED since it's only referenced in code guarded by TRACE_ENABLED. * src/compiler/debug.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160018 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bfulgham@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125160 Reviewed by Tim Horton. * WebKit.vcxproj/WebKit.make: Add copy command for resource bundle. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160017 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mhahnenberg@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=124550 Reviewed by Darin Adler. This might not be the case for all hosts, so this patch implements an alternate "backend" for run-jsc-stress-tests to use normal shell commands rather than Makefiles. To remain at least somewhat competitive with the make-based test runner, the shell backend uses subshells run in the background to allow tests to run in parallel. Since the concurrency primitives in shell scripting are rather coarse, the overhead of this parallelism is higher than that of the make-based runner. * Scripts/jsc-stress-test-helpers/shell-runner.sh: Added. This is the runner that is copied into the bundle and controls all of the parallel aspects of the shell-based test runner. * Scripts/run-jsc-stress-tests: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160016 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=125113 Reviewed by Tim Horton. The AXObjectCache can sometimes be null if the render tree has been detached from the document. * WebView/WebFrame.mm: (-[WebFrame accessibilityRoot]): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
stavila@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=124919 Source/WebCore: Relative positioned elements have self-painting layers that don't propagate the visual overflow so the layer's position should be used when determining the clipping rectangle for box decorations. Reviewed by Mihnea Ovidenie. Test: fast/regions/relative-borders-overflow.html * rendering/RenderFlowThread.cpp: (WebCore::RenderFlowThread::decorationsClipRectForBoxInRegion): LayoutTests: Added new tests for correct painting of the borders of a relatively positioned element inside a region. Reviewed by Mihnea Ovidenie. * fast/regions/relative-borders-overflow-expected.html: Added. * fast/regions/relative-borders-overflow.html: Added. * fast/regions/relative-in-absolute-borders-overflow-expected.html: Added. * fast/regions/relative-in-absolute-borders-overflow.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
seokju@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125135 Reviewed by Darin Adler. Remove 'hasFrontend()' from InspectorController and WorkerInspectorController as it's never called. No new tests, no behavior changes. * inspector/InspectorController.h: * inspector/WorkerInspectorController.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
seokju@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125137 Reviewed by Darin Adler. Remove leftover code. No new tests, no behavior changes. * inspector/InspectorController.cpp: * inspector/InspectorController.h: * inspector/InspectorOverlay.cpp: * inspector/InspectorOverlay.h: * inspector/InspectorPageAgent.cpp: * inspector/InspectorPageAgent.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=98787 Reviewed by Beth Dakin. These tests were part of this patch added over a year ago, but the patch was rolled out, and when it was rolled back in the tests were never added. So I'm adding them back again. * accessibility/aria-hidden-negates-no-visibility.html: Added. * platform/mac/accessibility/aria-hidden-negates-no-visibility-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160011 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
ASSERTION FAILED: !value || (value->isPrimitiveValue()) in WebCore::StyleProperties::getLayeredShorthandValue. https://bugs.webkit.org/show_bug.cgi?id=125146 Patch by László Langó <lango@inf.u-szeged.hu> on 2013-12-03 Reviewed by Darin Adler. Source/WebCore: Do not presume that |yValue| is primitive if |value| is implicit in StylePropertySerializer. An implicit y-value can become explicit if specified as a separate longhand. At the same time, its new value can be non-primitive. Backported from Blink: http://src.chromium.org/viewvc/blink?view=rev&rev=153678 Test: fast/css/webkit-mask-crash-implicit.html * css/StyleProperties.cpp: (WebCore::StyleProperties::getLayeredShorthandValue): LayoutTests: * fast/css/webkit-mask-crash-implicit-expected.txt: Added. * fast/css/webkit-mask-crash-implicit.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
* rendering/style/BasicShapes.cpp: (WebCore::BasicShape::canBlend): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125153 Patch by Laszlo Vidacs <lac@inf.u-szeged.hu> on 2013-12-03 Reviewed by Darin Adler. * Shared/APIClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160008 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=124621 Source/WebCore: Reviewed by Dirk Schulze. Implement support for doing layout with the new ellipse shape syntax, including basic animation support. Test: fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000.html * rendering/shapes/Shape.cpp: (WebCore::Shape::createShape): Convert new ellipse to a layout shape. * rendering/style/BasicShapes.cpp: (WebCore::BasicShape::canBlend): Ignore ellipses with values that cannot be interpolated. (WebCore::BasicShapeEllipse::floatValueForRadiusInBox): Helper function to calculate either radiusX or radiusY, shared by clip-path and shape code paths. (WebCore::BasicShapeEllipse::path): * rendering/style/BasicShapes.h: LayoutTests: Add a new test for the new ellipse syntax. Also update existing shape-inside, animation, and clip-path tests to test the new ellipse syntax for clipping and shape-inside. Reviewed by Dirk Schulze. * animations/resources/animation-test-helpers.js: (parseBasicShape): * css3/masking/clip-path-animation-expected.txt: * css3/masking/clip-path-animation.html: * css3/masking/clip-path-ellipse.html: * fast/shapes/shape-inside/shape-inside-animation-expected.txt: * fast/shapes/shape-inside/shape-inside-animation.html: * fast/shapes/shape-inside/shape-inside-ellipse-padding.html: * fast/shapes/shape-inside/shape-inside-ellipse.html: * fast/shapes/shape-inside/shape-inside-empty-expected.html: * fast/shapes/shape-inside/shape-inside-empty.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000-expected.html: Added. * fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-000.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125148 Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2013-12-03 Reviewed by Darin Adler. The process_file_data is used only from the unit tests, so it is simply moved there. * Scripts/webkitpy/style/checkers/text.py: (TextChecker.check): * Scripts/webkitpy/style/checkers/text_unittest.py: (TextStyleTestCase.process_file_data): (TextStyleTestCase.assertNoError): (TextStyleTestCase.assertError): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
<https://webkit.org/b/120058> Patch by Frédéric Wang <fred.wang@free.fr> on 2013-12-03 Reviewed by Chris Fleizach. Source/WebCore: Tests: mathml/presentation/maction-dynamic.html mathml/presentation/maction.html mathml/presentation/semantics.html This adds a new MathMLSelectElement class to prepare the implementation of the <maction> and <semantics> elements, for which only one "selected" child is visible. We now simply display the first child of the <semantics> element instead of hiding the annotations and this allows to handle the use case of SVG-in-MathML as generated by Instiki when bug 124128 is fixed ; Gecko's selection algorithm will be implemented later (bug 100626). We now also rely on the @actiontype and @selection attributes to select the visible <maction> child ; It remains to deal with the user interaction (bug 85734). * CMakeLists.txt: add the new files. * GNUmakefile.list.am: ditto * Target.pri: ditto * WebCore.vcxproj/WebCore.vcxproj: ditto * WebCore.vcxproj/WebCore.vcxproj.filters: ditto * WebCore.xcodeproj/project.pbxproj: ditto * css/mathml.css: remove the CSS rule for annotation/annotation-xml. * mathml/MathMLAllInOne.cpp: add the new cpp file. * mathml/MathMLSelectElement.cpp: Added. (WebCore::MathMLSelectElement::MathMLSelectElement): (WebCore::MathMLSelectElement::create): (WebCore::MathMLSelectElement::createRenderer): (WebCore::MathMLSelectElement::childShouldCreateRenderer): (WebCore::MathMLSelectElement::finishParsingChildren): (WebCore::MathMLSelectElement::childrenChanged): (WebCore::MathMLSelectElement::attributeChanged): (WebCore::MathMLSelectElement::updateSelectedChild): basic implementation for maction, semantics, maction@actiontype and maction@selection. * mathml/MathMLSelectElement.h: Added. * mathml/mathattrs.in: add actiontype and selection attributes. * mathml/mathtags.in: set element classes for maction, semantics, annotation and annotation-xml. LayoutTests: New tests for the selection of the visible child in the <maction> and <semantics> elements. * mathml/presentation/maction-dynamic-expected.html: Added. * mathml/presentation/maction-dynamic.html: Added. * mathml/presentation/maction-expected.html: Added. * mathml/presentation/maction.html: Added. * mathml/presentation/semantics-expected.html: Added. * mathml/presentation/semantics.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=121972 Patch by peavo@outlook.com <peavo@outlook.com> on 2013-12-03 Reviewed by Michael Saboff. The reason for the crash is that the wrong memory block is decommitted. This can happen if no memory has been committed in the reserved block before the JSStack object is destroyed. In the JSStack destructor, the pointer to decommit then points to the end of the block (or the start of the next), and the decommit size is zero. If there is a block just after the block we are trying to decommit, this block will be decommitted, since Windows will decommit the whole block, if the decommit size is zero (see VirtualFree). When somebody tries to read/write to this block later, we crash. * interpreter/JSStack.cpp: (JSC::JSStack::~JSStack): Don't decommit memory if nothing has been committed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160004 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125063 Patch by László Langó <lango@inf.u-szeged.hu> on 2013-12-03 Reviewed by Filip Pizlo. * llint/LLIntThunks.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
seokju@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125140 Reviewed by Csaba Osztrogonác. * Shared/APIClient.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=124987 Patch by Thiago de Barros Lacerda <thiago.lacerda@openbossa.org> on 2013-12-03 Reviewed by Benjamin Poulain. No new tests needed. * PlatformNix.cmake: * platform/nix/ErrorsNix.cpp: Added. * platform/nix/ErrorsNix.h: Added. * platform/nix/FileSystemNix.cpp: Added. * platform/nix/MIMETypeRegistryNix.cpp: Added. * platform/nix/SharedTimerNix.cpp: Added. * platform/nix/TemporaryLinkStubs.cpp: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=125065 Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2013-12-03 Reviewed by Zoltan Herczeg. * UIProcess/API/efl/ewk_color_picker.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
configuration. https://bugs.webkit.org/show_bug.cgi?id=123997 Patch by Tamas Gergely <gertom@inf.u-szeged.hu> on 2013-12-03 Reviewed by Zoltan Herczeg. Build failed on efl port with --no-netscape-plugin-api configuration as ld did not found some methods. The configuration uses a minimal empty implementation of the class, which is now extended with empty method implementations. * plugins/PluginPackageNone.cpp: (WebCore::PluginPackage::createPackage): Returns NULL pointer. (WebCore::PluginPackage::hash): Returns 0. (WebCore::PluginPackage::equal): Returns true (equals). (WebCore::PluginPackage::compare): Returns 0 (equals). (WebCore::PluginPackage::~PluginPackage): Do nothing. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=124962 Patch by Dániel Bátyai <Batyai.Daniel@stud.u-szeged.hu> on 2013-12-03 Reviewed by Csaba Osztrogonác. * Scripts/webkitpy/layout_tests/models/test_expectations_unittest.py: (Base.__init__): (Base.get_basic_tests): (assert_exp): (MiscTests.test_multiple_results): (MiscTests.test_category_expectations): (MiscTests.test_get_modifiers): (MiscTests.test_get_expectations_string): (MiscTests.test_get_test_set): (MiscTests.test_parse_warning): (MiscTests.test_pixel_tests_flag.match): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159998 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-