1. 10 Jan, 2014 40 commits
    • commit-queue@webkit.org's avatar
      Web Inspector: Remove unimplemented or static ScriptDebugServer features · 6b3fa793
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126784
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-10
      Reviewed by Timothy Hatcher.
      
      Source/JavaScriptCore:
      
      * inspector/protocol/Debugger.json:
      
      Source/WebCore:
      
      These features are unimplemented in the backend, and unused by the
      current frontend. Most deal with features that were supported by v8
      and are as yet unimplemented by JSC. If we decide to add such features
      we can reimplement without conforming to an old implementation.
      
      * bindings/js/ScriptDebugServer.cpp:
      * bindings/js/ScriptDebugServer.h:
      * bindings/js/ScriptProfiler.h:
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::disable):
      * inspector/InspectorDebuggerAgent.h:
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::reload):
      (WebCore::InspectorPageAgent::frameNavigated):
      * inspector/InspectorPageAgent.h:
      * inspector/InspectorProfilerAgent.cpp:
      * inspector/InspectorProfilerAgent.h:
      * inspector/PageDebuggerAgent.cpp:
      (WebCore::PageDebuggerAgent::didClearMainFrameWindowObject):
      * inspector/protocol/Page.json:
      * inspector/protocol/Profiler.json:
      
      Source/WebInspectorUI:
      
      * UserInterface/InspectorJSBackendCommands.js:
      * UserInterface/InspectorWebBackendCommands.js:
      * UserInterface/Legacy/6.0/InspectorWebBackendCommands.js:
      * UserInterface/Legacy/7.0/InspectorWebBackendCommands.js:
      * Versions/Inspector-iOS-6.0.json:
      * Versions/Inspector-iOS-7.0.json:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161691 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b3fa793
    • ddkilzer@apple.com's avatar
      [iOS] Remove unused variable from TileGrid::dropTilesBetweenRects() · a0bc7da0
      ddkilzer@apple.com authored
      Fixes the following build error:
      
          WebCore/platform/ios/TileGrid.mm:88:23: error: unused variable 'end' [-Werror,-Wunused-variable]
              TileMap::iterator end = m_tiles.end();
                                ^
      
      * platform/ios/TileGrid.mm:
      (WebCore::TileGrid::dropTilesBetweenRects): Remove unused
      variable now that the for loop uses an auto iterator.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161690 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0bc7da0
    • timothy@apple.com's avatar
      Web Inspector: support negative numbers in secondsToString and bytesToString. · 9abd2c35
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125708
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/Utilities.js:
      (Number.secondsToString): Use Math.abs in the size checks.
      (Number.bytesToString): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9abd2c35
    • dino@apple.com's avatar
      Implement OES texture half float linear · f50c88d1
      dino@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125060
      
      Reviewed by Brent Fulgham.
      
      Source/WebCore:
      
      Test: fast/canvas/webgl/oes-texture-half-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 OESTextureHalfFloatLinear.
      
      * bindings/js/JSWebGLRenderingContextCustom.cpp:
      (WebCore::toJS): Map from extension name to native object.
      
      * html/canvas/OESTextureHalfFloatLinear.cpp: Added. New files. These are boiler-plate.
      * html/canvas/OESTextureHalfFloatLinear.h: Added.
      * html/canvas/OESTextureHalfFloatLinear.idl: Added.
      
      * html/canvas/WebGLExtension.h: Add new enum for the new extension.
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::getExtension): Create the extension object if the
      context is asked for one.
      (WebCore::WebGLRenderingContext::getSupportedExtensions): Add the new extension to the
      list of supported extensions. Actually remember to do it this time :)
      (WebCore::WebGLRenderingContext::checkTextureCompleteness): Need to check for the half-float
      extension as well, and update the log message.
      * html/canvas/WebGLRenderingContext.h: New extension object.
      
      * html/canvas/WebGLTexture.cpp:
      (WebCore::WebGLTexture::WebGLTexture):
      (WebCore::WebGLTexture::needToUseBlackTexture): Check for half-float type.
      (WebCore::WebGLTexture::update): Mark a texture as half-float if necessary.
      * html/canvas/WebGLTexture.h:
      
      * platform/graphics/Extensions3D.h: Add a comment about the new extension.
      * platform/graphics/opengl/Extensions3DOpenGL.cpp:
      (WebCore::Extensions3DOpenGL::supportsExtension): This extension is available
      when GL_ARB_texture_float is supported, so add the name to the translation.
      
      LayoutTests:
      
      Exercise the OES_texture_half_float_linear extension. The new test
      is copied from the official Khronos WebGL repository.
      
      * fast/canvas/webgl/oes-texture-float-linear-expected.txt: Change the console log
      messages, which now also mention half float linear.
      * fast/canvas/webgl/oes-texture-half-float-linear-expected.txt: Added.
      * fast/canvas/webgl/oes-texture-half-float-linear.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f50c88d1
    • bburg@apple.com's avatar
      Web Inspector: cycle clicked breakpoints between enabled, auto-continue, and disabled · 2637715e
      bburg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126669
      
      Reviewed by Joseph Pecoraro.
      
      It's time-consuming to change a breakpoint's auto-continue setting through the
      breakpoint editor popup. This patch enables the user to toggle between enabled,
      auto-continue, and disabled by clicking on the breakpoint wedge in the sidebar
      tree and in the source text editor gutter. The auto-continue option is only
      cycled when the breakpoint has associated actions.
      
      Clean up the breakpoint editor dialog so it hides irrelevant options when
      no breakpoint actions have been added.
      
      Automatically unset auto-continue when the last breakpoint action is removed.
      
      Rename the delegate textEditorBreakpointToggled to textEditorBreakpointClicked, since
      the behavior of the click depends on breakpoint state not available in the text editor.
      
      * Localizations/en.lproj/localizedStrings.js:
      * UserInterface/Breakpoint.js:
      (WebInspector.Breakpoint.prototype.cycleToNextMode): Added.
      (WebInspector.Breakpoint.prototype.toggleAutoContinue): Added.
      (WebInspector.Breakpoint.prototype.appendContextMenuItems): Add auto-continue options.
      (WebInspector.Breakpoint.prototype.removeAction):
      
      (WebInspector.Breakpoint.prototype._editBreakpointPopoverContentElement):
      (WebInspector.Breakpoint.prototype._popoverActionsAddActionButtonClicked):
      (WebInspector.Breakpoint.prototype.breakpointActionViewAppendActionView):
      (WebInspector.Breakpoint.prototype.breakpointActionViewRemoveActionView):
      (WebInspector.Breakpoint.prototype.willDismissPopover):
      * UserInterface/BreakpointTreeElement.css:
      (.item.breakpoint .status > .status-image.auto-continue):
      (.item.breakpoint .status > .status-image.disabled):
      * UserInterface/BreakpointTreeElement.js:
      (WebInspector.BreakpointTreeElement):
      (WebInspector.BreakpointTreeElement.prototype.onenter):
      (WebInspector.BreakpointTreeElement.prototype.onspace):
      (WebInspector.BreakpointTreeElement.prototype._updateStatus):
      (WebInspector.BreakpointTreeElement.prototype._breakpointLocationDidChange):
      (WebInspector.BreakpointTreeElement.prototype._statusImageElementClicked):
      * UserInterface/SourceCodeTextEditor.js:
      (WebInspector.SourceCodeTextEditor):
      (WebInspector.SourceCodeTextEditor.prototype.close):
      (WebInspector.SourceCodeTextEditor.prototype._breakpointInfoForBreakpoint):
      (WebInspector.SourceCodeTextEditor.prototype.textEditorBreakpointClicked):
      * UserInterface/TextEditor.css:
      (.text-editor > .CodeMirror .breakpoint-auto-continue:not(.breakpoint-disabled) .CodeMirror-linenumber::before):
      * UserInterface/TextEditor.js:
      (WebInspector.TextEditor.prototype._setBreakpointStylesOnLine.updateStyles):
      (WebInspector.TextEditor.prototype._setBreakpointStylesOnLine):
      (WebInspector.TextEditor.prototype.updateStyles):
      (WebInspector.TextEditor.prototype._removeBreakpointFromLineAndColumn):
      (WebInspector.TextEditor.prototype._documentMouseUp):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161687 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2637715e
    • msaboff@apple.com's avatar
      REGRESSION(C stack work): stack traces no longer work in CrashTracer, lldb, and other tools · f8acd300
      msaboff@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126764
      
      Reviewed by Geoffrey Garen.
      
      Updated callToJavaScript and cllToNativeFunction to properly replicate the caller's
      return PC and frame pointer in the sentinel frame.  For X86-64, added .cfi_
      directives to create eh_frame info for all LLInt symbols so that the various
      unwinding code understands that we are using a separate JS stack referenced
      by BP and at what offsets in that frame the prior PC (register 16) and prior
      BP (register 6) can be found.  These two changes are sufficient for stack tracing
      to work for Mac OSX.
      
      * llint/LowLevelInterpreter.cpp:
      * llint/LowLevelInterpreter64.asm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161686 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8acd300
    • dbates@webkit.org's avatar
      [iOS] Fix project build order · fb315be2
      dbates@webkit.org authored
      Ensure we build WebKitAdditions before WebCore (if applicable). Also, we don't
      build WebInspectorUI, Tools/MiniBrowser, or Tools/WebKitTestRunner on iOS at the
      time of writing.
      
      * Scripts/build-webkit:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161685 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb315be2
    • bfulgham@apple.com's avatar
      Source/WebCore: [WebGL] Correct uniform input validation for texture sampler uniform · 50fa06ca
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126775
      
      Reviewed by Dean Jackson.
      
      Added fast/canvas/webgl/uniform-samplers-test.html
      
      * html/canvas/WebGLRenderingContext.cpp:
      (WebCore::WebGLRenderingContext::uniform1iv): Access Int32Array data properly.
      
      LayoutTests: [WebGL] Correct uniform input validation for texture sampler uniforms.
      https://bugs.webkit.org/show_bug.cgi?id=126775
      
      Reviewed by Dean Jackson.
      
      * fast/canvas/webgl/uniform-samplers-test.html: Add a test that
      shows that we can set sampler uniforms using Int32Array types.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161684 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50fa06ca
    • rego@igalia.com's avatar
      [GTK] Unreviewed build fix after r161644. · f722adea
      rego@igalia.com authored
      * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
      (WebCore::MediaStreamAudioSourceNode::setFormat):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f722adea
    • andersca@apple.com's avatar
      Remove an unused FrameLoader function · 963004aa
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126785
      
      Reviewed by Beth Dakin.
      
      * WebCore.exp.in:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::setState):
      * loader/FrameLoader.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      963004aa
    • benjamin@webkit.org's avatar
      Remove the BlackBerry port from trunk · 319989b8
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-10
      Reviewed by Anders Carlsson.
      
      * platform/MIMETypeRegistry.cpp:
      (WebCore::initializeSupportedImageMIMETypesForEncoding):
      * platform/PlatformKeyboardEvent.h:
      (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
      * platform/PlatformMouseEvent.h:
      * platform/PlatformTouchEvent.h:
      (WebCore::PlatformTouchEvent::PlatformTouchEvent):
      * platform/PlatformTouchPoint.h:
      * platform/ScrollAnimatorNone.cpp:
      (WebCore::ScrollAnimator::create):
      * platform/URL.cpp:
      (WebCore::URL::parse):
      (WebCore::portAllowed):
      * platform/Widget.h:
      * platform/graphics/ANGLEWebKitBridge.h:
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitor::DisplayRefreshMonitor):
      * platform/graphics/DisplayRefreshMonitor.h:
      * platform/graphics/FloatPoint.h:
      * platform/graphics/FloatRect.h:
      * platform/graphics/FloatSize.h:
      * platform/graphics/FontCache.h:
      * platform/graphics/FontPlatformData.h:
      * platform/graphics/GlyphBuffer.h:
      * platform/graphics/Gradient.cpp:
      * platform/graphics/Gradient.h:
      * platform/graphics/GraphicsContext.h:
      * platform/graphics/GraphicsContext3D.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      319989b8
    • andersca@apple.com's avatar
      Remove dead code · 6f4f1c70
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126782
      
      Reviewed by Tim Horton.
      
      * UIProcess/WebPageProxy.cpp:
      * UIProcess/WebPageProxy.h:
      * WebProcess/WebPage/WebPage.cpp:
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebPage/WebPage.messages.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f4f1c70
    • timothy@apple.com's avatar
      Clean up and fix some issues with stdout formatting of console messages. · 3fc29bad
      timothy@apple.com authored
      * Fix URLs not printing line numbers unless column number is > 0.
      * Change "CONSOLEAPI" to "CONSOLE" for the source.
      * Clean up how console.trace outputs and print URL, line and column for each frame.
      * Print "(unknown)" for anonymous and native code call frames.
      
      https://bugs.webkit.org/show_bug.cgi?id=126767
      
      Reviewed by Joseph Pecoraro.
      
      * page/Console.cpp:
      (WebCore::internalAddMessage):
      * page/PageConsole.cpp:
      (WebCore::PageConsole::printSourceURLAndPosition):
      (WebCore::PageConsole::printMessageSourceAndLevelPrefix):
      * page/PageConsole.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3fc29bad
    • timothy@apple.com's avatar
      Clean up some areas of TreeOutline. · 3117564d
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=123924
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/TreeOutline.js:
      (TreeOutline.prototype.appendChild): Don't force create _childrenListNode, it will be created
      when the tree element is expanded. Only attach if _childrenListNode already exists.
      (TreeOutline.prototype.insertChild): Ditto.
      (TreeOutline.prototype.getCachedTreeElement): Check the value of __treeElementIdentifier
      not just the existence of the property. It should never be null/undefined/0, but be safe.
      (TreeOutline.prototype.findTreeElement): Null check isAncestor, it isn't required.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3117564d
    • commit-queue@webkit.org's avatar
      [iOS] Fill in missing WebCoreThread function pointers · ee1459a5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126776
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-10
      Reviewed by Timothy Hatcher.
      
      * platform/ios/wak/WebCoreThreadSystemInterface.cpp:
      (InitWebCoreThreadSystemInterface):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee1459a5
    • commit-queue@webkit.org's avatar
      Clear unparented tiled layers on memory pressure. · 73b323e2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126737
      
      Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-10
      Reviewed by Simon Fraser.
      
      Source/WebCore:
      
      TileController hold unparented tiles for a short period of time (1 -3 sec); we should clear these unparented
      tiles immediately if we are under memory pressure.
      
      The patch does 3 things to improve the behavior:
      1) When the system free memory is low (<35%), reduce the tiling threshold.  This could reduce
      the peak memory usage when system is under low memory since we will convert more web layers into
      tiled backing.
      2) Under memory pressure, immediately clear all unparented tiles.
      3) Add a cap (16 tiles) to limit the total number of unparented tiles in TileController's.
      
      * WebCore.exp.in:
      * WebCore.xcodeproj/project.pbxproj: Add a new class TileControllerMemoryHandler.
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::requiresTiledLayer):  Use a smaller tiling threshold if the system free memory is low.
      * platform/graphics/ca/mac/TileController.h:
      (WebCore::TileController::numberOfUnparentedTiles):
      * platform/graphics/ca/mac/TileController.mm:
      (WebCore::TileController::startedNewCohort):
      (WebCore::TileController::removeUnparentedTilesNow): Remove all unparentd tiles.
      * platform/ios/MemoryPressureHandlerIOS.mm:
      * platform/ios/TileControllerMemoryHandlerIOS.cpp: Added.
      (WebCore::TileControllerMemoryHandler::removeTileController):
      (WebCore::TileControllerMemoryHandler::totalUnparentedTiledLayers):
      (WebCore::TileControllerMemoryHandler::tileControllerGainUnparentedTiles):
      (WebCore::TileControllerMemoryHandler::trimUnparentedTilesToTarget): Trims the number of unparented tiles until
          it reaches the target.
      (WebCore::tileControllerMemoryHandler):
      * platform/ios/TileControllerMemoryHandlerIOS.h: Added.
      (WebCore::TileControllerMemoryHandler::TileControllerMemoryHandler):
      
      Source/WebKit/mac:
      
      * WebView/WebView.mm:
      (+[WebView _handleMemoryWarning]): Clear all unparented tiles when under memory pressure.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      73b323e2
    • timothy@apple.com's avatar
      Fix an exception in WebInspector.Color. · 272d98b6
      timothy@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126765
      
      Reviewed by Joseph Pecoraro.
      
      * UserInterface/Color.js:
      (WebInspector.Color.fromString): Check hasOwnPrperty before using the nickname color array.
      (WebInspector.Color.prototype._toNicknameString): Ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161674 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      272d98b6
    • commit-queue@webkit.org's avatar
      [CSS Blending] Log blending as a layer creation reason in the WI · 8996b5b1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126159
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-10
      Reviewed by Timothy Hatcher.
      
      Source/WebCore:
      
      * inspector/InspectorLayerTreeAgent.cpp:
      (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):
      * inspector/protocol/LayerTree.json:
      
      Source/WebInspectorUI:
      
      * Localizations/en.lproj/localizedStrings.js:
      * UserInterface/LayerTreeSidebarPanel.js:
      (WebInspector.LayerTreeSidebarPanel.prototype._populateListOfCompositingReasons):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8996b5b1
    • commit-queue@webkit.org's avatar
      [EFL][JSC] Enable udis86 disassembler on efl. · 732907db
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125502
      
      Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2014-01-10
      Reviewed by Michael Saboff.
      
      Enable udis86 disassembler on efl and fix build warnings.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake:
        Enable udis86 disassembler.
      
      Source/JavaScriptCore:
      
      * CMakeLists.txt:
        Add udis86 disassembler source files.
      * disassembler/udis86/udis86_decode.c:
      (decode_modrm_rm):
        Build warning fixes.
      * disassembler/udis86/udis86_syn-att.c:
      (gen_operand):
        Build warning fixes.
      * disassembler/udis86/udis86_syn-intel.c:
      (gen_operand):
        Build warning fixes.
      * disassembler/udis86/udis86_types.h:
        Correct FMT64 for uint64_t.
      
      Source/WTF:
      
      * wtf/Platform.h:
        Enable udis86 disassembler on EFL.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      732907db
    • aestes@apple.com's avatar
      Fix some iOS build errors during bindings generation. · 2a63fbe2
      aestes@apple.com authored
      * bindings/objc/PublicDOMInterfaces.h: Included
      WebKitAdditions/PublicDOMInterfacesIOS.h and change
      -[DOMRGBColor color] to return a CGColorRef on iOS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a63fbe2
    • timothy@apple.com's avatar
      Prevent some resources from showing up in Web Inspector as years in duration. · 19009620
      timothy@apple.com authored
      No WebKit port passed a monotonic time to InspectorInstrumentation::didFinishLoading -- except Chromium.
      
      https://bugs.webkit.org/show_bug.cgi?id=126760
      
      Reviewed by Joseph Pecoraro.
      
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::didFinishLoadingImpl):
      Revert part of r102961 to use finishTime as-is and not expect a monotonic time.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19009620
    • krit@webkit.org's avatar
      Make clipping path from basic-shapes relative to <box> value · 446d3e26
      krit@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126206
      
      Reviewed by Simon Fraser.
      
      Source/WebCore:
      
      Tests: css3/masking/clip-path-circle-border-box.html
             css3/masking/clip-path-circle-bounding-box.html
             css3/masking/clip-path-circle-content-box.html
             css3/masking/clip-path-circle-margin-box.html
             css3/masking/clip-path-circle-padding-box.html
      
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::setupClipPath): Add switch to differ between boxes
          and use different reference boxes to size the clipping path.
      
      LayoutTests:
      
      Add new tests to check that different reference boxes are chosen for sizing and
      positioning the clipping path.
      
      * css3/masking/clip-path-circle-border-box.html: Added.
      * css3/masking/clip-path-circle-bounding-box.html: Added.
      * css3/masking/clip-path-circle-content-box.html: Added.
      * css3/masking/clip-path-circle-margin-box.html: Added.
      * css3/masking/clip-path-circle-padding-box.html: Added.
      * platform/mac/css3/masking/clip-path-circle-border-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-border-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-bounding-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-bounding-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-content-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-content-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-margin-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-margin-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-padding-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-padding-box-expected.txt: Added.
      * platform/mac/css3/masking/mask-luminance-png-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      446d3e26
    • commit-queue@webkit.org's avatar
      Source/WebCore: Correctly set XHR loadend attributes (loaded and total). · fceceae7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120828
      
      Patch by Youenn Fablet <youennf@gmail.com> on 2014-01-10
      Reviewed by Alexey Proskuryakov.
      
      Added correct initialization of lengthComputable, loaded and total attributes
      to XHR ProgressEvent events (load, loadstart, loadend, abort, error and timeout).
      
      XMLHttpRequestProgressEventThrottle and XMLHttpRequestUpload now keep persistent knowledge
      of m_loaded and m_total values with this patch.
      
      Code refactoring to handle event dispatching in case of error in a single manner.
      XMLHttpRequestProgressEventThrottle::dispatchProgressEvent is renamed as dispatchThrottledProgressEvent
      XMLHttpRequestProgressEventThrottle::dispatchEventAndLoadend is replaced by dispatchProgressEvent(const AtomicString&)
      
      Fixed assertion issues over bug 120828 patch
      
      Tests: http/tests/xmlhttprequest/loadstart-event-init.html
             http/tests/xmlhttprequest/onabort-progressevent-attributes.html
             http/tests/xmlhttprequest/onload-progressevent-attributes.html
             http/tests/xmlhttprequest/upload-onabort-progressevent-attributes.html
             http/tests/xmlhttprequest/upload-onload-progressevent-attributes.html
      
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::callReadyStateChangeListener): changed readystatechange event from ProgressEvent to Event (not cancellable, not bubblable) to better match the spec
      (WebCore::XMLHttpRequest::createRequest):
      (WebCore::XMLHttpRequest::abort): code refactoring to handle error event dispatching in a single way
      (WebCore::XMLHttpRequest::networkError): code refactoring to handle error event dispatching in a single way
      (WebCore::XMLHttpRequest::abortError): code refactoring to handle error event dispatching in a single way
      (WebCore::XMLHttpRequest::didSendData):
      (WebCore::XMLHttpRequest::didReceiveData):
      (WebCore::XMLHttpRequest::dispatchErrorEvents): dispatch progress events in case of error
      (WebCore::XMLHttpRequest::didTimeout): code refactoring to handle error event dispatching in a single way
      * xml/XMLHttpRequest.h:
      * xml/XMLHttpRequestProgressEventThrottle.cpp: before the patch, the fact that a progress event is being throttled is stored indirectly (m_loaded or m_total not equal to zero). With the patch, this information is stored in m_hasThrottledProgressEvent. The m_loaded and m_total values are no longer set back to zero after a progress event is dispatched. This allows using these values to correctly initialize other ProgressEvent events (in particular loadend, abort, timeout...)
      (WebCore::XMLHttpRequestProgressEventThrottle::XMLHttpRequestProgressEventThrottle):
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchThrottledProgressEvent): always update the new m_loaded and m_total values. If progress event is not sent as part of the function call, store the fact that a progress event is being throttled through m_hasThrottledProgressEvent.
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent): used to send any ProgressEvent event that is not be throttled
      (WebCore::XMLHttpRequestProgressEventThrottle::flushProgressEvent): after the call, no progress event is throttled anymore
      (WebCore::XMLHttpRequestProgressEventThrottle::fired): after the call, no progress event is throttled anymore
      (WebCore::XMLHttpRequestProgressEventThrottle::hasEventToDispatch):
      (WebCore::XMLHttpRequestProgressEventThrottle::suspend):
      * xml/XMLHttpRequestProgressEventThrottle.h: introduced m_hasThrottledProgressEvent which stores whether a progress event is being throttled and m_computableLength which is used to initialize ProgressEvent computableLength
      * xml/XMLHttpRequestUpload.cpp:
      (WebCore::XMLHttpRequestUpload::XMLHttpRequestUpload):
      (WebCore::XMLHttpRequestUpload::dispatchProgressEvent):
      * xml/XMLHttpRequestUpload.h: introduced m_loaded, m_total and m_lengthComputable, similarly to XMLHttpRequestProgressEventThrottle
      
      LayoutTests: Correctly set XHR loadend event attributes (loaded and total).
      https://bugs.webkit.org/show_bug.cgi?id=120828
      
      Patch by Youenn Fablet <youennf@gmail.com> on 2014-01-10
      Reviewed by Alexey Proskuryakov.
      
      Tests for abort, load, loadstart and loadend ProgressEvent events for XMLHttpRequest and XMLHttpRequestUpload
      
      * fast/xmlhttprequest/xmlhttprequest-get-expected.txt: Changed to correct event values
      * http/tests/xmlhttprequest/loadstart-event-init-expected.txt: Added.
      * http/tests/xmlhttprequest/loadstart-event-init.html: Added.
      * http/tests/xmlhttprequest/onabort-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/onabort-progressevent-attributes.html: Added.
      * http/tests/xmlhttprequest/onload-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/onload-progressevent-attributes.html: Added.
      * http/tests/xmlhttprequest/upload-onabort-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/upload-onabort-progressevent-attributes.html: Added.
      * http/tests/xmlhttprequest/upload-onload-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/upload-onload-progressevent-attributes.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fceceae7
    • betravis@adobe.com's avatar
      [CSS Shapes] Change parseBasicShape to return a CSSPrimitiveValue · e49c74e2
      betravis@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126713
      
      Reviewed by Dirk Schulze.
      
      Avoid the duplicated code wrapping the CSSBasicShape in a CSSPrimitiveValue
      by having parseBasicShape return a CSSPrimitiveValue reference.
      
      Refactoring, no new tests.
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseShapeProperty):
      (WebCore::CSSParser::parseClipPath):
      (WebCore::CSSParser::parseBasicShape):
      * css/CSSParser.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e49c74e2
    • mario.prada@samsung.com's avatar
      Move platformName property from testRunner to accessibilityController · 67228f8d
      mario.prada@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126689
      
      Reviewed by Chris Fleizach.
      
      Tools:
      
      Move the platformName property from the testRunner into
      accessibilityController, since this is a concept that has only be
      used by accessibility tests since it got added, and also because
      the real intention was not to distinguish among "ports" (mac, win,
      gtk, efl) but between platforms (atk, mac, win).
      
      This change will be very useful to merge GTK's roles-exposed.html
      and Mac's role-subrole-roledescription.html into one single test,
      since we will be specifying in the test itself which elements are
      supported in which accessibility "platform". In this context,
      being able to check accessibilityController.platformName directly
      against a list of supported accessibility platforms (e.g. "atk,mac")
      will certainly maintain the code cleaner and simpler.
      
      * DumpRenderTree/TestRunner.h:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/TestRunner.cpp:
      (getPlatformNameCallback): Removed.
      (TestRunner::staticValues): Removed platformName
      * DumpRenderTree/efl/TestRunnerEfl.cpp:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/gtk/TestRunnerGtk.cpp:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (TestRunner::platformName): Removed.
      
      * DumpRenderTree/AccessibilityController.h:
      (AccessibilityController::platformName): Added.
      * DumpRenderTree/AccessibilityController.cpp:
      (getPlatformNameCallback): Added.
      (AccessibilityController::getJSClass): Added platformName.
      * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
      (AccessibilityController::platformName): Added, returning "atk".
      * DumpRenderTree/mac/AccessibilityControllerMac.mm:
      (AccessibilityController::platformName): Ditto, returning "mac".
      * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
      (AccessibilityController::platformName): Ditto, returning "ios".
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::platformName): Ditto, returning "win".
      
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      (platformName): Removed.
      * WebKitTestRunner/InjectedBundle/TestRunner.h:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/efl/TestRunnerEfl.cpp:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp:
      (TestRunner::platformName): Removed.
      
      * WebKitTestRunner/InjectedBundle/AccessibilityController.h:
      (WTR:AccessibilityController::platformName): Added.
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
      (platformName): Added.
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
      (WTR::AccessibilityController::platformName): Added, returning "atk".
      * WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm:
      (WTR::AccessibilityController::platformName): Added, returning "mac".
      
      LayoutTests:
      
      Updated tests and expectations affected by the move of
      platformName from TestRunner to AccessibilityController.
      
      * accessibility/canvas-fallback-content.html:
      * accessibility/ignore-spacer-elements.html:
      * accessibility/platform-name.html:
      * platform/efl/accessibility/platform-name-expected.txt:
      * platform/gtk/accessibility/platform-name-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67228f8d
    • commit-queue@webkit.org's avatar
      Possible crash in ApplicationCache::removeResource. · 86f82069
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126695
      
      Patch by Piotr Grad <p.grad@samsung.com> on 2014-01-10
      Reviewed by Alexey Proskuryakov.
      
      No new tests.
      
      Iterator variable was used after it was removed.
      
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86f82069
    • dbates@webkit.org's avatar
      Another build fix for the Production Mac build following <http://trac.webkit.org/changeset/161638> · 4f003c3c
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Move the logic for appending the port-specific IDL files {Touch, TouchEvent, TouchList}.idl to the
      list of binding IDLs (BINDING_IDLS) before the definition of variables DOM_CLASSES and JS_DOM_HEADERS
      so that we generate the DOM and JS bindings for these IDLs.
      
      * DerivedSources.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f003c3c
    • andersca@apple.com's avatar
      Remove supportMultipleWindows setting · fefbc4d0
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126772
      
      Reviewed by Beth Dakin.
      
      Source/WebCore:
      
      This setting was added in https://bugs.webkit.org/show_bug.cgi?id=99716 for the Chromium port
      and is unused by everyone else so get rid of it.
      
      * loader/FrameLoader.cpp:
      (WebCore::createWindow):
      * page/ContextMenuController.cpp:
      (WebCore::openNewWindow):
      * page/Settings.in:
      
      LayoutTests:
      
      * fast/dom/HTMLAnchorElement/anchor-no-multiple-windows-expected.txt: Removed.
      * fast/dom/HTMLAnchorElement/anchor-no-multiple-windows.html: Removed.
      * fast/dom/Window/window-open-no-multiple-windows-expected.txt: Removed.
      * fast/dom/Window/window-open-no-multiple-windows.html: Removed.
      * fast/forms/post-popup-no-multiple-windows-expected.txt: Removed.
      * fast/forms/post-popup-no-multiple-windows.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fefbc4d0
    • benjamin@webkit.org's avatar
      Remove the BlackBerry port from trunk · 049d8b3d
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-10
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      * dom/TouchEvent.cpp:
      (WebCore::TouchEvent::TouchEvent):
      (WebCore::TouchEvent::initTouchEvent):
      * dom/TouchEvent.h:
      * dom/ViewportArguments.cpp:
      * dom/ViewportArguments.h:
      * history/HistoryItem.h:
      * loader/PingLoader.cpp:
      (WebCore::PingLoader::loadImage):
      (WebCore::PingLoader::sendPing):
      (WebCore::PingLoader::sendViolationReport):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::createResourceHandle):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::load):
      * loader/icon/IconLoader.cpp:
      (WebCore::IconLoader::startLoading):
      * page/NavigatorBase.cpp:
      * page/Settings.cpp:
      * page/scrolling/ScrollingCoordinator.cpp:
      (WebCore::ScrollingCoordinator::create):
      * platform/Cursor.cpp:
      * platform/Cursor.h:
      (WebCore::Cursor::Cursor):
      * platform/DragData.h:
      * platform/DragImage.h:
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::defaultPluginDirectories):
      (WebCore::PluginDatabase::isPreferredPluginDirectory):
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::paintsIntoWindow):
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::shouldRespectImageOrientation):
      * testing/Internals.cpp:
      (WebCore::Internals::getCurrentCursorInfo):
      * workers/DefaultSharedWorkerRepository.cpp:
      (WebCore::SharedWorkerScriptLoader::load):
      * workers/Worker.cpp:
      (WebCore::Worker::create):
      * workers/WorkerGlobalScope.cpp:
      (WebCore::WorkerGlobalScope::importScripts):
      * workers/WorkerScriptLoader.cpp:
      (WebCore::WorkerScriptLoader::createResourceRequest):
      * workers/WorkerScriptLoader.h:
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::createRequest):
      
      Source/WebKit2: 
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::setCursor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      049d8b3d
    • benjamin@webkit.org's avatar
      Remove the BlackBerry port from trunk · 9fe5191d
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-10
      Reviewed by Anders Carlsson.
      
      .: 
      
      * CMakeLists.txt:
      
      Source/WebCore: 
      
      * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
      (WebCore::initProtocolHandlerWhitelist):
      * UseJSC.cmake:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
      * bindings/js/GCController.cpp:
      (WebCore::GCController::GCController):
      (WebCore::GCController::garbageCollectSoon):
      * bindings/js/GCController.h:
      
      Source/WebKit2: 
      
      * Scripts/generate-forwarding-headers.pl:
      
      Tools: 
      
      * Scripts/webkitpy/common/config/watchlist:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fe5191d
    • dbates@webkit.org's avatar
      Fix the WebCore, WebKit build targets following <http://trac.webkit.org/changeset/161638> · 07d63ef1
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Source/WebCore:
      
      Tell Xcode that the supported platforms for all WebKit targets are iOS and OS X.
      
      * Configurations/Base.xcconfig:
      
      Source/WebKit/mac:
      
      Tell Xcode that the supported platforms for all WebCore targets are iOS and OS X.
      
      * Configurations/Base.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07d63ef1
    • benjamin@webkit.org's avatar
      Remove the BlackBerry files outside WebCore · a88e433b
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      .: 
      
      * ManualTests/blackberry: Removed.
      * Source/cmake/OptionsBlackBerry.cmake: Removed.
      
      Source/JavaScriptCore: 
      
      * PlatformBlackBerry.cmake: Removed.
      * runtime/GCActivityCallbackBlackBerry.cpp: Removed.
      * shell/PlatformBlackBerry.cmake: Removed.
      
      Tools: 
      
      * DumpRenderTree/blackberry: Removed.
      
      LayoutTests: 
      
      * platform/blackberry: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a88e433b
    • aestes@apple.com's avatar
      [iOS] Upstream iOS changes to MigrateHeaders.make · 4476a957
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126731
      
      Reviewed by David Kilzer.
      
      Source/WebCore:
      
      * WebCore.xcodeproj/project.pbxproj: Mark an iOS-specific header at
      Private that will later be migrated by WebKit.
      
      Source/WebKit/mac:
      
      * MigrateHeaders.make: Migrate iOS-specific headers when building for iOS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4476a957
    • dbates@webkit.org's avatar
      Fix the Production Mac build following <http://trac.webkit.org/changeset/161638> · 099d97c6
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Substitute JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production_ for JAVASCRIPTCORE_PRIVATE_HEADERS_Production_.
      
      * Configurations/WebCore.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      099d97c6
    • simon.fraser@apple.com's avatar
      Remove knowledge of Blackberry from build scripts · d6fb74d4
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126766
      
      Reviewed by Anders Carlsson.
      
      Remove isBlackBerry() and references to it, and rmeove
      blackberry-related stuff from the watchlist.
      
      * Scripts/build-webkit:
      * Scripts/webkit-build-directory:
      * Scripts/webkitdirs.pm:
      (determineBaseProductDir):
      (argumentsForConfiguration):
      (builtDylibPathForName):
      (isAppleWebKit):
      (buildCMakeProjectOrExit):
      (cmakeBasedPortArguments):
      (cmakeBasedPortName):
      * Scripts/webkitperl/FeatureList.pm:
      * Scripts/webkitpy/common/config/watchlist:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6fb74d4
    • andersca@apple.com's avatar
      Add a missing include. · 1082fddd
      andersca@apple.com authored
      * Modules/webdatabase/DatabaseManager.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1082fddd
    • andersca@apple.com's avatar
      Use STL threading primitives in DatabaseDetails and DatabaseManager · bad11649
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126759
      
      Reviewed by Geoffrey Garen.
      
      * Modules/webdatabase/DatabaseDetails.h:
      (WebCore::DatabaseDetails::DatabaseDetails):
      (WebCore::DatabaseDetails::threadID):
      * Modules/webdatabase/DatabaseManager.cpp:
      (WebCore::DatabaseManager::existingDatabaseContextFor):
      (WebCore::DatabaseManager::registerDatabaseContext):
      (WebCore::DatabaseManager::unregisterDatabaseContext):
      (WebCore::DatabaseManager::didConstructDatabaseContext):
      (WebCore::DatabaseManager::didDestructDatabaseContext):
      (WebCore::DatabaseManager::addProposedDatabase):
      (WebCore::DatabaseManager::removeProposedDatabase):
      (WebCore::DatabaseManager::fullPathForDatabase):
      (WebCore::DatabaseManager::detailsForNameAndOrigin):
      * Modules/webdatabase/DatabaseManager.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bad11649
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r161629. · 2bb96da1
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/161629
      https://bugs.webkit.org/show_bug.cgi?id=126762
      
      Fails svg/custom/conditional-processing-2.html (Requested by
      ap on #webkit).
      
      Source/WebCore:
      
      * svg/SVGSwitchElement.cpp:
      (WebCore::SVGSwitchElement::childShouldCreateRenderer):
      * svg/SVGTests.cpp:
      (WebCore::SVGTests::hasExtension):
      (WebCore::SVGTests::isValid):
      
      LayoutTests:
      
      * svg/custom/conditional-processing-1-expected.txt: Removed.
      * svg/custom/conditional-processing-1.svg: Removed.
      * svg/custom/conditional-processing-2-expected.txt: Removed.
      * svg/custom/conditional-processing-2.html: Removed.
      * svg/dom/SVGTests-expected.txt: Removed.
      * svg/dom/SVGTests.html: Removed.
      * svg/dom/script-tests/SVGTests.js: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2bb96da1
    • changseok.oh@collabora.com's avatar
      Unreviewed build fix since r161589. · eee04422
      changseok.oh@collabora.com authored
      The changeset causes a compile failure with --no-svg.
      
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::drawGlyphBuffer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eee04422
    • dbates@webkit.org's avatar
      [iOS] Fix up simulator build and enable default features · 38a2094d
      dbates@webkit.org authored
      Rubber-stamped by Joseph Pecoraro.
      
      * Scripts/webkitdirs.pm:
      (determineArchitecture):
      (determinePassedArchitecture):
      * Scripts/webkitperl/FeatureList.pm: Also expose command line option to toggle ENABLE_PLUGIN_PROXY_FOR_VIDEO (enabled
      by default only in iOS).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38a2094d