1. 26 Mar, 2013 40 commits
    • tony@chromium.org's avatar
      [chromium] Expose setSelectionIncludesAltImageText in WebSettings · 35db81ac
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113316
      
      Reviewed by Dimitri Glazkov.
      
      Enabling this setting allows plain text clipboard content to include alt
      text like on Firefox and IE10.
      
      * public/WebSettings.h:
      (WebSettings):
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setSelectionIncludesAltImageText):
      * src/WebSettingsImpl.h:
      (WebSettingsImpl):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35db81ac
    • rniwa@webkit.org's avatar
      Remove some entries since those tests have been passing. · 9f73ae37
      rniwa@webkit.org authored
      Also update the test expectations for the bug 113227 flaky since they're passing most of the time.
      
      * platform/mac/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f73ae37
    • abecsi@webkit.org's avatar
      [Qt][WK2] Fails to start QtWebProcess.exe if installed in a path containing spaces · f5389721
      abecsi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113328
      
      Reviewed by Jocelyn Turcotte.
      
      Downstream bugreport: https://bugreports.qt-project.org/browse/QTBUG-30249
      
      We use QProcess::start() with a commandline string to start the web process
      and the string is treated by QProcess as a whitespace delimeted list of the
      command and the arguments, thus we have to escape the path to the process
      binaries so that if the path contains spaces we still run the appropriate
      command.
      
      * UIProcess/Launcher/qt/ProcessLauncherQt.cpp:
      (WebKit::ProcessLauncher::launchProcess):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5389721
    • abecsi@webkit.org's avatar
      [Qt][WK2] QML WebView asserts when double clicking a link · 86ae9002
      abecsi@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113329
      
      Reviewed by Jocelyn Turcotte.
      
      Downstream bugreport: https://bugreports.qt-project.org/browse/QTBUG-30288
      
      Remove an erroneous assert which is no longer valid if
      mouse gestures are enabled.
      
      * UIProcess/qt/QtWebPageEventHandler.cpp:
      (WebKit::QtWebPageEventHandler::handleInputEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86ae9002
    • timothy_horton@apple.com's avatar
      [wk2] Don't send intrinsic content size updates more than once per runloop · 07ab50b1
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113258
      <rdar://problem/13492038>
      
      Reviewed by Anders Carlsson.
      
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      (TiledCoreAnimationDrawingArea):
      Add a zero-delay timer for intrinsic content size updates.
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      (WebKit::TiledCoreAnimationDrawingArea::TiledCoreAnimationDrawingArea):
      Add a zero-delay timer for intrinsic content size updates.
      (WebKit::TiledCoreAnimationDrawingArea::mainFrameContentSizeChanged):
      Start our new one-shot zero-delay timer.
      (WebKit::TiledCoreAnimationDrawingArea::updateIntrinsicContentSizeTimerFired):
      Inform the WebPage that the intrinsic content size has changed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07ab50b1
    • bfulgham@webkit.org's avatar
      [WinCairo] Unreviewed Build fix. · a869baca
      bfulgham@webkit.org authored
      * platform/graphics/win/FontCustomPlatformDataCairo.h:
      (FontCustomPlatformData): Correct signature in header to match
      required implementation.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a869baca
    • anilsson@rim.com's avatar
      [BlackBerry] Scrolling up and down can cause the screen to flash black · cd289bab
      anilsson@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113269
      
      Reviewed by Rob Buis.
      
      PR 296106
      
      Source/WebCore:
      
      The LayerRenderer should never clear before drawing the layers, from
      now on that's the responsibility of the caller.
      
      Only manually testable.
      
      * platform/graphics/blackberry/LayerRenderer.cpp:
      (WebCore::LayerRenderer::setViewport):
      * platform/graphics/blackberry/LayerRendererClient.h:
      (LayerRendererClient):
      
      Source/WebKit/blackberry:
      
      Various flaws in the code could conspire to make the screen cleared to
      black before rendering the web page. This only happened when the
      BackingStore was inactive, and the LayerTiler takes on the job of
      drawing the root layer. When tiles are missing, this made the
      "checkerboard" effect especially noticeable since black color was seen
      where the tile should have been. It would be better to clear to the web
      page background color.
      
      This was actually the intent of the code, but when the document
      background color was invalid, we would still use it instead of the
      background color from settings. Also, the LayerRenderer would clear to
      black when WebPageCompositorPrivate::drawsRootLayer() was true.
      
      Fixed by falling back to the settings background color when the
      document background color is invalid, and removing the clearing code
      from the LayerRenderer entirely. The appropriate clear already happens
      near the beginning of BackingStorePrivate::blitVisibleContents().
      
      Also slightly cleaned up the code for managing the background color.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::setLoadState):
      (BlackBerry::WebKit::WebPagePrivate::didChangeSettings):
      (BlackBerry::WebKit::WebPagePrivate::updateBackgroundColor):
      (WebKit):
      (BlackBerry::WebKit::WebPagePrivate::documentBackgroundColor):
      * Api/WebPageCompositor.cpp:
      * Api/WebPageCompositor_p.h:
      (WebPageCompositorPrivate):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd289bab
    • allan.jensen@digia.com's avatar
      [Qt] editing/pasteboard/can-read-in-dragstart-event.html and... · 7bc0f8b1
      allan.jensen@digia.com authored
      [Qt] editing/pasteboard/can-read-in-dragstart-event.html and /can-read-in-copy-and-cut-events.html are crashing
      https://bugs.webkit.org/show_bug.cgi?id=113126
      
      Reviewed by Jocelyn Turcotte.
      
      Source/WebCore:
      
      Make it possible to read from a writable Clipboard.
      
      Test: editing/pasteboard/can-read-in-copy-and-cut-events.html
      
      * platform/qt/ClipboardQt.cpp:
      (WebCore::ClipboardQt::getData):
      (WebCore::ClipboardQt::types):
      (WebCore::ClipboardQt::files):
      (WebCore::ClipboardQt::readClipboardData):
      (WebCore::ClipboardQt::hasData):
      (WebCore::ClipboardQt::items):
      * platform/qt/ClipboardQt.h:
      (ClipboardQt):
      
      LayoutTests:
      
      Unskip now working editing/pasteboard/can-read-in-copy-and-cut-events.html.
      The other test still needs better drag-and-drop support in DRT.
      
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bc0f8b1
    • bfulgham@webkit.org's avatar
      [WinCairo] Unreviewed build correction. · 7e43ef59
      bfulgham@webkit.org authored
      * platform/graphics/win/FontCustomPlatformDataCairo.cpp:
      (WebCore::FontCustomPlatformData::fontPlatformData): Update
      method signature to match CG variant.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e43ef59
    • ch.dumez@sisa.samsung.com's avatar
      Code duplication between HTTPParsers and HTTPValidation · 3855a916
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113283
      
      Reviewed by Alexey Proskuryakov.
      
      Source/WebCore:
      
      Merged isValidHTTPToken() from HTTPValidation.h and isRFC2616Token() from
      HTTPParsers.h. They were doing exactly the same thing and their
      implementation was almost the same.
      
      Removed HTTPValidation.* and moved remaining code to HTTPParsers.* as this
      seems like the proper place and it seems odd to keep HTTPValidation for
      just one function.
      
      No new tests, no behavior change for layout tests.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcxproj/WebCore.vcxproj:
      * WebCore.vcxproj/WebCore.vcxproj.filters:
      * WebCore.xcodeproj/project.pbxproj:
      * platform/network/HTTPParsers.cpp:
      (WebCore::isValidHTTPHeaderValue):
      (WebCore):
      (WebCore::isValidHTTPToken): Implementation is slightly simplified based on
      isValidHTTPToken() from HTTPValidation.cpp. (c >= 0x80 || c == 0x7F) is
      replaced by (c >= 0x7F). (c <= 0x1F ||  c == ' ' || c == '\t') is replaced
      by (c <= 0x20). Those expressions are shorter but equivalent.
      (WebCore::contentDispositionType):
      * platform/network/HTTPParsers.h:
      * platform/network/HTTPValidation.cpp: Removed.
      * platform/network/HTTPValidation.h: Removed.
      * xml/XMLHttpRequest.cpp: Stop including HTTPValidation.h.
      
      Source/WebKit/chromium:
      
      * src/AssociatedURLLoader.cpp: Include HTTPParsers.h instead
      of HTTPValidation.h to use isValidHTTPToken().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3855a916
    • sergio@webkit.org's avatar
      Implement overtype mode for editable content · 1874d7a9
      sergio@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112126
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      Tests: editing/execCommand/overtype-support.html
             editing/execCommand/overtype.html
      
      Add a new Overwrite command to the editor. This command will
      perform overtype operations when enabled instead of "normal" text
      insertions. As IE does, we maintain a single toggle state in the
      editor (enabled/disabled) for all the editable content in the
      page.
      
      This new command will be only available for richly editable
      content via keybindings or the context menu. For testing purposes
      it is also accessible via internals.
      
      * editing/CompositeEditCommand.cpp:
      (WebCore::CompositeEditCommand::replaceTextInNode): Use RefPtr for
      local variables.
      * editing/Editor.cpp:
      (WebCore::Editor::Editor):
      * editing/Editor.h:
      (WebCore::Editor::isOverwriteModeEnabled):
      (WebCore::Editor::toggleOverwriteModeEnabled):
      (Editor): Added two new functions and a new attribute.
      * editing/EditorCommand.cpp:
      (WebCore::executeToggleOverwrite): Enables/disables overwrite mode.
      (WebCore):
      (WebCore::createCommandMap): New OverWrite command.
      * editing/InsertTextCommand.cpp:
      (WebCore::InsertTextCommand::setEndingSelectionWithoutValidation):
      Refactored from performTrivialReplace(), shared by
      performOverwrite().
      (WebCore):
      (WebCore::InsertTextCommand::performTrivialReplace):
      (WebCore::InsertTextCommand::performOverwrite):
      (WebCore::InsertTextCommand::doApply): Perform overwrite if enabled.
      * editing/InsertTextCommand.h:
      (InsertTextCommand):
      * testing/Internals.cpp:
      (WebCore::Internals::resetToConsistentState): Reset OverWrite mode
      to false.
      (WebCore::Internals::isOverwriteModeEnabled):
      (WebCore):
      (WebCore::Internals::toggleOverwriteModeEnabled): Provide access
      to overwrite functionality in Editor for testing purposes.
      * testing/Internals.h:
      (Internals):
      * testing/Internals.idl:
      
      Source/WebKit/mac:
      
      Added the OverWrite editing command to the WebCore editing
      commands lists.
      
      * WebView/WebHTMLView.mm:
      * WebView/WebView.h:
      * WebView/WebView.mm:
      
      LayoutTests:
      
      Two new layout tests for the new overtype mode. We use
      overtype-support.html to check that the Overwrite command is not
      exported to JavaScript but accessible through Internals. The
      overtype.html one is used to test the actual behaviour of the
      command.
      
      The new command was also added to enabling-and-selection-2.js to
      check that it is only available for richly editable content.
      
      * editing/execCommand/enabling-and-selection-2-expected.txt:
      Updated expectations for OverWrite command.
      * editing/execCommand/overtype-expected.txt: Added.
      * editing/execCommand/overtype-support-expected.txt: Added.
      * editing/execCommand/overtype-support.html: Added.
      * editing/execCommand/overtype.html: Added.
      * editing/execCommand/script-tests/enabling-and-selection-2.js:
      Added a check for OverWrite command.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1874d7a9
    • anilsson@rim.com's avatar
      [BlackBerry] WebOverlay::pixelViewportRect() should return pixel viewport coordinates · 302250bc
      anilsson@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113263
      
      Reviewed by Rob Buis.
      
      PR 312404
      
      Source/WebCore:
      
      Fix WebOverlay::pixelViewportRect() to return the pixel viewport rect
      instead of the window rect. These are different if the web page is
      rendered starting at a window coordinate other than 0,0. The clip rect
      encodes the position we're rendered at, and can be used to translate
      the rect expressed in window coordinates to the pixel viewport
      coordinate system.
      
      Also perform some cleanup of related code.
      
      Only manually testable.
      
      * platform/graphics/blackberry/LayerCompositingThread.cpp:
      (WebCore::LayerCompositingThread::getTransformedHolePunchRect):
      (WebCore::LayerCompositingThread::drawTextures):
      * platform/graphics/blackberry/LayerRenderer.cpp:
      (WebCore::toPixelCoordinates):
      (WebCore):
      (WebCore::LayerRenderer::toWindowCoordinates):
      (WebCore::LayerRenderer::toPixelViewportCoordinates):
      (WebCore::LayerRenderer::toDocumentViewportCoordinates):
      (WebCore::LayerRenderer::updateLayersRecursive):
      * platform/graphics/blackberry/LayerRenderer.h:
      (LayerRenderer):
      
      Source/WebKit/blackberry:
      
      Fixed by returning pixel viewport coordinates instead of window
      coordinates.
      
      * Api/WebOverlay.cpp:
      (BlackBerry::WebKit::WebOverlayPrivateCompositingThread::pixelViewportRect):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      302250bc
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r146901. · 72190cac
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/146901
      https://bugs.webkit.org/show_bug.cgi?id=113321
      
      Was landed to soon (Requested by pfeldman on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-26
      
      Source/WebCore:
      
      * inspector/front-end/ConsoleView.js:
      (WebInspector.ConsoleView.prototype.):
      (WebInspector.ConsoleView.prototype.filter):
      (WebInspector.ConsoleView.prototype._scheduleScrollIntoView.scrollIntoView):
      (WebInspector.ConsoleView.prototype._scheduleScrollIntoView):
      (WebInspector.ConsoleView.prototype._consoleMessageAdded):
      (WebInspector.ConsoleView.prototype._appendConsoleMessage):
      (WebInspector.ConsoleView.prototype._consoleCleared):
      (WebInspector.ConsoleView.prototype._handleContextMenuEvent.monitoringXHRItemAction):
      (WebInspector.ConsoleView.prototype._handleContextMenuEvent.get preserveLogItemAction):
      (WebInspector.ConsoleView.prototype._shouldBeVisible):
      (WebInspector.ConsoleView.prototype._updateMessageList):
      (WebInspector.ConsoleView.prototype._promptKeyDown):
      (WebInspector.ConsoleView.prototype._printResult):
      (WebInspector.ConsoleCommand.prototype.highlightSearchResults):
      * inspector/front-end/inspector.css:
      (.console-warning-level, .console-error-level, .console-log-level, .console-debug-level):
      (.filter-all .console-debug-level, .filter-debug .console-debug-level):
      (.filter-all .console-debug-level.repeated-message, .filter-debug .console-debug-level.repeated-message):
      
      LayoutTests:
      
      * inspector/console/console-preserve-log.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72190cac
    • rafaelw@chromium.org's avatar
      HTMLStackItem should include <template> as a special tag · 16bce4e9
      rafaelw@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113016
      
      Reviewed by Eric Seidel.
      
      Source/WebCore:
      
      New test added to html5lib suite.
      
      * html/parser/HTMLStackItem.h:
      (WebCore::HTMLStackItem::isSpecialNode):
      
      LayoutTests:
      
      * html5lib/resources/template.dat:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16bce4e9
    • vsevik@chromium.org's avatar
      Web Inspector: Distinguish breakpoints and breakpoint locations in BreakpointManager API · ccde99ef
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113311
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Made independent handling of breakpoints and breakpoint location in breakpoint manager consistent.
      JavaScriptSourceFrame now removes breakpoints originally set in it based on primary UI location.
      
      * inspector/front-end/BreakpointManager.js:
      (WebInspector.BreakpointManager.prototype.breakpointsForUISourceCode):
      (WebInspector.BreakpointManager.prototype.allBreakpoints):
      (WebInspector.BreakpointManager.prototype.breakpointLocationsForUISourceCode):
      (WebInspector.BreakpointManager.prototype.allBreakpointLocations):
      (WebInspector.BreakpointManager.prototype._projectWillReset.get for):
      (WebInspector.BreakpointManager.prototype._projectWillReset):
      * inspector/front-end/JavaScriptSourceFrame.js:
      (WebInspector.JavaScriptSourceFrame.prototype.onUISourceCodeContentChanged):
      (WebInspector.JavaScriptSourceFrame.prototype._restoreBreakpointsAfterEditing):
      (WebInspector.JavaScriptSourceFrame.prototype._removeAllBreakpoints):
      
      LayoutTests:
      
      * inspector/debugger/live-edit-breakpoints-expected.txt:
      * inspector/debugger/live-edit-breakpoints.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccde99ef
    • commit-queue@webkit.org's avatar
      bundle-ids need to be sanitized before using them in filesystem paths · d6ec122f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113030
      <rdar://problem/13300254>
      
      Patch by Simon Cooper <scooper@apple.com> on 2013-03-26
      Reviewed by Alexey Proskuryakov.
      
      When choosing / looking for a specialized Sandbox for a Plugin the
      bundle-id needs to be sanitized before using it to construct a
      filesystem name to look up. The “/“ character should not be allowed
      and transformed into something else, in this case a “:”
      
      * PluginProcess/mac/PluginProcessMac.mm:
      (WebKit::loadSandboxProfile):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6ec122f
    • commit-queue@webkit.org's avatar
      Web Inspector: Remove remainings of CSS-based console message filtering. · 8a1b945c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=112710
      
      Patch by Dmitry Zvorygin <zvorygin@chromium.org> on 2013-03-26
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      * inspector/front-end/ConsoleView.js:
      (WebInspector.ConsoleView.get this):
      (WebInspector.ConsoleView.prototype.):
      (WebInspector.ConsoleView.prototype.filter):
      (WebInspector.ConsoleView.prototype._consoleMessageAdded):
      (WebInspector.ConsoleView.prototype._appendConsoleMessage):
      (WebInspector.ConsoleView.prototype._consoleCleared):
      (WebInspector.ConsoleView.prototype._shouldBeVisible):
      (WebInspector.ConsoleView.prototype._updateMessageList):
      (WebInspector.ConsoleView.prototype._promptKeyDown):
      (WebInspector.ConsoleView.prototype._printResult):
      (WebInspector.ConsoleCommand.prototype.highlightSearchResults):
      * inspector/front-end/inspector.css:
      (.console-debug-level.repeated-message):
      
      LayoutTests:
      
      * inspector/console/console-preserve-log.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a1b945c
    • commit-queue@webkit.org's avatar
      Web Inspector: refactor code duplication:... · 9eb13207
      commit-queue@webkit.org authored
      Web Inspector: refactor code duplication: WebInspector.ObjectPropertyTreeElement.wrapPropertyAsElements
      https://bugs.webkit.org/show_bug.cgi?id=113211
      
      Patch by Peter Rybin <prybin@chromium.org> on 2013-03-26
      Reviewed by Yury Semikhatsky.
      
      A new method WebInspector.ObjectPropertyTreeElement.wrapPropertyAsElements is added and used
      from 2 sites.
      
      * inspector/front-end/ObjectPropertiesSection.js:
      (WebInspector.ObjectPropertiesSection.prototype.update.callback):
      (WebInspector.ObjectPropertiesSection.prototype.update):
      (WebInspector.ObjectPropertiesSection.prototype.updateProperties):
      (.callback):
      (WebInspector.ObjectPropertyTreeElement.populate):
      (WebInspector.ObjectPropertyTreeElement.wrapPropertyAsElements):
      * inspector/front-end/WatchExpressionsSidebarPane.js:
      (WebInspector.WatchExpressionsSection.prototype.update.appendResult):
      (WebInspector.WatchExpressionsSection.prototype.update):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9eb13207
    • ch.dumez@sisa.samsung.com's avatar
      HTTPHeaderMap::copyData() could call uncheckedAppend() · 2a66fcac
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113279
      
      Reviewed by Alexey Proskuryakov.
      
      HTTPHeaderMap::copyData() calls reserveInitialCapacity() on the Vector
      but then appends items using append() function. Since we already know
      the capacity is sufficient, it is more efficient to call uncheckedAppend()
      instead to bypass capacity checks.
      
      No new tests, no behavior change for layout tests.
      
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a66fcac
    • vsevik@chromium.org's avatar
      Web Inspector: UISourceCodes are leaking on reload sometimes. · a9284923
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113310
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/BreakpointManager.js:
      (WebInspector.BreakpointManager.prototype._projectWillReset.get for):
      (WebInspector.BreakpointManager.prototype._projectWillReset):
      * inspector/front-end/ConsoleModel.js:
      (WebInspector.ConsoleModel.prototype.clearMessages):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9284923
    • apavlov@chromium.org's avatar
      Web Inspector: [Elements] Unable to "Edit as HTML" XHTML/SVG documents. · e2f25b07
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113290
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      DOMPatchSupport has been slightly augmented to handle XML (XHTML and SVG) documents.
      
      Test: inspector/elements/set-outer-html-for-xhtml.xhtml
      
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::patchDocument):
      (WebCore::DOMPatchSupport::patchNode):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::setOuterHTML): Let HTML, XHTML, and SVG documents through.
      
      LayoutTests:
      
      * inspector/elements/set-outer-html-for-xhtml-expected.txt: Added.
      * inspector/elements/set-outer-html-for-xhtml.xhtml: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2f25b07
    • morrita@google.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=113164 · 85bdf051
      morrita@google.com authored
      Custom Elements: readyCallback should be called for outerHTML and insertAdjecentHTML
      
      Source/WebCore:
      
      These APIs also create new elements thus should have V8DeliverCustomElementCallbacks attribute.
      
      Reviewed by Dimitri Glazkov.
      
      Test: Updated lifecycle-ready-creation-api.html.
      
      * html/HTMLElement.idl:
      
      LayoutTests:
      
      Reviewed by Dimitri Glazkov.
      
      * fast/dom/custom/lifecycle-ready-creation-api-expected.txt:
      * fast/dom/custom/lifecycle-ready-creation-api.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85bdf051
    • jochen@chromium.org's avatar
      Fix incorrect test name in content shell expectations · cd773224
      jochen@chromium.org authored
      Unreviewed. Typing is hard.
      
      * platform/chromium/ContentShellTestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd773224
    • commit-queue@webkit.org's avatar
      Convert WebInputEvent::GestureDoubleTap to PlatformEvent::NoType · 78db6a47
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113215
      
      In bug 93045 we removed PlatformEvent::GestureDoubleTap since now DoubleTap gesture
      is implemented as a Tap gesture with tap_count = 2.
      
      In WebViewImpl::handleGestureEvent(), a PlatformEvent is built from the WebGestureEvent
      regardless, even though the PlatfromEvent will never reach the WebCore. DoubleTap, in
      our case, is only handled in WebViewImpl for doube-tap-to-zoom, will also go through
      conversion in WebInpuEventConversion.cpp::PlatformGestureEventBuilder() and reach
      ASSERT_NOT_REACHED()
      
      This patch converts WebGestureEvent::DoubleTap to PlatformEvent::NoType, this makes the
      conversion list from WebInputEvent to PlatformEvent complete and we don't need a special
      handling for the DoubleTap event in WebViewImpl::handleGestureEvent()
      
      Patch by Yufeng Shen <miletus@chromium.org> on 2013-03-26
      Reviewed by Antonio Gomes.
      
      * src/WebInputEventConversion.cpp:
      (WebKit::PlatformGestureEventBuilder::PlatformGestureEventBuilder):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78db6a47
    • loislo@chromium.org's avatar
      Unreviewed. WebInspector: remove unnecessary method. · afacdc7d
      loislo@chromium.org authored
      * inspector/front-end/OverviewGrid.js:
      (WebInspector.OverviewGrid.Window):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      afacdc7d
    • loislo@chromium.org's avatar
      Web Inspector: Flame Chart. Scroll dividers together with underlying chart. · cf857ce8
      loislo@chromium.org authored
      http://bugs.webkit.org/show_bug.cgi?id=113080
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/FlameChart.js:
      (WebInspector.FlameChart.Calculator.prototype.grandMinimumBoundary):
      (WebInspector.FlameChart.prototype._canvasDragging):
      * inspector/front-end/TimelineGrid.js:
      (WebInspector.TimelineGrid.prototype.updateDividers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf857ce8
    • fpizlo@apple.com's avatar
      ArrayMode should not consider SpecOther when refining the base · bed26dbf
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113271
      
      Reviewed by Geoffrey Garen.
              
      9% speed-up on Octane/pdfjs.
      
      * dfg/DFGArrayMode.cpp:
      (JSC::DFG::ArrayMode::refine):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146887 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bed26dbf
    • mkwst@chromium.org's avatar
      CSP 1.1: Experiment with 'base-uri' directive. · 5b0379f6
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113307
      
      Reviewed by Jochen Eisinger.
      
      Source/WebCore:
      
      The 'base-uri' directive was introduced[1] as an experimental directive
      in CSP 1.1 after a bit of discussion[2][3]. The exact semantics will
      likely change, but it would be good for us to get some implementation
      experience with the API as currently specified, and to allow folks to
      play with the implementation to determine whether it meets the
      requirements the way we think it might.
      
      This patch is a first pass at that implementation: it will have no
      effect on ports that haven't enabled the CSP_NEXT flag.
      
      [1]: https://dvcs.w3.org/hg/content-security-policy/rev/4b89c246ea16
      [2]: http://lists.w3.org/Archives/Public/public-webappsec/2012Oct/0022.html
      [3]: http://lists.w3.org/Archives/Public/public-webappsec/2013Feb/0074.html
      
      Tests: http/tests/security/contentSecurityPolicy/1.1/base-uri-allow.html
             http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html
      
      * dom/Document.cpp:
      (WebCore::Document::processBaseElement):
          Check that the new base URI is allowed by CSP before using it as
          the document's base URI.
      * page/ContentSecurityPolicy.cpp:
          Add a constant for the new directive name (and, as a drive-by, split
          the list into CSP 1.0 and CSP 1.1 for clarity).
      (CSPDirectiveList):
          Add a property to hold the base URI policy directive value.
      (WebCore::CSPDirectiveList::checkSourceAndReportViolation):
          Customize the error message iff we're dealing with 'base-uri'.
      (WebCore::CSPDirectiveList::allowBaseURI):
          Check the given URI against the 'base-uri' directive's value,
          exactly as we do for every other source-list type of directive.
      (WebCore::CSPDirectiveList::addDirective):
          Accept 'base-uri' as a valid directive iff CSP_NEXT is set, and
          the embedder has opted-in via the runtime flag.
      (WebCore::ContentSecurityPolicy::allowBaseURI):
          Expose an API method on ContentSecurityPolicy to check URIs against
          the 'base-uri' directive's value.
      
      LayoutTests:
      
      * http/tests/security/contentSecurityPolicy/1.1/base-uri-allow-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/1.1/base-uri-allow.html: Added.
      * http/tests/security/contentSecurityPolicy/1.1/base-uri-deny-expected.txt: Added.
      * http/tests/security/contentSecurityPolicy/1.1/base-uri-deny.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b0379f6
    • anilsson@rim.com's avatar
      [BlackBerry] Main frame fixed divs not positioned correctly · 7a0056a7
      anilsson@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=112889
      
      Reviewed by Carlos Garcia Campos.
      
      PR 283363
      
      This was a regression from bug #112806. It caused main frame fixed
      handling to enter the iframe/scrollable div code path in LayerRenderer.
      
      Fixed by not setting the container for fixed flag on the main frame,
      the LayerRenderer expects this flag to be set only on non-mainframe
      containers.
      
      Only manually testable.
      
      * page/scrolling/blackberry/ScrollingCoordinatorBlackBerry.cpp:
      (WebCore::scrollLayerForFrame):
      (WebCore):
      (WebCore::ScrollingCoordinatorBlackBerry::setLayerIsContainerForFixedPositionLayers):
      (WebCore::ScrollingCoordinatorBlackBerry::setLayerIsFixedToContainerLayer):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146885 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a0056a7
    • ch.dumez@sisa.samsung.com's avatar
      FormData::deepCopy() could use Vector::uncheckedAppend() · 5fd189c3
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113309
      
      Reviewed by Kenneth Rohde Christiansen.
      
      FormData::deepCopy() calls reserveInitialCapacity() on the Vector but then uses the
      regular append() method. This patch switches to using uncheckedAppend() method
      instead to bypass capacity checks as we already know it is sufficient.
      
      No new tests, no behavior change.
      
      * platform/network/FormData.cpp:
      (WebCore::FormData::deepCopy):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146884 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fd189c3
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r146879. · 5df66a42
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/146879
      https://bugs.webkit.org/show_bug.cgi?id=113312
      
      Multiple layout test crashes in
      WebCore::RenderListItem::updateListMarkerNumbers (Requested by
      yurys on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-26
      
      Source/WebCore:
      
      * dom/Node.cpp:
      * dom/Node.h:
      (Node):
      * dom/NodeTraversal.cpp:
      * dom/NodeTraversal.h:
      (ElementTraversal):
      (NodeTraversal):
      * html/HTMLLIElement.cpp:
      (WebCore::HTMLLIElement::attach):
      * html/HTMLOListElement.cpp:
      (WebCore::HTMLOListElement::updateItemValues):
      (WebCore::HTMLOListElement::recalculateItemCount):
      * rendering/RenderCounter.cpp:
      (WebCore::previousInPreOrder):
      (WebCore::previousSiblingOrParent):
      (WebCore::parentElement):
      (WebCore::nextInPreOrder):
      * rendering/RenderListItem.cpp:
      (WebCore::enclosingList):
      (WebCore::RenderListItem::nextListItem):
      (WebCore::previousListItem):
      (WebCore::RenderListItem::calcValue):
      (WebCore::RenderListItem::explicitValueChanged):
      (WebCore::previousOrNextItem):
      (WebCore::RenderListItem::updateListMarkerNumbers):
      * rendering/RenderListItem.h:
      (RenderListItem):
      
      LayoutTests:
      
      * fast/dom/shadow/shadow-and-list-elements-expected.html:
      * fast/lists/positioned-count-crash-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5df66a42
    • morrita@google.com's avatar
      remoeveAllEventListeners() should be called to shadow trees · ac8a476d
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113037
      
      Reviewed by Dimitri Glazkov.
      
      Source/WebCore:
      
      Document::removeAllEventListeners() doesn't traverse shadow tree, but we should.
      This change override Element::removeAllEventListeners() so that it cleans its shadow trees up.
      
      Test: fast/dom/shadow/shadow-tree-listener-clearance.html
      
      * dom/Element.cpp:
      (WebCore::Element::removeAllEventListeners):
      (WebCore):
      * dom/Element.h:
      (Element):
      * dom/ElementShadow.cpp:
      (WebCore::ElementShadow::removeAllEventListeners): Added.
      (WebCore):
      * dom/ElementShadow.h:
      (ElementShadow):
      
      LayoutTests:
      
      * fast/dom/shadow/resources/shadow-tree-listener-clearance-frame.html: Added.
      * fast/dom/shadow/shadow-tree-listener-clearance-expected.txt: Added.
      * fast/dom/shadow/shadow-tree-listener-clearance.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac8a476d
    • yurys@chromium.org's avatar
      Unreviewed. Updated test expectations for compositing/geometry/fixed-in-composited.html · 156cf76d
      yurys@chromium.org authored
      * platform/chromium-linux-x86/platform/chromium/virtual/softwarecompositing/geometry/fixed-in-composited-expected.png: Removed.
      * platform/chromium-win/platform/chromium/virtual/softwarecompositing/geometry/fixed-in-composited-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146881 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      156cf76d
    • zeno.albisser@digia.com's avatar
      [Qt] UIProcess should initialize WebCoreSystemInterface. · dff51198
      zeno.albisser@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113300
      
      The WebCoreSystemInterface is necessary to detect supported
      mime types on Mac OS. In particular it is needed for download
      support.
      This patch fixes in particular the previously failing
      Qt API qmltest WebViewDownload::test_downloadRequest.
      The test was crashing when using QTKit, because functions
      in WebCoreSystemInterface could not be resolved on the UIProcess side.
      
      Reviewed by Jocelyn Turcotte.
      
      * UIProcess/qt/WebContextQt.cpp:
      (WebKit::WebContext::platformInitializeWebProcess):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146880 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dff51198
    • abucur@adobe.com's avatar
      Use DOM ordering for list counts · bfff4b8d
      abucur@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=110352
      
      Reviewed by Elliott Sprehn.
      
      Source/WebCore:
      
      Currently the list items ordering is made by traversing the render tree. This gives bad results for:
      - list items flown inside regions because they are not rendered as descendants of their DOM list ancestors.
      - list items matched to insertion points inside a shadow tree. The insertion point may be a child of a
      list so the numbering gets broken.
      
      To implement correct DOM ordering I've taken into account the fact that pseudo-elements can have display: list-item
      so they should be included when traversing the DOM tree. I've added helper methods on the NodeTraversal
      namespace that should allow easily traversing the tree including the pseudo-elements (e.g. firstChildWithPseudo
      for an element with pseudo-before will return the before PseudoElement). Using these helper methods I've implemented
      pre-order traversal methods aware of the pseudo-elements.
      An effect of this change is how the list items inside shadow tree update their counting. With the patch, if there's
      no <ol> or <ul> element on the ancestor chain of a <li> element to the shadow root, the list node will be considered the
      first parent of the <li> or the shadow root if there is no ancestor.
      The RenderListItem class now makes use of this new method of traversal, replacing the one based on the render tree.
      To simplify the CSS counters implementation, I've changed the traversal functions inside RenderCounter to also make use
      of this method. The CSS counters and the list items now have the same traversal algorithm.
      
      In later patches I'll add tests that should cover the regions and shadow DOM use cases.
      Tests bug for shadow DOM: https://bugs.webkit.org/show_bug.cgi?id=113193
      Tests bug for regions: https://bugs.webkit.org/show_bug.cgi?id=103975
      
      Tests: no new tests is this patch; added the correct expectations for fast/lists/positioned-count-crash.html
      and fast/dom/shadow/shadow-and-list-elements.html
      
      * dom/Node.cpp:
      (WebCore::Node::pseudoAwarePreviousSibling):
      (WebCore):
      (WebCore::Node::pseudoAwareNextSibling):
      (WebCore::Node::pseudoAwareFirstChild):
      (WebCore::Node::pseudoAwareLastChild):
      * dom/Node.h:
      (Node):
      * dom/NodeTraversal.cpp:
      (WebCore):
      (WebCore::NodeTraversal::previousIncludingPseudo):
      (NodeTraversal):
      (WebCore::NodeTraversal::nextIncludingPseudo):
      (WebCore::NodeTraversal::nextIncludingPseudoSkippingChildren):
      * dom/NodeTraversal.h:
      (ElementTraversal):
      (NodeTraversal):
      (WebCore::ElementTraversal::previousIncludingPseudo):
      (WebCore::ElementTraversal::nextIncludingPseudo):
      (WebCore::ElementTraversal::nextIncludingPseudoSkippingChildren):
      (WebCore::ElementTraversal::pseudoAwarePreviousSibling):
      * html/HTMLLIElement.cpp:
      (WebCore::HTMLLIElement::attach):
      * html/HTMLOListElement.cpp:
      (WebCore::HTMLOListElement::updateItemValues):
      (WebCore::HTMLOListElement::recalculateItemCount):
      * rendering/RenderCounter.cpp:
      (WebCore::previousInPreOrder):
      (WebCore::previousSiblingOrParent):
      (WebCore::parentElement):
      (WebCore::nextInPreOrder):
      * rendering/RenderListItem.cpp:
      (WebCore):
      (WebCore::enclosingList):
      (WebCore::RenderListItem::nextListItem):
      (WebCore::previousListItem):
      (WebCore::RenderListItem::calcValue):
      (WebCore::RenderListItem::explicitValueChanged):
      (WebCore::previousOrNextItem):
      (WebCore::RenderListItem::updateListMarkerNumbers):
      * rendering/RenderListItem.h:
      (RenderListItem):
      
      LayoutTests:
      
      The fast/dom/shadow/shadow-and-list-elements-expected.html has changed because the list items
      inside the shadow tree no longer see the root <ol> element.
      The test fast/lists/positioned-count-crash.html has the correct rendering after changing
      the list counting to be in DOM order.
      
      * fast/dom/shadow/shadow-and-list-elements-expected.html:
      * fast/lists/positioned-count-crash-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfff4b8d
    • allan.jensen@digia.com's avatar
      [Qt] Poor rounding in GraphicsContext::drawLineForText · 8659f808
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113301
      
      Reviewed by Jocelyn Turcotte.
      
      Round the position of the line decoration, so lines on subpixel
      coordinates are not always rounded up.
      
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (WebCore::GraphicsContext::drawLineForText):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8659f808
    • zarvai@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Updating PNG expected results. Making pixel test... · 50882a5e
      zarvai@inf.u-szeged.hu authored
      [Qt] Unreviewed gardening. Updating PNG expected results. Making pixel test bot happier after r146206.
      
      * platform/qt/svg/custom/mask-excessive-malloc-expected.png:
      * platform/qt/svg/custom/mask-inside-defs-expected.png:
      * platform/qt/svg/custom/massive-coordinates-expected.png:
      * platform/qt/svg/custom/missing-xlink-expected.png:
      * platform/qt/svg/custom/non-circular-marker-reference-expected.png:
      * platform/qt/svg/custom/object-sizing-expected.png:
      * platform/qt/svg/custom/path-bad-data-expected.png:
      * platform/qt/svg/custom/path-update-expected.png:
      * platform/qt/svg/custom/pattern-no-pixelation-expected.png:
      * platform/qt/svg/custom/pattern-scaled-pattern-space-expected.png: Added.
      * platform/qt/svg/custom/pattern-size-bigger-than-target-size-expected.png:
      * platform/qt/svg/custom/pattern-userSpaceOnUse-userToBaseTransform-expected.png:
      * platform/qt/svg/custom/pattern-y-offset-expected.png:
      * platform/qt/svg/custom/percentage-of-html-parent-expected.png:
      * platform/qt/svg/custom/pointer-events-image-css-transform-expected.png:
      * platform/qt/svg/custom/pointer-events-image-expected.png:
      * platform/qt/svg/custom/pointer-events-path-expected.png:
      * platform/qt/svg/custom/pointer-events-text-css-transform-expected.png:
      * platform/qt/svg/custom/pointer-events-text-expected.png:
      * platform/qt/svg/custom/poly-identify-expected.png:
      * platform/qt/svg/custom/polyline-hittest-expected.png:
      * platform/qt/svg/custom/polyline-invalid-points-expected.png:
      * platform/qt/svg/custom/relative-sized-content-with-resources-expected.png:
      * platform/qt/svg/custom/rootelement-expected.png:
      * platform/qt/svg/custom/rootmost-svg-xy-attrs-expected.png:
      * platform/qt/svg/custom/second-inline-text-expected.png:
      * platform/qt/svg/custom/shape-rendering-expected.png:
      * platform/qt/svg/custom/sheet-title-expected.png:
      * platform/qt/svg/custom/stroke-fallback-expected.png:
      * platform/qt/svg/custom/svg-float-border-padding-expected.png:
      * platform/qt/svg/custom/svg-fonts-in-html-expected.png:
      * platform/qt/svg/custom/svg-fonts-segmented-expected.png:
      * platform/qt/svg/custom/svg-fonts-without-missing-glyph-expected.png:
      * platform/qt/svg/custom/svgpolyparser-extra-space-expected.png:
      * platform/qt/svg/custom/text-dom-01-f-expected.png:
      * platform/qt/svg/custom/text-filter-expected.png:
      * platform/qt/svg/custom/text-hit-test-expected.png:
      * platform/qt/svg/custom/text-letter-spacing-expected.png:
      * platform/qt/svg/custom/text-linking-expected.png:
      * platform/qt/svg/custom/text-whitespace-handling-expected.png:
      * platform/qt/svg/custom/text-x-dx-lists-expected.png:
      * platform/qt/svg/custom/text-x-dy-lists-expected.png:
      * platform/qt/svg/custom/text-x-override-in-tspan-child-expected.png:
      * platform/qt/svg/custom/transform-removeAttributeNS-expected.png:
      * platform/qt/svg/custom/transform-scale-parse-expected.png:
      * platform/qt/svg/custom/use-clipped-transform-expected.png:
      * platform/qt/svg/custom/use-dynamic-append-expected.png:
      * platform/qt/svg/custom/use-font-face-crash-expected.png:
      * platform/qt/svg/custom/use-nested-transform-expected.png:
      * platform/qt/svg/custom/use-on-clip-path-with-transformation-expected.png:
      * platform/qt/svg/custom/use-on-g-containing-foreignObject-and-image-expected.png:
      * platform/qt/svg/custom/use-on-g-containing-symbol-expected.png:
      * platform/qt/svg/custom/use-on-g-containing-use-expected.png:
      * platform/qt/svg/custom/use-on-g-expected.png:
      * platform/qt/svg/custom/use-on-rect-expected.png:
      * platform/qt/svg/custom/use-on-symbol-expected.png:
      * platform/qt/svg/custom/use-on-text-expected.png:
      * platform/qt/svg/custom/use-on-use-expected.png:
      * platform/qt/svg/custom/use-transform-expected.png:
      * platform/qt/svg/custom/viewport-no-width-height-expected.png:
      * platform/qt/svg/custom/viewport-update-expected.png:
      * platform/qt/svg/custom/visibility-override-clip-expected.png:
      * platform/qt/svg/custom/visibility-override-expected.png:
      * platform/qt/svg/custom/visibility-override-mask-expected.png:
      * platform/qt/svg/custom/width-full-percentage-expected.png:
      * platform/qt/svg/custom/xml-stylesheet-expected.png:
      * platform/qt/svg/dom/SVGLengthList-insertItemBefore-expected.png:
      * platform/qt/svg/dom/SVGPathSegList-cloning-expected.png:
      * platform/qt/svg/filters/animate-fill-expected.png: Copied from LayoutTests/platform/qt/tables/mozilla/bugs/bug219693-1-expected.png.
      * platform/qt/svg/filters/big-sized-filter-expected.png:
      * platform/qt/svg/filters/feColorMatrix-offset-expected.png:
      * platform/qt/svg/filters/feColorMatrix-saturate-expected.png:
      * platform/qt/svg/filters/feDropShadow-subregion-expected.png: Copied from LayoutTests/platform/qt/tables/mozilla/bugs/bug219693-1-expected.png.
      * platform/qt/svg/filters/feGaussianBlur-subregion-expected.png: Copied from LayoutTests/platform/qt/tables/mozilla/bugs/bug219693-1-expected.png.
      * platform/qt/svg/filters/filter-empty-g-expected.png:
      * platform/qt/svg/filters/filter-on-filter-for-text-expected.png:
      * platform/qt/svg/filters/filter-on-tspan-expected.png:
      * platform/qt/svg/filters/filter-placement-issue-expected.png:
      * platform/qt/svg/filters/filter-source-position-expected.png:
      * platform/qt/svg/filters/filterRes2-expected.png:
      * platform/qt/svg/foreignObject/clip-expected.png: Copied from LayoutTests/platform/qt/svg/custom/transform-scale-parse-expected.png.
      * platform/qt/svg/foreignObject/disallowed-svg-nodes-as-direct-children-expected.png:
      * platform/qt/svg/foreignObject/filter-expected.png: Copied from LayoutTests/platform/qt/svg/custom/transform-scale-parse-expected.png.
      * platform/qt/svg/foreignObject/mask-expected.png: Copied from LayoutTests/platform/qt/svg/custom/transform-scale-parse-expected.png.
      * platform/qt/svg/foreignObject/svg-document-as-direct-child-expected.png:
      * platform/qt/svg/foreignObject/svg-document-in-html-document-expected.png:
      * platform/qt/svg/hixie/cascade/001-broken-expected.png:
      * platform/qt/svg/hixie/error/012-expected.png:
      * platform/qt/svg/hixie/error/013-expected.png:
      * platform/qt/svg/hixie/links/001-expected.png:
      * platform/qt/svg/hixie/mixed/003-expected.png:
      * platform/qt/svg/hixie/shapes/path/001-expected.png:
      * platform/qt/svg/hixie/text/001-expected.png:
      * platform/qt/svg/hixie/text/003-expected.png:
      * platform/qt/svg/hixie/transform/001-expected.png:
      * platform/qt/svg/hixie/viewbox/preserveAspectRatio/001-expected.png:
      * platform/qt/svg/hixie/viewbox/preserveAspectRatio/002-expected.png:
      * platform/qt/svg/text/bidi-embedded-direction-expected.png:
      * platform/qt/svg/text/kerning-expected.png:
      * platform/qt/svg/text/scaled-font-expected.png:
      * platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-2-expected.png:
      * platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-3-expected.png:
      * platform/qt/svg/text/select-textLength-spacingAndGlyphs-squeeze-4-expected.png:
      * platform/qt/svg/text/small-fonts-in-html5-expected.png:
      * platform/qt/svg/text/text-align-04-b-expected.png:
      * platform/qt/svg/text/text-align-05-b-expected.png:
      * platform/qt/svg/text/text-deco-01-b-expected.png:
      * platform/qt/svg/text/text-path-middle-align-expected.png:
      * platform/qt/svg/text/text-text-04-t-expected.png:
      * platform/qt/svg/text/text-text-06-t-expected.png:
      * platform/qt/svg/text/text-text-07-t-expected.png:
      * platform/qt/svg/text/textPathBoundsBug-expected.png:
      * platform/qt/svg/wicd/rightsizing-grid-expected.png:
      * platform/qt/svg/wicd/test-rightsizing-a-expected.png:
      * platform/qt/svg/wicd/test-rightsizing-b-expected.png:
      * platform/qt/svg/wicd/test-scalable-background-image1-expected.png:
      * platform/qt/svg/wicd/test-scalable-background-image2-expected.png:
      * platform/qt/svg/zoom/page/zoom-background-image-tiled-expected.png:
      * platform/qt/svg/zoom/page/zoom-coords-viewattr-01-b-expected.png:
      * platform/qt/svg/zoom/page/zoom-hixie-mixed-008-expected.png:
      * platform/qt/svg/zoom/page/zoom-hixie-rendering-model-004-expected.png:
      * platform/qt/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
      * platform/qt/svg/zoom/page/zoom-mask-with-percentages-expected.png:
      * platform/qt/svg/zoom/page/zoom-svg-as-background-with-relative-size-expected.png:
      * platform/qt/svg/zoom/page/zoom-svg-as-object-expected.png:
      * platform/qt/svg/zoom/page/zoom-svg-float-border-padding-expected.png:
      * platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-2-expected.png:
      * platform/qt/svg/zoom/page/zoom-svg-through-object-with-absolute-size-expected.png:
      * platform/qt/svg/zoom/text/zoom-hixie-mixed-008-expected.png:
      * platform/qt/svg/zoom/text/zoom-hixie-rendering-model-004-expected.png:
      * platform/qt/svg/zoom/text/zoom-svg-float-border-padding-expected.png:
      * platform/qt/tables/layering/paint-test-layering-1-expected.png:
      * platform/qt/tables/layering/paint-test-layering-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug101201-expected.png:
      * platform/qt/tables/mozilla/bugs/bug102145-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug102145-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug102145-3-expected.png:
      * platform/qt/tables/mozilla/bugs/bug102145-4-expected.png:
      * platform/qt/tables/mozilla/bugs/bug10269-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug10296-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug10296-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug103533-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1055-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug106158-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug106795-expected.png:
      * platform/qt/tables/mozilla/bugs/bug106816-expected.png:
      * platform/qt/tables/mozilla/bugs/bug109043-expected.png:
      * platform/qt/tables/mozilla/bugs/bug11321-expected.png:
      * platform/qt/tables/mozilla/bugs/bug113235-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug113235-3-expected.png:
      * platform/qt/tables/mozilla/bugs/bug11384q-expected.png:
      * platform/qt/tables/mozilla/bugs/bug11384s-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1163-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1188-expected.png:
      * platform/qt/tables/mozilla/bugs/bug11944-expected.png:
      * platform/qt/tables/mozilla/bugs/bug119786-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1224-expected.png:
      * platform/qt/tables/mozilla/bugs/bug12709-expected.png:
      * platform/qt/tables/mozilla/bugs/bug127267-expected.png:
      * platform/qt/tables/mozilla/bugs/bug128229-expected.png:
      * platform/qt/tables/mozilla/bugs/bug131020-expected.png:
      * platform/qt/tables/mozilla/bugs/bug131020_iframe-expected.png:
      * platform/qt/tables/mozilla/bugs/bug13118-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1318-expected.png:
      * platform/qt/tables/mozilla/bugs/bug13196-expected.png:
      * platform/qt/tables/mozilla/bugs/bug133756-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug133948-expected.png:
      * platform/qt/tables/mozilla/bugs/bug137388-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug139524-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug14159-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug14929-expected.png:
      * platform/qt/tables/mozilla/bugs/bug15247-expected.png:
      * platform/qt/tables/mozilla/bugs/bug154780-expected.png:
      * platform/qt/tables/mozilla/bugs/bug157890-expected.png:
      * platform/qt/tables/mozilla/bugs/bug15933-expected.png:
      * platform/qt/tables/mozilla/bugs/bug16012-expected.png:
      * platform/qt/tables/mozilla/bugs/bug16252-expected.png:
      * platform/qt/tables/mozilla/bugs/bug17138-expected.png:
      * platform/qt/tables/mozilla/bugs/bug17587-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1800-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1802-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1802s-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1818-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1818-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug1818-4-expected.png:
      * platform/qt/tables/mozilla/bugs/bug18359-expected.png:
      * platform/qt/tables/mozilla/bugs/bug18664-expected.png:
      * platform/qt/tables/mozilla/bugs/bug18955-expected.png:
      * platform/qt/tables/mozilla/bugs/bug19061-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug19061-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug194024-expected.png:
      * platform/qt/tables/mozilla/bugs/bug19599-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2050-expected.png:
      * platform/qt/tables/mozilla/bugs/bug20579-expected.png:
      * platform/qt/tables/mozilla/bugs/bug20804-expected.png:
      * platform/qt/tables/mozilla/bugs/bug21299-expected.png:
      * platform/qt/tables/mozilla/bugs/bug215629-expected.png:
      * platform/qt/tables/mozilla/bugs/bug219693-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug219693-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug221784-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug221784-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug222846-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2267-expected.png:
      * platform/qt/tables/mozilla/bugs/bug23072-expected.png:
      * platform/qt/tables/mozilla/bugs/bug23299-expected.png:
      * platform/qt/tables/mozilla/bugs/bug24627-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2469-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2479-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug24880-expected.png:
      * platform/qt/tables/mozilla/bugs/bug25074-expected.png:
      * platform/qt/tables/mozilla/bugs/bug25086-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2509-expected.png:
      * platform/qt/tables/mozilla/bugs/bug25367-expected.png:
      * platform/qt/tables/mozilla/bugs/bug25663-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2684-expected.png:
      * platform/qt/tables/mozilla/bugs/bug27038-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug27038-3-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2773-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2886-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug28928-expected.png:
      * platform/qt/tables/mozilla/bugs/bug29058-3-expected.png:
      * platform/qt/tables/mozilla/bugs/bug29429-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2981-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2981-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug2997-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3037-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3037-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug30418-expected.png:
      * platform/qt/tables/mozilla/bugs/bug30559-expected.png:
      * platform/qt/tables/mozilla/bugs/bug30692-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3103-expected.png:
      * platform/qt/tables/mozilla/bugs/bug32205-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug32205-3-expected.png:
      * platform/qt/tables/mozilla/bugs/bug32447-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3260-expected.png:
      * platform/qt/tables/mozilla/bugs/bug32841-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3309-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3309-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug34538-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3454-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3681-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3681-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug38916-expected.png:
      * platform/qt/tables/mozilla/bugs/bug3977-expected.png:
      * platform/qt/tables/mozilla/bugs/bug41890-expected.png:
      * platform/qt/tables/mozilla/bugs/bug42187-expected.png:
      * platform/qt/tables/mozilla/bugs/bug4284-expected.png:
      * platform/qt/tables/mozilla/bugs/bug43039-expected.png:
      * platform/qt/tables/mozilla/bugs/bug4382-expected.png:
      * platform/qt/tables/mozilla/bugs/bug43854-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug43854-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug4427-expected.png:
      * platform/qt/tables/mozilla/bugs/bug45055-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug4523-expected.png:
      * platform/qt/tables/mozilla/bugs/bug45350-expected.png:
      * platform/qt/tables/mozilla/bugs/bug45486-expected.png:
      * platform/qt/tables/mozilla/bugs/bug46268-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug46268-2-expected.png:
      * platform/qt/tables/mozilla/bugs/bug46268-5-expected.png:
      * platform/qt/tables/mozilla/bugs/bug46268-expected.png:
      * platform/qt/tables/mozilla/bugs/bug46368-1-expected.png:
      * platform/qt/tables/mozilla/bugs/bug46368-2-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146877 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50882a5e
    • kadam@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardneing. Unskipped and Updated inspector tests after r146863. · 90f59364
      kadam@inf.u-szeged.hu authored
      * platform/qt/TestExpectations:
      * platform/qt/inspector/console/console-eval-syntax-error-expected.txt: Added.
      * platform/qt/inspector/debugger/debugger-pause-in-eval-script-expected.txt: Added.
      * platform/qt/inspector/extensions/extensions-eval-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146876 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      90f59364
    • vsevik@chromium.org's avatar
      Web Inspector: Decorations in several consecutive lines are not moved correctly in DTE. · 13951e12
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113296
      
      Reviewed by Pavel Feldman.
      
      Separated removing and adding decorations so that moved decorations are not removed when next line is processed.
      
      * inspector/front-end/DefaultTextEditor.js:
      (WebInspector.TextEditorGutterPanel.prototype.textChanged):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146875 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13951e12
    • yurys@chromium.org's avatar
      Remove references to non-chromium entries from WebCore.gypi (part 2) · 283c2f8c
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=103124
      
      Reviewed by Pavel Feldman.
      
      * WebCore.gypi: removed unused references to gtk, cf, win and mac
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146874 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      283c2f8c