1. 22 Jan, 2014 40 commits
    • beidson@apple.com's avatar
      Source/WebCore: The IDB backing store get() method shouldn't call IDB callbacks directly · 4c4044de
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127453
      
      Reviewed by Beth Dakin.
      
      * Modules/indexeddb/IDBServerConnection.h:
      (WebCore::IDBGetResult::IDBGetResult): Add a new structure to hold all of the
        possible results of a get() call.
      
      * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.cpp:
      (WebCore::IDBServerConnectionLevelDB::get): Don't call IDBCallbacks directly.
        Instead, return the GetResult to the GetOperation which will make IDBCallbacks.
      * Modules/indexeddb/leveldb/IDBServerConnectionLevelDB.h:
      
      * Modules/indexeddb/IDBTransactionBackendOperations.cpp:
      (WebCore::GetOperation::perform): Get all of the IDBGetResults in the completion callback
        make the appropriate IDBCallback.
      * Modules/indexeddb/IDBTransactionBackendOperations.h:
      
      Source/WebKit2: The IDB backing store get() method shouldn't call IDB callbacks directly
      https://bugs.webkit.org/show_bug.cgi?id=127453
      
      Reviewed by Beth Dakin.
      
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
      (WebKit::WebIDBServerConnection::get):
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c4044de
    • commit-queue@webkit.org's avatar
      Enable Session API. · 2b394b0b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127255
      
      Patch by Martin Hock <mhock@apple.com> on 2014-01-22
      Reviewed by Alexey Proskuryakov.
      
      * NetworkProcess/NetworkConnectionToWebProcess.cpp:
      (WebKit::storageSession):
      * NetworkProcess/NetworkResourceLoader.cpp:
      (WebKit::NetworkResourceLoader::NetworkResourceLoader):
      (WebKit::NetworkResourceLoader::start):
      * NetworkProcess/NetworkResourceLoader.h:
      * NetworkProcess/RemoteNetworkingContext.h:
      * NetworkProcess/mac/RemoteNetworkingContext.mm:
      (WebKit::RemoteNetworkingContext::storageSession):
      (WebKit::RemoteNetworkingContext::ensurePrivateBrowsingSession):
      * Shared/Network/NetworkResourceLoadParameters.cpp:
      (WebKit::NetworkResourceLoadParameters::NetworkResourceLoadParameters):
      (WebKit::NetworkResourceLoadParameters::encode):
      (WebKit::NetworkResourceLoadParameters::decode):
      * Shared/Network/NetworkResourceLoadParameters.h:
      * Shared/SessionTracker.cpp:
      (WebKit::staticSessionMap):
      (WebKit::SessionTracker::sessionMap):
      (WebKit::SessionTracker::session):
      (WebKit::SessionTracker::setSession):
      (WebKit::SessionTracker::destroySession):
      * Shared/SessionTracker.h:
      * UIProcess/API/C/WKPage.cpp:
      (WKPageSetSession):
      * UIProcess/API/C/WKPage.h:
      * UIProcess/API/C/WKSessionRef.cpp:
      (WKSessionCreate):
      * UIProcess/API/C/WKSessionRef.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::WebPageProxy):
      (WebKit::WebPageProxy::setSession):
      * UIProcess/WebPageProxy.h:
      * WebProcess/Network/WebResourceLoadScheduler.cpp:
      (WebKit::WebResourceLoadScheduler::scheduleLoad):
      * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
      (WebKit::WebPlatformStrategies::loadResourceSynchronously):
      * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
      (WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
      (WebKit::WebFrameNetworkingContext::setCookieAcceptPolicyForAllContexts):
      (WebKit::WebFrameNetworkingContext::storageSession):
      * WebProcess/WebCoreSupport/soup/WebFrameNetworkingContext.cpp:
      (WebKit::WebFrameNetworkingContext::ensurePrivateBrowsingSession):
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::startDownload):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
      (WebKit::WebPage::sessionID):
      (WebKit::WebPage::updatePreferences):
      * WebProcess/WebPage/WebPage.h:
      (WebKit::WebPage::setSessionID):
      * WebProcess/WebPage/WebPage.messages.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b394b0b
    • dino@apple.com's avatar
      Unreviewed attempt to fix 32-bit builds. · 52df9256
      dino@apple.com authored
      Use long long rather than GC3Dintptr.
      
      * html/canvas/ANGLEInstancedArrays.cpp:
      (WebCore::ANGLEInstancedArrays::drawElementsInstancedANGLE):
      * html/canvas/ANGLEInstancedArrays.h:
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::drawElementsInstanced):
      * html/canvas/WebGLRenderingContext.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52df9256
    • beidson@apple.com's avatar
      IDB: "Put" support · 0f1c94b6
      beidson@apple.com authored
      <rdar://problem/15779643> and https://bugs.webkit.org/show_bug.cgi?id=127401
      
      Reviewed by Alexey Proskuryakov.
      
      Source/WebCore:
      
      Add persistent encode/decode for storage to the database:
      * Modules/indexeddb/IDBKey.cpp:
      (WebCore::IDBKey::encode):
      (WebCore::IDBKey::decode):
      * Modules/indexeddb/IDBKey.h:
      
      Add a data class to represent IDBKey suitable for crossing IPC:
      * Modules/indexeddb/IDBKeyData.cpp: Added.
      (WebCore::IDBKeyData::IDBKeyData):
      (WebCore::IDBKeyData::maybeCreateIDBKey):
      (WebCore::IDBKeyData::isolatedCopy):
      * Modules/indexeddb/IDBKeyData.h: Added.
      (WebCore::IDBKeyData::IDBKeyData):
      
      * platform/CrossThreadCopier.cpp:
      (WebCore::IDBKeyData>::copy):
      * platform/CrossThreadCopier.h:
      
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj:
      
      Source/WebKit2:
      
      Ship putRecord requests over to the DatabaseProcess, and listen for completion from the DatabaseProcess:
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.cpp:
      (WebKit::WebIDBServerConnection::put):
      (WebKit::WebIDBServerConnection::didPutRecord):
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.h:
      * WebProcess/Databases/IndexedDB/WebIDBServerConnection.messages.in:
      
      Pass off the putRecord request to the Unique IDBDatabase:
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.cpp:
      (WebKit::DatabaseProcessIDBConnection::putRecord):
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.h:
      * DatabaseProcess/IndexedDB/DatabaseProcessIDBConnection.messages.in:
      
      Pass off the putRecord request to the backing store:
      * DatabaseProcess/IndexedDB/UniqueIDBDatabase.cpp:
      (WebKit::UniqueIDBDatabase::putRecord):
      (WebKit::UniqueIDBDatabase::putRecordInBackingStore):
      (WebKit::UniqueIDBDatabase::didPutRecordInBackingStore):
      * DatabaseProcess/IndexedDB/UniqueIDBDatabase.h:
      
      Add backing store methods related to putRecord, though only one is critical right now:
      * DatabaseProcess/IndexedDB/UniqueIDBDatabaseBackingStore.h:
      * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.cpp:
      (WebKit::UniqueIDBDatabaseBackingStoreSQLite::createAndPopulateInitialMetadata):
      (WebKit::UniqueIDBDatabaseBackingStoreSQLite::generateKey):
      (WebKit::UniqueIDBDatabaseBackingStoreSQLite::keyExistsInObjectStore):
      (WebKit::UniqueIDBDatabaseBackingStoreSQLite::putRecord):
      (WebKit::UniqueIDBDatabaseBackingStoreSQLite::updateKeyGenerator):
      * DatabaseProcess/IndexedDB/sqlite/UniqueIDBDatabaseBackingStoreSQLite.h:
      
      Add the IDBKeyData type to IPC:
      * Scripts/webkit2/messages.py:
      (struct_or_class):
      
      * Shared/WebCoreArgumentCoders.cpp:
      (IPC::ArgumentCoder<IDBKeyData>::encode):
      (IPC::ArgumentCoder<IDBKeyData>::decode):
      * Shared/WebCoreArgumentCoders.h:
      
      * DatabaseProcess/IndexedDB/IDBSerialization.cpp:
      (WebKit::serializeIDBKey):
      * DatabaseProcess/IndexedDB/IDBSerialization.h:
      
      Implement more cross-thread copying:
      * Shared/WebCrossThreadCopier.cpp:
      (WebCore::Vector<uint8_t>>::copy):
      (WebCore::Vector<Vector<IDBKeyData>>>::copy):
      (WebCore::ASCIILiteral>::copy):
      * Shared/WebCrossThreadCopier.h:
      
      Implement more numbers of generic AsyncTask templates:
      * Shared/AsyncTask.h:
      (WebKit::createAsyncTask):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f1c94b6
    • dino@apple.com's avatar
      Source/WebCore: [WebGL] Implement ANGLE_instanced_arrays · 81d4ed94
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127257
      
      Reviewed by Brent Fulgham.
      
      Implement the instanced drawing WebGL extension,
      ANGLE_instanced_arrays. This is currently Mac-only,
      but should be portable to other platforms if their
      OpenGL exposes the functions. It's also done in a way
      that will make exposing it to WebGL2 simple.
      
      Test: fast/canvas/webgl/angle-instanced-arrays.html
      
      * CMakeLists.txt:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.list.am:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      Add the new files to all the build systems.
      
      * bindings/js/JSWebGLRenderingContextCustom.cpp:
      (WebCore::toJS): Link JS side to C++ side.
      
      * html/canvas/ANGLEInstancedArrays.cpp: Added.
      (WebCore::ANGLEInstancedArrays::ANGLEInstancedArrays):
      * html/canvas/ANGLEInstancedArrays.h: Added.
      * html/canvas/ANGLEInstancedArrays.idl: Added.
      New boilerplate files that expose the extension methods.
      
      * html/canvas/WebGLExtension.h: New extension enum.
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::validateVertexAttributes): Add an optional
      parameter representing the number of instance primitives we are asked
      to draw. Use that for the draw count if looking at an instanced attribute.
      Also make sure we see at least one non-instanced attribute.
      (WebCore::WebGLRenderingContext::validateDrawArrays): Update this so it could
      be used from either drawArrays or drawArraysInstanced.
      (WebCore::WebGLRenderingContext::drawArrays):
      (WebCore::WebGLRenderingContext::validateDrawElements): Same here, now can be
      used by the instanced and non-instanced versions.
      (WebCore::WebGLRenderingContext::drawElements):
      (WebCore::WebGLRenderingContext::getExtension): Create and return the new extension.
      (WebCore::WebGLRenderingContext::getSupportedExtensions): Add new extension to the list.
      (WebCore::WebGLRenderingContext::getVertexAttrib): Intercept a query to the divisor
      attribute and return the value we kept in the state.
      (WebCore::WebGLRenderingContext::drawArraysInstanced): Call the GC3D method.
      (WebCore::WebGLRenderingContext::drawElementsInstanced): Ditto.
      (WebCore::WebGLRenderingContext::vertexAttribDivisor): Ditto.
      
      * html/canvas/WebGLRenderingContext.h: Define the new methods and parameters.
      
      * html/canvas/WebGLVertexArrayObjectOES.cpp:
      (WebCore::WebGLVertexArrayObjectOES::setVertexAttribDivisor): Keep a record of the
      divisor if we set it.
      * html/canvas/WebGLVertexArrayObjectOES.h:
      (WebCore::WebGLVertexArrayObjectOES::VertexAttribState::VertexAttribState):
      
      * platform/graphics/GraphicsContext3D.h: New enum.
      * platform/graphics/mac/GraphicsContext3DMac.mm:
      (WebCore::GraphicsContext3D::drawArraysInstanced): The actual calls into OpenGL.
      (WebCore::GraphicsContext3D::drawElementsInstanced): Ditto.
      (WebCore::GraphicsContext3D::vertexAttribDivisor): Ditto.
      
      * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: Empty implementations
      for non-mac platforms.
      
      * platform/graphics/ios/GraphicsContext3DIOS.h: Define the iOS names for the
      functions.
      
      LayoutTests: Implement ANGLE_instanced_arrays
      https://bugs.webkit.org/show_bug.cgi?id=127257
      
      Reviewed by Brent Fulgham.
      
      Copied a slightly modified version of the Khronos instanced
      arrays test (mostly modified due to the fact this comes from
      an in-progress update to the test suite).
      
      * fast/canvas/webgl/angle-instanced-arrays-expected.txt: Added.
      * fast/canvas/webgl/angle-instanced-arrays.html: Added.
      * fast/canvas/webgl/resources/webgl-test-utils.js:
      (WebGLTestUtils): Added some new functions that were missing, and
      some output to a checkColor test.
      * platform/efl/TestExpectations: Skip this for EFL.
      * platform/mac-mountainlion/fast/canvas/webgl/angle-instanced-arrays-expected.txt: Not
      supported on Mountain Lion.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81d4ed94
    • timothy@apple.com's avatar
      Improve collapsing of TimelineDataGridNode graphs up to ancestors. · aaddc8bd
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127440
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/TimelineDataGridNode.js:
      (WebInspector.TimelineDataGridNode.prototype.collapse):
      (WebInspector.TimelineDataGridNode.prototype.createCellContent):
      (WebInspector.TimelineDataGridNode.prototype.refresh):
      (WebInspector.TimelineDataGridNode.prototype.needsGraphRefresh):
      Notify the next visible ancestor it needs to refresh. Use needsGraphRefresh so ancestors
      are notified instead of directly calling refreshGraph in some places.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aaddc8bd
    • zalan@apple.com's avatar
      Unreviewed Apple Windows port gardering after r162553. · 72cce00c
      zalan@apple.com authored
      * platform/win/fast/repaint/reflection-redraw-expected.txt: Added.
      * platform/win/fast/table/dynamic-caption-add-remove-before-child-expected.txt: Added.
      * platform/win/fast/table/multiple-captions-display-expected.txt: Added.
      * platform/win/tables/mozilla/marvin/body_col-a-expected.txt: Added.
      * platform/win/tables/mozilla/marvin/x_th_valign_baseline-expected.txt: Added.
      * platform/win/tables/mozilla/other/body_col-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72cce00c
    • andersca@apple.com's avatar
      WKProcessClass should create a WebContext · 26c7ef46
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127449
      <rdar://problem/15885582>
      
      Reviewed by Dan Bernstein.
      
      * Shared/Cocoa/APIObject.mm:
      (API::Object::newObject):
      * UIProcess/API/Cocoa/WKBrowsingContextController.h:
      * UIProcess/API/Cocoa/WKBrowsingContextController.mm:
      * UIProcess/API/Cocoa/WKProcessClass.mm:
      (-[WKProcessClass initWithConfiguration:]):
      (-[WKProcessClass dealloc]):
      (-[WKProcessClass API::]):
      * UIProcess/API/Cocoa/WKProcessClassInternal.h: Renamed from Source/WebKit2/UIProcess/API/Cocoa/WKProcessGroupInternal.h.
      (WebKit::wrapper):
      * UIProcess/API/Cocoa/WKProcessGroup.mm:
      (-[WKProcessGroup initWithInjectedBundleURL:]):
      * UIProcess/API/ios/WKContentView.mm:
      (-[WKContentView _decidePolicyForGeolocationRequestFromOrigin:frame:request:]):
      * WebKit2.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26c7ef46
    • timothy@apple.com's avatar
      Don't include a hidden Timeline selection in the navigation path components. · 0a4afe21
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127443
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/GeneralTreeElementPathComponent.js:
      (WebInspector.GeneralTreeElementPathComponent.prototype.get previousSibling):
      (WebInspector.GeneralTreeElementPathComponent.prototype.get nextSibling):
      Skip hidden siblings.
      
      * UserInterface/OverviewTimelineView.js:
      (WebInspector.OverviewTimelineView.prototype.updateLayout):
      (WebInspector.OverviewTimelineView.prototype.get selectionPathComponents):
      Don't include hidden selection and dispatch SelectionPathComponentsDidChange event if hidden changes.
      
      * UserInterface/TimelineContentView.js:
      (WebInspector.TimelineContentView.prototype._timeRangeSelectionChanged):
      Dispatch SelectionPathComponentsDidChange event if hidden changes on the selected tree element.
      
      * UserInterface/TimelineView.js:
      (WebInspector.TimelineView.prototype.get selectionPathComponents):
      Don't include hidden selection.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a4afe21
    • timothy@apple.com's avatar
      Support collapsing call site records into the resource timeline. · a8da91f0
      timothy@apple.com authored
      Also fix some filtering and graph issues.
      
      https://bugs.webkit.org/show_bug.cgi?id=127440
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/NavigationSidebarPanel.js:
      (WebInspector.NavigationSidebarPanel.prototype.updateFilter):
      (WebInspector.NavigationSidebarPanel.prototype.applyFiltersToTreeElement.matchTextFilter):
      (WebInspector.NavigationSidebarPanel.prototype.applyFiltersToTreeElement.makeVisible):
      (WebInspector.NavigationSidebarPanel.prototype.applyFiltersToTreeElement):
      (WebInspector.NavigationSidebarPanel.prototype._updateFilter):
      Tweak how filtering happens so custom filters never expand to reveal and auto expanded
      tree elements will auto-collapse again later even with custom filters.
      
      * UserInterface/OverviewTimelineView.css:
      (.timeline-view.overview > .data-grid tr.parent:not(.expanded) td.graph-column .timeline-record-bar:not(.timeline-record-type-network) > .segment):
      (.timeline-view.overview > .data-grid tr.parent:not(.expanded).selected td.graph-column .timeline-record-bar:not(.timeline-record-type-network) > .segment):
      (.timeline-view.overview > .data-grid:focus tr.parent:not(.expanded).selected td.graph-column .timeline-record-bar:not(.timeline-record-type-network) > .segment):
      Add a shadow to provide some negative space between juxtaposed records. Only needed when not expanded and not netwrok records.
      
      * UserInterface/OverviewTimelineView.js:
      (WebInspector.OverviewTimelineView.prototype.updateLayout):
      (WebInspector.OverviewTimelineView.prototype._addResourceToTreeIfNeeded):
      Update the filter when current time changes and only auto expand the main resource.
      
      * UserInterface/ResourceTimelineDataGridNode.js:
      (WebInspector.ResourceTimelineDataGridNode):
      (WebInspector.ResourceTimelineDataGridNode.prototype._timelineRecordUpdated):
      Don't schedule a refresh of the graph if the record isn't visible.
      
      * UserInterface/SourceCodeTimelineTimelineDataGridNode.js:
      (WebInspector.SourceCodeTimelineTimelineDataGridNode):
      (WebInspector.SourceCodeTimelineTimelineDataGridNode.prototype._timelineRecordAdded):
      Don't schedule a refresh of the graph if the record isn't visible.
      
      * UserInterface/TimelineContentView.js:
      (WebInspector.TimelineContentView.prototype._timeRangeSelectionChanged):
      Remove the boolean for updateFilter.
      
      * UserInterface/TimelineDataGrid.js:
      (WebInspector.TimelineDataGrid.prototype._refreshDirtyDataGridNodes):
      (WebInspector.TimelineDataGrid.prototype._sort):
      Keep the hidden state in-sync between node and element.
      
      * UserInterface/TimelineDataGridNode.js:
      (WebInspector.TimelineDataGridNode.prototype.collapse):
      (WebInspector.TimelineDataGridNode.prototype.expand):
      (WebInspector.TimelineDataGridNode.prototype.appendChild):
      (WebInspector.TimelineDataGridNode.prototype.insertChild):
      (WebInspector.TimelineDataGridNode.prototype.removeChild):
      (WebInspector.TimelineDataGridNode.prototype.removeChildren):
      (WebInspector.TimelineDataGridNode.prototype.removeChildrenRecursive):
      (WebInspector.TimelineDataGridNode.prototype.refreshGraph.createBarsForRecords):
      (WebInspector.TimelineDataGridNode.prototype.refreshGraph.else.collectRecordsByType.get if):
      (WebInspector.TimelineDataGridNode.prototype.needsGraphRefresh):
      (WebInspector.TimelineDataGridNode.prototype.isRecordVisible):
      Support drawing the children records on the parent graph.
      
      * UserInterface/TimelineRecordBar.css:
      (.timeline-record-bar.unfinished > .segment):
      (:focus .selected .timeline-record-bar > .segment):
      (:focus .selected .timeline-record-bar > .segment.inactive):
      (:focus .selected .timeline-record-bar.has-inactive-segment > .segment:not(.inactive)):
      Tweaked styles to look bettwen when selected.
      
      * UserInterface/TimelineRecordBar.js:
      (WebInspector.TimelineRecordBar.recordsCannotBeCombined):
      (WebInspector.TimelineRecordBar.prototype.set records):
      (WebInspector.TimelineRecordBar.prototype.refresh):
      Drive-by fixes for some bug with bars being reused.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8da91f0
    • zalan@apple.com's avatar
      [CSS Shapes] shape-inside rectangle layout can fail · 588b6e43
      zalan@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124784
      
      Reviewed by Darin Adler.
      
      Early subpixel rounding/flooring/ceiling can have unwanted
      side effect on the final pixel value. Delay pixel
      conversions as much as possible.
      
      Existing test is changed to reflect subpixel functionality.
      
      Source/WebCore:
      
      * rendering/shapes/RectangleShape.cpp:
      (WebCore::RectangleShape::firstIncludedIntervalLogicalTop):
      
      LayoutTests:
      
      * fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top-expected.html:
      * platform/mac/TestExpectations:
      * platform/win/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      588b6e43
    • timothy_horton@apple.com's avatar
      Crashes in DrawingAreaProxy::setExposedRect (null DrawingAreaProxy) · 7e1519a7
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127445
      
      Reviewed by Anders Carlsson.
      
      * UIProcess/API/ios/WKContentView.mm:
      (-[WKContentView _updateViewExposedRect]):
      * UIProcess/API/mac/WKView.mm:
      (-[WKView _updateViewExposedRect]):
      Null-check.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e1519a7
    • jochen@chromium.org's avatar
      Add protocolIsInHTTPFamily for strings and use it where appropriate · 7e94f53b
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127336
      
      Reviewed by Alexey Proskuryakov.
      
      * html/HTMLAnchorElement.cpp:
      (WebCore::HTMLAnchorElement::parseAttribute):
      * page/ContentSecurityPolicy.cpp:
      (WebCore::CSPSource::schemeMatches):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::generateReferrerHeader):
      * platform/URL.cpp:
      (WebCore::protocolIsInHTTPFamily):
      * platform/URL.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e94f53b
    • andersca@apple.com's avatar
      Add WKWebView class · 747fe3bf
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127444
      <rdar://problem/15884418>
      
      Reviewed by Dan Bernstein.
      
      * UIProcess/API/Cocoa/WKWebView.h: Added.
      * UIProcess/API/Cocoa/WKWebView.mm: Added.
      (-[WKWebView initWithFrame:configuration:]):
      (-[WKWebView configuration]):
      * WebKit2.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      747fe3bf
    • zalan@apple.com's avatar
      Subpixel Layout: SimpleLineLayout needs more position rounding to match InlineFlowBox layout. · cb83ac5c
      zalan@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127404
      
      Reviewed by Antti Koivisto.
      
      In order to produce a CSS pixel perfect layout, SimpleLineLayout needs to
      round line positions to CSS (integral) position similarly to InlineFlowBox.
      
      Source/WebCore:
      
      Existing tests cover it.
      
      * rendering/SimpleLineLayoutResolver.h:
      (WebCore::SimpleLineLayout::RunResolver::Run::rect):
      (WebCore::SimpleLineLayout::RunResolver::Run::baseline):
      
      LayoutTests:
      
      * platform/mac/css1/box_properties/padding-expected.txt:
      * platform/mac/css1/box_properties/padding_top-expected.txt:
      * platform/mac/css1/formatting_model/vertical_formatting-expected.txt:
      * platform/mac/css2.1/t080301-c411-vt-mrgn-00-b-expected.txt:
      * platform/mac/css2.1/t0804-c5510-padn-00-b-ag-expected.txt:
      * platform/mac/css2.1/t0905-c414-flt-wrap-00-e-expected.txt:
      * platform/mac/fast/css/empty-pseudo-class-expected.txt:
      * platform/mac/fast/css/fieldset-display-row-expected.txt:
      * platform/mac/fast/css/first-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/last-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/only-child-pseudo-class-expected.txt:
      * platform/mac/fast/repaint/reflection-redraw-expected.txt:
      * platform/mac/fast/shapes/shape-inside/shape-inside-subpixel-rectangle-top-expected.png: Removed.
      * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.txt:
      * platform/mac/fast/table/multiple-captions-display-expected.txt:
      * platform/mac/tables/mozilla/marvin/body_col-expected.txt:
      * platform/mac/tables/mozilla/marvin/x_th_valign_baseline-expected.txt:
      * platform/mac/tables/mozilla/other/body_col-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug10140-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/bugs/bug10216-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/core/captions3-expected.txt:
      * platform/mac/tables/mozilla_expected_failures/other/test4-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb83ac5c
    • joepeck@webkit.org's avatar
      Unreviewed rollout of r162534, this caused inspector test failures. · ff08b7ad
      joepeck@webkit.org authored
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
      (WebCore::PageScriptDebugServer::didRemoveLastListener):
      * bindings/js/PageScriptDebugServer.h:
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::ScriptDebugServer):
      (WebCore::ScriptDebugServer::recompileAllJSFunctionsSoon):
      (WebCore::ScriptDebugServer::recompileAllJSFunctionsTimerFired):
      * bindings/js/ScriptDebugServer.h:
      * bindings/js/WorkerScriptDebugServer.cpp:
      (WebCore::WorkerScriptDebugServer::addListener):
      (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
      (WebCore::WorkerScriptDebugServer::removeListener):
      * inspector/InspectorProfilerAgent.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ff08b7ad
    • andersca@apple.com's avatar
      Fix 32-bit build. · 11c799d2
      andersca@apple.com authored
      * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11c799d2
    • timothy_horton@apple.com's avatar
      [wk2] Scroll pinning state is wrong until the first scroll event · b8eee002
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127437
      
      Reviewed by Simon Fraser.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::didChangeScrollOffset):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::updateMainFrameScrollOffsetPinning):
      (WebKit::WebPage::didCommitLoad):
      * WebProcess/WebPage/WebPage.h:
      Rename WebPage::didChangeScrollOffsetForMainFrame to
      updateMainFrameScrollOffsetPinning, which better describes what it
      actually does. Call it when a load is committed, so that we have valid
      pinning state before the first scroll event comes in.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8eee002
    • andersca@apple.com's avatar
      Add WKWebViewConfiguration class · 332743e3
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127436
      <rdar://problem/15882923>
      
      Reviewed by Tim Horton.
      
      * UIProcess/API/Cocoa/WKWebViewConfiguration.h: Added.
      * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: Added.
      (-[WKWebViewConfiguration copyWithZone:]):
      * WebKit2.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      332743e3
    • alice.liu@apple.com's avatar
      [WK2] add cocoa API for private browsing setting · a3ea4823
      alice.liu@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127391
      
      Reviewed by Sam Weinig.
      
      * UIProcess/API/Cocoa/WKBrowsingContextGroup.h:
      * UIProcess/API/Cocoa/WKBrowsingContextGroup.mm:
      (-[WKBrowsingContextGroup privateBrowsingEnabled]):
      (-[WKBrowsingContextGroup setPrivateBrowsingEnabled:]):
      Adding some API for the private Browsing setting. Reaches through
      to the WKPageGroup's preferences.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3ea4823
    • mrobinson@webkit.org's avatar
      [GTK][CMake] build-webkit should try harder to avoid re-running cmake · 06f46f9a
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127073
      
      Reviewed by Daniel Bates.
      
      * Scripts/build-webkit: Unify all the ports that call buildCMakeProjectOrExit with
      the new isCMakeBuild conditional. This allows us to share more code between ports.
      Pass the build arguments to the removeCMakeCache function.
      * Scripts/webkitdirs.pm:
      (runAutogenForAutotoolsProjectIfNecessary): Renamed mustReRunAutogen to cachedArgumentFileOutOfDate
      because it's now shared with the CMake build.
      (cachedArgumentFileOutOfDate): Renamed.
      (cmakeCachePath): Added this helper which gets the CMakeCache.txt path.
      (shouldRemoveCMakeCache): Tries to preserve current behavior for all ports,
      except GTK+ which examines the OptionsGTK.cmake and OptionsCommon.cmake file
      as well as checking if build-webkit has been run with different arguments.
      (removeCMakeCache): Call shouldRemoveCMakeCache now.
      (generateBuildSystemFromCMakeProject): Exit early if CMakeCache.txt exists for GTK+.
      (isCMakeBuild): Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06f46f9a
    • commit-queue@webkit.org's avatar
      Crashes in setTextForIterator · fb21bf27
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127424
      
      Patch by peavo@outlook.com <peavo@outlook.com> on 2014-01-22
      Reviewed by Brent Fulgham.
      
      * platform/text/icu/UTextProviderLatin1.cpp:
      (WebCore::uTextLatin1Clone): Provide correct buffer size in utext_setup function call.
      (WebCore::uTextLatin1Access): Give correct buffer size to memset call.
      (WebCore::openLatin1UTextProvider): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb21bf27
    • ap@apple.com's avatar
      REGRESSION: fast/js/dfg-* typed array tests frequently time out on debug bots · 6e2fdd9e
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126166
      
      Rubber-stamped by Filip Pizlo.
      
      * TestExpectations: Skipped these tests in debug builds.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e2fdd9e
    • andersca@apple.com's avatar
      Add WKProcessClass class · cd066fc7
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127433
      <rdar://problem/15882582>
      
      Reviewed by Dan Bernstein.
      
      Add a stubbed out WKProcessClass class.
      
      * Shared/API/Cocoa/WKFoundation.h:
      * UIProcess/API/Cocoa/WKProcessClass.h: Added.
      * UIProcess/API/Cocoa/WKProcessClass.mm: Added.
      (-[WKProcessClass initWithConfiguration:]):
      (-[WKProcessClass configuration]):
      * UIProcess/API/Cocoa/WKProcessClassConfiguration.mm:
      * WebKit2.xcodeproj/project.pbxproj:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd066fc7
    • jer.noble@apple.com's avatar
      [Mac] MediaPlayerPrivateMediaSourceAVFObjC::load ASSERTs on lots of tests · 86e07139
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127430
      
      Reviewed by Eric Carlson.
      
      When other registered media engines cannot load a URL, the engine selection
      will eventually pick MediaPlayerPrivateMediaSourceAVFObjC and ask it to load
      the URL. Instead of ASSERTing here, simply reject the URL by setting the
      network state to FormatError.
      
      * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
      (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::load):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86e07139
    • thiago.lacerda@openbossa.org's avatar
      [EFL][GTK] Get EFL and GTK compiling with ACCESSIBILITY disabled · 8e6984a4
      thiago.lacerda@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127119
      
      Reviewed by Mario Sanchez Prada.
      
      Source/WebCore:
      
      At build time, the compiler was not able to determine which Timer's constructor to call in AXObjectCache when
      ACCESSIBILITY is not enabled, fixing that.
      Also guarding some members in AccessibilityObject that are only being used by EFL and GTK with ACCESSIBILITY.
      
      * accessibility/AXObjectCache.h:
      (WebCore::AXObjectCache::AXObjectCache):
      * accessibility/AccessibilityObject.h:
      
      Source/WebKit/gtk:
      
      Guarding ACCESSIBILITY code with HAVE(ACCESSIBILITY).
      
      * webkit/webkitwebview.cpp:
      (webkit_web_view_class_init):
      
      Source/WebKit2:
      
      Guarding ACCESSIBILITY code with HAVE(ACCESSIBILITY).
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebPage/gtk/WebPageGtk.cpp:
      (WebKit::WebPage::platformInitialize):
      
      Tools:
      
      Guarding ACCESSIBILITY code in DumpRenderTree and WebKitTestRunner with HAVE(ACCESSIBILITY).
      
      * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
      * DumpRenderTree/gtk/AccessibilityControllerGtk.cpp:
      * DumpRenderTree/gtk/DumpRenderTree.cpp:
      (resetDefaultsToConsistentValues):
      (webViewWindowObjectCleared):
      (main):
      * WebKitTestRunner/InjectedBundle/AccessibilityController.cpp:
      (WTR::AccessibilityController::platformName):
      * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp:
      (WTR::AccessibilityUIElement::isIndeterminate):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8e6984a4
    • commit-queue@webkit.org's avatar
      Refactor calculation of hasRx and hasRy values in SVGPathData · 3bc79669
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127423
      
      Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-22
      Reviewed by Darin Adler.
      
      This is a follow-up on https://bugs.webkit.org/show_bug.cgi?id=127337
      
      * rendering/svg/SVGPathData.cpp:
      (WebCore::updatePathFromRectElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bc79669
    • mrobinson@webkit.org's avatar
      [GTK][CMake] Add support for building the NetworkProcess · 60736dcd
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127195
      
      Reviewed by Daniel Bates.
      
      .:
      
      * Source/cmake/OptionsGTK.cmake: Turn on the network process and give it
      a name like the WebProcess.
      
      Source/WebKit2:
      
      * CMakeLists.txt: Add shared network process build instructions.
      * PlatformEfl.cmake: Move build instructions to the platform-independent file.
      * PlatformGTK.cmake: Add some files to the source lists.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60736dcd
    • mrobinson@webkit.org's avatar
      [GTK] Avoid a circular dependency when building webkitenumtypes.h · 77b995e8
      mrobinson@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127199
      
      Reviewed by Daniel Bates.
      
      * PlatformGTK.cmake: Create a new list of headers consisting of all installed headers
      except webkitenumtypes.h. Use this list when generating webkitenumtypes.h.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77b995e8
    • joepeck@webkit.org's avatar
      Web Inspector: Remove recompileAllJSFunctions timer in ScriptDebugServer · 2b1f295b
      joepeck@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127409
      
      Reviewed by Timothy Hatcher.
      
      * bindings/js/ScriptDebugServer.h:
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::ScriptDebugServer):
      Remove m_recompileTimer and the recompile soon function.
      We can just recompile immediately in all existing cases.
      
      * bindings/js/PageScriptDebugServer.h:
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
      (WebCore::PageScriptDebugServer::didAddFirstListener):
      (WebCore::PageScriptDebugServer::didRemoveLastListener):
      Add a "didAddFirstListener" to match "didRemoveLastListener".
      Only recompile functions when we attach the debugger and when
      we detach the last listener.
      
      * bindings/js/WorkerScriptDebugServer.cpp:
      (WebCore::WorkerScriptDebugServer::addListener):
      (WebCore::WorkerScriptDebugServer::removeListener):
      (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
      Same thing. Also rearrange the functions to read better.
      
      * inspector/InspectorProfilerAgent.cpp:
      Use the direct recompile function instead of the removed "soon" version.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b1f295b
    • carlosgc@webkit.org's avatar
      REGRESSION(r162441): [GTK] ResourceLoader is broken when there aren't user extensions · 8ea340ad
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127422
      
      Reviewed by Anders Carlsson.
      
      * WebProcess/gtk/WebGtkExtensionManager.cpp:
      (WebKit::WebGtkExtensionManager::initialize): Always create the
      WebKitWebExtension object since it's used internally to implement
      the ResourceLoader client.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ea340ad
    • m.pakula@samsung.com's avatar
      Unreviewed EFL gardening · 2a003201
      m.pakula@samsung.com authored
      Add some http/tests/websocket/tests/hybi tests to skipped list as they crash
      generating thousands lines of error messages.
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a003201
    • jer.noble@apple.com's avatar
      [Mac][WK2] Unable to play video protected by session cookies · b3711302
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127207
      
      Reviewed by Sam Weinig.
      
      Recent changes in our underlying media frameworks caused our shimmed methods
      in CookieStorageShim to stop being called. Insert an objective-c shim in addition
      to our original shim to intercept pulling cookies out of cookie storage.
      
      * Shared/mac/CookieStorageShim.mm: Renamed from Source/WebKit2/Shared/mac/CookieStorageShim.cpp.
      (WebKit::CookieStorageShim::initialize): Insert the shim.
      (-[WKNSURLSessionLocal _copyCookiesForRequestUsingAllAppropriateStorageSemantics:]):
          Pass through to webKitCookieStorageCopyRequestHeaderFieldsForURL().
      * WebKit2.xcodeproj/project.pbxproj: Rename CookieStorageShim.cpp -> .mm.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b3711302
    • commit-queue@webkit.org's avatar
      [curl] Improve detecting and handling of SSL client certificate · ba295c15
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125006
      
      Patch by Robert Sipka <sipka@inf.u-szeged.hu> on 2014-01-22
      Reviewed by Brent Fulgham.
      
      Add client certificate handling.
      
      * platform/network/ResourceHandle.h:
      * platform/network/curl/ResourceError.h:
      (WebCore::ResourceError::hasSSLConnectError):
      * platform/network/curl/ResourceHandleCurl.cpp:
      (WebCore::ResourceHandle::setClientCertificateInfo):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/curl/SSLHandle.cpp:
      (WebCore::addAllowedClientCertificate):
      (WebCore::setSSLClientCertificate):
      * platform/network/curl/SSLHandle.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba295c15
    • jae.park@company100.net's avatar
      Remove unnecessary include in Noncopyable.h · 97845d09
      jae.park@company100.net authored
      https://bugs.webkit.org/show_bug.cgi?id=127406
      
      Reviewed by Anders Carlsson.
      
      * wtf/Noncopyable.h: We don't need Compiler.h as of r162198.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97845d09
    • timothy@apple.com's avatar
      Remember the Timeline Overview zoom and selection between sessions. · c59d95cb
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127369
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/TimelineOverview.js:
      (WebInspector.TimelineOverview):
      (WebInspector.TimelineOverview.prototype.set secondsPerPixel):
      (WebInspector.TimelineOverview.prototype._timeRangeSelectionChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c59d95cb
    • timothy@apple.com's avatar
      Show the Resource and Record selection path in the navigation bar for Timeline views. · aab271fe
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=127367
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/LayoutTimelineView.js:
      (WebInspector.LayoutTimelineView.prototype.treeElementPathComponentSelected):
      (WebInspector.LayoutTimelineView.prototype._dataGridNodeSelected):
      * UserInterface/NetworkTimelineView.js:
      (WebInspector.NetworkTimelineView.prototype.treeElementPathComponentSelected):
      (WebInspector.NetworkTimelineView.prototype._dataGridNodeSelected):
      * UserInterface/OverviewTimelineView.js:
      (WebInspector.OverviewTimelineView.prototype.get selectionPathComponents):
      (WebInspector.OverviewTimelineView.prototype.treeElementPathComponentSelected):
      (WebInspector.OverviewTimelineView.prototype._dataGridNodeSelected):
      * UserInterface/ScriptTimelineView.js:
      (WebInspector.ScriptTimelineView.prototype.treeElementPathComponentSelected):
      (WebInspector.ScriptTimelineView.prototype._dataGridNodeSelected):
      * UserInterface/TimelineContentView.js:
      (WebInspector.TimelineContentView.prototype._timelineViewSelectionPathComponentsDidChange):
      (WebInspector.TimelineContentView.prototype._showTimelineView):
      * UserInterface/TimelineDataGrid.js:
      (WebInspector.TimelineDataGrid.prototype.treeElementForDataGridNode):
      (WebInspector.TimelineDataGrid.prototype.dataGridNodeForTreeElement):
      * UserInterface/TimelineView.js:
      (WebInspector.TimelineView.prototype.get selectionPathComponents):
      (WebInspector.TimelineView.prototype.treeElementPathComponentSelected):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aab271fe
    • mitz@apple.com's avatar
      Build fix for iOS clients of WebUIDelegatePrivate.h. · 118a9a7a
      mitz@apple.com authored
      * WebView/WebUIDelegatePrivate.h: Ensure that ENABLE_DASHBOARD_SUPPORT is defined on iOS.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      118a9a7a
    • commit-queue@webkit.org's avatar
      [CSS Regions] layerOwner in RenderNamedFlowFragment cannot return null · 78d4631c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=127343
      
      Patch by Mihai Maerean <mmaerean@adobe.com> on 2014-01-22
      Reviewed by Sam Weinig.
      
      RenderNamedFlowFragment::layerOwner cannot return null because regions create stacking
      contexts which create layers.
      
      No new tests, no functional change.
      
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::hasCompositingRegionDescendant):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::calculateClipRects):
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::adjustAncestorCompositingBoundsForFlowThread):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::computeRegionCompositingRequirements):
      * rendering/RenderNamedFlowFragment.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78d4631c
    • commit-queue@webkit.org's avatar
      https://bugs.webkit.org/show_bug.cgi?id=127380 · 155ba0f7
      commit-queue@webkit.org authored
      Add more methods to WKWebProcessPlugInNodeHandle.
      
      Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-22
      Reviewed by Sam Weinig.
      
      Add a static method that creates a WKWebProcessPlugInNodeHandle from a JSValue* and a JSContext*.  Also
      add a method to return the iframe's content frame from a WKWebProcessPlugInNodeHandle.
      
      * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.h:
      * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm:
      (+[WKWebProcessPlugInNodeHandle nodeHandleWithJSValue:inContext:]):
      (-[WKWebProcessPlugInNodeHandle htmlIFrameElementContentFrame]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      155ba0f7