1. 24 Feb, 2011 40 commits
    • weinig@apple.com's avatar
      Add basic pixel testing support to WebKitTestRunner · 3f98da78
      weinig@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=55161
      
      Reviewed by Darin Adler.
      
      * Scripts/old-run-webkit-tests:
      Don't print color space information when using WebKitTestRunner since
      we don't need to change the screen.
      
      * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
      (WTR::InjectedBundle::initialize):
      Add call to initializePlatformDefaults.
              
      (WTR::InjectedBundle::done):
      Return a dictionary on completion with both the text output and pixel dump override.
      
      * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
      Add declaration for initializePlatformDefaults.
      
      * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
      (WTR::LayoutTestController::LayoutTestController):
      (WTR::LayoutTestController::dumpAsText):
      * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      (WTR::LayoutTestController::shouldDumpPixels):
      Make setting dumpAsText override the dump pixels preference.
      
      * WebKitTestRunner/InjectedBundle/mac/InjectedBundleMac.mm: Added.
      (WTR::InjectedBundle::initializePlatformDefaults):
      Set platform defaults matching DumpRenderTree.
      
      * WebKitTestRunner/InjectedBundle/qt/InjectedBundleQt.cpp: Added.
      (WTR::InjectedBundle::initializePlatformDefaults):
      * WebKitTestRunner/InjectedBundle/win/InjectedBundleWin.cpp: Added.
      (WTR::InjectedBundle::initializePlatformDefaults):
      Add stubs for initializePlatformDefaults.
      
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::runTest):
      (WTR::TestController::runTestingServerLoop):
      (WTR::TestController::run):
      Parse expected pixel results out of stdin and setup the invocation with it.
      
      * WebKitTestRunner/TestInvocation.cpp:
      (WTR::TestInvocation::TestInvocation):
      Initialize new members.
      
      (WTR::TestInvocation::~TestInvocation):
      (WTR::TestInvocation::setIsPixelTest):
      (WTR::sizeWebViewForCurrentTest):
      (WTR::TestInvocation::invoke):
      (WTR::TestInvocation::dump):
      (WTR::TestInvocation::didReceiveMessageFromInjectedBundle):
      * WebKitTestRunner/TestInvocation.h:
      Dump pixels in addition to text by calling dumpPixelsAndCompareWithExpected.
      
      * WebKitTestRunner/mac/PlatformWebViewMac.mm:
      (WTR::PlatformWebView::PlatformWebView):
      Use -[NSColorSpace genericRGBColorSpace] instead of the main screen color space.
      
      * WebKitTestRunner/mac/TestInvocationMac.mm: Added.
      (WTR::createCGContextFromPlatformView):
      (WTR::computeMD5HashStringForContext):
      (WTR::dumpBitmap):
      (WTR::forceRepaintFunction):
      (WTR::TestInvocation::dumpPixelsAndCompareWithExpected):
      Add mac specific pixel dumping support. Right now, we always pull pixels
      from the window server.
      
      * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
      * WebKitTestRunner/InjectedBundle/qt/InjectedBundle.pro:
      * WebKitTestRunner/qt/WebKitTestRunner.pro:
      * WebKitTestRunner/win/InjectedBundle.vcproj:
      * WebKitTestRunner/win/WebKitTestRunner.vcproj:
      Add new files.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f98da78
    • andersca@apple.com's avatar
      Fix the clang -Woverloaded-virtual build. · 062302ba
      andersca@apple.com authored
      Reviewed by Sam Weinig.
      
      JSLocation has a toString function which conflicts with the virtual JSObject::toString  member function.
      Fix this by renaming the implementation function from JSLocation::toString to JSLocation::toStringFunction.
      
      * bindings/js/JSLocationCustom.cpp:
      (WebCore::JSLocation::toStringFunction):
      * bindings/v8/custom/V8LocationCustom.cpp:
      (WebCore::V8Location::toStringFunctionCallback):
      * page/Location.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79611 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      062302ba
    • chang.shu@nokia.com's avatar
      2011-02-24 Chang Shu <cshu@webkit.org> · 724c290b
      chang.shu@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Launch MiniBrowser if the test run is WebKit2. 
              https://bugs.webkit.org/show_bug.cgi?id=55145
      
              * Scripts/old-run-webkit-tests:
              * Scripts/run-launcher:
              * Scripts/webkitdirs.pm:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      724c290b
    • andersca@apple.com's avatar
      Fix clang build. · 58989c0d
      andersca@apple.com authored
      * bindings/objc/WebScriptObject.mm:
      (-[WebUndefined release]):
      Release should be "oneway void".
      
      (-[WebUndefined retainCount]):
      Return NSUIntegerMax instead of UINT_MAX.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79609 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58989c0d
    • mihaip@chromium.org's avatar
      2011-02-24 Mihai Parparita <mihaip@chromium.org> · 82ec0d8b
      mihaip@chromium.org authored
              Unreviewed Leopard baseline update for some text tests after r78846
              (Snow Leopard baselines were updated with r78862). chromium-mac (the
              Leopard bot) should be passing with the mac-leopard baselines.
      
              * platform/chromium/test_expectations.txt:
              * platform/mac-leopard/editing/selection/move-past-trailing-space-expected.checksum:
              * platform/mac-leopard/editing/selection/move-past-trailing-space-expected.png:
              * platform/mac-leopard/fast/text/trailing-white-space-2-expected.checksum:
              * platform/mac-leopard/fast/text/trailing-white-space-2-expected.png:
              * platform/mac-leopard/fast/text/trailing-white-space-expected.checksum:
              * platform/mac-leopard/fast/text/trailing-white-space-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82ec0d8b
    • dglazkov@chromium.org's avatar
      2011-02-24 Dimitri Glazkov <dglazkov@chromium.org> · e379c90e
      dglazkov@chromium.org authored
              Reviewed by Darin Adler.
      
              Simplify RenderTheme::volumeSliderOffsetFromMuteButton, unduplicate code.
              https://bugs.webkit.org/show_bug.cgi?id=55157
      
              Refactoring, no functional changes. Covered by existing tests.
      
              RenderTheme::volumeSliderOffsetFromMuteButton has the same duplicated
              logic for all platforms. This patch:
              a) moves the common logic of determining absolute positioning to a
                 platform-agnostic place;
              b) simplifies the method to return constant offset.
      
              * html/shadow/MediaControls.cpp:
              (WebCore::volumeSliderOffset): Added new helper function,
                  capturing common logic of finding the absolute position of the volume slider.
              (WebCore::MediaControls::updateVolumeSliderContainer): Changed to use the
                  new helper.
              * rendering/RenderMediaControls.cpp:
              (WebCore::RenderMediaControls::volumeSliderOffsetRelativeToMuteButton): Simplified.
              * rendering/RenderMediaControls.h: Ditto.
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::volumeSliderOffsetRelativeToMuteButton): Ditto.
              * rendering/RenderTheme.h: Ditto.
              * rendering/RenderThemeChromiumMac.h: Ditto.
              * rendering/RenderThemeChromiumMac.mm: Ditto.
              (WebCore::RenderThemeChromiumMac::volumeSliderOffsetRelativeToMuteButton): Ditto.
              * rendering/RenderThemeMac.h: Ditto.
              * rendering/RenderThemeMac.mm: Ditto.
              (WebCore::RenderThemeMac::volumeSliderOffsetRelativeToMuteButton): Ditto.
              * rendering/RenderThemeWin.cpp: Ditto.
              (WebCore::RenderThemeWin::volumeSliderOffsetRelativeToMuteButton): Ditto.
              * rendering/RenderThemeWin.h: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e379c90e
    • jschuh@chromium.org's avatar
      2011-02-24 Tom Sepez <tsepez@chromium.org> · 10d2c1ae
      jschuh@chromium.org authored
              Reviewed by Darin Fisher.
      
              Add test for frame removal during resize event handler.  Update
              other tests to account for async onresize event disptach.
              https://bugs.webkit.org/show_bug.cgi?id=54467
      
              * fast/dynamic/paused-event-dispatch.html:
              * fast/events/resize-subframe.html:
              * fast/replaced/frame-removed-during-resize-smaller-expected.txt: Added.
              * fast/replaced/frame-removed-during-resize-smaller.html: Added.
      2011-02-24  Tom Sepez  <tsepez@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Make frameview resized event dispatch async so that it occurs
              after layout has completed.
              
              https://bugs.webkit.org/show_bug.cgi?id=54467
              Test: fast/replaced/frame-removed-during-resize-smaller.html
      
              * page/EventHandler.cpp:
              (WebCore::EventHandler::sendResizeEvent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10d2c1ae
    • commit-queue@webkit.org's avatar
      2011-02-24 Xianzhu Wang <wangxianzhu@google.com> · 7e4538a8
      commit-queue@webkit.org authored
              Reviewed by Adam Barth.
      
              Add a test to ensure SVGImage won't cause ResourceLoader leaks.
              https://bugs.webkit.org/show_bug.cgi?id=55017
      
              * svg/misc: Added.
              * svg/misc/SVGImage-leak-ResourceLoader-expected.txt: Added.
              * svg/misc/SVGImage-leak-ResourceLoader.html: Added.
              * svg/misc/resources: Added.
              * svg/misc/resources/load-script.html: Added.
              * svg/misc/resources/small.png: Added.
      2011-02-24  Xianzhu Wang  <wangxianzhu@google.com>
      
              Reviewed by Adam Barth.
      
              Use loader->init() instead of loader->load() to avoid complex fake
              request loading and cleanup logic, and also avoid ResourceLoader leaks.
      
              https://bugs.webkit.org/show_bug.cgi?id=55017
      
              Test: svg/misc/SVGImage-leak-ResourceLoader.html
      
              * svg/graphics/SVGImage.cpp:
              (WebCore::SVGImage::dataChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e4538a8
    • commit-queue@webkit.org's avatar
      2011-02-24 Anna Cavender <annacc@chromium.org> · bd50f079
      commit-queue@webkit.org authored
              Reviewed by Mihai Parparita.
      
              Rebaselines for media tests under snowleopard.
              https://bugs.webkit.org/show_bug.cgi?id=54994
      
              * platform/chromium-mac-leopard/media/audio-repaint-expected.checksum: Copied from LayoutTests/platform/chromium-mac/media/audio-repaint-expected.checksum.
              * platform/chromium-mac-leopard/media/audio-repaint-expected.png: Copied from LayoutTests/platform/chromium-mac/media/audio-repaint-expected.png.
              * platform/chromium-mac-leopard/media/audio-repaint-expected.txt: Added.
              * platform/chromium-mac-leopard/media/video-aspect-ratio-expected.checksum: Copied from LayoutTests/platform/chromium-mac/media/video-aspect-ratio-expected.checksum.
              * platform/chromium-mac-leopard/media/video-aspect-ratio-expected.png: Copied from LayoutTests/platform/chromium-mac/media/video-aspect-ratio-expected.png.
              * platform/chromium-mac-leopard/media/video-zoom-expected.checksum: Copied from LayoutTests/platform/chromium-mac/media/video-zoom-expected.checksum.
              * platform/chromium-mac-leopard/media/video-zoom-expected.png: Copied from LayoutTests/platform/chromium-mac/media/video-zoom-expected.png.
              * platform/chromium-mac/media/audio-controls-rendering-expected.txt:
              * platform/chromium-mac/media/audio-repaint-expected.checksum:
              * platform/chromium-mac/media/audio-repaint-expected.png:
              * platform/chromium-mac/media/controls-after-reload-expected.checksum:
              * platform/chromium-mac/media/controls-after-reload-expected.png:
              * platform/chromium-mac/media/controls-after-reload-expected.txt:
              * platform/chromium-mac/media/controls-strict-expected.checksum:
              * platform/chromium-mac/media/controls-strict-expected.png:
              * platform/chromium-mac/media/controls-strict-expected.txt:
              * platform/chromium-mac/media/controls-styling-expected.checksum:
              * platform/chromium-mac/media/controls-styling-expected.png:
              * platform/chromium-mac/media/controls-styling-expected.txt:
              * platform/chromium-mac/media/controls-without-preload-expected.checksum:
              * platform/chromium-mac/media/controls-without-preload-expected.png:
              * platform/chromium-mac/media/media-document-audio-repaint-expected.checksum:
              * platform/chromium-mac/media/media-document-audio-repaint-expected.png:
              * platform/chromium-mac/media/video-aspect-ratio-expected.checksum:
              * platform/chromium-mac/media/video-aspect-ratio-expected.png:
              * platform/chromium-mac/media/video-empty-source-expected.txt:
              * platform/chromium-mac/media/video-no-audio-expected.txt:
              * platform/chromium-mac/media/video-volume-slider-expected.txt:
              * platform/chromium-mac/media/video-zoom-controls-expected.checksum:
              * platform/chromium-mac/media/video-zoom-controls-expected.png:
              * platform/chromium-mac/media/video-zoom-expected.checksum:
              * platform/chromium-mac/media/video-zoom-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd50f079
    • dglazkov@chromium.org's avatar
      2011-02-24 Dimitri Glazkov <dglazkov@chromium.org> · 37f95076
      dglazkov@chromium.org authored
              Chromium Mac build fix after r79591.
      
              * WebCore.gypi: Added RenderMediaControls to WebCore.gypi.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      37f95076
    • oliver@apple.com's avatar
      2011-02-24 Oliver Hunt <oliver@apple.com> · 6acb3ba3
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Make weaklist processing deal with weak handles being removed during the iteration
              https://bugs.webkit.org/show_bug.cgi?id=55105
      
              It is possible for the handle heap to end up in a broken state if
              a handle's finalizer removes either the current or next handle
              to be visited during the post-gc cleanup.  This patch removes that
              problem by allowing the deallocate(Node*) routine to update the
              iterator if it is called during finalization.
      
              * collector/handles/HandleHeap.cpp:
              (JSC::HandleHeap::HandleHeap):
              (JSC::HandleHeap::updateAfterMark):
              (JSC::HandleHeap::clearWeakPointers):
              (JSC::HandleHeap::writeBarrier):
              (JSC::HandleHeap::protectedGlobalObjectCount):
              * collector/handles/HandleHeap.h:
              (JSC::Finalizer::~Finalizer):
              (JSC::HandleHeap::getFinalizer):
              (JSC::HandleHeap::deallocate):
              (JSC::HandleHeap::makeWeak):
              (JSC::HandleHeap::makeSelfDestroying):
              (JSC::HandleHeap::Node::Node):
              (JSC::HandleHeap::Node::setFinalizer):
              (JSC::HandleHeap::Node::finalizer):
              (JSC::HandleHeap::Node::finalizerContext):
              * interpreter/RegisterFile.cpp:
              (JSC::RegisterFile::setGlobalObject):
              (JSC::GlobalObjectNotifier::finalize):
              (JSC::RegisterFile::globalObjectCollectedNotifier):
              * interpreter/RegisterFile.h:
              (JSC::RegisterFile::RegisterFile):
              * runtime/Heap.cpp:
              (JSC::Heap::destroy):
              * runtime/WeakGCPtr.h:
              (JSC::WeakGCPtr::WeakGCPtr):
              (JSC::WeakGCPtr::set):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6acb3ba3
    • commit-queue@webkit.org's avatar
      2011-02-24 James Kozianski <koz@chromium.org> · 50ff9a89
      commit-queue@webkit.org authored
              Reviewed by Ojan Vafai.
      
              Add missing plumbing for registerProtocolHandler in ChromeClientImpl.
              https://bugs.webkit.org/show_bug.cgi?id=55112
      
              * src/ChromeClientImpl.cpp:
              (WebKit::ChromeClientImpl::registerProtocolHandler):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50ff9a89
    • jamesr@google.com's avatar
      2011-02-24 James Robinson <jamesr@chromium.org> · 67403fea
      jamesr@google.com authored
              Update chromium test expectations.
      
              * platform/chromium-linux/media/video-display-toggle-expected.checksum:
              * platform/chromium-linux/media/video-display-toggle-expected.png:
              * platform/chromium-linux/transitions/default-timing-function-expected.checksum: Added.
              * platform/chromium-linux/transitions/default-timing-function-expected.png: Added.
              * platform/chromium-win/media/video-display-toggle-expected.checksum:
              * platform/chromium-win/media/video-display-toggle-expected.png:
              * platform/chromium-win/transitions/default-timing-function-expected.checksum: Added.
              * platform/chromium-win/transitions/default-timing-function-expected.png: Added.
              * platform/chromium-win/transitions/default-timing-function-expected.txt: Added.
              * platform/chromium/inspector/debugger/dom-breakpoints-expected.txt: Added.
              * platform/mac-leopard/transitions/default-timing-function-expected.checksum: Added.
              * platform/mac-leopard/transitions/default-timing-function-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67403fea
    • mihaip@chromium.org's avatar
      2011-02-24 Victoria Kirst <vrk@google.com> · 33ef2b77
      mihaip@chromium.org authored
              Reviewed by Mihai Parparita.
      
              [chromium] Move media-file.js and video-test.js back to media/ for UILayoutTests
              https://bugs.webkit.org/show_bug.cgi?id=55089
      
              Media's UILayoutTests rely on video-test.js and media-file.js to be in
              the media/ folder.
      
              * http/tests/media/pdf-served-as-pdf.html:
              * http/tests/media/reload-after-dialog.html:
              * http/tests/media/remove-while-loading.html:
              * http/tests/media/text-served-as-text.html:
              * http/tests/media/video-buffered.html:
              * http/tests/media/video-cancel-load.html:
              * http/tests/media/video-cookie.html:
              * http/tests/media/video-error-abort.html:
              * http/tests/media/video-load-twice.html:
              * http/tests/media/video-play-stall-seek.html:
              * http/tests/media/video-play-stall.html:
              * http/tests/media/video-play-suspend.html:
              * http/tests/media/video-referer.html:
              * http/tests/media/video-seekable-stall.html:
              * http/tests/media/video-served-as-text.html:
              * media/adopt-node-crash.html:
              * media/audio-constructor-preload.html:
              * media/audio-constructor-src.html:
              * media/audio-constructor.html:
              * media/audio-controls-rendering.html:
              * media/audio-data-url.html:
              * media/audio-delete-while-slider-thumb-clicked.html:
              * media/audio-delete-while-step-button-clicked.html:
              * media/audio-mpeg-supported.html:
              * media/audio-mpeg4-supported.html:
              * media/audio-play-event.html:
              * media/before-load-member-access.html:
              * media/broken-video.html:
              * media/constructors.html:
              * media/context-menu-actions.html:
              * media/controls-after-reload.html:
              * media/controls-css-overload.html:
              * media/controls-drag-timebar.html:
              * media/controls-right-click-on-timebar.html:
              * media/controls-strict.html:
              * media/controls-styling.html:
              * media/controls-without-preload.html:
              * media/event-attributes.html:
              * media/invalid-media-url-crash.html:
              * media/media-can-play-mpeg-audio.html:
              * media/media-can-play-mpeg4-video.html:
              * media/media-can-play-octet-stream.html:
              * media/media-can-play-ogg.html:
              * media/media-can-play-wav-audio.html:
              * media/media-captions.html:
              * media/media-constants.html:
              * media/media-file.js: Renamed from LayoutTests/http/tests/media/media-file.js.
              * media/media-fullscreen-inline.html:
              * media/media-fullscreen-not-in-document.html:
              * media/media-load-event.html:
              * media/media-startTime.html:
              * media/remove-from-document-no-load.html:
              * media/remove-from-document.html:
              * media/restore-from-page-cache.html:
              * media/unsupported-rtsp.html:
              * media/unsupported-tracks.html:
              * media/video-append-source.html:
              * media/video-aspect-ratio.html:
              * media/video-autoplay.html:
              * media/video-buffered.html:
              * media/video-can-play-type.html:
              * media/video-canvas-alpha.html:
              * media/video-canvas-source.html:
              * media/video-click-dblckick-standalone.html:
              * media/video-controls-rendering.html:
              * media/video-controls-transformed.html:
              * media/video-controls-visible-audio-only.html:
              * media/video-controls-zoomed.html:
              * media/video-controls.html:
              * media/video-currentTime-delay.html:
              * media/video-currentTime-set.html:
              * media/video-currentTime-set2.html:
              * media/video-currentTime.html:
              * media/video-delay-load-event.html:
              * media/video-display-aspect-ratio.html:
              * media/video-display-none-crash.html:
              * media/video-display-toggle.html:
              * media/video-does-not-loop.html:
              * media/video-dom-autoplay.html:
              * media/video-dom-preload.html:
              * media/video-dom-src.html:
              * media/video-duration-known-after-eos.html:
              * media/video-error-does-not-exist.html:
              * media/video-frame-accurate-seek.html:
              * media/video-layer-crash.html:
              * media/video-load-networkState.html:
              * media/video-load-readyState.html:
              * media/video-loop.html:
              * media/video-muted.html:
              * media/video-no-audio.html:
              * media/video-no-autoplay.html:
              * media/video-pause-empty-events.html:
              * media/video-pause-immediately.html:
              * media/video-play-empty-events.html:
              * media/video-play-pause-events.html:
              * media/video-play-pause-exception.html:
              * media/video-played-collapse.html:
              * media/video-played-ranges-1.html:
              * media/video-played-reset.html:
              * media/video-poster-delayed.html:
              * media/video-poster-scale.html:
              * media/video-poster.html:
              * media/video-preload.html:
              * media/video-replaces-poster.html:
              * media/video-reverse-play-duration.html:
              * media/video-seek-by-small-increment.html:
              * media/video-seek-no-src-exception.html:
              * media/video-seek-past-end-paused.html:
              * media/video-seek-past-end-playing.html:
              * media/video-seekable.html:
              * media/video-seeking.html:
              * media/video-size-intrinsic-scale.html:
              * media/video-size.html:
              * media/video-source-error-no-candidate.html:
              * media/video-source-error.html:
              * media/video-source-inserted.html:
              * media/video-source-media.html:
              * media/video-source-moved.html:
              * media/video-source-none-supported.html:
              * media/video-source-removed.html:
              * media/video-source-type-params.html:
              * media/video-source-type.html:
              * media/video-source.html:
              * media/video-src-change.html:
              * media/video-src-invalid-remove.html:
              * media/video-src-none.html:
              * media/video-src-plus-source.html:
              * media/video-src-remove.html:
              * media/video-src-set.html:
              * media/video-src-source.html:
              * media/video-src.html:
              * media/video-test.js: Renamed from LayoutTests/http/tests/media/video-test.js.
              * media/video-timeupdate-during-playback.html:
              * media/video-timeupdate-reverse-play.html:
              * media/video-transformed.html:
              * media/video-volume-slider.html:
              * media/video-volume.html:
              * media/video-width-height.html:
              * media/video-zoom-controls.html:
              * media/video-zoom.html:
      2011-02-24  Victoria Kirst  <vrk@google.com>
      
              Reviewed by Mihai Parparita.
      
              [chromium] Move media-file.js and video-test.js back to media/ for UILayoutTests
              https://bugs.webkit.org/show_bug.cgi?id=55089
      
              This adds an alias into the media/ directory so that http/tests/media
              tests can access the media resources when running in an httpd process.
      
              * Scripts/webkitperl/httpd.pm:
              * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
              * Scripts/webkitpy/layout_tests/port/http_server.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      33ef2b77
    • commit-queue@webkit.org's avatar
      2011-02-24 Anna Cavender <annacc@chromium.org> · c4483588
      commit-queue@webkit.org authored
              Reviewed by Ojan Vafai.
      
              rebaseline for media/video-controls-rendering.html on mac
              https://bugs.webkit.org/show_bug.cgi?id=55108
      
              * platform/chromium-mac/media/video-controls-rendering-expected.checksum:
              * platform/chromium-mac/media/video-controls-rendering-expected.png:
              * platform/chromium-mac/media/video-controls-rendering-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c4483588
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=55165 · 6fc26d85
      beidson@apple.com authored
      Can call CF API with a null CFArray in WebResourceCacheManager
      
      Reviewed by Adam Roben and looked at by Brian Weinstein.
      
      * WebProcess/ResourceCache/WebResourceCacheManager.cpp:
      (WebKit::WebResourceCacheManager::getCacheOrigins): cfURLCacheHostNames() can return a null CFArrayRef, 
        so the call to CFArrayGetCount must be null checked.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6fc26d85
    • commit-queue@webkit.org's avatar
      2011-02-24 Misha Tyutyunik <michael.tyutyunik@nokia.com> · cf05b967
      commit-queue@webkit.org authored
              Reviewed by Andreas Kling.
      
              [Qt] Dont use QPixmapCache if QPixmapCache::cacheLimit() is too small
              (2048Kb for now).
              https://bugs.webkit.org/show_bug.cgi?id=54887
      
              No new tests required.
      
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQtImpl::allowAcceleratedCompositingCache):
              (WebCore::GraphicsLayerQtImpl::drawLayerContent):
              (WebCore::GraphicsLayerQtImpl::paint):
              (WebCore::GraphicsLayerQtImpl::flushChanges):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf05b967
    • msaboff@apple.com's avatar
      2011-02-24 Michael Saboff <msaboff@apple.com> · f2ee5f2a
      msaboff@apple.com authored
              Reviewed by Oliver Hunt.
      
              PatternAlternative leaked in YarrPatternConstructor::atomParenthesesEnd()
              https://bugs.webkit.org/show_bug.cgi?id=55156
      
              Added code to delete unneeded PatternAlternative after it is removed
              from m_alternatives Vector.
      
              * yarr/YarrPattern.cpp:
              (JSC::Yarr::YarrPatternConstructor::atomParenthesesEnd):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2ee5f2a
    • andersca@apple.com's avatar
      2011-02-24 Anders Carlsson <andersca@apple.com> · 936a1185
      andersca@apple.com authored
              Reviewed by Simon Fraser.
      
              ASSERTION FAILED: !isInAcceleratedCompositingMode() when entering accelerated compositing early
              https://bugs.webkit.org/show_bug.cgi?id=55162
              <rdar://problem/9048523>
      
              * WebProcess/WebPage/DrawingAreaImpl.cpp:
              (WebKit::DrawingAreaImpl::updateState):
              Call setShouldNotifyAfterNextScheduledLayerFlush(false) so the web process process won't send an
              EnterAcceleratedCompositingMode message.
      
              (WebKit::DrawingAreaImpl::enterAcceleratedCompositingMode):
              setShouldNotifyAfterNextScheduledLayerFlush now takes a boolean.
      
              * WebProcess/WebPage/LayerTreeHost.h:
              * WebProcess/WebPage/mac/LayerTreeHostMac.h:
              * WebProcess/WebPage/mac/LayerTreeHostMac.mm:
              (WebKit::LayerTreeHostMac::setShouldNotifyAfterNextScheduledLayerFlush):
              Make this take a boolean.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      936a1185
    • mrobinson@webkit.org's avatar
      2011-02-20 Martin Robinson <mrobinson@igalia.com> · 1ea476c0
      mrobinson@webkit.org authored
              Reviewed by Nikolas Zimmermann.
      
              [CAIRO] Support ImageBuffers clip operation on all Cairo ports
              https://bugs.webkit.org/show_bug.cgi?id=23526
      
              Update results for tests which are now passing and unskip them.
      
              * platform/gtk/Skipped: Unskip tests which are now passing.
              * platform/gtk/fast/backgrounds/animated-svg-as-mask-expected.checksum: Added.
              * platform/gtk/fast/backgrounds/animated-svg-as-mask-expected.png: Added.
              * platform/gtk/fast/backgrounds/animated-svg-as-mask-expected.txt: Added.
              * platform/gtk/fast/backgrounds/svg-as-mask-expected.checksum: Added.
              * platform/gtk/fast/backgrounds/svg-as-mask-expected.png: Added.
              * platform/gtk/fast/backgrounds/svg-as-mask-expected.txt: Added.
              * platform/gtk/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
              * platform/gtk/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
              * platform/gtk/svg/W3C-SVG-1.1/filters-offset-01-b-expected.checksum:
              * platform/gtk/svg/W3C-SVG-1.1/filters-offset-01-b-expected.png:
              * platform/gtk/svg/W3C-SVG-1.1/filters-turb-02-f-expected.checksum: Added.
              * platform/gtk/svg/W3C-SVG-1.1/filters-turb-02-f-expected.png: Added.
              * platform/gtk/svg/W3C-SVG-1.1/filters-turb-02-f-expected.txt: Added.
              * platform/gtk/svg/W3C-SVG-1.1/masking-intro-01-f-expected.checksum:
              * platform/gtk/svg/W3C-SVG-1.1/masking-intro-01-f-expected.png:
              * platform/gtk/svg/W3C-SVG-1.1/masking-mask-01-b-expected.checksum:
              * platform/gtk/svg/W3C-SVG-1.1/masking-mask-01-b-expected.png:
              * platform/gtk/svg/W3C-SVG-1.1/masking-path-01-b-expected.checksum:
              * platform/gtk/svg/W3C-SVG-1.1/masking-path-01-b-expected.png:
              * platform/gtk/svg/W3C-SVG-1.1/masking-path-04-b-expected.checksum:
              * platform/gtk/svg/W3C-SVG-1.1/masking-path-04-b-expected.png:
              * platform/gtk/svg/batik/masking/maskRegions-expected.checksum:
              * platform/gtk/svg/batik/masking/maskRegions-expected.png:
              * platform/gtk/svg/batik/text/textEffect2-expected.checksum:
              * platform/gtk/svg/batik/text/textEffect2-expected.png:
              * platform/gtk/svg/clip-path/clip-in-mask-expected.checksum:
              * platform/gtk/svg/clip-path/clip-in-mask-expected.png:
              * platform/gtk/svg/clip-path/clip-in-mask-objectBoundingBox-expected.checksum:
              * platform/gtk/svg/clip-path/clip-in-mask-objectBoundingBox-expected.png:
              * platform/gtk/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.checksum:
              * platform/gtk/svg/clip-path/clip-in-mask-userSpaceOnUse-expected.png:
              * platform/gtk/svg/clip-path/clip-path-child-clipped-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-child-clipped-expected.png:
              * platform/gtk/svg/clip-path/clip-path-childs-clipped-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-childs-clipped-expected.png:
              * platform/gtk/svg/clip-path/clip-path-clipped-evenodd-twice-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-clipped-evenodd-twice-expected.png:
              * platform/gtk/svg/clip-path/clip-path-clipped-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-clipped-expected.png:
              * platform/gtk/svg/clip-path/clip-path-clipped-no-content-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-clipped-no-content-expected.png:
              * platform/gtk/svg/clip-path/clip-path-clipped-nonzero-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-clipped-nonzero-expected.png:
              * platform/gtk/svg/clip-path/clip-path-evenodd-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-evenodd-expected.png:
              * platform/gtk/svg/clip-path/clip-path-evenodd-nonzero-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-evenodd-nonzero-expected.png:
              * platform/gtk/svg/clip-path/clip-path-nonzero-evenodd-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-nonzero-evenodd-expected.png:
              * platform/gtk/svg/clip-path/clip-path-nonzero-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-nonzero-expected.png:
              * platform/gtk/svg/clip-path/clip-path-pixelation-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-pixelation-expected.png:
              * platform/gtk/svg/clip-path/clip-path-text-and-shape-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-text-and-shape-expected.png:
              * platform/gtk/svg/clip-path/clip-path-text-and-stroke-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-text-and-stroke-expected.png:
              * platform/gtk/svg/clip-path/clip-path-text-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-text-expected.png:
              * platform/gtk/svg/clip-path/clip-path-use-as-child2-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-use-as-child2-expected.png:
              * platform/gtk/svg/clip-path/clip-path-use-as-child3-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-use-as-child3-expected.png:
              * platform/gtk/svg/clip-path/clip-path-use-as-child4-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-use-as-child4-expected.png:
              * platform/gtk/svg/clip-path/clip-path-with-different-unittypes-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-with-different-unittypes-expected.png:
              * platform/gtk/svg/clip-path/clip-path-with-different-unittypes2-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-with-different-unittypes2-expected.png:
              * platform/gtk/svg/clip-path/clip-path-with-text-clipped-expected.checksum:
              * platform/gtk/svg/clip-path/clip-path-with-text-clipped-expected.png:
              * platform/gtk/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.checksum:
              * platform/gtk/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.png:
              * platform/gtk/svg/clip-path/deep-nested-clip-in-mask-expected.checksum:
              * platform/gtk/svg/clip-path/deep-nested-clip-in-mask-expected.png:
              * platform/gtk/svg/clip-path/deep-nested-clip-in-mask-panning-expected.checksum:
              * platform/gtk/svg/clip-path/deep-nested-clip-in-mask-panning-expected.png:
              * platform/gtk/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.checksum:
              * platform/gtk/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.png:
              * platform/gtk/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.checksum:
              * platform/gtk/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.png:
              * platform/gtk/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.checksum:
              * platform/gtk/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.png:
              * platform/gtk/svg/css/circle-in-mask-with-shadow-expected.checksum: Added.
              * platform/gtk/svg/css/circle-in-mask-with-shadow-expected.png: Added.
              * platform/gtk/svg/css/circle-in-mask-with-shadow-expected.txt: Added.
              * platform/gtk/svg/css/clippath-with-shadow-expected.checksum: Added.
              * platform/gtk/svg/css/clippath-with-shadow-expected.png: Added.
              * platform/gtk/svg/css/clippath-with-shadow-expected.txt: Added.
              * platform/gtk/svg/custom/absolute-sized-content-with-resources-expected.checksum: Added.
              * platform/gtk/svg/custom/absolute-sized-content-with-resources-expected.png: Added.
              * platform/gtk/svg/custom/absolute-sized-content-with-resources-expected.txt: Added.
              * platform/gtk/svg/custom/circular-marker-reference-2-expected.txt:
              * platform/gtk/svg/custom/js-late-mask-and-object-creation-expected.checksum:
              * platform/gtk/svg/custom/js-late-mask-and-object-creation-expected.png:
              * platform/gtk/svg/custom/js-late-mask-creation-expected.checksum:
              * platform/gtk/svg/custom/js-late-mask-creation-expected.png:
              * platform/gtk/svg/custom/marker-child-changes-css-expected.checksum: Added.
              * platform/gtk/svg/custom/marker-child-changes-css-expected.png: Copied from LayoutTests/platform/gtk/svg/custom/mask-changes-expected.png.
              * platform/gtk/svg/custom/marker-child-changes-css-expected.txt: Added.
              * platform/gtk/svg/custom/mask-changes-expected.checksum:
              * platform/gtk/svg/custom/mask-changes-expected.png:
              * platform/gtk/svg/custom/mask-child-changes-expected.checksum:
              * platform/gtk/svg/custom/mask-child-changes-expected.png:
              * platform/gtk/svg/custom/mask-colorspace-expected.checksum: Added.
              * platform/gtk/svg/custom/mask-colorspace-expected.png: Added.
              * platform/gtk/svg/custom/mask-colorspace-expected.txt: Added.
              * platform/gtk/svg/custom/mask-inside-defs-expected.checksum:
              * platform/gtk/svg/custom/mask-inside-defs-expected.png:
              * platform/gtk/svg/custom/mask-on-multiple-objects-expected.checksum: Added.
              * platform/gtk/svg/custom/mask-on-multiple-objects-expected.png: Added.
              * platform/gtk/svg/custom/mask-on-multiple-objects-expected.txt: Added.
              * platform/gtk/svg/custom/mask-with-all-units-expected.checksum:
              * platform/gtk/svg/custom/mask-with-all-units-expected.png:
              * platform/gtk/svg/custom/non-circular-marker-reference-expected.txt:
              * platform/gtk/svg/custom/recursive-mask-expected.checksum: Added.
              * platform/gtk/svg/custom/recursive-mask-expected.png: Added.
              * platform/gtk/svg/custom/recursive-mask-expected.txt:
              * platform/gtk/svg/custom/visibility-override-mask-expected.checksum:
              * platform/gtk/svg/custom/visibility-override-mask-expected.png:
              * platform/gtk/svg/filters/feGaussianBlur-expected.checksum: Added.
              * platform/gtk/svg/filters/feGaussianBlur-expected.png: Added.
              * platform/gtk/svg/filters/feGaussianBlur-expected.txt: Added.
              * platform/gtk/svg/filters/filter-clip-expected.checksum: Added.
              * platform/gtk/svg/filters/filter-clip-expected.png: Added.
              * platform/gtk/svg/filters/filter-clip-expected.txt: Added.
              * platform/gtk/svg/filters/shadow-on-filter-expected.checksum: Added.
              * platform/gtk/svg/filters/shadow-on-filter-expected.png: Added.
              * platform/gtk/svg/filters/shadow-on-filter-expected.txt: Added.
              * platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.checksum: Added.
              * platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.png: Added.
              * platform/gtk/svg/filters/shadow-on-rect-with-filter-expected.txt: Added.
              * platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.checksum: Added.
              * platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.png: Added.
              * platform/gtk/svg/transforms/text-with-mask-with-svg-transform-expected.txt: Added.
              * platform/gtk/svg/zoom/page/zoom-mask-with-percentages-expected.checksum: Added.
              * platform/gtk/svg/zoom/page/zoom-mask-with-percentages-expected.png: Added.
              * platform/gtk/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
      2011-02-20  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Nikolas Zimmermann.
      
              [CAIRO] Support ImageBuffers clip operation on all Cairo ports
              https://bugs.webkit.org/show_bug.cgi?id=23526
      
              Add support for ImageBuffer clipping on Cairo by emulating them with image
              masks. Since masking is immediate on Cairo, we must store the mask surfaces
              on a stack and apply them during restorePlatformState.
      
              * platform/graphics/GraphicsContext.h: Add pushImageMask.
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContext::savePlatformState): Push an empty mask onto the
              stack, so we can keep track of when to actually apply the image mask.
              (WebCore::GraphicsContext::restorePlatformState): When we are ready to apply
              an image mask, use cairo_mask_surface to mask the group that we pushed onto
              our surface.
              (WebCore::GraphicsContext::pushImageMask): Added. This method will push a surface
              onto the image mask stack and push a group onto the Cairo state, so that the masking
              only affects what we paint after this point.
              * platform/graphics/cairo/GraphicsContextPlatformPrivateCairo.h: Added a class to keep
              track of image masking information after calls to pushImageMask.
              (WebCore::ImageMaskInformation::update): Added
              (WebCore::ImageMaskInformation::valid): Added
              (WebCore::ImageMaskInformation::maskSurface): Added
              (WebCore::ImageMaskInformation::maskRect): Added
              * platform/graphics/cairo/ImageBufferCairo.cpp:
              (WebCore::ImageBuffer::clip): Call GraphicsContext::pushImageMask.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ea476c0
    • dglazkov@chromium.org's avatar
      2011-02-24 Dimitri Glazkov <dglazkov@chromium.org> · 1caa61b4
      dglazkov@chromium.org authored
              Reviewed by Eric Carlson.
      
              Add RenderMediaControls to Mac build, unduplicate one method.
              https://bugs.webkit.org/show_bug.cgi?id=55152
      
              Refactoring, no functional changes.
      
              * WebCore.xcodeproj/project.pbxproj: Added RenderMediaControls to project,
                  ran sort-XCode-project-file.
              * rendering/RenderMediaControls.cpp: Moved ENABLE(VIDEO) and PLATFORM(WIN)
                  defines to allow building on Mac.
              * rendering/RenderMediaControls.h: Ditto.
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::volumeSliderOffsetFromMuteButton): Replaced guts
                  with a call to RenderMediaControls function.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1caa61b4
    • eric@webkit.org's avatar
      2011-02-24 Eric Seidel <eric@webkit.org> · b342679e
      eric@webkit.org authored
              Reviewed by Anders Carlsson.
      
              VectorBuffer should not call malloc(0)
              https://bugs.webkit.org/show_bug.cgi?id=55091
      
              Turns out the malloc() call which was so hot in:
              https://bugs.webkit.org/show_bug.cgi?id=55005
              was actually just malloc(0).
      
              We shouldn't be calling malloc(0) anyway, since there is no need to
              and it might actually do work on some systems.
              I believe on Mac it ends up taking the standard spinlocks (expensive)
              and the code on Brew actually does a malloc(1) instead.  Neither is desirable.
      
              * wtf/Vector.h:
              (WTF::VectorBufferBase::allocateBuffer):
              (WTF::VectorBufferBase::tryAllocateBuffer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b342679e
    • commit-queue@webkit.org's avatar
      2011-02-24 Peter Kasting <pkasting@google.com> · 9a33f196
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * http/tests/navigation/useragent-expected.txt:
              * http/tests/navigation/useragent.php:
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * StringsNotToBeLocalized.txt:
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * WebCoreSupport/FrameLoaderClientEfl.cpp:
              (WebCore::composeUserAgent):
              * ewk/ewk_settings.cpp:
              (ewk_settings_default_user_agent_get):
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * webkit/webkitwebsettings.cpp:
              (webkitUserAgent):
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * WebView/WebView.mm:
              (+[WebView _standardUserAgentWithApplicationName:]):
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * Api/qwebpage.cpp:
              (QWebPage::userAgentForUrl):
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * WebView.cpp:
              (WebView::standardUserAgentWithApplicationName):
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * WebKitSupport/FrameLoaderClientWx.cpp:
              (WebCore::FrameLoaderClientWx::userAgent):
      2011-02-24  Peter Kasting  <pkasting@google.com>
      
              Reviewed by Eric Seidel.
      
              Drop the "U; " encryption level from the User Agent string.
              https://bugs.webkit.org/show_bug.cgi?id=54566
      
              * UIProcess/gtk/WebPageProxyGtk.cpp:
              (WebKit::WebPageProxy::standardUserAgent):
              * UIProcess/mac/WebPageProxyMac.mm:
              (WebKit::WebPageProxy::standardUserAgent):
              * UIProcess/qt/WebPageProxyQt.cpp:
              (WebKit::WebPageProxy::standardUserAgent):
              * UIProcess/win/WebPageProxyWin.cpp:
              (WebKit::WebPageProxy::standardUserAgent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a33f196
    • jamesr@google.com's avatar
      2011-02-24 James Robinson <jamesr@chromium.org> · 2f32f62e
      jamesr@google.com authored
              Unreviewed, rolling out r79584.
              http://trac.webkit.org/changeset/79584
              https://bugs.webkit.org/show_bug.cgi?id=44797
      
              [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
              not set
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
      2011-02-24  James Robinson  <jamesr@chromium.org>
      
              Unreviewed, rolling out r79584.
              http://trac.webkit.org/changeset/79584
              https://bugs.webkit.org/show_bug.cgi?id=44797
      
              [chromium] Patch does not compile if ENABLE_FULLSCREEN_API is
              not set
      
              * features.gypi:
              * public/WebSettings.h:
              * src/ChromeClientImpl.cpp:
              * src/ChromeClientImpl.h:
              * src/WebSettingsImpl.cpp:
              * src/WebSettingsImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2f32f62e
    • carlosgc@webkit.org's avatar
      2011-02-24 Carlos Garcia Campos <cgarcia@igalia.com> · fd6d4228
      carlosgc@webkit.org authored
              Reviewed by Martin Robinson.
      
              Do not cache the default cairo font options using a static
              variable. It fixes a memory leak reported by valgrind.
      
              * platform/graphics/freetype/FontPlatformDataFreeType.cpp:
              (WebCore::getDefaultFontOptions):
              (WebCore::FontPlatformData::initializeWithFontFace):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd6d4228
    • atwilson@chromium.org's avatar
      2011-02-24 Andrew Wilson <atwilson@chromium.org> · 16c00a8e
      atwilson@chromium.org authored
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * WebCore.exp.in:
      2011-02-24  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * public/WebFrame.h:
              * src/WebFrameImpl.cpp:
              * src/WebFrameImpl.h:
      2011-02-24  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              * WebCoreSupport/DumpRenderTreeSupportGtk.h:
      2011-02-24  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * WebView/WebFrame.mm:
              * WebView/WebFramePrivate.h:
      2011-02-24  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
              * WebCoreSupport/DumpRenderTreeSupportQt.h:
      2011-02-24  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * Interfaces/IWebFramePrivate.idl:
              * Interfaces/WebKit.idl:
              * WebFrame.cpp:
              * WebFrame.h:
      2011-02-24  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
              * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
      2011-02-24  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r79570.
              http://trac.webkit.org/changeset/79570
              https://bugs.webkit.org/show_bug.cgi?id=54874
      
              Breaks chromium build because glue/mocks/mock_web_frame.h/cc
              was not updated
      
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::resetTestController):
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetWebViewToConsistentStateBeforeTesting):
              * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
              (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting):
              * DumpRenderTree/win/DumpRenderTree.cpp:
              (resetWebViewToConsistentStateBeforeTesting):
              * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
              (WTR::InjectedBundlePage::reset):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16c00a8e
    • bweinstein@apple.com's avatar
      Part of WebKit2: Need a way to manage cookies from the web process · adba1e76
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=55086
              
      Reviewed by Adam Roben and looked over by Jessie Berlin.
      
      This patch adds the plumbing and classes that are needed to manage cookies from the web process.
      The functions that the API calls are currently stubs, but will be implemented in a follow-up patch.
      
      Project file changes.
      * DerivedSources.make:
      * DerivedSources.pro:
      * GNUmakefile.am:
      * WebKit2.pri:
      * WebKit2.pro:
      * WebKit2.xcodeproj/project.pbxproj:
      * win/WebKit2.vcproj:
      * win/WebKit2Common.vsprops:
      * win/WebKit2Generated.make:
      
      Add some needed plumbing for WebCookieManager{Proxy}.
      * Platform/CoreIPC/MessageID.h:
      * Shared/API/c/WKBase.h:
      * Shared/APIObject.h:
      * UIProcess/API/C/WKAPICast.h:
      
      * UIProcess/API/C/WKContext.cpp:
      (WKContextGetCookieManager): Gets the cookie manager proxy.
      * UIProcess/API/C/WKContext.h:
      * UIProcess/API/C/WKCookieManager.cpp: Added.
      (WKCookieManagerGetTypeID):
      (WKCookieManagerGetHostnamesWithCookies): Calls through to WebCookieManagerProxy.
      (WKCookieManagerDeleteCookiesForHostname): Ditto.
      (WKCookieManagerDeleteAllCookies): Ditto.
      * UIProcess/API/C/WKCookieManager.h: Added.
      
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::didReceiveMessage): Add a case for the cookie manager.
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::WebContext): Initialize the cookie manager.
      (WebKit::WebContext::~WebContext): Invalidate the cookie manager.
      (WebKit::WebContext::disconnectProcess): Ditto.
      (WebKit::WebContext::didReceiveMessage): Add a case for the cookie manager.
      * UIProcess/WebContext.h:
      (WebKit::WebContext::cookieManagerProxy): Returns the cookie manager.
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::didReceiveMessage): Add a case for the cookie manager.
      
      * UIProcess/WebCookieManagerProxy.cpp: Added.
      (WebKit::WebCookieManagerProxy::create):
      (WebKit::WebCookieManagerProxy::WebCookieManagerProxy):
      (WebKit::WebCookieManagerProxy::~WebCookieManagerProxy):
      (WebKit::WebCookieManagerProxy::invalidate):
      (WebKit::WebCookieManagerProxy::didReceiveMessage): 
      (WebKit::WebCookieManagerProxy::getHostnamesWithCookies): Call through to the web process to get hostnames with cookies.
      (WebKit::WebCookieManagerProxy::didGetHostnamesWithCookies): Call the callback we were passed in getHostnamesWithCookies.
      (WebKit::WebCookieManagerProxy::deleteCookiesForHostname): Call through to the web process to delete cookies
          for the origin.
      (WebKit::WebCookieManagerProxy::deleteAllCookies): Call through to the web process to delete all cookies.
      * UIProcess/WebCookieManagerProxy.h: Added.
      (WebKit::WebCookieManagerProxy::clearContext):
      (WebKit::WebCookieManagerProxy::type):
      * UIProcess/WebCookieManagerProxy.messages.in: Added.
      
      * WebProcess/Cookies: Added.
      * WebProcess/Cookies/WebCookieManager.cpp: Added.
      (WebKit::WebCookieManager::shared):
      (WebKit::WebCookieManager::WebCookieManager):
      (WebKit::WebCookieManager::didReceiveMessage): Call through to didReceiveWebCookieManagerMessage.
      (WebKit::WebCookieManager::getHostnamesWithCookies): Build an array from a HashSet (that isn't filled yet), and 
          convert that HashSet to a Vector to send to the UI process.
      (WebKit::WebCookieManager::deleteCookiesForHostname): Added a stub.
      (WebKit::WebCookieManager::deleteAllCookies): Ditto.
      * WebProcess/Cookies/WebCookieManager.h: Added.
      * WebProcess/Cookies/WebCookieManager.messages.in: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      adba1e76
    • commit-queue@webkit.org's avatar
      2011-02-24 David Dorwin <ddorwin@chromium.org> · 23ad69bd
      commit-queue@webkit.org authored
              Reviewed by Eric Seidel.
      
              Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
      
              fullscreen javascript bindings not implemented for v8
              https://bugs.webkit.org/show_bug.cgi?id=44797
      
              Tested by the existing fullscreen Layout Tests.
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
      2011-02-24  David Dorwin  <ddorwin@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Enable WebKit Full Screen API in Chromium. The element becomes the full size of the window, but the window is not yet full screen. Support is disabled by default.
      
              fullscreen javascript bindings not implemented for v8
              https://bugs.webkit.org/show_bug.cgi?id=44797
      
              * features.gypi:
              * public/WebSettings.h:
              * src/ChromeClientImpl.cpp:
              (WebKit::ChromeClientImpl::supportsFullScreenForElement):
              (WebKit::ChromeClientImpl::enterFullScreenForElement):
              (WebKit::ChromeClientImpl::exitFullScreenForElement):
              (WebKit::ChromeClientImpl::fullScreenRendererChanged):
              * src/ChromeClientImpl.h:
              * src/WebSettingsImpl.cpp:
              (WebKit::WebSettingsImpl::setFullScreenEnabled):
              * src/WebSettingsImpl.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23ad69bd
    • pfeldman@chromium.org's avatar
      2011-02-24 Pavel Feldman <pfeldman@chromium.org> · 4b23f436
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: move querySelectorAll from CSS agent to DOM agent where it belongs.
              https://bugs.webkit.org/show_bug.cgi?id=55131
      
              * http/tests/inspector/inspector-test.js:
              * inspector/elements/dom-agent-query-selector-expected.txt: Added.
              * inspector/elements/dom-agent-query-selector.html: Added.
      2011-02-24  Pavel Feldman  <pfeldman@chromium.org>
      
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: move querySelectorAll from CSS agent to DOM agent where it belongs.
              https://bugs.webkit.org/show_bug.cgi?id=55131
      
              Test: inspector/elements/dom-agent-query-selector.html
      
              * inspector/Inspector.idl:
              * inspector/InspectorCSSAgent.cpp:
              * inspector/InspectorCSSAgent.h:
              * inspector/InspectorDOMAgent.cpp:
              (WebCore::InspectorDOMAgent::nodeToSelectOn):
              (WebCore::InspectorDOMAgent::querySelector):
              (WebCore::InspectorDOMAgent::querySelectorAll):
              * inspector/InspectorDOMAgent.h:
              * inspector/front-end/AuditRules.js:
              (WebInspector.AuditRules.ImageDimensionsRule.prototype.doRun):
              * inspector/front-end/CSSStyleModel.js:
              (WebInspector.CSSStyleModel.prototype.setRuleSelector.callback):
              (WebInspector.CSSStyleModel.prototype.setRuleSelector):
              (WebInspector.CSSStyleModel.prototype.addRule.callback):
              (WebInspector.CSSStyleModel.prototype.addRule):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b23f436
    • paroga@webkit.org's avatar
      2011-02-24 Patrick Gansterer <paroga@webkit.org> · 83a1e4ac
      paroga@webkit.org authored
              Reviewed by Darin Adler.
      
              Remove obsolete PLATFORM(CI)
              https://bugs.webkit.org/show_bug.cgi?id=55082
      
              * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83a1e4ac
    • alex@webkit.org's avatar
      2011-02-24 Amruth Raj <amruthraj@motorola.com> and Ravi Phaneendra... · 948c72d0
      alex@webkit.org authored
      2011-02-24   Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com> and Alejandro G. Castro  <alex@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Implement WebEventFactory, WebErrors classes for WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=48510
      
              Exported static functions for GTK, we need them to create events
              in WebKit2.
      
              * platform/PlatformKeyboardEvent.h:
              * platform/gtk/KeyEventGtk.cpp:
              (WebCore::PlatformKeyboardEvent::keyIdentifierForGdkKeyCode):
              (WebCore::PlatformKeyboardEvent::windowsKeyCodeForGdkKeyCode):
              (WebCore::PlatformKeyboardEvent::singleCharacterString):
      
      2011-02-24   Amruth Raj  <amruthraj@motorola.com> and Ravi Phaneendra Kasibhatla  <ravi.kasibhatla@motorola.com> and Alejandro G. Castro  <alex@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Implement WebEventFactory, WebErrors classes for WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=48510
      
              * GNUmakefile.am:
              * Shared/gtk/WebEventFactory.cpp: Added. implementation for
              WebMouseEvent, WebWheelEvent, WebKeyboardEvent.
              * Shared/gtk/WebEventFactory.h: Added.
              * WebProcess/WebCoreSupport/gtk/WebErrorsGtk.cpp: Added. Stubbed
              implementation for GTK port.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      948c72d0
    • mrobinson@webkit.org's avatar
      2011-02-24 Martin Robinson <mrobinson@igalia.com> · a80df105
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Remove the GFile GOwnPtr specialization
              https://bugs.webkit.org/show_bug.cgi?id=55154
      
              Remove the GFile specialization of GOwnPtr. It's sufficient to use GRefPtr
              to track GFiles since they are just regular reference-counted GObjects.
      
              * wtf/gobject/GOwnPtr.cpp: Remove GFile specialization.
              * wtf/gobject/GOwnPtr.h: Ditto.
      2011-02-24  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] Remove the GFile GOwnPtr specialization
              https://bugs.webkit.org/show_bug.cgi?id=55154
      
              Convert uses of GOwnPtr<GFile> to GRefPtr<GFile>.
      
              No new tests. This should not change behavior.
      
              * plugins/gtk/PluginPackageGtk.cpp: Fix include order and remove unnecessary include.
              (WebCore::PluginPackage::load): Use GRefPtr for GFile instead of GOwnPtr.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a80df105
    • aroben@apple.com's avatar
      Update Windows XP test results after r78846 · 188f12c6
      aroben@apple.com authored
      * platform/win-xp/fast/text/backslash-to-yen-sign-euc-expected.checksum: Added.
      * platform/win-xp/fast/text/backslash-to-yen-sign-euc-expected.png: Added.
      * platform/win-xp/fast/text/backslash-to-yen-sign-euc-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      188f12c6
    • paroga@webkit.org's avatar
      2011-02-24 Patrick Gansterer <paroga@webkit.org> · cb73e5d7
      paroga@webkit.org authored
              Reviewed by Eric Seidel.
      
              Rename PLATFORM(SKIA) to USE(SKIA)
              https://bugs.webkit.org/show_bug.cgi?id=55090
      
              * wtf/Platform.h:
      2011-02-24  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Rename PLATFORM(SKIA) to USE(SKIA)
              https://bugs.webkit.org/show_bug.cgi?id=55090
      
              * config.h: Removed second define of PLATFORM(SKIA).
              * html/HTMLCanvasElement.cpp:
              * platform/graphics/FloatPoint.h:
              * platform/graphics/FloatRect.h:
              * platform/graphics/Gradient.cpp:
              * platform/graphics/Gradient.h:
              * platform/graphics/GraphicsContext.cpp:
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/ImageSource.h:
              * platform/graphics/IntPoint.h:
              * platform/graphics/IntRect.h:
              * platform/graphics/Path.h:
              * platform/graphics/Pattern.cpp:
              * platform/graphics/Pattern.h:
              * platform/graphics/chromium/ContentLayerChromium.cpp:
              * platform/graphics/chromium/ContentLayerChromium.h:
              * platform/graphics/chromium/GLES2Canvas.cpp:
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              * platform/graphics/chromium/LayerChromium.cpp:
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              * platform/graphics/chromium/LayerRendererChromium.h:
              * platform/graphics/chromium/LayerTilerChromium.cpp:
              * platform/graphics/chromium/ShaderChromium.h:
              * platform/graphics/gpu/LoopBlinnPathProcessor.cpp:
              * platform/graphics/transforms/AffineTransform.h:
              * platform/graphics/transforms/TransformationMatrix.h:
              * platform/image-decoders/ImageDecoder.cpp:
              * platform/image-decoders/ImageDecoder.h:
              * rendering/svg/RenderSVGResourceSolidColor.cpp:
      2011-02-24  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Rename PLATFORM(SKIA) to USE(SKIA)
              https://bugs.webkit.org/show_bug.cgi?id=55090
      
              * src/GraphicsContext3DChromium.cpp:
              (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
              (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
              * src/GraphicsContext3DInternal.h:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::doPixelReadbackToCanvas):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb73e5d7
    • alex@webkit.org's avatar
      2011-02-24 Alejandro G. Castro <alex@igalia.com> · b20f2983
      alex@webkit.org authored
              Rubber-stamped by Martin Robinson.
      
              Fixed compilation after r79537, added a bug to solve webkit2
              translations:
              https://bugs.webkit.org/show_bug.cgi?id=55153
      
              * GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b20f2983
    • pfeldman@chromium.org's avatar
      2011-02-24 Pavel Feldman <pfeldman@chromium.org> · 72120efa
      pfeldman@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: follow up to 79566. USE_PARAM not declared
              https://bugs.webkit.org/show_bug.cgi?id=55155
      
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::JSInjectedScriptHost::currentCallFrame):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::V8InjectedScriptHost::currentCallFrameCallback):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72120efa
    • commit-queue@webkit.org's avatar
      2011-02-24 Mahesh Kulkarni <mahesh.kulkarni@nokia.com> · 2407a302
      commit-queue@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] add android 2.2 user agent to QtTestBrowser
              https://bugs.webkit.org/show_bug.cgi?id=55085
      
              Credit to Forrest Hodgkins to find right user-agent which works for youtube.
              * QtTestBrowser/useragentlist.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2407a302
    • eae@chromium.org's avatar
      2011-02-24 Emil A Eklund <eae@chromium.org> · 8ef7c929
      eae@chromium.org authored
              Reviewed by Simon Fraser.
      
              Add support for missing properties to getComputedStyle
              https://bugs.webkit.org/show_bug.cgi?id=23668
      
              Test getComputedStyle for the content, counter and outline-offset
              properties.
      
              * fast/css/getComputedStyle/computed-style-properties-expected.txt: Added.
              * fast/css/getComputedStyle/computed-style-properties.html: Added.
      2011-02-24  Emil A Eklund  <eae@chromium.org>
      
              Reviewed by Simon Fraser.
      
              Add support for missing properties to getComputedStyle
              https://bugs.webkit.org/show_bug.cgi?id=23668
      
              Implement getComputedStyle for the content, counter and outline-offset
              properties.
      
              Test: fast/css/getComputedStyle/computed-style-properties.html
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::contentToCSSValue):
              (WebCore::counterToCSSValue):
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSPrimitiveValue.cpp:
              (WebCore::CSSPrimitiveValue::cssText):
              * css/CSSPrimitiveValue.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8ef7c929
    • aroben@apple.com's avatar
      Change FrameLoadDelegate to support any number of delegates with delayed work to process · b86360c5
      aroben@apple.com authored
      This makes our behavior match Mac more closely, and allows us to remove an incorrect
      assertion that was firing during some tests. (The assertion was claiming that there was
      never more than one delegate with delayed work to process, but that was not the case.)
      
      Fixes <http://webkit.org/b/55146> Assertion failure in FrameLoadDelegate::locationChangeDone
      when running http/tests/navigation/back-twice-without-commit.html
      
      Reviewed by Eric Carlson.
      
      * DumpRenderTree/win/FrameLoadDelegate.cpp:
      (delegatesWithDelayedWork): Added. Returns all FrameLoadDelegates that have delayed work to
      process. A single delegate may appear in this Vector more than once (just as, on Mac, a
      single delegate may have multiple performSelector requests).
      (processWorkTimer): Pass the HWND to ::KillTimer, for pedantic brownie points. Added an
      assertion that the timer firing is the shared process work timer. Instead of using the
      single, global "delegate waiting for timer" delegate, give all delegates that have delayed
      work to process a chance to process their work.
      (FrameLoadDelegate::locationChangeDone): If we don't already have an active timer for
      processing delayed work, create one. Then add ourselves to the delegatesWithDelayedWork
      Vector so our processWork function will be called when the timer fires.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b86360c5
    • eric@webkit.org's avatar
      2011-02-24 Eric Seidel <eric@webkit.org> · a156914b
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              SegmentedString does not need an m_composite member
              https://bugs.webkit.org/show_bug.cgi?id=55083
      
              Storing m_composite as distinct from m_substrings.isEmpty()
              was just error prone and eventually going to get us in trouble.
      
              I also cleaned up some of the style in SegementedString.*
              since this file long predates check-webkit-style.
      
              * platform/text/SegmentedString.cpp:
              (WebCore::SegmentedString::SegmentedString):
              (WebCore::SegmentedString::operator=):
              (WebCore::SegmentedString::length):
              (WebCore::SegmentedString::setExcludeLineNumbers):
              (WebCore::SegmentedString::clear):
              (WebCore::SegmentedString::append):
              (WebCore::SegmentedString::prepend):
              (WebCore::SegmentedString::advanceSubstring):
              (WebCore::SegmentedString::toString):
              * platform/text/SegmentedString.h:
              (WebCore::SegmentedSubstring::SegmentedSubstring):
              (WebCore::SegmentedSubstring::appendTo):
              (WebCore::SegmentedString::SegmentedString):
              (WebCore::SegmentedString::isComposite):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@79572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a156914b