1. 16 May, 2012 40 commits
    • commit-queue@webkit.org's avatar
      [chromium] No modifier flags (shift/ctrl/alt) in drag&drop events on chromium linux · 621df958
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86236
      
      Patch by Varun Jain <varunjain@google.com> on 2012-05-16
      Reviewed by Tony Chang.
      
      .:
      
      * ManualTests/chromium/modifiers-during-drag-and-drop.html: Added.
      
      Source/WebCore:
      
      ManualTests: ManualTests/chromium/modifiers-during-drag-and-drop.html
      
      * page/DragController.cpp:
      (WebCore::createMouseEvent):
      * platform/DragData.cpp:
      (WebCore):
      (WebCore::DragData::modifierKeyState):
      * platform/DragData.h:
      (DragData):
      * platform/chromium/ChromiumDataObject.cpp:
      (WebCore::ChromiumDataObject::ChromiumDataObject):
      * platform/chromium/ChromiumDataObject.h:
      (WebCore::ChromiumDataObject::modifierKeyState):
      (WebCore::ChromiumDataObject::setModifierKeyState):
      (ChromiumDataObject):
      * platform/chromium/DragDataChromium.cpp:
      (WebCore::DragData::modifierKeyState):
      (WebCore):
      
      Source/WebKit/chromium:
      
      * public/WebView.h:
      (WebView):
      * src/WebViewImpl.cpp:
      (WebKit::webInputEventKeyStateToPlatformEventKeyState):
      (WebKit):
      (WebKit::WebViewImpl::dragTargetDragEnter):
      (WebKit::WebViewImpl::dragTargetDragOver):
      (WebKit::WebViewImpl::dragTargetDrop):
      (WebKit::WebViewImpl::dragTargetDragEnterOrOver):
      * src/WebViewImpl.h:
      (WebViewImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      621df958
    • jer.noble@apple.com's avatar
      <video> elements with no video tracks report false for webkitSupportsFullscreen. · 2ef5ac99
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=86650
      
      Reviewed by Eric Carlson.
      
      Source/WebCore:
      
      No new tests; updated media/media-fullscreen-inline.html.
      
      With the new Full Screen API, the restriction that only video elements with
      video tracks can enter full screen seems arbitrary. Some media types will
      occasionally determine they have video tracks long after loadedmetadata, which
      breaks websites who check for webkitSupportsFullscreen(). Relax the restriction
      on webkitSupportsFullscreen() for ports where the Full Screen API is enabled and
      supported so as to no longer require hasVideo().
      
      * html/HTMLVideoElement.cpp:
      (WebCore::HTMLVideoElement::supportsFullscreen):
      
      LayoutTests:
      
      Fix media-fullscreen.js to support the new FULLSCREEN_API events, if present.
      Fix the media-fullscreen-inline.html test and unskip on Lion.
      
      * media/media-fullscreen-inline-expected.txt:
      * media/media-fullscreen-inline.html:
      * media/media-fullscreen.js:
      (fullscreenchange):
      (loadedmetadata):
      (addEventListeners):
      * platform/mac-lion/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ef5ac99
    • commit-queue@webkit.org's avatar
      [Qt][Mac]REGRESSION?(r89397) It made fast/css/custom-font-xheight.html crash · 8104716f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=63132
      
      Removed test from skipped list, since it now passes on mac.
      
      Patch by Marcelo Lira <marcelo.lira@openbossa.org> on 2012-05-16
      Reviewed by Alexis Menard.
      
      * platform/qt-mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8104716f
    • bfulgham@webkit.org's avatar
      [WinCairo] Unreviewed build change after exported symbol · 3a9aab39
      bfulgham@webkit.org authored
      updates (r114790) and expansion of CG routines in WebPage
      PDF output (r114476).
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::drawRectToPDF): Exclude CG use on WinCairo.
      (WebKit::WebPage::drawPagesToPDF): Exclude CG use on WinCairo.
      * win/WebKit2CFLite.def: Don't claim to export symbols we don't
      provide (e.g., full screen API calls).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a9aab39
    • kling@webkit.org's avatar
      Avoid reparsing the style attribute when cloning elements. · c4ff9765
      kling@webkit.org authored
      <http://webkit.org/b/86574>
      
      Reviewed by Antti Koivisto.
      
      Refactor cloning of attributes a bit to dodge the styleAttr reparse previously
      caused by ElementAttributeData::setAttributes().
      
      Introduced Element::cloneDataFromElement() which takes care of cloning the
      ElementAttributeData as well as "non-attribute properties" (which is currently
      specific to HTMLInputElement.)
      
      Also includes some additional dodging of attribute vector traversal to find
      old/new 'id' and 'name' attributes.
      
      I'm seeing a ~10% improvement on PerformanceTests/DOM/CloneNodes locally.
      
      * dom/Document.cpp:
      (WebCore::Document::importNode):
      * dom/Element.cpp:
      (WebCore::Element::cloneElementWithoutChildren):
      (WebCore::Element::cloneAttributesFromElement):
      (WebCore::Element::cloneDataFromElement):
      * dom/Element.h:
      (WebCore::Element::copyNonAttributePropertiesFromElement):
      * dom/ElementAttributeData.cpp:
      (WebCore::ElementAttributeData::cloneDataFrom):
      * dom/ElementAttributeData.h:
      (ElementAttributeData):
      * dom/Node.h:
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::styleAttributeChanged):
      (WebCore::StyledElement::parseAttribute):
      * dom/StyledElement.h:
      * editing/ReplaceNodeWithSpanCommand.cpp:
      (WebCore::swapInNodePreservingAttributesAndChildren):
      * html/HTMLElement.cpp:
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::copyNonAttributePropertiesFromElement):
      * html/HTMLInputElement.h:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::innerPatchNode):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::setNodeName):
      * svg/SVGUseElement.cpp:
      (WebCore::SVGUseElement::expandSymbolElementsInShadowTree):
      (WebCore::SVGUseElement::transferUseAttributesToReplacedElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4ff9765
    • bfulgham@webkit.org's avatar
      [WinCairo] Unreviewed build change after r115385. Several Cairo · 5e046a2a
      bfulgham@webkit.org authored
      image routines were modified to use new wrapper classes, but the
      relevant WinCairo sources were not updated to match.
      
      * WebCore.vcproj/WebCore.vcproj:
      * platform/graphics/win/ImageCairoWin.cpp:
      (WebCore::BitmapImage::create):
      (WebCore::BitmapImage::drawFrameMatchingSourceSize):
      * platform/win/DragImageCairoWin.cpp:
      (WebCore::createDragImageFromImage):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5e046a2a
    • timothy_horton@apple.com's avatar
      Scrollbar layers should respect accelerated drawing setting · f01d1f95
      timothy_horton@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=86644
      <rdar://problem/11462038>
      
      Reviewed by Simon Fraser.
      
      When creating scrollbar layers, pass through the accelerated drawing setting.
      
      No new tests.
      
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f01d1f95
    • timothy_horton@apple.com's avatar
      FrameView::scrollContentsFastPath should use painted area to determine whether... · 623fbf85
      timothy_horton@apple.com authored
      FrameView::scrollContentsFastPath should use painted area to determine whether to drop out of the fast path
      https://bugs.webkit.org/show_bug.cgi?id=86651
      <rdar://problem/11459243>
      
      Reviewed by Simon Fraser.
      
      Previously, we decided to fall out of the fast scrolling path by the number of fixed-position elements
      on the page. This was less than ideal if a single fixed position element took up a significant portion
      of the page, or if there were many small, cheap-to-paint fixed elements.
      
      Instead, we should use the fast path if less than 50% of the page will be repainted by fixed-position
      elements, and otherwise fall back to the slow path.
      
      I've tested a few different thresholds with an internal test; 50% seems to work relatively well,
      but the ideal value is hard to determine and likely depends on hardware.
      
      No new tests, performance improvement with few large fixed-position objects or many small ones.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::scrollContentsFastPath):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      623fbf85
    • commit-queue@webkit.org's avatar
      [Chromium] Use ThrottledTextureUploader with threaded compositing. · d67a369d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=85848
      
      Patch by David Reveman <reveman@chromium.org> on 2012-05-16
      Reviewed by Adrienne Walker.
      
      Switch to ThrottledUploader in CCThreadProxy.
      
      * platform/graphics/chromium/cc/CCThreadProxy.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d67a369d
    • simon.fraser@apple.com's avatar
      Make things build with DUMP_HASHTABLE_STATS=1 · 8f3f9795
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=86571
      
      Reviewed by Geoffrey Garen.
      
      DUMP_HASHTABLE_STATS bitrotted after the WTF separation. This patch
      makes it build.
      
      Added WTF_EXPORTDATA to the global data, and WTF_EXPORT_PRIVATE to
      the static HashTableStats methods. Added a dumpStats() method
      that is not yet called anywhere; we can no longer rely on destroying
      a global object to dump the stats because global destructors are
      disallowed.
      
      * wtf/HashTable.cpp:
      (WTF):
      (WTF::HashTableStats::recordCollisionAtCount):
      (WTF::HashTableStats::dumpStats):
      * wtf/HashTable.h:
      (HashTableStats):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f3f9795
    • eae@chromium.org's avatar
      Change ascents and descent back to ints for now · 6de74dea
      eae@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86518
      
      Reviewed by Eric Seidel.
      
      Change ascents and descent calculation back to integers for now as it
      looks like we'll need to support both the 1/60 and 1/1 implementations of
      FractionalLayoutUnit for the immediate future to ensure that text is
      rendered at the same offset and with the height regardless of the
      ENABLE_SUBPIXEL_LAYOUT flag.
      
      This ensures that most websites will look the same at 100% zoom
      regardless of the flag and also allows us to the same test expectations
      for the vast majority of layout tests.
      
      Eventually we want to move those back to FractionalLayoutUnits as that
      will result in more correct rendering.
      
      Source/WebCore: 
      
      No new tests, no change in functionality.
      
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::computeLogicalBoxHeights):
      * rendering/RootInlineBox.cpp:
      (WebCore::setAscentAndDescent):
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/RootInlineBox.h:
      (RootInlineBox):
      
      LayoutTests: 
      
      * platform/chromium-win/fast/block/float/overhanging-tall-block-expected.txt:
      * platform/mac/fast/block/float/overhanging-tall-block-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6de74dea
    • kenrb@chromium.org's avatar
      Crash due to first-letter not getting computed on RenderTableCell · fdbe5beb
      kenrb@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86133
      
      Reviewed by Abhishek Arya.
      
      Source/WebCore:
      
      RenderTableCell overrides RenderBlock::layout() but doesn't call
      updateFirstLetter() in it. This is normally not a problem because
      updateFirstLetter() gets called during preferred logical width
      computation, but there exist rare occasions when layout of the table
      cell happens without preferred logical widths being dirty, in which
      case the first-letter update can be skipped.
      
      This patch adds a call to updateFirstLetter() to
      RenderTableCell::layout(). This ensures that the first-letter is up
      to date before commencing block layout.
      
      * rendering/RenderTableCell.cpp:
      (WebCore::RenderTableCell::layout)
      
      LayoutTests:
      
      Test to exercise crashing condition in bug 86133.
      
      * fast/css-generated-content/first-letter-table-cell-format-block-crash-expected.txt: Added
      * fast/css-generated-content/first-letter-table-cell-format-block-crash.html: Added
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdbe5beb
    • senorblanco@chromium.org's avatar
      New baselines required after r117187. · 0178a7f1
      senorblanco@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86486
      
      Unreviewed gardening.
      
      * platform/chromium-linux/svg/custom/pointer-events-image-css-transform-expected.png:
      * platform/chromium-linux/svg/custom/pointer-events-image-expected.png:
      * platform/chromium-mac-leopard/svg/custom/pointer-events-image-css-transform-expected.png:
      * platform/chromium-mac-leopard/svg/custom/pointer-events-image-expected.png:
      * platform/chromium-mac-snowleopard/svg/custom/pointer-events-image-css-transform-expected.png:
      * platform/chromium-mac-snowleopard/svg/custom/pointer-events-image-expected.png:
      * platform/chromium-mac/svg/custom/pointer-events-image-css-transform-expected.png:
      * platform/chromium-mac/svg/custom/pointer-events-image-expected.png:
      * platform/chromium-win/svg/custom/pointer-events-image-css-transform-expected.png:
      * platform/chromium-win/svg/custom/pointer-events-image-expected.png:
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0178a7f1
    • mnaganov@chromium.org's avatar
      Avoid jumpscroll when entering new text in a multi-line editor. · 5d6083b0
      mnaganov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82875
      
      Reviewed by Ryosuke Niwa
      
      Scroll caret to the edge of the viewport in case if a line break or a paragraph
      separator is inserted at the end of a multi-line editor.  This avoids
      undesirable jumpscroll in cases when there is content under the editor.
      
      Tests: editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable.html
             editing/input/scroll-to-edge-if-line-break-at-end-of-document-textarea.html
             editing/input/scroll-to-edge-if-paragraph-separator-at-end-of-document-contenteditable.html
      
      * editing/Editor.cpp:
      (WebCore::Editor::insertLineBreak):
      (WebCore::Editor::insertParagraphSeparator):
      (WebCore::Editor::revealSelectionAfterEditingOperation):
      * editing/Editor.h:
      (Editor):
      
      * editing/input/resources/reveal-utilities.js:
      (performJumpAtTheEdgeTest):
      * editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable-expected.txt: Added.
      * editing/input/scroll-to-edge-if-line-break-at-end-of-document-contenteditable.html: Added.
      * editing/input/scroll-to-edge-if-line-break-at-end-of-document-textarea-expected.txt: Added.
      * editing/input/scroll-to-edge-if-line-break-at-end-of-document-textarea.html: Added.
      * editing/input/scroll-to-edge-if-paragraph-separator-at-end-of-document-contenteditable-expected.txt: Added.
      * editing/input/scroll-to-edge-if-paragraph-separator-at-end-of-document-contenteditable.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d6083b0
    • vsevik@chromium.org's avatar
      Web Inspector: Pressing esc after requesting snippet creation should remove snippet. · 879a1134
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86639
      
      Reviewed by Pavel Feldman.
      
      Added committed parameter to NavigatorView.rename() callback.
      
      * inspector/front-end/NavigatorView.js:
      (WebInspector.NavigatorView.prototype.rename.commitHandler):
      (WebInspector.NavigatorView.prototype.rename.cancelHandler):
      (WebInspector.NavigatorView.prototype.rename.afterEditing):
      * inspector/front-end/ScriptsNavigator.js:
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype._snippetCreationRequested.callback):
      (WebInspector.ScriptsPanel.prototype._snippetCreationRequested):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      879a1134
    • carlosgc@webkit.org's avatar
      [GTK] Add API to get plugins to WebKit2 GTK+ · 074384bc
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86356
      
      Reviewed by Martin Robinson.
      
      * GNUmakefile.list.am: Add new files to compilation.
      * UIProcess/API/gtk/WebKitMimeInfo.cpp: Added.
      (_WebKitMimeInfo): Boxed type to represent MIME type information.
      (webkitMimeInfoCreate): Ceate a new WebKitMimeInfo.
      (webkit_mime_info_ref):
      (webkit_mime_info_unref):
      (webkit_mime_info_get_mime_type): Return the mime type.
      (webkit_mime_info_get_description): Return the mime type
      description.
      (webkit_mime_info_get_extensions): Return the list of extensions
      associated to the mime type.
      * UIProcess/API/gtk/WebKitMimeInfo.h: Added.
      * UIProcess/API/gtk/WebKitMimeInfoPrivate.h: Added.
      * UIProcess/API/gtk/WebKitPlugin.cpp: Added.
      (webkitPluginFinalize):
      (webkit_plugin_init):
      (webkit_plugin_class_init):
      (webkitPluginCreate): Create a new WebKitPlugin for the given
      PluginModuleInfo.
      (webkit_plugin_get_name): Return the plugin name.
      (webkit_plugin_get_description): Return the plugin description.
      (webkit_plugin_get_path): Return the path where the plugin is
      installed.
      (webkit_plugin_get_mime_info_list): Return the list of mime types
      handled by the plugin.
      * UIProcess/API/gtk/WebKitPlugin.h: Added.
      * UIProcess/API/gtk/WebKitPluginPrivate.h: Added.
      * UIProcess/API/gtk/WebKitWebContext.cpp:
      (webkit_web_context_set_additional_plugins_directory): Set an
      additional directory to be scanned for plugins.
      (GetPluginsAsyncData): Helper struct used to asynchronously get
      the list of plugins.
      (getPluginsAsyncDataCreate): Create a GetPluginsAsyncData struct.
      (getPluginsAsyncDataDestroy): Destroy a GetPluginsAsyncData
      struct.
      (webkitWebContextGetPluginThread): Thread body to get the list of
      plugins installed.
      (webkit_web_context_get_plugins): Asynchronously get the list of
      plugins installed.
      (webkit_web_context_get_plugins_finish): Finish async operation
      started by webkit_web_context_get_plugins() returning a list of
      WebKitPlugin.
      * UIProcess/API/gtk/WebKitWebContext.h:
      * UIProcess/API/gtk/docs/webkit2gtk-docs.sgml: Add new section for
      WebKitPlugin.
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
      * UIProcess/API/gtk/docs/webkit2gtk.types: Add new types.
      * UIProcess/API/gtk/tests/GNUmakefile.am:
      * UIProcess/API/gtk/tests/TestWebKitWebContext.cpp:
      (testWebContextGetPlugins):
      (beforeAll):
      * UIProcess/API/gtk/webkit2.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      074384bc
    • inferno@chromium.org's avatar
      Missing RenderApplet cast check in HTMLAppletElement::renderWidgetForJSBindings. · abf0fc8d
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86627
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      Test: java/inline-applet-crash.html
      
      * html/HTMLAppletElement.cpp:
      (WebCore::HTMLAppletElement::renderWidgetForJSBindings):
      
      LayoutTests:
      
      * java/inline-applet-crash-expected.txt: Added.
      * java/inline-applet-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abf0fc8d
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=86643 · 3e3fc6c7
      beidson@apple.com authored
      http/tests/security/contentSecurityPolicy/script-src-redirect.html fails on Mac bots
      
      * platform/mac/Skipped: Add to skipped list while Oliver and Michael are exploring it.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e3fc6c7
    • pfeldman@chromium.org's avatar
      Web Inspector: extract CompositeUISourceCodeProvider from DebuggerScriptMapping. · 9341d604
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86634
      
      Reviewed by Vsevolod Vlasov.
      
      Source/WebCore:
      
      Extract refactoring.
      
      * inspector/front-end/DebuggerScriptMapping.js:
      (WebInspector.DebuggerScriptMapping):
      (WebInspector.DebuggerScriptMapping.prototype.uiSourceCodeProviders):
      (WebInspector.DebuggerScriptMapping.prototype._parsedScriptSource):
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype._loadUISourceCodes):
      (WebInspector.ScriptsPanel.prototype._toggleFormatSource):
      (WebInspector.CompositeUISourceCodeProvider):
      (WebInspector.CompositeUISourceCodeProvider.prototype._registerUISourceCodeProvider):
      (WebInspector.CompositeUISourceCodeProvider.prototype._handleUISourceCodeAdded):
      (WebInspector.CompositeUISourceCodeProvider.prototype._handleUISourceCodeReplaced):
      (WebInspector.CompositeUISourceCodeProvider.prototype._handleUISourceCodeRemoved):
      (WebInspector.CompositeUISourceCodeProvider.prototype.uiSourceCodes):
      * inspector/front-end/UISourceCode.js:
      (WebInspector.UISourceCodeProvider.prototype.uiSourceCodes):
      (WebInspector.UISourceCodeProvider.prototype.addEventListener):
      (WebInspector.UISourceCodeProvider.prototype.removeEventListener):
      
      LayoutTests:
      
      * http/tests/inspector/compiler-script-mapping.html:
      * http/tests/inspector/debugger-test.js:
      (initialize_DebuggerTest):
      * inspector/debugger/linkifier.html:
      * inspector/debugger/scripts-panel.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9341d604
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=86638 · 782d1cee
      beidson@apple.com authored
      Bump the version number on the WKBundlePageLoaderClient
      
      Reviewed by Dan Bernstein.
      
      * WebProcess/InjectedBundle/API/c/WKBundlePage.h: s/1/2/
      * Shared/APIClientTraits.cpp: Update client traits for the BundlePageLoaderClient
      * Shared/APIClientTraits.h: Update client traits for the BundlePageLoaderClient
      
      * ChangeLog: Change a confusing ChangeLog entry to reflect the actual client that was changed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      782d1cee
    • apavlov@chromium.org's avatar
      Web Inspector: Double Clicking on "No watch expressions" should add an expression · 6a21920d
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86631
      
      Reviewed by Vsevolod Vlasov.
      
      A double-click listener for the section element adds a new watch expression if the correct element
      has been clicked.
      Drive-by: do not persist deleted (null) watch expressions.
      
      * inspector/front-end/WatchExpressionsSidebarPane.js:
      (WebInspector.WatchExpressionsSection.prototype._sectionDoubleClick):
      (WebInspector.WatchExpressionsSection.prototype.updateExpression):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a21920d
    • vsevik@chromium.org's avatar
      Web Inspector: Support script snippets saving. · 1ba04178
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86632
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Added SnippetJavaScriptSource extending JavaScriptSource and overriding isEditable() and commitWorkingCopy() methods.
      ScriptSnippetModel now creates instances of this new class for snippets.
      Also maps in ScriptSnippetModel simplified.
      
      * inspector/front-end/JavaScriptSource.js:
      (WebInspector.JavaScriptSource.prototype.commitWorkingCopy):
      (WebInspector):
      * inspector/front-end/JavaScriptSourceFrame.js:
      (WebInspector.JavaScriptSourceFrame.prototype.commitEditing):
      * inspector/front-end/ScriptSnippetModel.js:
      (WebInspector.ScriptSnippetModel):
      (WebInspector.ScriptSnippetModel.prototype._addScriptSnippet):
      (WebInspector.ScriptSnippetModel.prototype.deleteScriptSnippet):
      (WebInspector.ScriptSnippetModel.prototype.renameScriptSnippet):
      (WebInspector.ScriptSnippetModel.prototype.setScriptSnippetContent):
      (WebInspector.ScriptSnippetModel.prototype._uiSourceCodeList):
      (WebInspector.ScriptSnippetModel.prototype._releasedUISourceCodes):
      (WebInspector.SnippetJavaScriptSource):
      (WebInspector.SnippetJavaScriptSource.prototype.isEditable):
      (WebInspector.SnippetJavaScriptSource.prototype.commitWorkingCopy):
      (WebInspector.SnippetJavaScriptSource.prototype.get snippetId):
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype.set _fileRenamed):
      (WebInspector.ScriptsPanel.prototype._snippetCreationRequested.callback):
      (WebInspector.ScriptsPanel.prototype._snippetCreationRequested):
      
      LayoutTests:
      
      * inspector/debugger/script-snippet-model.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ba04178
    • commit-queue@webkit.org's avatar
      [EFL] Rounding errors on 32-bit machines causes tests to fail · 2eeaa735
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86194
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-05-16
      Reviewed by Martin Robinson.
      
      Pass additional CXXFLAGS to CMake in an attempt to harmonize floating
      point values between 32-bit and 64-bit architectures.
      Same flags are already used by Qt and GTK ports.
      
      * Scripts/webkitdirs.pm:
      (determineArchitecture):
      (generateBuildSystemFromCMakeProject):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2eeaa735
    • commit-queue@webkit.org's avatar
      [EFL] Memory leak in RenderThemeEfl · 970400ad
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86609
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-05-16
      Reviewed by Martin Robinson.
      
      Fix a memory leak by freeing the cairo surface with
      cairo_surface_destroy.
      
      * platform/efl/RenderThemeEfl.cpp:
      (WebCore::RenderThemeEfl::cacheThemePartFlush):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      970400ad
    • commit-queue@webkit.org's avatar
      Web Inspector: Speedup heap snapshot postprocessing · 141d0bbb
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86635
      
      Patch by Alexei Filippov <alexeif@chromium.org> on 2012-05-16
      Reviewed by Yury Semikhatsky.
      
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshot.prototype._markQueriableHeapObjects):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      141d0bbb
    • apavlov@chromium.org's avatar
      Unreviewed, followup for r117273 that fixes the Web Inspector's Computed Style pane layout. · 41dbe695
      apavlov@chromium.org authored
      * inspector/front-end/elementsPanel.css:
      (.styles-section.computed-style.expanded .properties > li):
      (.styles-section.computed-style.expanded .properties > li .webkit-css-property):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41dbe695
    • ossy@webkit.org's avatar
      [Qt] New failing and flakey tests with newer Qt 5 · 13dccf99
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86452
      
      Unreviewed gardening, skip new failing/flakey tests to paint
      the bots green. (To be able to catch new and new regressions.)
      
      * platform/qt-5.0-wk1/Skipped:
      * platform/qt-5.0-wk2/Skipped:
      * platform/qt-5.0/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13dccf99
    • caseq@chromium.org's avatar
      Web Inspector: [Extensions API] expose evaluateOptions in audit formatters · ad6b659a
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86617
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Test: inspector/extensions/extensions-audits-content-script.html
      
      - apply extension-specific audit formatters earlier (in ExtensionAduitCategory, not along with the rest in AuditFormatters);
      - use ExtensionServer.evaluate() to handle evaluateOptions instead of PageAgent.evaluate();
      
      * inspector/front-end/AuditFormatters.js: Move node and object formatters to ExtensionAuditCategory.
      (WebInspector.partiallyApplyFormatters): Added a method to traverse formatters tree and apply formatters that are passed as input.
      * inspector/front-end/ExtensionAuditCategory.js:
      (WebInspector.ExtensionAuditCategory): Pass extensionOrigin.
      (WebInspector.ExtensionAuditCategoryResults.prototype._addNode): Apply extensions formatters before adding the result.
      (WebInspector.ExtensionAuditCategoryResults.prototype._addResult):
      (WebInspector.ExtensionAuditCategoryResults.prototype.evaluate): moved from AuditFormatters.
      (WebInspector.ExtensionAuditFormatters.object.onEvaluate):
      (WebInspector.ExtensionAuditFormatters.object):
      (WebInspector.ExtensionAuditFormatters.node.onNodeAvailable):
      (WebInspector.ExtensionAuditFormatters.node.onEvaluate):
      (WebInspector.ExtensionAuditFormatters.node):
      * inspector/front-end/ExtensionServer.js:
      (WebInspector.ExtensionServer.prototype._onAddAuditCategory): Plumb extensionOrigin through to audit category.
      
      LayoutTests:
      
      * inspector/extensions/extensions-audits-content-script-expected.txt: Added.
      * inspector/extensions/extensions-audits-content-script.html: Added.
      * platform/gtk/test_expectations.txt:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad6b659a
    • commit-queue@webkit.org's avatar
      Add missing include that was causing build errors. · 05a96737
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86502
      
      Patch by Genevieve Mak <gmak@rim.com> on 2012-05-16
      Reviewed by Rob Buis.
      Reviewed Internally by Liam Quinn.
      
      * WebKitSupport/InputHandler.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05a96737
    • ossy@webkit.org's avatar
      Fixes the build with Qt 5 HEAD · 66913633
      ossy@webkit.org authored
      Patch by Donald Carr <donald.carr@nokia.com> on 2012-05-16
      Reviewed by Csaba Osztrogonác.
      
      * WebCore.pri:
      * platform/graphics/texmap/TextureMapperGL.cpp:
      * plugins/qt/PluginViewQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66913633
    • yurys@chromium.org's avatar
      [Chromium] Web Inspector:... · caf431e0
      yurys@chromium.org authored
      [Chromium] Web Inspector: DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh is broken
      https://bugs.webkit.org/show_bug.cgi?id=86629
      
      Reviewed by Pavel Feldman.
      
      Listen to DebuggerModel instead of DebuggerPresentationModel which is gone.
      
      * src/js/Tests.js:
      (.TestSuite.prototype.testScriptsTabIsPopulatedOnInspectedPageRefresh.waitUntilScriptIsParsed):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      caf431e0
    • rwlbuis@webkit.org's avatar
      SVGSVGElement checkIntersection and checkEnclosure Mem corruption · cd0dd529
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=67923
      
      Patch by Rob Buis <rbuis@rim.com> on 2012-05-16
      Reviewed by Nikolas Zimmermann.
      
      Source/WebCore:
      
      Only call checkIntersection/checkEnclosure when we have a valid renderer.
      
      Test: svg/custom/intersection-list-null.svg
      
      * svg/SVGSVGElement.cpp:
      (WebCore::SVGSVGElement::checkIntersection):
      (WebCore::SVGSVGElement::checkEnclosure):
      
      LayoutTests:
      
      Add test to check that checkIntersection/checkEnclosure do not
      crash when null is used for the element parameter.
      
      * svg/custom/intersection-list-null-expected.txt: Added.
      * svg/custom/intersection-list-null.svg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd0dd529
    • kbalazs@webkit.org's avatar
      [Qt] Web process hangs while waiting for plugin process connection during layouttests · 935c8276
      kbalazs@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86620
      
      Reviewed by Csaba Osztrogonác.
      
      Temporary workaround not to fail layout tests.
      
      * Tools.pro: Disable TestNetscapePlugin.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      935c8276
    • yurys@chromium.org's avatar
      [Chromium] Web Inspector: debugger browser tests are broken · 4e11bb80
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86624
      
      Reviewed by Vsevolod Vlasov.
      
      Use WebInspector.panels.scripts._scriptMapping instead of
      WebInspector.panels.scripts._presentationModel as the latter
      has been deleted.
      
      * src/js/Tests.js:
      (.TestSuite.prototype.nonAnonymousUISourceCodes_):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e11bb80
    • hausmann@webkit.org's avatar
      Source/WebCore: Unreviewed, rolling out r110699. · 4edbd751
      hausmann@webkit.org authored
      http://trac.webkit.org/changeset/110699
      https://bugs.webkit.org/show_bug.cgi?id=80982
      
      Not needed anymore and broke modal event loops
      
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerObject::TimerObject):
      (WebCore::RunLoop::TimerObject::performWork):
      (RunLoop::TimerObject):
      
      LayoutTests: Unskip fast/animation/request-animation-frame-during-modal.html that was
      skipped due to r110699.
      
      * platform/qt-5.0-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4edbd751
    • commit-queue@webkit.org's avatar
      [EFL] Fix uninitialized struct member added by r117258 · 2f7fcb70
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86611
      
      Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-05-16
      Reviewed by Gustavo Noronha Silva.
      
      When adding a new member to _Ewk_View_Smart_Class,
      EWK_VIEW_SMART_CLASS_VERSION needs to be updated.
      
      * ewk/ewk_view.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f7fcb70
    • ossy@webkit.org's avatar
      Unreviewed gardening: updating expectations after r117259 · 5952d5cc
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86463
      
      * platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.png: Added.
      * platform/qt-5.0-wk2/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt: Added.
      * platform/qt-5.0-wk2/svg/custom/altglyph-expected.png: Added.
      * platform/qt-5.0-wk2/svg/custom/altglyph-expected.txt: Added.
      * platform/qt-5.0-wk2/svg/custom/font-face-simple-expected.png: Added.
      * platform/qt-5.0-wk2/svg/custom/font-face-simple-expected.txt: Added.
      * platform/qt-5.0-wk2/svg/text/kerning-expected.png: Added.
      * platform/qt-5.0-wk2/svg/text/kerning-expected.txt: Added.
      * platform/qt-5.0-wk2/svg/text/multichar-glyph-expected.png: Added.
      * platform/qt-5.0-wk2/svg/text/multichar-glyph-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/color-prop-05-t-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/coords-units-03-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/filters-image-03-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/interact-pointer-03-t-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/painting-marker-07-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/paths-dom-02-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/pservers-grad-17-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/pservers-grad-20-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/pservers-pattern-03-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/struct-use-14-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/svgdom-over-01-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/text-tref-03-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/text-tspan-02-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/animate-elem-06-t-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/filters-light-04-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/filters-light-04-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-elems-06-t-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-elems-06-t-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-elems-07-t-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-elems-07-t-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-elems-08-t-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-elems-08-t-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-groups-01-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-groups-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-groups-03-t-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/render-groups-03-t-expected.txt: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/text-text-01-b-expected.png: Added.
      * platform/qt-5.0/svg/W3C-SVG-1.1/text-text-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/batik/text/smallFonts-expected.png: Added.
      * platform/qt-5.0/svg/batik/text/smallFonts-expected.txt: Added.
      * platform/qt-5.0/svg/batik/text/textAnchor-expected.png: Added.
      * platform/qt-5.0/svg/batik/text/textAnchor-expected.txt: Added.
      * platform/qt-5.0/svg/batik/text/textEffect-expected.png: Added.
      * platform/qt-5.0/svg/batik/text/textEffect-expected.txt: Added.
      * platform/qt-5.0/svg/batik/text/textEffect3-expected.png: Added.
      * platform/qt-5.0/svg/batik/text/textEffect3-expected.txt: Added.
      * platform/qt-5.0/svg/batik/text/textPosition2-expected.png: Added.
      * platform/qt-5.0/svg/batik/text/textPosition2-expected.txt:
      * platform/qt-5.0/svg/carto.net/window-expected.png: Added.
      * platform/qt-5.0/svg/carto.net/window-expected.txt: Added.
      * platform/qt-5.0/svg/custom/glyph-selection-arabic-forms-expected.png: Added.
      * platform/qt-5.0/svg/custom/glyph-selection-arabic-forms-expected.txt:
      * platform/qt-5.0/svg/custom/glyph-selection-bidi-mirror-expected.png: Added.
      * platform/qt-5.0/svg/custom/glyph-selection-bidi-mirror-expected.txt:
      * platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.png: Added.
      * platform/qt-5.0/svg/custom/glyph-selection-non-bmp-expected.txt:
      * platform/qt-5.0/svg/custom/glyph-transformation-with-hkern-expected.png: Added.
      * platform/qt-5.0/svg/custom/glyph-transformation-with-hkern-expected.txt: Added.
      * platform/qt-5.0/svg/custom/preserve-aspect-ratio-syntax-expected.png: Added.
      * platform/qt-5.0/svg/custom/preserve-aspect-ratio-syntax-expected.txt: Added.
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
      * platform/qt-5.0/svg/custom/svg-features-expected.txt: Added.
      * platform/qt-5.0/svg/custom/svg-fonts-in-html-expected.png: Added.
      * platform/qt-5.0/svg/custom/svg-fonts-in-html-expected.txt: Added.
      * platform/qt-5.0/svg/custom/svg-fonts-segmented-expected.png: Added.
      * platform/qt-5.0/svg/custom/svg-fonts-segmented-expected.txt: Added.
      * platform/qt-5.0/svg/custom/text-linking-expected.png: Added.
      * platform/qt-5.0/svg/custom/text-linking-expected.txt: Added.
      * platform/qt-5.0/svg/foreignObject/text-tref-02-b-expected.png: Added.
      * platform/qt-5.0/svg/foreignObject/text-tref-02-b-expected.txt: Added.
      * platform/qt-5.0/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.png: Added.
      * platform/qt-5.0/svg/text/select-textLength-spacingAndGlyphs-stretch-4-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-align-01-b-expected.png: Added.
      * platform/qt-5.0/svg/text/text-align-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-align-02-b-expected.png: Added.
      * platform/qt-5.0/svg/text/text-align-02-b-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-align-04-b-expected.png: Added.
      * platform/qt-5.0/svg/text/text-align-04-b-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-align-06-b-expected.png: Added.
      * platform/qt-5.0/svg/text/text-align-06-b-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-overflow-ellipsis-svgfont-expected.png: Added.
      * platform/qt-5.0/svg/text/text-overflow-ellipsis-svgfont-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-text-01-b-expected.png: Added.
      * platform/qt-5.0/svg/text/text-text-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-text-04-t-expected.png: Added.
      * platform/qt-5.0/svg/text/text-text-04-t-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-tselect-01-b-expected.png: Added.
      * platform/qt-5.0/svg/text/text-tselect-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/text/text-tspan-01-b-expected.png: Added.
      * platform/qt-5.0/svg/text/text-tspan-01-b-expected.txt: Added.
      * platform/qt-5.0/svg/transforms/text-with-mask-with-svg-transform-expected.png: Added.
      * platform/qt-5.0/svg/transforms/text-with-mask-with-svg-transform-expected.txt: Added.
      * platform/qt-5.0/svg/transforms/text-with-pattern-inside-transformed-html-expected.png: Added.
      * platform/qt-5.0/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt: Added.
      * platform/qt-5.0/svg/transforms/text-with-pattern-with-svg-transform-expected.png: Added.
      * platform/qt-5.0/svg/transforms/text-with-pattern-with-svg-transform-expected.txt: Added.
      * platform/qt-5.0/svg/wicd/test-rightsizing-b-expected.png: Added.
      * platform/qt-5.0/svg/wicd/test-rightsizing-b-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5952d5cc
    • pfeldman@chromium.org's avatar
      Web Inspector: split ScriptMapping into UISourceCodeProvider and SourceMapping. · 07290a92
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86616
      
      Reviewed by Vsevolod Vlasov.
      
      Source/WebCore:
      
      This change simply splits the interface.
      
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * inspector/compile-front-end.py:
      * inspector/front-end/CompilerScriptMapping.js:
      (WebInspector.CompilerScriptMapping.prototype.get uiSourceCodes):
      (WebInspector.CompilerScriptMapping.prototype.reset):
      * inspector/front-end/DebuggerModel.js:
      * inspector/front-end/DebuggerResourceBinding.js:
      (WebInspector.DebuggerResourceBinding):
      (WebInspector.DebuggerResourceBinding.prototype._uiSourceCodeForResource):
      * inspector/front-end/DebuggerScriptMapping.js:
      (WebInspector.DebuggerScriptMapping):
      (WebInspector.DebuggerScriptMapping.prototype.uiSourceCodes):
      (WebInspector.DebuggerScriptMapping.prototype._handleUISourceCodeAdded):
      (WebInspector.DebuggerScriptMapping.prototype._handleUISourceCodeReplaced):
      (WebInspector.DebuggerScriptMapping.prototype._handleUISourceCodeRemoved):
      * inspector/front-end/FilteredItemSelectionDialog.js:
      (WebInspector.OpenScriptDialog):
      (WebInspector.OpenScriptDialog.install):
      (WebInspector.OpenScriptDialog._show):
      * inspector/front-end/PresentationConsoleMessageHelper.js:
      (WebInspector.PresentationConsoleMessageHelper):
      (WebInspector.PresentationConsoleMessageHelper.prototype._consoleCleared):
      * inspector/front-end/ResourceScriptMapping.js:
      (WebInspector.ResourceScriptMapping.prototype.uiSourceCodes):
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeAdded):
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeReplaced):
      (WebInspector.ResourceScriptMapping.prototype._uiSourceCodeRemoved):
      * inspector/front-end/Script.js:
      * inspector/front-end/ScriptSnippetModel.js:
      (WebInspector.ScriptSnippetModel.prototype._uiSourceCodes):
      (WebInspector.SnippetScriptMapping.prototype.uiSourceCodes):
      (WebInspector.SnippetScriptMapping.prototype._fireUISourceCodeAdded):
      (WebInspector.SnippetScriptMapping.prototype._fireUISourceCodeRemoved):
      * inspector/front-end/ScriptsPanel.js:
      * inspector/front-end/ScriptsSearchScope.js:
      (WebInspector.ScriptsSearchScope):
      (WebInspector.ScriptsSearchScope.prototype._sortedUISourceCodes):
      * inspector/front-end/SourceMapping.js: Renamed from Source/WebCore/inspector/front-end/ScriptMapping.js.
      * inspector/front-end/UISourceCode.js:
      (WebInspector.UISourceCodeProvider):
      (WebInspector.UISourceCodeProvider.prototype.uiSourceCodes):
      (WebInspector.UILocation):
      (WebInspector.UILocation.prototype.uiLocationToRawLocation):
      * inspector/front-end/WebKit.qrc:
      * inspector/front-end/inspector.html:
      
      LayoutTests:
      
      * http/tests/inspector/compiler-script-mapping.html:
      * inspector/debugger/scripts-panel.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07290a92
    • commit-queue@webkit.org's avatar
      Add didFinishProgress BundleUIClient callback · 0ed62503
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86541
      
      Patch by Dinu Jacob <dinu.jacob@nokia.com> on 2012-05-16
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit2:
      
      Added didFinishProgress BundleUIClient callback needed by
      WebKitTestRunner. This callback is invoked in postProgressFinishedNotification.
      
      * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
      (WebKit::InjectedBundlePageLoaderClient::didFinishProgress):
      (WebKit):
      * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
      (InjectedBundlePageLoaderClient):
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::postProgressFinishedNotification):
      * WebProcess/qt/QtBuiltinBundlePage.cpp:
      (WebKit::QtBuiltinBundlePage::QtBuiltinBundlePage):
      
      Tools:
      
      Added support for dumpProgressFinishedCallback.
      
      * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
      * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
      (WTR::InjectedBundlePage::InjectedBundlePage):
      (WTR::InjectedBundlePage::didFinishProgress):
      (WTR):
      * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
      (InjectedBundlePage):
      * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
      (WTR::LayoutTestController::LayoutTestController):
      * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      (WTR::LayoutTestController::dumpProgressFinishedCallback):
      (WTR::LayoutTestController::setShouldDumpProgressFinishedCallback):
      (WTR::LayoutTestController::shouldDumpProgressFinishedCallback):
      (LayoutTestController):
      
      LayoutTests:
      
      Unskip passing test.
      
      * platform/qt-5.0-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ed62503
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Fix my typo. · eacd85d4
      kkristof@inf.u-szeged.hu authored
      Patch by Ádám Kallai <kadam@inf.u-szeged.hu> on 2012-05-16
      
      * platform/qt/Skipped: After r117262.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@117275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eacd85d4