1. 08 Feb, 2013 40 commits
    • vsevik@chromium.org's avatar
      Web Inspector: Extension sever should use Workspace.projectForType() instead of Workspace.project() · 91a8bd83
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109301
      
      Reviewed by Alexander Pavlov.
      
      * inspector/front-end/ExtensionServer.js:
      (WebInspector.ExtensionServer.prototype._onGetPageResources):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91a8bd83
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · c37ab43d
      schenney@chromium.org authored
      Unreviewed expectations update.
      
      Round 3. Remaining expected failures that had platform-specific supppressions
      
      * platform/chromium-linux-x86/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Removed.
      * platform/chromium-linux-x86/fast/gradients/css3-linear-angle-gradients-expected.png: Removed.
      * platform/chromium-linux/fast/css/background-clip-radius-values-expected.png:
      * platform/chromium-linux/fast/css/nested-rounded-corners-expected.png:
      * platform/chromium-linux/fast/dom/HTMLMeterElement/meter-optimums-expected.png:
      * platform/chromium-linux/fast/frames/iframe-scaling-with-scroll-expected.png:
      * platform/chromium-linux/fast/gradients/css3-linear-angle-gradients-expected.png:
      * platform/chromium-linux/fast/replaced/border-radius-clip-content-edge-expected.png:
      * platform/chromium-mac-lion/editing/pasteboard/emacs-cntl-y-001-expected.png: Added.
      * platform/chromium-mac-lion/editing/pasteboard/emacs-ctrl-a-k-y-expected.png: Added.
      * platform/chromium-mac-lion/fast/css/nested-rounded-corners-expected.png:
      * platform/chromium-mac-lion/fast/dom/52776-expected.png:
      * platform/chromium-mac-lion/fast/frames/iframe-scaling-with-scroll-expected.png:
      * platform/chromium-mac-lion/fast/gradients/css3-linear-angle-gradients-expected.png: Removed.
      * platform/chromium-mac-snowleopard/fast/css/nested-rounded-corners-expected.png:
      * platform/chromium-mac-snowleopard/fast/dom/52776-expected.png:
      * platform/chromium-mac-snowleopard/fast/gradients/css3-linear-angle-gradients-expected.png: Removed.
      * platform/chromium-mac-snowleopard/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png: Removed.
      * platform/chromium-mac/editing/pasteboard/emacs-cntl-y-001-expected.png: Added.
      * platform/chromium-mac/editing/pasteboard/emacs-ctrl-a-k-y-expected.png: Added.
      * platform/chromium-mac/fast/css/background-clip-radius-values-expected.png:
      * platform/chromium-mac/fast/css/nested-rounded-corners-expected.png:
      * platform/chromium-mac/fast/dom/52776-expected.png:
      * platform/chromium-mac/fast/gradients/css3-linear-angle-gradients-expected.png:
      * platform/chromium-mac/fast/replaced/border-radius-clip-content-edge-expected.png: Added.
      * platform/chromium-mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png:
      * platform/chromium-win-xp/fast/dom/HTMLMeterElement/meter-optimums-expected.png: Removed.
      * platform/chromium-win-xp/fast/gradients/css3-linear-angle-gradients-expected.png: Removed.
      * platform/chromium-win/fast/css/background-clip-radius-values-expected.png:
      * platform/chromium-win/fast/css/nested-rounded-corners-expected.png:
      * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.png:
      * platform/chromium-win/fast/gradients/css3-linear-angle-gradients-expected.png:
      * platform/chromium-win/fast/replaced/border-radius-clip-content-edge-expected.png: Added.
      * platform/chromium/TestExpectations:
      * platform/chromium/editing/pasteboard/emacs-cntl-y-001-expected.png: Removed.
      * platform/chromium/editing/pasteboard/emacs-ctrl-a-k-y-expected.png: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c37ab43d
    • yurys@chromium.org's avatar
      Web Inspector: simplify Memory.getDOMNodeCount implementation · b29decf6
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=108821
      
      Reviewed by Alexander Pavlov.
      
      Removed Memory.getDOMNodeCount command from the protocol. Memory.getDOMCounters
      should be used instead.
      
      * inspector/Inspector.json:
      * inspector/InspectorMemoryAgent.cpp:
      * inspector/InspectorMemoryAgent.h:
      (InspectorMemoryAgent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b29decf6
    • kadam@inf.u-szeged.hu's avatar
      [Qt] Reviewin Qt TestExpectations. Rebaseline and unskip passing tests. · 1f60e76d
      kadam@inf.u-szeged.hu authored
      * platform/qt/TestExpectations:
      * platform/qt/svg/css/arrow-with-shadow-expected.png:
      * platform/qt/svg/css/arrow-with-shadow-expected.txt:
      * platform/qt/svg/css/clippath-with-shadow-expected.png:
      * platform/qt/svg/css/clippath-with-shadow-expected.txt:
      * platform/qt/svg/css/composite-shadow-text-expected.png:
      * platform/qt/svg/custom/simple-text-double-shadow-expected.png:
      * platform/qt/svg/custom/simple-text-double-shadow-expected.txt:
      * platform/qt/svg/repaint/repaint-webkit-svg-shadow-expected.png: Copied from LayoutTests/platform/qt/svg/css/clippath-with-shadow-expected.png.
      * platform/qt/svg/repaint/repaint-webkit-svg-shadow-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f60e76d
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · 9f89524c
      schenney@chromium.org authored
      Unreviewed expectations update.
      
      Round 2. Failing Linux tests with no expectations
      
      * platform/chromium-linux/fast/forms/button-generated-content-expected.png:
      * platform/chromium-linux/fast/forms/button-inner-block-reuse-expected.png:
      * platform/chromium-linux/fast/repaint/japanese-rl-selection-clear-expected.png:
      * platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-expected.png:
      * platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-in-regions-expected.png:
      * platform/chromium-linux/fast/text/justify-ideograph-vertical-expected.png:
      * platform/chromium-linux/fast/writing-mode/border-vertical-lr-expected.png:
      * platform/chromium-linux/fast/writing-mode/japanese-lr-selection-expected.png:
      * platform/chromium-linux/fast/writing-mode/japanese-lr-text-expected.png:
      * platform/chromium-linux/fast/writing-mode/japanese-rl-selection-expected.png:
      * platform/chromium-linux/svg/batik/text/smallFonts-expected.png:
      * platform/chromium-linux/svg/batik/text/textDecoration-expected.png:
      * platform/chromium-linux/svg/batik/text/textFeatures-expected.png:
      * platform/chromium-linux/svg/custom/shapes-supporting-markers-expected.png:
      * platform/chromium-linux/svg/text/selection-styles-expected.png:
      * platform/efl-wk2/fast/repaint: Added.
      * platform/efl-wk2/fast/repaint/japanese-rl-selection-clear-expected.png: Added.
      * platform/efl/fast/repaint/japanese-rl-selection-clear-expected.png: Removed.
      * platform/efl/svg/batik/text/textDecoration-expected.png: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f89524c
    • yurys@chromium.org's avatar
      Web Inspector: refactor MemoryStatistics.js · 8c0ae566
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109299
      
      Reviewed by Vsevolod Vlasov.
      
      Extracted functionality specific to DOM counter graphs drawing into
      separate methods on MemoryStatistics class.
      Introduced CounterUIBase base class for DOMCounterUI that contains
      functionality which can be shared with native memory graph.
      
      * inspector/front-end/MemoryStatistics.js:
      (WebInspector.MemoryStatistics):
      (WebInspector.CounterUIBase):
      (WebInspector.CounterUIBase.prototype.updateCurrentValue):
      (WebInspector.CounterUIBase.prototype.clearCurrentValueAndMarker):
      (WebInspector.CounterUIBase.prototype.get visible):
      (WebInspector.DOMCounterUI):
      (WebInspector.DOMCounterUI.prototype.discardImageUnderMarker):
      (WebInspector.MemoryStatistics.prototype._onMouseOut):
      (WebInspector.MemoryStatistics.prototype._clearCurrentValueAndMarker):
      (WebInspector.MemoryStatistics.prototype._refreshCurrentValues):
      (WebInspector.MemoryStatistics.prototype._updateCurrentValue):
      (WebInspector.MemoryStatistics.prototype._highlightCurrentPositionOnGraphs):
      (WebInspector.MemoryStatistics.prototype._restoreImageUnderMarker):
      (WebInspector.MemoryStatistics.prototype._saveImageUnderMarker):
      (WebInspector.MemoryStatistics.prototype._drawMarker):
      (WebInspector.MemoryStatistics.prototype._clear):
      (WebInspector.MemoryStatistics.prototype._discardImageUnderMarker):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c0ae566
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · b92b74ac
      schenney@chromium.org authored
      Unreviewed expectations update.
      
      Round 1. Some tests that have existing expectations.
      
      * editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Added.
      * fast/repaint/transform-absolute-in-positioned-container-expected.txt: Added.
      * platform/chromium-linux-x86/editing/input: Removed.
      * platform/chromium-linux/editing/input/caret-at-the-edge-of-contenteditable-expected.png:
      * platform/chromium-linux/editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
      * platform/chromium-linux/editing/input/reveal-caret-of-multiline-input-expected.png:
      * platform/chromium-linux/fast/repaint/transform-absolute-in-positioned-container-expected.png:
      * platform/chromium-mac-lion/editing/input/caret-at-the-edge-of-contenteditable-expected.png:
      * platform/chromium-mac-lion/editing/input/caret-at-the-edge-of-input-expected.png:
      * platform/chromium-mac-lion/editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
      * platform/chromium-mac-lion/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Added.
      * platform/chromium-mac-lion/editing/input/reveal-caret-of-multiline-input-expected.png:
      * platform/chromium-mac-snowleopard/editing/input/caret-at-the-edge-of-contenteditable-expected.png:
      * platform/chromium-mac-snowleopard/editing/input/caret-at-the-edge-of-input-expected.png:
      * platform/chromium-mac-snowleopard/editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
      * platform/chromium-mac-snowleopard/editing/input/reveal-caret-of-multiline-input-expected.png:
      * platform/chromium-mac/editing/input/caret-at-the-edge-of-contenteditable-expected.png:
      * platform/chromium-mac/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Added.
      * platform/chromium-mac/editing/input/caret-at-the-edge-of-input-expected.png:
      * platform/chromium-mac/editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
      * platform/chromium-mac/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt: Added.
      * platform/chromium-mac/editing/input/reveal-caret-of-multiline-input-expected.png:
      * platform/chromium-win-xp/editing/input: Removed.
      * platform/chromium-win/editing/input/caret-at-the-edge-of-contenteditable-expected.png:
      * platform/chromium-win/editing/input/caret-at-the-edge-of-contenteditable-expected.txt:
      * platform/chromium-win/editing/input/reveal-caret-of-multiline-contenteditable-expected.png:
      * platform/chromium-win/editing/input/reveal-caret-of-multiline-contenteditable-expected.txt:
      * platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.png:
      * platform/chromium-win/editing/input/reveal-caret-of-multiline-input-expected.txt:
      * platform/chromium-win/fast/repaint/transform-absolute-in-positioned-container-expected.png:
      * platform/chromium/TestExpectations:
      * platform/chromium/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Removed.
      * platform/efl-wk1/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Removed.
      * platform/efl-wk2/editing/input: Added.
      * platform/efl-wk2/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Added.
      * platform/efl/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Removed.
      * platform/gtk/editing/input/caret-at-the-edge-of-contenteditable-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b92b74ac
    • kadam@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. · 3c009022
      kadam@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=109209.
      
      * platform/qt/TestExpectations:
      * platform/qt/fast/text/international/bidi-ignored-for-first-child-inline-expected.png: Added after r142152.
      * platform/qt/fast/text/international/bidi-ignored-for-first-child-inline-expected.txt: Added after r142152.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c009022
    • kadam@inf.u-szeged.hu's avatar
      [Qt][Wk2] Unreviewed gardening. Skip failing tests. · fb24238d
      kadam@inf.u-szeged.hu authored
      https://bugs.webkit.org/show_bug.cgi?id=109291.
      
      * platform/qt-5.0-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb24238d
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · 32ed9662
      schenney@chromium.org authored
      Unreviewed expectations update.
      
      These are tests that failed due to bad expectations.
      
      * platform/chromium-linux/fast/writing-mode/japanese-rl-text-with-broken-font-expected.png:
      * platform/chromium-mac-lion/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.png:
      * platform/chromium-mac-lion/svg/as-background-image/svg-as-background-5-expected.png:
      * platform/chromium-mac-snowleopard/svg/as-background-image/svg-as-background-5-expected.png:
      * platform/chromium-mac/platform/chromium/rubberbanding/custom-scrollbars-ne-expected.png: Added.
      * platform/chromium-mac/platform/chromium/rubberbanding/custom-scrollbars-nw-expected.png: Added.
      * platform/chromium-mac/platform/chromium/rubberbanding/custom-scrollbars-se-expected.png: Added.
      * platform/chromium-mac/platform/chromium/rubberbanding/custom-scrollbars-sw-expected.png: Added.
      * platform/chromium-mac/platform/chromium/rubberbanding/overhang-ne-expected.png: Added.
      * platform/chromium-mac/platform/chromium/rubberbanding/overhang-nw-expected.png: Added.
      * platform/chromium-mac/platform/chromium/rubberbanding/overhang-se-expected.png: Added.
      * platform/chromium-mac/platform/chromium/rubberbanding/overhang-sw-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-ne-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-ne-expected.txt: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-nw-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-nw-expected.txt: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-se-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-se-expected.txt: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-sw-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/custom-scrollbars-sw-expected.txt: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-ne-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-ne-expected.txt: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-nw-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-nw-expected.txt: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-se-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-se-expected.txt: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-sw-expected.png: Added.
      * platform/chromium-win/platform/chromium/rubberbanding/overhang-sw-expected.txt: Added.
      * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-80-t-expected.png:
      * platform/chromium-win/svg/W3C-SVG-1.1/linking-a-04-t-expected.png:
      * platform/chromium-win/svg/as-background-image/svg-as-background-5-expected.png:
      * platform/chromium-win/svg/custom/embedding-external-svgs-expected.png:
      * platform/chromium-win/svg/custom/pointer-events-text-expected.png:
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32ed9662
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · 0278ea1a
      schenney@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium/TestExpectations: Last of the Win failures.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0278ea1a
    • mkwst@chromium.org's avatar
      Add a new IGNORE_EXCEPTION helper to ignore ExceptionCodes when they are expected but uninteresting · 33cdf43a
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=108771
      
      Reviewed by Eric Seidel.
      
      In cases where the ExceptionCode passed into a function is completely
      ignored, this patch replaces it with a new IGNORE_EXCEPTION macro. This
      makes our expectations about possible exceptions (or lack thereof)
      explicit, rather than relying on implicit assumptions about whether a
      variable is intentionally uninitialized or not. It also removes
      knowledge about the internals of ExceptionCodes (that they're currently
      ints, for instance) from code that shouldn't care, which will help with
      future refactorings.
      
      The implementation is entirely based upon ASSERT_NO_EXCEPTION, and
      shouldn't have any visible effect on the web. As long as all the
      current tests pass, we're good.
      
      * Modules/indexeddb/IDBRequest.cpp:
      (WebCore::IDBRequest::dispatchEvent):
      (WebCore::IDBRequest::uncaughtExceptionInEventHandler):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::stop):
      * Modules/websockets/WebSocketChannel.cpp:
      (WebCore::WebSocketChannel::processBuffer):
      * dom/Document.cpp:
      (WebCore::Document::processHttpEquiv):
      * dom/ExceptionCodePlaceholder.h:
      (WebCore):
      * dom/Node.cpp:
      (WebCore::Node::normalize):
      * dom/Text.cpp:
      (WebCore::Text::replaceWholeText):
      * editing/AlternativeTextController.cpp:
      (WebCore::AlternativeTextController::insertDictatedText):
      * editing/AppendNodeCommand.cpp:
      (WebCore::AppendNodeCommand::doApply):
      (WebCore::AppendNodeCommand::doUnapply):
      * editing/CompositeEditCommand.cpp:
      (WebCore::CompositeEditCommand::insertNewDefaultParagraphElementAt):
      * editing/DeleteFromTextNodeCommand.cpp:
      (WebCore::DeleteFromTextNodeCommand::doUnapply):
      * editing/Editor.cpp:
      (WebCore::dispatchEditableContentChangedEvents):
      (WebCore::Editor::applyEditingStyleToElement):
      * editing/EditorCommand.cpp:
      (WebCore::executeFormatBlock):
      * editing/FormatBlockCommand.cpp:
      (WebCore::FormatBlockCommand::elementForFormatBlockCommand):
      * editing/InsertIntoTextNodeCommand.cpp:
      (WebCore::InsertIntoTextNodeCommand::doApply):
      (WebCore::InsertIntoTextNodeCommand::doUnapply):
      * editing/InsertListCommand.cpp:
      (WebCore::InsertListCommand::doApplyForSingleParagraph):
      * editing/InsertNodeBeforeCommand.cpp:
      (WebCore::InsertNodeBeforeCommand::doApply):
      (WebCore::InsertNodeBeforeCommand::doUnapply):
      * editing/RemoveCSSPropertyCommand.cpp:
      (WebCore::RemoveCSSPropertyCommand::doApply):
      (WebCore::RemoveCSSPropertyCommand::doUnapply):
      * editing/RemoveNodeCommand.cpp:
      (WebCore::RemoveNodeCommand::doApply):
      (WebCore::RemoveNodeCommand::doUnapply):
      * editing/ReplaceSelectionCommand.cpp:
      (WebCore::ReplaceSelectionCommand::removeRedundantStylesAndKeepStyleSpanInline):
      * editing/TextIterator.cpp:
      (WebCore::TextIterator::getLocationAndLengthFromRange):
      * editing/WrapContentsInDummySpanCommand.cpp:
      (WebCore::WrapContentsInDummySpanCommand::executeApply):
      (WebCore::WrapContentsInDummySpanCommand::doUnapply):
      * editing/htmlediting.cpp:
      (WebCore::comparePositions):
      * editing/markup.cpp:
      (WebCore::highestAncestorToWrapMarkup):
      * html/FTPDirectoryDocument.cpp:
      (WebCore::FTPDirectoryDocumentParser::appendEntry):
      (WebCore::FTPDirectoryDocumentParser::createTDForFilename):
      (WebCore::FTPDirectoryDocumentParser::loadDocumentTemplate):
      (WebCore::FTPDirectoryDocumentParser::createBasicDocument):
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::rewind):
      (WebCore::HTMLMediaElement::returnToRealtime):
      (WebCore::HTMLMediaElement::playInternal):
      (WebCore::HTMLMediaElement::percentLoaded):
      (WebCore::HTMLMediaElement::mediaPlayerTimeChanged):
      (WebCore::HTMLMediaElement::mediaPlayerDurationChanged):
      (WebCore::HTMLMediaElement::applyMediaFragmentURI):
      * html/HTMLOutputElement.cpp:
      (WebCore::HTMLOutputElement::setTextContentInternal):
      * html/HTMLSelectElement.cpp:
      (WebCore::HTMLSelectElement::remove):
      * html/HTMLTableElement.cpp:
      (WebCore::HTMLTableElement::createTHead):
      (WebCore::HTMLTableElement::deleteTHead):
      (WebCore::HTMLTableElement::createTFoot):
      (WebCore::HTMLTableElement::deleteTFoot):
      (WebCore::HTMLTableElement::createCaption):
      (WebCore::HTMLTableElement::deleteCaption):
      * html/HTMLTextAreaElement.cpp:
      (WebCore::HTMLTextAreaElement::setDefaultValue):
      * html/ImageDocument.cpp:
      (WebCore::ImageDocument::createDocumentStructure):
      * html/InputType.cpp:
      (WebCore::InputType::stepUpFromRenderer):
      * html/MediaController.cpp:
      (MediaController::bringElementUpToSpeed):
      (MediaController::asyncEventTimerFired):
      * html/MediaDocument.cpp:
      (WebCore::MediaDocumentParser::createDocumentStructure):
      (WebCore::MediaDocument::replaceMediaElementTimerFired):
      * html/PluginDocument.cpp:
      (WebCore::PluginDocumentParser::createDocumentStructure):
      * html/RangeInputType.cpp:
      (WebCore::RangeInputType::handleKeydownEvent):
      * html/TimeRanges.cpp:
      (TimeRanges::contain):
      (TimeRanges::nearest):
      * html/canvas/CanvasRenderingContext2D.cpp:
      (WebCore::CanvasRenderingContext2D::drawImageFromRect):
      * html/shadow/MediaControlElementTypes.cpp:
      (WebCore::MediaControlSeekButtonElement::seekTimerFired):
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlPanelElement::setPosition):
      (WebCore::MediaControlPanelElement::resetPosition):
      (WebCore::MediaControlStatusDisplayElement::update):
      (WebCore::MediaControlRewindButtonElement::defaultEventHandler):
      (WebCore::MediaControlTimelineElement::defaultEventHandler):
      * html/shadow/MediaControls.cpp:
      (WebCore::MediaControls::updateCurrentTimeDisplay):
      (WebCore::MediaControls::createTextTrackDisplay):
      * html/shadow/MediaControlsApple.cpp:
      (WebCore::MediaControlsApple::updateCurrentTimeDisplay):
      * html/shadow/MediaControlsBlackBerry.cpp:
      (WebCore::MediaControlEmbeddedPanelElement::setPosition):
      (WebCore::MediaControlEmbeddedPanelElement::resetPosition):
      (WebCore::MediaControlFullscreenTimelineElement::defaultEventHandler):
      (WebCore::MediaControlsBlackBerry::updateCurrentTimeDisplay):
      * html/shadow/MediaControlsChromium.cpp:
      (WebCore::MediaControlsChromium::updateCurrentTimeDisplay):
      * html/track/InbandTextTrack.cpp:
      (WebCore::InbandTextTrack::addGenericCue):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::InspectorCSSAgent::buildArrayForMatchedRuleList):
      * inspector/InspectorHistory.cpp:
      (WebCore::InspectorHistory::markUndoableState):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::InspectorResourceAgent::replayXHR):
      * page/ContextMenuController.cpp:
      (WebCore::ContextMenuController::contextMenuItemSelected):
      * page/DOMWindow.cpp:
      (WebCore::didAddStorageEventListener):
      * page/DragController.cpp:
      (WebCore::documentFragmentFromDragData):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::dispatchDragEvent):
      (WebCore::EventHandler::keyEvent):
      (WebCore::EventHandler::handleTextInputEvent):
      * page/Page.cpp:
      (WebCore::Page::findStringMatchingRanges):
      * platform/efl/RenderThemeEfl.cpp:
      (WebCore::RenderThemeEfl::paintMediaSliderTrack):
      * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
      (WebCore::MediaPlayerPrivate::percentLoaded):
      * platform/gtk/RenderThemeGtk.cpp:
      (WebCore::RenderThemeGtk::paintMediaSliderTrack):
      * platform/mac/PasteboardMac.mm:
      (WebCore::Pasteboard::getDataSelection):
      (WebCore::documentFragmentWithImageResource):
      (WebCore::Pasteboard::documentFragment):
      * platform/mac/WebVideoFullscreenHUDWindowController.mm:
      (-[WebVideoFullscreenHUDWindowController setCurrentTime:]):
      (-[WebVideoFullscreenHUDWindowController setVolume:]):
      * platform/qt/RenderThemeQt.cpp:
      (WebCore::RenderThemeQt::paintMediaSliderTrack):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::getRanges):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::paintMediaSliderTrack):
      * svg/SVGTRefElement.cpp:
      (WebCore::SVGTRefElement::detachTarget):
      * xml/XMLTreeViewer.cpp:
      (WebCore::XMLTreeViewer::transformDocumentToTreeView):
      * xml/parser/XMLDocumentParserLibxml2.cpp:
      (WebCore::XMLDocumentParser::endElementNs):
      * xml/parser/XMLDocumentParserQt.cpp:
      (WebCore::XMLDocumentParser::parseEndElement):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33cdf43a
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · 11b6ae6f
      schenney@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium/TestExpectations: Adding Mac rubberbanding failures
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11b6ae6f
    • vsevik@chromium.org's avatar
      Web Inspector: Introduce workspace provider/project type, encapsulate uri... · 19ddee5e
      vsevik@chromium.org authored
      Web Inspector: Introduce workspace provider/project type, encapsulate uri creation in SimpleWorkspaceProvider.
      https://bugs.webkit.org/show_bug.cgi?id=109282
      
      Reviewed by Alexander Pavlov.
      
      Source/WebCore:
      
      SimpleWorkspaceProvider now fully takes care of creating uri based on project/workspace provider type.
      This is the first step on the way to project-per-domain mode for non file system project types.
      Workspace is now partly aware of the possibility that several projects with the same type exist.
      Drive-by: ScriptsPanel now uses FileMapping to show anchor location properly.
      
      * inspector/front-end/DefaultScriptMapping.js:
      (WebInspector.DefaultScriptMapping):
      (WebInspector.DefaultScriptMapping.prototype.addScript):
      * inspector/front-end/ExtensionServer.js:
      (WebInspector.ExtensionServer.prototype._onGetPageResources):
      * inspector/front-end/FileMapping.js:
      (WebInspector.FileMapping.prototype.uriForURL):
      * inspector/front-end/FileSystemWorkspaceProvider.js:
      (WebInspector.FileSystemWorkspaceProvider.prototype.type):
      * inspector/front-end/JavaScriptSourceFrame.js:
      (WebInspector.JavaScriptSourceFrame.prototype._supportsEnabledBreakpointsWhileEditing):
      * inspector/front-end/LiveEditSupport.js:
      (WebInspector.LiveEditSupport):
      (WebInspector.LiveEditSupport.prototype.uiSourceCodeForLiveEdit):
      * inspector/front-end/ScriptSnippetModel.js:
      (WebInspector.ScriptSnippetModel):
      (WebInspector.ScriptSnippetModel.prototype._addScriptSnippet):
      * inspector/front-end/ScriptsNavigator.js:
      (WebInspector.ScriptsNavigator.prototype._navigatorViewForUISourceCode):
      (WebInspector.ScriptsNavigator.prototype.revealUISourceCode):
      (WebInspector.SnippetsNavigatorView.prototype._handleEvaluateSnippet):
      (WebInspector.SnippetsNavigatorView.prototype._handleRemoveSnippet):
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype._addUISourceCode):
      (WebInspector.ScriptsPanel.prototype._projectWillReset):
      (WebInspector.ScriptsPanel.prototype.canShowAnchorLocation):
      (WebInspector.ScriptsPanel.prototype._createSourceFrame):
      (WebInspector.ScriptsPanel.prototype.set _fileRenamed):
      * inspector/front-end/SimpleWorkspaceProvider.js:
      (WebInspector.SimpleWorkspaceProvider):
      (WebInspector.SimpleWorkspaceProvider.uriForURL):
      (WebInspector.SimpleWorkspaceProvider.prototype.type):
      (WebInspector.SimpleWorkspaceProvider.prototype.addFileForURL):
      (WebInspector.SimpleWorkspaceProvider.prototype.addUniqueFileForURL):
      (WebInspector.SimpleWorkspaceProvider.prototype._innerAddFileForURL):
      (WebInspector.SimpleWorkspaceProvider.prototype._uniqueURI):
      * inspector/front-end/Workspace.js:
      (WebInspector.WorkspaceProvider.prototype.type):
      (WebInspector.Project.prototype.type):
      (WebInspector.Project.prototype.isServiceProject):
      (WebInspector.Workspace.prototype.uiSourceCodeForOriginURL):
      (WebInspector.Workspace.prototype.uiSourceCodesForProjectType):
      (WebInspector.Workspace.prototype.projectsForType):
      * inspector/front-end/inspector.js:
      
      LayoutTests:
      
      * http/tests/inspector-enabled/dynamic-scripts.html:
      * http/tests/inspector/compiler-script-mapping.html:
      * http/tests/inspector/workspace-test.js:
      (initialize_WorkspaceTest.InspectorTest.createWorkspace):
      * inspector/debugger/breakpoint-manager.html:
      * inspector/debugger/dynamic-scripts.html:
      * inspector/debugger/script-snippet-model.html:
      * inspector/debugger/scripts-file-selector.html:
      * inspector/debugger/scripts-panel.html:
      * inspector/debugger/scripts-sorting-expected.txt:
      * inspector/debugger/scripts-sorting.html:
      * inspector/uisourcecode-revisions.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19ddee5e
    • kov@webkit.org's avatar
      Updated French translation · a070bf22
      kov@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=106229
      
      Patch by Alexandre Franke <alexandre.franke@gmail.com> on 2013-02-08
      Rubber-stamped by Gustavo Noronha.
      
      * fr.po: updated.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a070bf22
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · 57002e36
      schenney@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium/TestExpectations: Outstanding Win failures
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57002e36
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · ed918564
      schenney@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium/TestExpectations: One more to get all bots green again ready for rebaselining.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ed918564
    • commit-queue@webkit.org's avatar
      [GTK][AC] GraphicsLayerClutter doesn't need to recalculate its position after... · 3db75f89
      commit-queue@webkit.org authored
      [GTK][AC] GraphicsLayerClutter doesn't need to recalculate its position after changing anchor position.
      https://bugs.webkit.org/show_bug.cgi?id=109226
      
      Patch by ChangSeok Oh <shivamidow@gmail.com> on 2013-02-08
      Reviewed by Gustavo Noronha Silva.
      
      Clutter has a different coordinate system from mac port's, so we don't need to
      recalulate GraphicsLayer position after changing its anchor position.
      
      Covered by existing ac tests.
      
      * platform/graphics/clutter/GraphicsLayerClutter.cpp:
      (WebCore::GraphicsLayerClutter::updateGeometry):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3db75f89
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · c95073cc
      schenney@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium/TestExpectations: Modified a MountainLion expectation
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c95073cc
    • schenney@chromium.org's avatar
      Expectations as a result of removing Skia code suppressions · 40e2184a
      schenney@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40e2184a
    • mkwst@chromium.org's avatar
      Migrate ExceptionCode ASSERTs in IDB to ASSERT_NO_EXCEPTION. · d08810f1
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109266
      
      Reviewed by Jochen Eisinger.
      
      The pattern:
      
          ExceptionCode ec = 0;
          methodThatGeneratesException(ec);
          ASSERT(!ec);
      
      is more clearly and succinctly written as:
      
          methodThatGeneratesException(ASSERT_NO_EXCEPTION);
      
      This patch replaces the occurances of the former in IDB code that never
      touch 'ec' again with the latter. No change in behavior should result
      from this refactoring.
      
      * Modules/indexeddb/IDBCursor.cpp:
      (WebCore::IDBCursor::advance):
      (WebCore::IDBCursor::continueFunction):
      (WebCore::IDBCursor::deleteFunction):
          These methods checked the value of the ExceptionCode without first
          initializing it to 0. Now the ExceptionCode is explicitly set to 0
          before doing potentially exception-generating work.
      (WebCore::IDBCursor::direction):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::mode):
          Replace the above pattern with ASSERT_NO_EXCEPTION.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d08810f1
    • mkwst@chromium.org's avatar
      Migrate ExceptionCode ASSERTs in SVG to ASSERT_NO_EXCEPTION. · 9003fd31
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109267
      
      Reviewed by Jochen Eisinger.
      
      The pattern:
      
          ExceptionCode ec = 0;
          methodThatGeneratesException(ec);
          ASSERT(!ec);
      
      is more clearly and succinctly written as:
      
          methodThatGeneratesException(ASSERT_NO_EXCEPTION);
      
      This patch replaces the occurances of the former in SVG code that never
      touch 'ec' again with the latter. No change in behavior should result
      from this refactoring.
      
      * svg/SVGLength.cpp:
      (WebCore::SVGLength::SVGLength):
      (WebCore::SVGLength::setValue):
          This method checked the value of the ExceptionCode without first
          initializing it to 0. Now it initializes before doing potentially
          exception-generating work.
      * rendering/style/SVGRenderStyle.h:
      (WebCore::SVGRenderStyle::initialBaselineShiftValue):
      (WebCore::SVGRenderStyle::initialKerning):
      (WebCore::SVGRenderStyle::initialStrokeDashOffset):
      (WebCore::SVGRenderStyle::initialStrokeWidth):
      * svg/SVGAnimatedLength.cpp:
      (WebCore::sharedSVGLength):
      (WebCore::SVGAnimatedLengthAnimator::addAnimatedTypes):
      (WebCore::SVGAnimatedLengthAnimator::calculateAnimatedValue):
      * svg/SVGAnimatedLengthList.cpp:
      (WebCore::SVGAnimatedLengthListAnimator::addAnimatedTypes):
      (WebCore::SVGAnimatedLengthListAnimator::calculateAnimatedValue):
      * svg/SVGTextContentElement.cpp:
      (WebCore::SVGTextContentElement::textLengthAnimated):
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::constructQualifiedName):
          Replace the above pattern with ASSERT_NO_EXCEPTION.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9003fd31
    • akling@apple.com's avatar
      JSC: Lower minimum PropertyTable size. · a176842a
      akling@apple.com authored
      <http://webkit.org/b/109247>
      
      Reviewed by Darin Adler.
      
      Lower the minimum table size for PropertyTable from 16 to 8.
      3.32 MB progression on Membuster3 (a ~13% reduction in memory used by PropertyTables.)
      
      * runtime/PropertyMapHashTable.h:
      (PropertyTable):
      (JSC::PropertyTable::sizeForCapacity):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a176842a
    • vsevik@chromium.org's avatar
      Web Inspector: Replace workspace with project in UISourceCode constructor. · 1d03a2e9
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109256
      
      Reviewed by Alexander Pavlov.
      
      Source/WebCore:
      
      Replaced workspace with project in UISourceCode constructor since every UISourceCode
      operation is delegated to project anyway.
      
      * inspector/front-end/UISourceCode.js:
      (WebInspector.UISourceCode):
      (WebInspector.UISourceCode.prototype.project):
      (WebInspector.UISourceCode.prototype.requestContent):
      (WebInspector.UISourceCode.prototype.requestOriginalContent):
      (WebInspector.UISourceCode.prototype._commitContent):
      (WebInspector.UISourceCode.prototype.searchInContent):
      * inspector/front-end/Workspace.js:
      (WebInspector.Project.prototype._fileAdded):
      (WebInspector.Project.prototype.requestFileContent):
      (WebInspector.Project.prototype.setFileContent):
      (WebInspector.Project.prototype.searchInFileContent):
      
      LayoutTests:
      
      * inspector/debugger/breakpoint-manager-expected.txt:
      * inspector/debugger/breakpoint-manager.html:
      * inspector/debugger/script-formatter-search.html:
      * inspector/debugger/scripts-file-selector.html:
      * inspector/debugger/scripts-panel.html:
      * inspector/debugger/scripts-sorting.html:
      * inspector/debugger/ui-source-code-display-name.html:
      * inspector/debugger/ui-source-code.html:
      * inspector/uisourcecode-revisions.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d03a2e9
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 57eb0454
      zandobersek@gmail.com authored
      * platform/gtk/fast/js/global-constructors-expected.txt: Rebaselining after r142205.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57eb0454
    • schenney@chromium.org's avatar
      Remove Skia code suppressions · e11d77f5
      schenney@chromium.org authored
      Unreviewed enabling of existing optimizations
      
      Removing all skia_webkit.gyp code suppressions and adding expectations
      for the failures.
      
      Source/WebKit/chromium: 
      
      * skia_webkit.gyp:
      
      LayoutTests: 
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e11d77f5
    • caio.oliveira@openbossa.org's avatar
      Update my entries in the watchlist · 86d1b892
      caio.oliveira@openbossa.org authored
      Unreviewed.
      
      * Scripts/webkitpy/common/config/watchlist:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86d1b892
    • schenney@chromium.org's avatar
      [chromium] Unreviewed gardening. Adjusting expectations for two failures. · fd5b4ff1
      schenney@chromium.org authored
      Unreviewed Chromium expectations
      
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd5b4ff1
    • paroga@webkit.org's avatar
      Build fix for Windows after r141981. · 6018606d
      paroga@webkit.org authored
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::loadResourceSynchronously):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142254 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6018606d
    • jochen@chromium.org's avatar
      [chromium] copy normalizeLayoutTestURL code to TestRunner library · 991b4323
      jochen@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109269
      
      Reviewed by Kent Tamura.
      
      The method doesn't have any external dependencies, so there's no reason
      it should be on the delegate. It's still required by TestShell, however,
      by making a copy, we can avoid implementing this in content shell.
      
      * DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h:
      (WebTestDelegate):
      * DumpRenderTree/chromium/TestRunner/src/WebPermissions.cpp:
      (WebTestRunner::WebPermissions::allowImage):
      (WebTestRunner::WebPermissions::allowScriptFromSource):
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::windowCount):
      * DumpRenderTree/chromium/TestShell.h:
      * DumpRenderTree/chromium/WebViewHost.cpp:
      * DumpRenderTree/chromium/WebViewHost.h:
      (WebViewHost):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142253 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      991b4323
    • rakuco@webkit.org's avatar
      Unreviewed, forced commit to trigger an EFL bot cycle · 379d0118
      rakuco@webkit.org authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142252 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      379d0118
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r141695 and r141697. · 12fd4ffb
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/141695
      http://trac.webkit.org/changeset/141697
      https://bugs.webkit.org/show_bug.cgi?id=109279
      
      broke on-disk buffering for http(s) media (Requested by philn
      on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-08
      
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      (WebCore::MediaPlayerPrivateGStreamer::load):
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.h:
      (MediaPlayerPrivateGStreamer):
      * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
      (webKitWebSrcGetProtocols):
      (webKitWebSrcSetUri):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      12fd4ffb
    • commit-queue@webkit.org's avatar
      [v8] isolate parameter added to all v8::peristent calls · fde23764
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109268
      
      Patch by Dan Carney <dcarney@google.com> on 2013-02-08
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      No new tests. No change in functionality.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateDomainSafeFunctionGetter):
      (GenerateNamedConstructorCallback):
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::TestActiveDOMObjectV8Internal::postMessageAttrGetter):
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructorConstructor::GetTemplate):
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestOverloadedConstructors.cpp:
      (WebCore::V8TestOverloadedConstructors::GetRawTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      * bindings/v8/DOMWrapperMap.h:
      (WebCore::DOMWrapperMap::clear):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::isolatedWorldWeakCallback):
      (WebCore::DOMWrapperWorld::makeContextWeak):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScheduledAction.cpp:
      (WebCore::ScheduledAction::ScheduledAction):
      (WebCore::ScheduledAction::~ScheduledAction):
      * bindings/v8/ScopedPersistent.h:
      (WebCore::ScopedPersistent::ScopedPersistent):
      (WebCore::ScopedPersistent::set):
      (WebCore::ScopedPersistent::clear):
      * bindings/v8/ScriptWrappable.h:
      (WebCore::ScriptWrappable::setWrapper):
      (WebCore::ScriptWrappable::disposeWrapper):
      (WebCore::ScriptWrappable::weakCallback):
      * bindings/v8/V8Binding.cpp:
      (WebCore::createRawTemplate):
      * bindings/v8/V8Binding.h:
      (WebCore):
      * bindings/v8/V8GCController.cpp:
      (WebCore::gcTree):
      (WebCore::V8GCController::gcPrologue):
      (WebCore::V8GCController::minorGCPrologue):
      * bindings/v8/V8GCController.h:
      (V8GCController):
      * bindings/v8/V8HiddenPropertyName.cpp:
      (WebCore::V8HiddenPropertyName::createString):
      * bindings/v8/V8LazyEventListener.cpp:
      (WebCore::V8LazyEventListener::prepareListenerObject):
      * bindings/v8/V8NPObject.cpp:
      (WebCore::V8NPTemplateMap::dispose):
      (WebCore::npObjectGetProperty):
      (WebCore::createV8ObjectForNPObject):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      (WebCore::V8PerContextData::createWrapperFromCacheSlowCase):
      (WebCore::V8PerContextData::constructorForTypeSlowCase):
      * bindings/v8/V8ValueCache.cpp:
      (WebCore::makeExternalString):
      * bindings/v8/WrapperTypeInfo.h:
      (WebCore::WrapperConfiguration::configureWrapper):
      * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
      (WebCore::V8HTMLDocument::wrapInShadowObject):
      * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
      (WebCore::V8HTMLImageElementConstructor::GetTemplate):
      * bindings/v8/custom/V8InjectedScriptManager.cpp:
      (WebCore::WeakReferenceCallback):
      (WebCore::createInjectedScriptHostV8Wrapper):
      * bindings/v8/custom/V8LocationCustom.cpp:
      (WebCore::V8Location::reloadAccessorGetter):
      (WebCore::V8Location::replaceAccessorGetter):
      (WebCore::V8Location::assignAccessorGetter):
      
      Source/WebKit/chromium:
      
      * tests/WebFrameTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142250 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fde23764
    • rakuco@webkit.org's avatar
      [EFL] Make the Performance bot also build WebKit. · cbf5f522
      rakuco@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109273
      
      Reviewed by Philippe Normand.
      
      There has not been much benefit in fetching binaries compiled by
      another bot; it makes the build bot take 6 to 7 minutes to upload
      the binaries to build.webkit.org, we need to manually override
      LD_LIBRARY_PATH to find the compiled libraries and still have
      other path-related problems.
      
      Since we have enough horsepower in the perf bot, let's experiment
      with building WebKit there instead.
      
      * BuildSlaveSupport/build.webkit.org-config/config.json:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142249 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cbf5f522
    • tkent@chromium.org's avatar
      Adjust usage of ENABLE flags to enable whole content · c271a5fc
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109270
      
      Reviewed by Eric Seidel.
      
      Our common usage of ENABLE flags to enable whole content of files is:
      
      For .cpp files:
        #include "config.h"
        #if ENABLE(FOOBAR)
        #include "FooBar.h"
      
      For .h files:
        #ifndef FooBar_h
        #define FooBar_h
        #if ENABLE(FOOBAR)
      
      Fix files which have uncommon usage, and fix CodeGeneratorV8.pm so that
      it generates the common pattern. Note that CodeGeneratorJS.pm already
      generates code in this order.
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateHeaderContentHeader):
      (GenerateImplementationContentHeader):
      * bindings/scripts/test/V8/V8TestCallback.cpp:
      * bindings/scripts/test/V8/V8TestCallback.h:
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      * bindings/scripts/test/V8/V8TestInterface.h:
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.h:
      * html/BaseMultipleFieldsDateAndTimeInputType.h:
      * html/ColorInputType.cpp:
      * html/ColorInputType.h:
      * html/DateInputType.cpp:
      * html/DateTimeInputType.cpp:
      * html/DateTimeInputType.h:
      * html/DateTimeLocalInputType.cpp:
      * html/HTMLAudioElement.cpp:
      * html/HTMLAudioElement.h:
      * html/HTMLDataListElement.cpp:
      * html/HTMLDialogElement.cpp:
      * html/HTMLDialogElement.h:
      * html/HTMLMediaElement.cpp:
      * html/HTMLMediaElement.h:
      * html/HTMLMeterElement.cpp:
      * html/HTMLProgressElement.cpp:
      * html/HTMLSourceElement.cpp:
      * html/HTMLSourceElement.h:
      * html/HTMLTrackElement.cpp:
      * html/HTMLTrackElement.h:
      * html/HTMLVideoElement.cpp:
      * html/HTMLVideoElement.h:
      * html/MonthInputType.cpp:
      * html/TimeInputType.cpp:
      * html/WeekInputType.cpp:
      * html/shadow/DateTimeFieldElement.h:
      * html/shadow/DetailsMarkerControl.cpp:
      * html/shadow/MeterShadowElement.cpp:
      * html/shadow/ProgressShadowElement.cpp:
      * rendering/RenderDetailsMarker.cpp:
      * rendering/RenderInputSpeech.cpp:
      * rendering/RenderMeter.cpp:
      * rendering/RenderProgress.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142248 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c271a5fc
    • mkwst@chromium.org's avatar
      Replace ExceptionCode assertions with ASSERT_NO_EXCEPTION macro. · 4d257487
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109044
      
      Reviewed by Darin Adler.
      
      The pattern:
      
          ExceptionCode ec = 0;
          methodThatGeneratesException(ec);
          ASSERT(!ec);
      
      is more clearly and succinctly written as:
      
          methodThatGeneratesException(ASSERT_NO_EXCEPTION);
      
      This patch replaces the occurances of the former that never touch 'ec'
      again with the latter. It does the same for 'ASSERT(ec == 0);' (and, as
      a drive-by, replaces 'ASSERT(ec == 0)' with 'ASSERT(!ec)' in places
      where it does indeed matter that 'ec' get set properly.
      
      No change in behavior should result from this refactoring.
      
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::takeAllChildrenFrom):
      * dom/Document.cpp:
      (WebCore::Document::setTitle):
      * dom/MessagePort.cpp:
      (WebCore::MessagePort::dispatchMessages):
      (WebCore::MessagePort::disentanglePorts):
      * editing/DeleteButtonController.cpp:
      (WebCore::enclosingDeletableElement):
      (WebCore::DeleteButtonController::createDeletionUI):
          Replaced inline ASSERT with ASSERT_NO_EXCEPTION.
      (WebCore::DeleteButtonController::show):
          Replaced 'ASSERT(ec == 0)' with 'ASSERT(!ec)' to match the style guide.
      * editing/EditorCommand.cpp:
      (WebCore::unionDOMRanges):
      * editing/ReplaceNodeWithSpanCommand.cpp:
      (WebCore::swapInNodePreservingAttributesAndChildren):
      * editing/ReplaceSelectionCommand.cpp:
      (WebCore::ReplacementFragment::ReplacementFragment):
      (WebCore::ReplacementFragment::removeNode):
      (WebCore::ReplacementFragment::insertNodeBefore):
      (WebCore::ReplacementFragment::insertFragmentForTestRendering):
      (WebCore::ReplacementFragment::restoreAndRemoveTestRenderingNodesToFragment):
      (WebCore::ReplaceSelectionCommand::insertAsListItems):
      * editing/SplitTextNodeCommand.cpp:
      (WebCore::SplitTextNodeCommand::doUnapply):
      * editing/TextIterator.cpp:
      (WebCore::CharacterIterator::range):
      (WebCore::BackwardsCharacterIterator::range):
      (WebCore::TextIterator::rangeFromLocationAndLength):
      (WebCore::collapsedToBoundary):
      * editing/htmlediting.cpp:
      (WebCore::createTabSpanElement):
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::fontForSelection):
      (WebCore::Editor::fontAttributesForSelectionStart):
      * editing/markup.cpp:
      (WebCore::createMarkup):
      (WebCore::trimFragment):
      (WebCore::createFragmentFromMarkupWithContext):
      (WebCore::fillContainerFromString):
      (WebCore::createFragmentFromText):
      (WebCore::createFragmentFromNodes):
      * html/ColorInputType.cpp:
      (WebCore::ColorInputType::createShadowSubtree):
          Replaced inline ASSERT with ASSERT_NO_EXCEPTION.
      * html/HTMLOptionsCollection.cpp:
      (WebCore::HTMLOptionsCollection::add):
          Replaced 'ASSERT(ec == 0)' with 'ASSERT(!ec)' to match the style guide.
      * html/HTMLTextAreaElement.cpp:
      (WebCore::HTMLTextAreaElement::updatePlaceholderText):
      * html/HTMLTextFormControlElement.cpp:
      (WebCore::HTMLTextFormControlElement::indexForVisiblePosition):
      (WebCore::HTMLTextFormControlElement::setInnerTextValue):
      * html/TextFieldInputType.cpp:
      (WebCore::TextFieldInputType::updatePlaceholderText):
      * html/ValidationMessage.cpp:
      (WebCore::ValidationMessage::buildBubbleTree):
      * html/shadow/MediaControlElementTypes.cpp:
      (WebCore::MediaControlVolumeSliderElement::defaultEventHandler):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::InspectorPageAgent::getCookies):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyleSheet::addRule):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::dispatchDOMEvent):
      * page/DOMSelection.cpp:
      (WebCore::DOMSelection::deleteFromDocument):
      * page/DragController.cpp:
      (WebCore::prepareClipboardForImageDrag):
      * rendering/RenderTextControl.cpp:
      (WebCore::RenderTextControl::visiblePositionForIndex):
          Replaced inline ASSERT with ASSERT_NO_EXCEPTION.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142247 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d257487
    • falken@chromium.org's avatar
      204eb2b8
    • kadam@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Skip failing tests. · f7881bc5
      kadam@inf.u-szeged.hu authored
      * platform/qt-5.0/fast/js/global-constructors-expected.txt: Removed.
      * platform/qt/TestExpectations:
      * platform/qt/fast/js/global-constructors-expected.txt: Added after r142149.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142245 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7881bc5
    • commit-queue@webkit.org's avatar
      [EFL] Mark some tests as passing with incorrect expectations · 59b1acf2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109173
      
      Unreviewed EFL gardening.
      
      Add new category for TestExpectations: PASSING TESTS WITH INCORRECT EXPECTATIONS.
      
      Currently, the tests are passing with their generated incorrect expectations.
      It should be checked if the test starts failing. It means, the test can be passing now.
      
      Below tests are marked as passing tests with incorrect expectations.
      
      fast/forms/basic-textareas-quirks.html
      fast/forms/input-disabled-color.html
      fast/forms/input-readonly-dimmed.html
      fast/forms/listbox-hit-test-zoomed.html
      fast/forms/menulist-narrow-width.html
      fast/forms/menulist-style-color.html
      fast/forms/plaintext-mode-2.html
      fast/forms/search-cancel-button-style-sharing.html
      fast/forms/search-rtl.html
      fast/forms/select-baseline.html
      fast/forms/select-style.html
      fast/forms/zoomed-controls.html
      
      Patch by KwangYong Choi <ky0.choi@samsung.com> on 2013-02-08
      
      * platform/efl-wk1/TestExpectations:
      * platform/efl-wk2/TestExpectations:
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59b1acf2
    • commit-queue@webkit.org's avatar
      Web Inspector: disable profile type switching while profile in progress · 588a8dd3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109178
      
      Patch by Alexei Filippov <alph@chromium.org> on 2013-02-08
      Reviewed by Yury Semikhatsky.
      
      Disables profile type selection controls when a profiling session
      is in progress.
      
      * inspector/front-end/HeapSnapshotView.js:
      (WebInspector.HeapSnapshotProfileType.prototype.buttonClicked):
      * inspector/front-end/ProfileLauncherView.js:
      (WebInspector.ProfileLauncherView.prototype._updateControls):
      * inspector/front-end/ProfilesPanel.js:
      (WebInspector.ProfilesPanel.prototype.toggleRecordButton):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@142243 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      588a8dd3