1. 28 Feb, 2012 40 commits
    • barraclough@apple.com's avatar
      [[Get]]/[[Put]] for primitives should not wrap on strict accessor call · dca6b2ea
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79588
      
      Reviewed by Oliver Hunt.
      
      In the case of [[Get]], this is a pretty trivial bug - just don't wrap
      primitives at the point you call a getter.
      
      For setters, this is a little more involved, since we have already wrapped
      the value up in a synthesized object. Stop doing so. There is also a further
      subtely, that in strict mode all attempts to create a new data property on
      the object should throw.
      
      Source/JavaScriptCore: 
      
      * runtime/JSCell.cpp:
      (JSC::JSCell::put):
          - [[Put]] to a string primitive should use JSValue::putToPrimitive.
      * runtime/JSObject.cpp:
      (JSC::JSObject::put):
          - Remove static function called in one place.
      * runtime/JSObject.h:
      (JSC::JSValue::put):
          - [[Put]] to a non-cell JSValue should use JSValue::putToPrimitive.
      * runtime/JSValue.cpp:
      (JSC::JSValue::synthesizePrototype):
          - Add support for synthesizing the prototype of strings.
      (JSC::JSValue::putToPrimitive):
          - Added, implements [[Put]] for primitive bases, per 8.7.2.
      * runtime/JSValue.h:
      (JSValue):
          - Add declaration for JSValue::putToPrimitive.
      * runtime/PropertySlot.cpp:
      (JSC::PropertySlot::functionGetter):
          - Don't call ToObject on primitive this values.
      
      LayoutTests: 
      
      * fast/js/mozilla/strict/15.5.5.1-expected.txt:
      * fast/js/primitive-property-access-edge-cases-expected.txt:
      * fast/js/read-modify-eval-expected.txt:
      * fast/js/script-tests/primitive-property-access-edge-cases.js:
      * fast/js/script-tests/read-modify-eval.js:
          - Added new test cases & updated test results.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dca6b2ea
    • dcheng@chromium.org's avatar
      Clipboard::getData should return an empty string instead of undefined · 5c1c9729
      dcheng@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79712
      
      Reviewed by Tony Chang.
      
      Source/WebCore:
      
      Per the spec, an empty string should be returned when there is no data for the given typestring.
      
      Test: fast/events/dataTransfer-getData-returns-empty-string.html
      
      * bindings/js/JSClipboardCustom.cpp:
      * bindings/v8/custom/V8ClipboardCustom.cpp:
      * dom/Clipboard.h:
      (Clipboard):
      * dom/Clipboard.idl:
      * platform/blackberry/ClipboardBlackBerry.cpp:
      (WebCore::ClipboardBlackBerry::getData):
      * platform/blackberry/ClipboardBlackBerry.h:
      (ClipboardBlackBerry):
      * platform/chromium/ClipboardChromium.cpp:
      (WebCore::ClipboardChromium::getData):
      * platform/chromium/ClipboardChromium.h:
      (ClipboardChromium):
      * platform/efl/ClipboardEfl.cpp:
      (WebCore::ClipboardEfl::getData):
      * platform/efl/ClipboardEfl.h:
      (ClipboardEfl):
      * platform/gtk/ClipboardGtk.cpp:
      (WebCore::ClipboardGtk::getData):
      * platform/gtk/ClipboardGtk.h:
      (ClipboardGtk):
      * platform/mac/ClipboardMac.h:
      (ClipboardMac):
      * platform/mac/ClipboardMac.mm:
      (WebCore::ClipboardMac::getData):
      * platform/qt/ClipboardQt.cpp:
      (WebCore::ClipboardQt::getData):
      * platform/qt/ClipboardQt.h:
      (ClipboardQt):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getFullCFHTML):
      (WebCore::getURL):
      (WebCore::getPlainText):
      (WebCore::getTextHTML):
      (WebCore::getCFHTML):
      (WebCore::fragmentFromHTML):
      * platform/win/ClipboardUtilitiesWin.h:
      (WebCore):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::getData):
      * platform/win/ClipboardWin.h:
      (ClipboardWin):
      * platform/wx/ClipboardWx.cpp:
      (WebCore::ClipboardWx::getData):
      * platform/wx/ClipboardWx.h:
      (ClipboardWx):
      
      LayoutTests:
      
      * fast/events/dataTransfer-getData-returns-empty-string-expected.txt: Added.
      * fast/events/dataTransfer-getData-returns-empty-string.html: Added.
      * http/tests/local/drag-over-remote-content-expected.txt:
      * http/tests/security/drag-over-remote-content-iframe-expected.txt:
      * http/tests/security/drag-over-remote-content-iframe.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5c1c9729
    • bashi@chromium.org's avatar
      [Chromium] Uninitialized value in LocaleToScriptCodeForFontSelection · d0f24939
      bashi@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79779
      
      Set USCRIPT_COMMON to scriptCode as the initial value.
      
      Reviewed by Kent Tamura.
      
      No new tests. No behavior change.
      
      * platform/text/LocaleToScriptMappingICU.cpp:
      (WebCore::localeToScriptCodeForFontSelection):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0f24939
    • mhahnenberg@apple.com's avatar
      Re-enable parallel GC on Mac · e9812c0e
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79837
      
      Rubber stamped by Filip Pizlo.
      
      * runtime/Options.cpp:
      (JSC::Options::initializeOptions): We accidentally disabled parallel GC with this line,
      so we removed it and things should go back to normal.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9812c0e
    • kbr@google.com's avatar
      [chromium] Work around IOSurface-related corruption during readback · 7a5b72f1
      kbr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79735
      
      Reviewed by James Robinson.
      
      Copy the compositor's IOSurface-backed output into a temporary
      texture and perform the ReadPixels operation against that texture.
      
      It is infeasible to write an automated test for this issue.
      Tested manually by performing print preview multiple times against
      pages containing WebGL content on 10.7 and observing that the
      corruption in the output is no longer present.
      
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::getFramebufferPixels):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a5b72f1
    • fpizlo@apple.com's avatar
      Some run-javascriptcore-tests broken for 32-bit debug · a573d05e
      fpizlo@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79844
      
      Rubber stamped by Oliver Hunt.
              
      These assertions are just plain wrong for 32-bit. We could either have a massive
      assertion that depends on value representation, that has to be changed every
      time we change the JITs, resulting in a bug tail of debug-mode crashes, or we
      could get rid of the assertions. I pick the latter.
      
      * dfg/DFGOperations.cpp:
      * jit/JITStubs.cpp:
      (JSC::DEFINE_STUB_FUNCTION):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a573d05e
    • enne@google.com's avatar
      [chromium] Inform v8 about extra memory used for PatternSkia clamp mode · af4e7a2e
      enne@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79846
      
      Reviewed by James Robinson.
      
      For large images, creating a non-repeating Pattern in Skia can
      allocate a lot of memory. Inform v8 about this so that it can
      potentially garbage collect any Pattern objects that aren't being used
      and that are holding onto large image copies.
      
      * platform/graphics/Pattern.cpp:
      (WebCore::Pattern::Pattern):
      * platform/graphics/Pattern.h:
      (Pattern):
      * platform/graphics/skia/PatternSkia.cpp:
      (WebCore::Pattern::platformDestroy):
      (WebCore::Pattern::platformPattern):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af4e7a2e
    • adamk@chromium.org's avatar
      Unreviewed gardening, mark another compositing test as flaky. · dc5a4256
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79823
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc5a4256
    • commit-queue@webkit.org's avatar
      All mouse events after a right click are ignored when they came from WebkitTestRunner · 0ba31b85
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77350
      
      Patch by Hugo Parente Lima <hugo.lima@openbossa.org> on 2012-02-28
      Reviewed by Chang Shu.
      
      Source/WebKit2:
      
      Never ignore mouse events when using sync events, even if the context menu is being
      show but the Ui did replied the ShowContextMenu event with a ContextMenuHidden.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::mouseEventSyncForTesting):
      
      LayoutTests:
      
      Unskip fast/events/mouse-click-events.html.
      
      * platform/qt-5.0-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ba31b85
    • commit-queue@webkit.org's avatar
      [chromium] Reset damage tracker on visibility change. · af37c779
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79267
      
      Patch by Jonathan Backer <backer@chromium.org> on 2012-02-28
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Unit tests: CCLayerTreeHostImplTest.cpp
      
      * platform/graphics/chromium/LayerRendererChromium.cpp:
      (WebCore::LayerRendererChromium::setVisible):
      
      Source/WebKit/chromium:
      
      * tests/CCLayerTreeHostImplTest.cpp:
      (WebKit::PartialSwapTrackerContext::getString):
      (WebKit):
      (WebKit::TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af37c779
    • commit-queue@webkit.org's avatar
      [Qt] Unskip compositing & 3d-rendering tests · 6ca96f96
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78687
      
      Patch by Rafael Brandao <rafael.lobo@openbossa.org> on 2012-02-28
      Reviewed by Noam Rosenthal.
      
      * platform/qt-4.8/Skipped:
      * platform/qt-5.0-wk1/Skipped:
      * platform/qt-5.0-wk2/Skipped:
      * platform/qt-5.0-wk2/compositing/animation/busy-indicator-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/animation/state-at-end-event-transform-layer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/animation/state-at-end-event-transform-layer-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/color-matching/image-color-matching-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/color-matching/image-color-matching-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/color-matching/pdf-image-match-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/color-matching/pdf-image-match-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/compositing-visible-descendant-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/compositing-visible-descendant-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/direct-image-compositing-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/framesets/composited-frame-alignment-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/generated-content-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/generated-content-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/abs-position-inside-opacity-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/abs-position-inside-opacity-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/clipping-foreground-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/clipping-foreground-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/composited-html-size-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/composited-html-size-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-in-composited-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-in-composited-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-composited-page-scale-down-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-composited-page-scale-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-iframe-composited-page-scale-down-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-iframe-composited-page-scale-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-transform-composited-page-scale-down-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/fixed-position-transform-composited-page-scale-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/foreground-layer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/horizontal-scroll-composited-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/horizontal-scroll-composited-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-deep-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-deep-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/layer-due-to-layer-children-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/limit-layer-bounds-overflow-repaint-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/outline-change-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/outline-change-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/partial-layout-update-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/partial-layout-update-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/preserve-3d-switching-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/repaint-foreground-layer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/root-layer-update-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/root-layer-update-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/transfrom-origin-on-zero-size-layer-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/vertical-scroll-composited-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/vertical-scroll-composited-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/geometry/video-fixed-scrolling-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/iframes/composited-iframe-alignment-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/iframes/composited-iframe-alignment-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/iframes/iframe-copy-on-scroll-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/iframes/iframe-copy-on-scroll-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/iframes/iframe-in-composited-layer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/iframes/iframe-in-composited-layer-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/iframes/resizer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/iframes/resizer-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/images/direct-image-background-color-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/images/direct-image-background-color-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/layer-creation/spanOverlapsCanvas-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/layers-inside-overflow-scroll-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/layers-inside-overflow-scroll-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/fixed-position-ancestor-clip-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/fixed-position-ancestor-clip-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-compositing-descendant-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-compositing-descendant-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-positioning-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-positioning-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-scaled-descendant-overlapping-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-scaled-descendant-overlapping-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/overflow-scroll-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/parent-overflow-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/parent-overflow-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/scroll-ancestor-update-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/scroll-ancestor-update-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/scrollbar-painting-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/scrollbar-painting-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/overflow/theme-affects-visual-overflow-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/overflow/theme-affects-visual-overflow-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/plugins/composited-plugin-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/plugins/composited-plugin-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/become-overlay-composited-layer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/become-overlay-composited-layer-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/composited-document-element-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/composited-document-element-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/content-into-overflow-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/content-into-overflow-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/layer-repaint-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/layer-repaint-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/layer-repaint-rects-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/layer-repaint-rects-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute2-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/opacity-between-absolute2-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/overflow-into-content-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/repaint/overflow-into-content-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/repaint/same-size-invalidation-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/scaling/tiled-layer-recursion-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/self-painting-layers-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/self-painting-layers-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/shadows/shadow-drawing-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/shadows/shadow-drawing-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/sibling-positioning-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/sibling-positioning-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/text-on-large-layer-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/text-on-large-layer-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/transitions/scale-transition-no-start-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/transitions/scale-transition-no-start-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/transitions/singular-scale-transition-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/transitions/singular-scale-transition-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/video/video-background-color-expected.png: Added.
      * platform/qt-5.0-wk2/compositing/video/video-background-color-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/visibility/visibility-composited-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/visibility/visibility-composited-transforms-expected.txt: Added.
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ca96f96
    • lforschler@apple.com's avatar
      Fix a typo in config.json · d0bfae8d
      lforschler@apple.com authored
      linx -> linux
              
      * BuildSlaveSupport/build.webkit.org-config/config.json:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0bfae8d
    • adamk@chromium.org's avatar
      Remove suppressions of SVG crash flakiness on cr-mac · 33d436e4
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79707
      
      Unreviewed gardening.
      
      The suspect cause of these failures was rolled out in r109164.
      Removing the suppressions to see if the rollout fixes them.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109165 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33d436e4
    • adamk@chromium.org's avatar
      Unreviewed gardening, mark another compositing as flaky. · fe803711
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79823
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe803711
    • commit-queue@webkit.org's avatar
      No extra silence needed in multi-channels support layout test cases · beb59ccc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79752
      
      Patch by Wei James <james.wei@intel.com> on 2012-02-28
      Reviewed by Chris Rogers.
      
      * webaudio/audiobuffersource-multi-channels-expected.wav:
      * webaudio/audiobuffersource-multi-channels.html:
      * webaudio/resources/mix-testing.js:
      * webaudio/up-mixing-mono-51-expected.wav:
      * webaudio/up-mixing-mono-51.html:
      * webaudio/up-mixing-mono-stereo-expected.wav:
      * webaudio/up-mixing-mono-stereo.html:
      * webaudio/up-mixing-stereo-51-expected.wav:
      * webaudio/up-mixing-stereo-51.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      beb59ccc
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r108834. · 45871f61
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/108834
      https://bugs.webkit.org/show_bug.cgi?id=79840
      
      Seems to cause a number of crashes under
      FrameView::doDeferredRepaints (Requested by jamesr__ on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-28
      
      * svg/graphics/SVGImage.cpp:
      (WebCore::SVGImage::draw):
      * svg/graphics/SVGImage.h:
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redrawTimerFired):
      * svg/graphics/SVGImageCache.h:
      (SVGImageCache):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45871f61
    • mario@webkit.org's avatar
      [GTK] Add support for nested event loops in RunLoop · b95f038c
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79499
      
      Reviewed by Martin Robinson.
      
      Run a new nested mainloop if the main event loop is already
      running when calling to RunLoop::run(), and take care of stopping
      the right main loop too when RunLoop::stop() is invoked.
      
      * platform/RunLoop.h:
      (RunLoop):
      * platform/gtk/RunLoopGtk.cpp:
      (WebCore::RunLoop::RunLoop):
      (WebCore::RunLoop::~RunLoop):
      (WebCore::RunLoop::run):
      (WebCore::RunLoop::innermostLoop):
      (WebCore::RunLoop::pushNestedMainLoop):
      (WebCore::RunLoop::popNestedMainLoop):
      (WebCore):
      (WebCore::RunLoop::stop):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b95f038c
    • ap@apple.com's avatar
      More build fix. · 9dcf18bd
      ap@apple.com authored
              * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm: Check for build platform
              properly.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9dcf18bd
    • mhahnenberg@apple.com's avatar
      Get rid of padding cruft in CopiedBlock · 7f6ae18e
      mhahnenberg@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79686
      
      Reviewed by Filip Pizlo.
      
      * heap/CopiedBlock.h:
      (CopiedBlock): Removed the extra padding that was used for alignment purposes until
      the calculation of the payload offset into CopiedBlocks was redone recently.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109158 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7f6ae18e
    • jchaffraix@webkit.org's avatar
      Move RenderLayer::size() calls to a common function · 43efdb0f
      jchaffraix@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76972
      
      Reviewed by Simon Fraser.
      
      Refactoring only.
      
      This change introduces RenderBox::cachedSizeForOverflowClip() that handles all the cached size
      requests that currently goes through the RenderLayer. This indirection helps to decouple the need
      for a RenderLayer so that we can lazily allocate RenderLayers as part of bug 75568.
      
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::cachedSizeForOverflowClip):
      Added this function to handle the calls to RenderLayer's size(). Unfortunately a lot of the
      code calls RenderLayer::size() directly so I could not make it private.
      
      * rendering/LayoutState.cpp:
      (WebCore::LayoutState::LayoutState):
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::computeRectForRepaint):
      * rendering/RenderBox.h:
      (RenderBox):
      * rendering/RenderInline.cpp:
      (WebCore::RenderInline::clippedOverflowRectForRepaint):
      (WebCore::RenderInline::computeRectForRepaint):
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::computeRectForRepaint):
      Fixed the call sites above.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109157 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      43efdb0f
    • dino@apple.com's avatar
      Move custom filter tests into subdir to make them easier to skip... · a060ba95
      dino@apple.com authored
      Move custom filter tests into subdir to make them easier to skip https://bugs.webkit.org/show_bug.cgi?id=79825
      
      Reviewed by Simon Fraser.
      
      Moved all CSS Shader tests into a 'custom' sub-directory. Added this directory
      to the relevant skip lists.
      
      * css3/filters/custom-filter-property-computed-style.html: Removed.
      * css3/filters/custom-filter-property-parsing-invalid.html: Removed.
      * css3/filters/custom-filter-property-parsing.html: Removed.
      * css3/filters/custom/custom-filter-property-computed-style-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-property-computed-style-expected.txt.
      * css3/filters/custom/custom-filter-property-computed-style.html: Added.
      * css3/filters/custom/custom-filter-property-parsing-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-property-parsing-expected.txt.
      * css3/filters/custom/custom-filter-property-parsing-invalid-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-property-parsing-invalid-expected.txt.
      * css3/filters/custom/custom-filter-property-parsing-invalid.html: Added.
      * css3/filters/custom/custom-filter-property-parsing.html: Added.
      * css3/filters/custom/custom-filter-shader-cache-expected.png: Renamed from LayoutTests/css3/filters/custom-filter-shader-cache-expected.png.
      * css3/filters/custom/custom-filter-shader-cache-expected.txt: Renamed from LayoutTests/css3/filters/custom-filter-shader-cache-expected.txt.
      * css3/filters/custom/custom-filter-shader-cache.html: Renamed from LayoutTests/css3/filters/custom-filter-shader-cache.html.
      * css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/css3/filters/effect-custom-combined-missing-expected.png.
      * css3/filters/custom/effect-custom-combined-missing-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-combined-missing-expected.txt.
      * css3/filters/custom/effect-custom-combined-missing.html: Renamed from LayoutTests/css3/filters/effect-custom-combined-missing.html.
      * css3/filters/custom/effect-custom-disabled-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-disabled-expected.txt.
      * css3/filters/custom/effect-custom-disabled.html: Added.
      * css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/css3/filters/effect-custom-expected.png.
      * css3/filters/custom/effect-custom-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-expected.txt.
      * css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/css3/filters/effect-custom-parameters-expected.png.
      * css3/filters/custom/effect-custom-parameters-expected.txt: Renamed from LayoutTests/css3/filters/effect-custom-parameters-expected.txt.
      * css3/filters/custom/effect-custom-parameters.html: Renamed from LayoutTests/css3/filters/effect-custom-parameters.html.
      * css3/filters/custom/effect-custom.html: Renamed from LayoutTests/css3/filters/effect-custom.html.
      * css3/filters/custom/missing-custom-filter-shader-expected.png: Renamed from LayoutTests/css3/filters/missing-custom-filter-shader-expected.png.
      * css3/filters/custom/missing-custom-filter-shader-expected.txt: Renamed from LayoutTests/css3/filters/missing-custom-filter-shader-expected.txt.
      * css3/filters/custom/missing-custom-filter-shader.html: Renamed from LayoutTests/css3/filters/missing-custom-filter-shader.html.
      * css3/filters/effect-custom-disabled.html: Removed.
      * platform/chromium-mac-leopard/css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/css3/filters/effect-custom-combined-missing-expected.png.
      * platform/chromium-mac-leopard/css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/css3/filters/effect-custom-expected.png.
      * platform/chromium-mac-leopard/css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/css3/filters/effect-custom-parameters-expected.png.
      * platform/chromium-mac-snowleopard/css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/platform/chromium-mac-snowleopard/css3/filters/effect-custom-combined-missing-expected.png.
      * platform/chromium-win/css3/filters/custom/effect-custom-combined-missing-expected.png: Renamed from LayoutTests/platform/chromium-win/css3/filters/effect-custom-combined-missing-expected.png.
      * platform/chromium-win/css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/platform/chromium-win/css3/filters/effect-custom-expected.png.
      * platform/chromium-win/css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/platform/chromium-win/css3/filters/effect-custom-parameters-expected.png.
      * platform/chromium/css3/filters/custom/effect-custom-combined-missing-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-combined-missing-expected.txt.
      * platform/chromium/css3/filters/custom/effect-custom-disabled-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-disabled-expected.txt.
      * platform/chromium/css3/filters/custom/effect-custom-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-expected.txt.
      * platform/chromium/css3/filters/custom/effect-custom-parameters-expected.txt: Renamed from LayoutTests/platform/chromium/css3/filters/effect-custom-parameters-expected.txt.
      * platform/chromium/test_expectations.txt:
      * platform/mac-snowleopard/css3/filters/custom/effect-custom-expected.png: Renamed from LayoutTests/platform/mac-snowleopard/css3/filters/effect-custom-expected.png.
      * platform/mac-snowleopard/css3/filters/custom/effect-custom-parameters-expected.png: Renamed from LayoutTests/platform/mac-snowleopard/css3/filters/effect-custom-parameters-expected.png.
      * platform/qt-5.0-wk2/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      * platform/wincairo/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a060ba95
    • commit-queue@webkit.org's avatar
      Provide DefaultDeviceScaleFactor though WebSettings · 0c24230d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79534
      
      Patch by Tim Dresser <tdresser@chromium.org> on 2012-02-28
      Reviewed by Darin Fisher.
      
      Source/WebCore:
      
      * page/Settings.cpp:
      (WebCore::Settings::Settings):
      (WebCore::Settings::setDefaultDeviceScaleFactor):
      (WebCore):
      * page/Settings.h:
      (Settings):
      (WebCore::Settings::defaultDeviceScaleFactor):
      
      Source/WebKit/chromium:
      
      * public/WebSettings.h:
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setDefaultDeviceScaleFactor):
      (WebKit):
      * src/WebSettingsImpl.h:
      (WebSettingsImpl):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c24230d
    • oliver@apple.com's avatar
      Fix build. · c25cdb07
      oliver@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c25cdb07
    • adamk@chromium.org's avatar
      Unreviewed gardening, mark more SVG tests as flaky crashers on cr-mac. · 223ea76f
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79707
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      223ea76f
    • dino@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=79824 · 69c2d198
      dino@apple.com authored
      Unreviewed build fix for when ENABLE(CSS_FILTERS) is on
      but ENABLE(CSS_SHADERS) is off.
      
      * css/WebKitCSSFilterValue.cpp:
      (WebCore::WebKitCSSFilterValue::typeUsesSpaceSeparator):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109152 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69c2d198
    • commit-queue@webkit.org's avatar
      Slow content causes choppy scrolling · 778a703a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79403
      
      Patch by Dave Moore <davemoore@chromium.org> on 2012-02-28
      Reviewed by James Robinson.
      
      This code helps make scrolling (via wheel or pad) less choppy
      when the content takes a long time to respond to the fake mouse moves
      generated during scrolls.
      
       * page/EventHandler.cpp:
      (WebCore):
      (MaximumDurationTracker):
      (WebCore::MaximumDurationTracker::MaximumDurationTracker):
      (WebCore::MaximumDurationTracker::~MaximumDurationTracker):
      (WebCore::EventHandler::EventHandler):
      (WebCore::EventHandler::clear):
      (WebCore::EventHandler::mouseMoved):
      (WebCore::EventHandler::dispatchFakeMouseMoveEventSoon):
      (WebCore::EventHandler::dispatchFakeMouseMoveEventSoonInQuad):
      * page/EventHandler.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109151 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      778a703a
    • commit-queue@webkit.org's avatar
      [BlackBerry] Change the API to use std::string · c856528f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79818
      
      Patch by Konrad Piascik <kpiascik@rim.com> on 2012-02-28
      Reviewed by Antonio Gomes.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPage::dispatchInspectorMessage):
      * Api/WebPage.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109150 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c856528f
    • kling@webkit.org's avatar
      StyledElement::isPresentationAttribute() only needs the attribute name. · 44bc0ddb
      kling@webkit.org authored
      <http://webkit.org/b/79828>
      
      Reviewed by Anders Carlsson.
      
      Pass the QualifiedName to isPresentationAttribute instead of the whole
      Attribute. We only need the name to know what kind of attribute it is.
      
      This makes the code a little less ugly and makes it possible to use
      the function without having an Attribute object.
      
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::attributeChanged):
      * dom/StyledElement.h:
      (WebCore::StyledElement::isPresentationAttribute):
      * html/HTMLBRElement.cpp:
      (WebCore::HTMLBRElement::isPresentationAttribute):
      * html/HTMLBRElement.h:
      * html/HTMLBodyElement.cpp:
      (WebCore::HTMLBodyElement::isPresentationAttribute):
      * html/HTMLBodyElement.h:
      * html/HTMLButtonElement.cpp:
      (WebCore::HTMLButtonElement::isPresentationAttribute):
      * html/HTMLButtonElement.h:
      * html/HTMLDivElement.cpp:
      (WebCore::HTMLDivElement::isPresentationAttribute):
      * html/HTMLDivElement.h:
      * html/HTMLElement.cpp:
      (WebCore::HTMLElement::isPresentationAttribute):
      * html/HTMLElement.h:
      * html/HTMLEmbedElement.cpp:
      (WebCore::HTMLEmbedElement::isPresentationAttribute):
      * html/HTMLEmbedElement.h:
      * html/HTMLFontElement.cpp:
      (WebCore::HTMLFontElement::isPresentationAttribute):
      * html/HTMLFontElement.h:
      * html/HTMLFrameSetElement.cpp:
      (WebCore::HTMLFrameSetElement::isPresentationAttribute):
      * html/HTMLFrameSetElement.h:
      * html/HTMLHRElement.cpp:
      (WebCore::HTMLHRElement::isPresentationAttribute):
      * html/HTMLHRElement.h:
      * html/HTMLIFrameElement.cpp:
      (WebCore::HTMLIFrameElement::isPresentationAttribute):
      * html/HTMLIFrameElement.h:
      * html/HTMLImageElement.cpp:
      (WebCore::HTMLImageElement::isPresentationAttribute):
      * html/HTMLImageElement.h:
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::isPresentationAttribute):
      * html/HTMLInputElement.h:
      * html/HTMLLIElement.cpp:
      (WebCore::HTMLLIElement::isPresentationAttribute):
      * html/HTMLLIElement.h:
      * html/HTMLMarqueeElement.cpp:
      (WebCore::HTMLMarqueeElement::isPresentationAttribute):
      * html/HTMLMarqueeElement.h:
      * html/HTMLOListElement.cpp:
      (WebCore::HTMLOListElement::isPresentationAttribute):
      * html/HTMLOListElement.h:
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::isPresentationAttribute):
      * html/HTMLObjectElement.h:
      * html/HTMLParagraphElement.cpp:
      (WebCore::HTMLParagraphElement::isPresentationAttribute):
      * html/HTMLParagraphElement.h:
      * html/HTMLPlugInElement.cpp:
      (WebCore::HTMLPlugInElement::isPresentationAttribute):
      * html/HTMLPlugInElement.h:
      * html/HTMLPreElement.cpp:
      (WebCore::HTMLPreElement::isPresentationAttribute):
      * html/HTMLPreElement.h:
      * html/HTMLSelectElement.cpp:
      (WebCore::HTMLSelectElement::isPresentationAttribute):
      * html/HTMLSelectElement.h:
      * html/HTMLTableCaptionElement.cpp:
      (WebCore::HTMLTableCaptionElement::isPresentationAttribute):
      * html/HTMLTableCaptionElement.h:
      * html/HTMLTableCellElement.cpp:
      (WebCore::HTMLTableCellElement::isPresentationAttribute):
      * html/HTMLTableCellElement.h:
      * html/HTMLTableColElement.cpp:
      (WebCore::HTMLTableColElement::isPresentationAttribute):
      * html/HTMLTableColElement.h:
      * html/HTMLTableElement.cpp:
      (WebCore::HTMLTableElement::isPresentationAttribute):
      * html/HTMLTableElement.h:
      * html/HTMLTablePartElement.cpp:
      (WebCore::HTMLTablePartElement::isPresentationAttribute):
      * html/HTMLTablePartElement.h:
      * html/HTMLTextAreaElement.cpp:
      (WebCore::HTMLTextAreaElement::isPresentationAttribute):
      * html/HTMLTextAreaElement.h:
      * html/HTMLUListElement.cpp:
      (WebCore::HTMLUListElement::isPresentationAttribute):
      * html/HTMLUListElement.h:
      * html/HTMLVideoElement.cpp:
      (WebCore::HTMLVideoElement::isPresentationAttribute):
      * html/HTMLVideoElement.h:
      * mathml/MathMLElement.cpp:
      (WebCore::MathMLElement::isPresentationAttribute):
      * mathml/MathMLElement.h:
      * svg/SVGImageElement.cpp:
      (WebCore::SVGImageElement::isPresentationAttribute):
      * svg/SVGImageElement.h:
      * svg/SVGStyledElement.cpp:
      (WebCore::SVGStyledElement::isPresentationAttribute):
      * svg/SVGStyledElement.h:
      * svg/SVGTextContentElement.cpp:
      (WebCore::SVGTextContentElement::isPresentationAttribute):
      * svg/SVGTextContentElement.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109149 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44bc0ddb
    • ap@apple.com's avatar
      Build fix. · 9aa819ca
      ap@apple.com authored
              * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_GetValue):
              Check for build platform properly.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109148 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9aa819ca
    • enrica@apple.com's avatar
      More Pasteboard code cleanup. · 3728b400
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79816
      
      Source/WebCore: 
      
      Removing the last references to NSPasteboard.
      
      Reviewed by Alexey Proskuryakov.
      
      No new tests. No change in functionality.
      
      * WebCore.xcodeproj/project.pbxproj:
      * editing/mac/EditorMac.mm:
      (WebCore::Editor::pasteWithPasteboard):
      (WebCore::Editor::takeFindStringFromSelection):
      * loader/EmptyClients.h:
      (WebCore::EmptyEditorClient::setInsertionPasteboard):
      * page/DragClient.h:
      * page/EditorClient.h:
      * platform/DragData.h:
      * platform/Pasteboard.h:
      * platform/mac/ClipboardMac.h:
      * platform/mac/PasteboardHelper.h: Removed.
      
      Source/WebKit/mac: 
      
      Removing the last references to NSPasteboard.
      
      Reviewed by Alexey Proskuryakov.
      
      * WebCoreSupport/WebEditorClient.h:
      * WebCoreSupport/WebEditorClient.mm:
      (WebEditorClient::setInsertionPasteboard):
      
      Source/WebKit2: 
      
      Removing the last references to NSPasteboard.
              
      Reviewed by Alexey Proskuryakov.
      
      * WebProcess/WebCoreSupport/WebEditorClient.h:
      * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
      (WebKit::WebEditorClient::setInsertionPasteboard):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3728b400
    • adamk@chromium.org's avatar
      Unreviewed, rolling out r109137. · 453137eb
      adamk@chromium.org authored
      http://trac.webkit.org/changeset/109137
      https://bugs.webkit.org/show_bug.cgi?id=79833
      
      Broke cr-mac build (Requested by aklein on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-28
      
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore):
      (WebCore::pathFromFont):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      453137eb
    • jshin@chromium.org's avatar
      Add a fallback path to LineBreakIteratorPoolICU when the locale · 4d8cade3
      jshin@chromium.org authored
      name from a web page is invalid and ICU fails to get a line break
      iterator instance. Also add a null check to 
      TextBreakIteratorICU::acquireLineBreakIterator.
      
      https://bugs.webkit.org/show_bug.cgi?id=67640
      
      Reviewed by Dan Bernstein.
      
      Source/WebCore: 
      
      Test: fast/text/invalid-locale.html
      
      * platform/text/LineBreakIteratorPoolICU.h:
      (WebCore::LineBreakIteratorPool::take):
      * platform/text/TextBreakIteratorICU.cpp:
      (WebCore::acquireLineBreakIterator):
      
      LayoutTests: 
      
      * fast/text/invalid-locale-expected.txt: Added.
      * fast/text/invalid-locale.html: Added.
      * fast/text/resources/invalid-locale.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109144 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4d8cade3
    • ap@apple.com's avatar
      [Mac] Add an experimental SPI for plug-ins to enter sandbox · e938f9e2
      ap@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79709
      
      Reviewed by Anders Carlsson.
      
      * PluginProcess/PluginProcess.h: (WebKit::PluginProcess::pluginPath): Exposed plugin path.
      
      * PluginProcess/mac/com.apple.WebKit.PluginProcess.sb: Added.
      
      * WebKit2.xcodeproj/project.pbxproj: Added new files.
      
      * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: (WebKit::NPN_GetValue): Exposed
      a function to access sandboxing functions when available.
      
      * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.h: Added.
      * WebProcess/Plugins/Netscape/mac/NetscapeSandboxFunctions.mm: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e938f9e2
    • inferno@chromium.org's avatar
      Crash due to accessing removed continuation in multi-column layout. · 1cf126a2
      inferno@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=78417
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      This patch addresses two problems:
      1. Run-in block got split due to addition of a column-span child.
      The clone part was incorrectly intruding into the sibling block,
      even when it was part of the continuation chain.
      2. Like r73296, we don't need to set continuation on an
      anonymous block since we haven't split a real element.
      
      Test: fast/multicol/span/runin-continuation-crash.html
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::addChildIgnoringAnonymousColumnBlocks):
      (WebCore::RenderBlock::handleRunInChild):
      
      LayoutTests:
      
      * fast/multicol/span/runin-continuation-crash-expected.txt: Added.
      * fast/multicol/span/runin-continuation-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cf126a2
    • ap@apple.com's avatar
      [Mac] Add an experimental SPI for plug-ins to enter sandbox · 754a8294
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=79709
      
              This pulls a lot of WKSI changes at once, because the script that updates it didn't
              work for a while.
      
              * WebKitSystemInterface.h:
              * libWebKitSystemInterfaceLeopard.a:
              * libWebKitSystemInterfaceLion.a:
              * libWebKitSystemInterfaceSnowLeopard.a:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109141 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      754a8294
    • inferno@chromium.org's avatar
      Incorrect before child parent calculation when adding new children · b972189c
      inferno@chromium.org authored
      to anonymous column blocks.
      https://bugs.webkit.org/show_bug.cgi?id=79755
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      before child can be wrapped in anonymous containers, so need to
      take care of that in before child parent calculation.
      
      Test: fast/multicol/span/before-child-anonymous-column-block.html
      
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::addChildToAnonymousColumnBlocks):
      
      LayoutTests:
      
      Test passes if you don't see the div block inside table and you see
      two blocks in different columns in the pixel test.
      
      * fast/multicol/span/before-child-anonymous-column-block-expected.png: Added.
      * fast/multicol/span/before-child-anonymous-column-block-expected.txt: Added.
      * fast/multicol/span/before-child-anonymous-column-block.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109140 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b972189c
    • adamk@chromium.org's avatar
      Mark compositing/repaint/opacity-between-absolute.html as flaky. · c2534390
      adamk@chromium.org authored
      Unreviewed gardening.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109139 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2534390
    • andersca@apple.com's avatar
      Fix build with newer versions of clang. · a47b0cce
      andersca@apple.com authored
      Clang now warns since we're not passing a CFString literal to CFStringCreateWithFormatAndArguments,
      but it's OK to ignore this warning since clang is also checking that the caller (vprintf_stderr_common)
      takes a string literal.
      
      * wtf/Assertions.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a47b0cce
    • commit-queue@webkit.org's avatar
      Reimplement pathFromFont() in SimpleFontDataMac.mm · 5a6f1939
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=79811
      
      Patch by Ned Holbrook <nholbrook@apple.com> on 2012-02-28
      Reviewed by Dan Bernstein.
      
      Debug-only function, so no new tests.
      
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::pathFromFont): Reimplemented.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a6f1939
    • mahesh.kulkarni@nokia.com's avatar
      [Qt] Allow read/write to the WebView.url property · 1e2b9d8b
      mahesh.kulkarni@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=77554
      
      Reviewed by Tor Arne Vestbø.
      
      Source/WebKit2:
      
      Change QML API WebView.url to read/write to reflect either the url requested by the user.
      Also removed WebView.load(url). Defers setting url (loading page) until onComponentComplete is triggered.
      Fixed c++ and qml tests to reflect the new API.
      
      * Target.pri:
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebViewPrivate::QQuickWebViewPrivate):
      (QQuickWebViewPrivate::onComponentComplete):
      (QQuickWebView::setUrl):
      * UIProcess/API/qt/qquickwebview_p_p.h:
      (QQuickWebViewPrivate):
      * UIProcess/API/qt/tests/publicapi/tst_publicapi.cpp:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_itemSelector.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_linkHovered.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_messaging.qml:
      * UIProcess/API/qt/tests/qmltests/DesktopBehavior/tst_navigationRequested.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_download.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_favIconLoad.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_geopermission.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_javaScriptDialogs.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadFail.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgress.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadProgressSignal.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadUrl.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_navigationHistory.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_origin.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_preferences.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_properties.qml:
      * UIProcess/API/qt/tests/qmltests/WebView/tst_titleChanged.qml:
      * UIProcess/API/qt/tests/qquickwebview/tst_qquickwebview.cpp:
      (tst_QQuickWebView::loadEmptyPageViewHidden):
      (tst_QQuickWebView::loadNonexistentFileUrl):
      
      Tools:
      
      Fix MiniBrowser to use WebView.url property and remove WebView.load usage.
      
      * MiniBrowser/qt/qml/BrowserWindow.qml:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e2b9d8b