1. 12 Mar, 2010 31 commits
    • jianli@chromium.org's avatar
      WebCore: Add DOMFormData.idl to expose FormData interface. · 9f776cb4
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=36024
      
      Reviewed by Sam Weinig.
      
      The implementation is based on XMLHttpRequest 2 spec:
      http://dev.w3.org/2006/webapi/XMLHttpRequest-2/#formdata
      
      Test: http/tests/local/send-form-data.html
      
      * Android.derived.jscbindings.mk:
      * Android.derived.v8bindings.mk:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * GNUmakefile.am:
      * WebCore.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/JSDOMFormDataCustom.cpp: Added.
      * bindings/js/JSXMLHttpRequestCustom.cpp:
      (WebCore::JSXMLHttpRequest::send):
      * bindings/scripts/CodeGeneratorJS.pm:
      * html/DOMFormData.idl: Added.
      * page/DOMWindow.idl:
      
      LayoutTests: Add DOMFormData.idl to expose FormData interface
      https://bugs.webkit.org/show_bug.cgi?id=36024
      
      Reviewed by Sam Weinig.
      
      Add a layout test to test sending FormData via XMLHttpRequest. Also
      changed all test results that are affected by exposing FormData.
      
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/Window/window-property-descriptors-expected.txt:
      * fast/dom/constructed-objects-prototypes-expected.txt:
      * fast/dom/prototype-inheritance-2-expected.txt:
      * fast/dom/prototype-inheritance-expected.txt:
      * fast/js/global-constructors-expected.txt:
      * http/tests/local/resources/send-form-data.js: Added.
      * http/tests/local/send-form-data-expected.txt: Added.
      * http/tests/local/send-form-data.html: Added.
      * http/tests/xmlhttprequest/resources/multipart-post-echo.php: Added.
      * platform/gtk/Skipped:
      * platform/gtk/fast/dom/Window/window-properties-expected.txt:
      * platform/qt/Skipped:
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/qt/fast/dom/prototype-inheritance-expected.txt:
      * platform/qt/fast/js/global-constructors-expected.txt:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f776cb4
    • jpetsovits@rim.com's avatar
      2010-03-12 Jakob Petsovits <jpetsovits@rim.com> · bbc48b80
      jpetsovits@rim.com authored
              Reviewed by Dirk Schulze.
      
              [OpenVG] Add a SurfaceOpenVG constructor for EGL client buffer surfaces
              https://bugs.webkit.org/show_bug.cgi?id=35538
      
              SurfaceOpenVG can now not only encapsulate pbuffer
              and window surfaces but also VGImage-based ones.
      
              * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
              (WebCore::EGLDisplayOpenVG::createPbufferFromClientBuffer):
              * platform/graphics/openvg/EGLDisplayOpenVG.h:
              * platform/graphics/openvg/SurfaceOpenVG.cpp:
              (WebCore::SurfaceOpenVG::SurfaceOpenVG):
              * platform/graphics/openvg/SurfaceOpenVG.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbc48b80
    • aroben@apple.com's avatar
      Teach prepare-ChangeLog to find modified selectors in CSS files · ec7621d6
      aroben@apple.com authored
      Reviewed by Tim Hatcher.
      
      Fixes <http://webkit.org/b/36064> prepare-ChangeLog should extract
      modified selectors from CSS files
      
      * Scripts/prepare-ChangeLog:
      (get_function_line_ranges): Call get_selector_line_ranges_for_css for
      .css files.
      (get_selector_line_ranges_for_css): Added. Finds selectors and their
      line ranges and returns them.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec7621d6
    • eric@webkit.org's avatar
      2010-03-12 Alpha Lam <hclam@chromium.org> · 46d3d32f
      eric@webkit.org authored
              Reviewed by Eric Carlson.
      
              HTMLMediaElement crash when it is used after resource loading is canceled.
              https://bugs.webkit.org/show_bug.cgi?id=35992
      
              Adding a test to access the duration property of a video element after
              resource loading was canceled.
      
              * http/tests/media/video-cancel-load-expected.txt: Added.
              * http/tests/media/video-cancel-load.html: Added.
      2010-03-12  Alpha Lam  <hclam@chromium.org>
      
              Reviewed by Eric Carlson.
      
              Fix a crash when resource loading of media element is canceled.
              https://bugs.webkit.org/show_bug.cgi?id=35992
      
              Use of HTMLMediaElement::duration() after resource loading was canceled
              will cause a crash. This is because HTMLMediaElement::m_player is used
              when NULL.
              Test: http/tests/media/video-cancel-load.html
      
              * html/HTMLMediaElement.cpp:
              (WebCore::HTMLMediaElement::duration):
              Avoid calling to m_player when it is null.
              (WebCore::HTMLMediaElement::userCancelledLoad):
              Set m_readyState to HAVE_NOTHING.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55917 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46d3d32f
    • eric@webkit.org's avatar
      2010-03-12 Garret Kelly <gdk@chromium.org> · 48ec7beb
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              Enable touch events in Chromium features gypi file.
              https://bugs.webkit.org/show_bug.cgi?id=35994
      
              * features.gypi:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48ec7beb
    • kov@webkit.org's avatar
      2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · f1c8507d
      kov@webkit.org authored
              Rubber-stamped by Kenneth Rohde Christiansen.
      
              Misc documentation fixes. Fixes (almost) all warnings emitted by
              the documentation build process. Only the broken references to JSC
              objects remain.
      
              * webkit/webkitsecurityorigin.cpp:
              * webkit/webkitwebbackforwardlist.cpp:
              * webkit/webkitwebdatasource.cpp:
              * webkit/webkitwebframe.cpp:
              * webkit/webkitwebhistoryitem.cpp:
              * webkit/webkitwebinspector.cpp:
              (webkit_web_inspector_class_init):
              * webkit/webkitwebsettings.cpp:
              (webkit_web_settings_class_init):
              * webkit/webkitwebview.cpp:
              (DNDContentsRequest::webkit_web_view_class_init):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55915 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1c8507d
    • mitz@apple.com's avatar
      <rdar://problem/7725534> CSSPrimitiveValue::parserValue() returns deleted memory · 6cfb0bee
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=20069
      
      Reviewed by Darin Adler.
      
      No test added, since with the CSS variables feature disabled, the pointer
      to the freed memory is never dereferenced.
      
      * css/CSSPrimitiveValue.cpp:
      (WebCore::valueOrPropertyName): Changed to return a const AtomicString& from
      a static table.
      (WebCore::CSSPrimitiveValue::parserValue): Updated for the above change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55914 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cfb0bee
    • ojan@chromium.org's avatar
      2010-03-05 Ojan Vafai <ojan@chromium.org> · 0b530eb8
      ojan@chromium.org authored
              Reviewed by David Levin.
      
              Tests for smartdelete should only occur after double-click
              https://bugs.webkit.org/show_bug.cgi?id=35314
      
              Fixes the tests to make selections using the mouse in order
              to force smart-delete. It also adds/modifies tests to have them correctly
              identify cases where we are smart-deleting, but shouldn't be.
      
              Fixing to smart-delete only on mouse-based selections will be a followup patch.
      
              * editing/deleting/5390681-2.html:
              * editing/deleting/non-smart-delete.html: Added.
              * editing/deleting/smart-delete-001.html:
              * editing/deleting/smart-delete-002.html:
              * editing/deleting/smart-delete-003.html:
              * editing/deleting/smart-delete-004.html:
              * editing/editing.js:
              (doubleClick):
              (doubleClickAtSelectionStart):
              * editing/pasteboard/4944770-2.html:
              * editing/pasteboard/drag-drop-modifies-page.html:
              * editing/pasteboard/smart-drag-drop.html: Added.
              * editing/pasteboard/smart-paste-001.html:
              * editing/pasteboard/smart-paste-002.html:
              * editing/pasteboard/smart-paste-003.html:
              * editing/pasteboard/smart-paste-004.html:
              * editing/pasteboard/smart-paste-005.html:
              * editing/pasteboard/smart-paste-007.html:
              * editing/pasteboard/smart-paste-008.html:
              * editing/selection/delete-word-granularity-text-control-expected.txt: Added.
              * editing/selection/delete-word-granularity-text-control.html: Added.
              * editing/selection/script-tests/delete-word-granularity-text-control.js: Added.
              * editing/style/style-boundary-005.html:
              * platform/mac/editing/deleting/non-smart-delete-expected.checksum: Added.
              * platform/mac/editing/deleting/non-smart-delete-expected.png: Added.
              * platform/mac/editing/deleting/non-smart-delete-expected.txt: Added.
              * platform/mac/editing/deleting/smart-delete-001-expected.txt:
              * platform/mac/editing/deleting/smart-delete-002-expected.txt:
              * platform/mac/editing/deleting/smart-delete-003-expected.txt:
              * platform/mac/editing/deleting/smart-delete-004-expected.txt:
              * platform/mac/editing/pasteboard/drag-drop-modifies-page-expected.checksum:
              * platform/mac/editing/pasteboard/drag-drop-modifies-page-expected.png:
              * platform/mac/editing/pasteboard/drag-drop-modifies-page-expected.txt:
              * platform/mac/editing/pasteboard/smart-drag-drop-expected.checksum: Added.
              * platform/mac/editing/pasteboard/smart-drag-drop-expected.png: Added.
              * platform/mac/editing/pasteboard/smart-drag-drop-expected.txt: Added.
              * platform/mac/editing/pasteboard/smart-paste-001-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-002-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-003-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-004-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-005-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-007-expected.txt:
              * platform/mac/editing/pasteboard/smart-paste-008-expected.txt:
              * platform/mac/editing/style/style-boundary-005-expected.checksum:
              * platform/mac/editing/style/style-boundary-005-expected.png:
              * platform/mac/editing/style/style-boundary-005-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0b530eb8
    • darin@chromium.org's avatar
      2010-03-12 Darin Fisher <darin@chromium.org> · f4afd14e
      darin@chromium.org authored
              Fix Chromium build bustage.
      
              Wrap usage of WebPrivatePtr from WebNode.h in a #if
              WEBKIT_IMPLEMENTATION guard.
      
              * public/WebNode.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f4afd14e
    • mitz@apple.com's avatar
      Build fix. · 96f79664
      mitz@apple.com authored
      * platform/chromium/PlatformKeyboardEventChromium.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55911 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      96f79664
    • ap@apple.com's avatar
      Fixing an embarrassing typo in ChangeLog. · 71f0c598
      ap@apple.com authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55910 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71f0c598
    • mitz@apple.com's avatar
      <rdar://problem/7694674> Hover states not updated when overflow section... · b5a56888
      mitz@apple.com authored
      <rdar://problem/7694674> Hover states not updated when overflow section scrolls under stationary mouse pointer
      https://bugs.webkit.org/show_bug.cgi?id=35949
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      Test: fast/events/overflow-scroll-fake-mouse-move.html
      
      Soon after an overflow section scrolls under the mouse pointer, dispatch
      a fake mouse move event. This is similar to how frame scrolling is handled
      in WebKit, and has the effect of updating hover state, dispatching DOM mouse
      events, and updating the tool tip.
      
      * page/EventHandler.cpp:
      (WebCore::EventHandler::EventHandler): Initialize m_fakeMouseMoveEventTimer.
      (WebCore::EventHandler::~EventHandler): Assert that the timer is not active.
      (WebCore::EventHandler::clear): Stop the timer.
      (WebCore::EventHandler::handleMousePressEvent): Cancel pending fake mouse
      move events.
      (WebCore::EventHandler::handleMouseMoveEvent): Ditto.
      (WebCore::EventHandler::dispatchFakeMouseMoveEventSoonInQuad): If the mouse
      is in the passed-in quad, ensure that a fake mouse move event is scheduled
      to fire soon.
      (WebCore::EventHandler::cancelFakeMouseMoveEvent): Does what the name says.
      (WebCore::EventHandler::fakeMouseMoveEventTimerFired): Constructs a
      PlatformMouseEvent with the current mouse location, modifier key state and
      time stamp and calls mouseMoved().
      * page/EventHandler.h:
      * platform/PlatformKeyboardEvent.h: Declared getCurrentModifierState().
      * platform/android/KeyEventAndroid.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Stubbed out.
      * platform/brew/PlatformKeyboardEventBrew.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
      * platform/chromium/PlatformKeyboardEventChromium.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Added.
      * platform/efl/PlatformKeyboardEventEfl.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Stubbed out.
      * platform/gtk/KeyEventGtk.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
      * platform/haiku/PlatformKeyboardEventHaiku.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Added.
      * platform/mac/KeyEventMac.mm:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
      * platform/qt/PlatformKeyboardEventQt.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Stubbed out.
      * platform/win/KeyEventWin.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Added.
      * platform/wx/KeyboardEventWx.cpp:
      (WebCore::PlatformKeyboardEvent::getCurrentModifierState): Ditto.
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::scrollToOffset): Call
      EventHandler::dispatchFakeMouseMoveEventSoonInQuad(). Moved things around
      a little to avoid computing the repaint rect twice.
      
      LayoutTests: 
      
      * fast/events/overflow-scroll-fake-mouse-move-expected.txt: Added.
      * fast/events/overflow-scroll-fake-mouse-move.html: Added.
      * fast/events/touch/basic-multi-touch-events.html:
      * fast/events/touch/basic-single-touch-events.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b5a56888
    • eric@webkit.org's avatar
      2010-03-12 Nicolas Weber <thakis@chromium.org> · 57bd3a33
      eric@webkit.org authored
              Reviewed by David Levin.
      
              [Chromium] Cmd-clicking submit buttons should submit in new tab
              https://bugs.webkit.org/show_bug.cgi?id=36023
      
              Take modifiers into account when clicking form buttons. E.g.
              cmd-clicking a submit button will submit in a new background tab,
              cmd-shift-clicking in a new foreground tab, shift-clicking in a new
              window. (On windows/linux, it's ctrl instead of cmd.)
      
              * src/FrameLoaderClientImpl.cpp:
              (WebKit::FrameLoaderClientImpl::actionSpecifiesNavigationPolicy):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57bd3a33
    • ossy@webkit.org's avatar
      2010-03-12 Csaba Osztrogonác <ossy@webkit.org> · b9229f7b
      ossy@webkit.org authored
              [Qt] css1/box_properties/acid_test.html failed in release mode (32 bit).
              But it passes in debug mode (32 and 64 bit) and in release mode (64 bit).
      
              https://bugs.webkit.org/show_bug.cgi?id=33834
      
              * platform/qt/Skipped: css1/box_properties/acid_test.html skipped again.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9229f7b
    • eric@webkit.org's avatar
      2010-03-12 Kavita Kanetkar <kkanetkar@chromium.org> · 48486986
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              [chromium] Fix memory leak in WebImageDecoder API
              https://bugs.webkit.org/show_bug.cgi?id=35946
      
              * src/WebImageDecoder.cpp:
              (WebKit::WebImageDecoder::setData):
              (WebKit::WebImageDecoder::getFrameAtIndex):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55906 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      48486986
    • kov@webkit.org's avatar
      Build fix (for EWS). Make sure the new code builds on older soup. · e0f402b5
      kov@webkit.org authored
      Thanks to Dan Winship.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55905 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0f402b5
    • kov@webkit.org's avatar
      2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 4c27e4cd
      kov@webkit.org authored
              Reviewed by Eric Carlson.
      
              [GTK] DRT does not handle cookie policy setting
              https://bugs.webkit.org/show_bug.cgi?id=36056
      
              Implement cookie accept policy setting for GTK+'s LayoutTestController.
      
              * DumpRenderTree/gtk/DumpRenderTree.cpp:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setAlwaysAcceptCookies):
      
      LayoutTests
      
      2010-03-12  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
      
              Reviewed by Eric Carlson.
      
              [GTK] DRT does not handle cookie policy setting
              https://bugs.webkit.org/show_bug.cgi?id=36056
      
              Fix tests to request that the cookie acceptance policy always allows cookies.
      
              * http/tests/media/video-cookie.html:
              * http/tests/media/video-referer.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55904 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c27e4cd
    • eric@webkit.org's avatar
      2010-03-12 Adam Langley <agl@chromium.org> · 06761bbf
      eric@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              [chromium]: update Linux layout test scripts for RedHat like systems.
      
              (Tested on Fedora 12.)
      
              https://bugs.webkit.org/show_bug.cgi?id=35867
      
              * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06761bbf
    • ossy@webkit.org's avatar
      [Qt] Now css1/box_properties/acid_test.html passes, so we can unskip it. · 6efbe325
      ossy@webkit.org authored
      original bug: https://bugs.webkit.org/show_bug.cgi?id=33834
      
      * platform/qt/Skipped: css1/box_properties/acid_test.html unskipped.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6efbe325
    • eric@webkit.org's avatar
      2010-03-12 Andy Estes <aestes@apple.com> · 70589ea1
      eric@webkit.org authored
              Reviewed by Brady Eidson.
      
              Remove an unused method.
      
              https://bugs.webkit.org/show_bug.cgi?id=35940
      
              * Plugins/WebPluginController.mm:
              removed - (void)showURL:(NSURL *) inFrame:(NSString *)
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70589ea1
    • eric@webkit.org's avatar
      2010-03-12 Peter Varga <pvarga@inf.u-szeged.hu> · cf816e06
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Two functions tryConsumeCharacter() and tryConsumeCharacterClass() are
              removed from yarr/RegexInterpreter.cpp because they are never called.
      
              * yarr/RegexInterpreter.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55900 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf816e06
    • ossy@webkit.org's avatar
      [Qt] DRT failing on test introduced in r55499 · 7db0f0c8
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=35729
      
      Now fast/events/zoom-dblclick.html passes, so we can unskip it.
      
      * platform/qt/Skipped: fast/events/zoom-dblclick.html unskipped.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55899 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7db0f0c8
    • aroben@apple.com's avatar
      Make svn-create-patch's diffs of ObjC header files more readable · 25bfe73d
      aroben@apple.com authored
      Fixes <http://webkit.org/b/36055>.
      
      Reviewed by John Sullivan.
      
      * Scripts/svn-create-patch:
      (diffOptionsForFile): Added. Returns the options that should be passed
      to diff for the given file. All the options are the same for all
      files, except for the option to specify which lines should be used as
      hunk headers.
      (generateDiff): Use diffOptionsForFile to get the options to pass to
      diff.
      (hunkHeaderLineRegExForFile): Added. Returns the regular expression
      that should be used by diff to identify lines that should be included
      after the "@@" in the hunk header lines of the diff. For ObjC[++]
      source files, we use any lines starting with -, +, or
      @implementation/@interface/@protocol. For ObjC[++] header files (which
      we assume to be any .h files in a mac/ or objc/ directory), we use any
      lines starting with @implementation/@interface/@protocol.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25bfe73d
    • eric@webkit.org's avatar
      2010-03-12 Scott Byer <scottbyer@chromium.org> · 4c3f670b
      eric@webkit.org authored
              Reviewed by David Levin.
      
              Popup font size needs to be exposed to clients.
              https://bugs.webkit.org/show_bug.cgi?id=35990
      
              Add function to expose the popup menu font size, add a field to
              WebPopupMenuInfo that receives that information to convey that to
              the web view client's createPopupMenu() call.
      
              * WebCore/platform/chromium/PopupMenuChromium.cpp:
              * WebCore/platform/chromium/PopupMenuChromium.h:
              * WebKit/chromium/public/WebPopupMenuInfo.h:
              * WebKit/chromium/src/ChromeClientImpl.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c3f670b
    • eric@webkit.org's avatar
      2010-03-12 Kent Hansen <kent.hansen@nokia.com> · b382d0d6
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Webkit doesn't build with workers on and database off
              https://bugs.webkit.org/show_bug.cgi?id=35997
      
              Added missing ENABLE(DATABASE) guards.
      
              * workers/WorkerThread.cpp:
              (WebCore::WorkerThreadShutdownStartTask::performTask):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55896 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b382d0d6
    • kov@webkit.org's avatar
      2010-03-12 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk> · 7ffc87a0
      kov@webkit.org authored
              [GTK] Fails fast/dom/Geolocation/maximum-age.htm
              https://bugs.webkit.org/show_bug.cgi?id=36053
      
              Skip new failing test.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55895 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ffc87a0
    • kov@webkit.org's avatar
      2010-03-12 Dan Winship <danw@gnome.org> · 519d8899
      kov@webkit.org authored
      Reviewed by Gustavo Noronha.
      
              Make the defaultCookieJar use a no-third-party policy. Most
              applications set their own cookie jar, but DumpRenderTree doesn't,
              so it was failing the new third-party-cookie test.
      
              * platform/network/soup/CookieJarSoup.cpp:
              (WebCore::defaultCookieJar):
      
      LayoutTests
      
      2010-03-12  Dan Winship  <danw@gnome.org>
      
              Reviewed by Gustavo Noronha.
      
              Revert previous; the test passes now.
      
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55894 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      519d8899
    • eric@webkit.org's avatar
      2010-03-12 Jochen Eisinger <jochen@chromium.org> · 21ff03cb
      eric@webkit.org authored
              Reviewed by Jeremy Orlow.
      
              Test for referrer information being stripped when the header is removed in willSendRequest
              https://bugs.webkit.org/show_bug.cgi?id=35920
      
              * http/tests/security/no-referrer-expected.txt: Added.
              * http/tests/security/no-referrer.html: Added.
              * http/tests/security/resources/no-referrer-frame.php: Added.
              * http/tests/security/resources/no-referrer.php: Added.
              * platform/gtk/Skipped:
              * platform/qt/Skipped:
      2010-03-12  Jochen Eisinger  <jochen@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              Introduce setWillSendRequestClearHeader to LayoutTestController to selectively remove headers in willSendRequest. Used in http/tests/security/no-referrer.html
              https://bugs.webkit.org/show_bug.cgi?id=35920
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setWillSendRequestClearHeaderCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              (LayoutTestController::willSendRequestClearHeaders):
              (LayoutTestController::setWillSendRequestClearHeader):
              * DumpRenderTree/mac/ResourceLoadDelegate.mm:
              (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
              * DumpRenderTree/win/ResourceLoadDelegate.cpp:
              (ResourceLoadDelegate::willSendRequest):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21ff03cb
    • zimmermann@webkit.org's avatar
      2010-03-12 Nikolas Zimmermann <nzimmermann@rim.com> · 7d770326
      zimmermann@webkit.org authored
              Rubber-stamped by Dirk Schulze.
      
              Update two tests, whose pixel hash fail with --tolerance 0. No visible differences.
      
              * platform/mac/svg/custom/dominant-baseline-hanging-expected.checksum:
              * platform/mac/svg/custom/dominant-baseline-hanging-expected.png:
              * platform/mac/svg/custom/gradient-stop-corner-cases-expected.checksum:
              * platform/mac/svg/custom/gradient-stop-corner-cases-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55892 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d770326
    • eric@webkit.org's avatar
      2010-03-11 Simon Hausmann <simon.hausmann@nokia.com> · 7ab84469
      eric@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] Enable network state notifier when compiling against Qt 4.7
              https://bugs.webkit.org/show_bug.cgi?id=35983
      
              * WebCore.pri:
              * platform/network/qt/NetworkStateNotifierPrivate.h:
              * platform/network/qt/NetworkStateNotifierQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55891 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ab84469
    • eric@webkit.org's avatar
      2010-03-11 Benjamin Poulain <benjamin.poulain@nokia.com> · 3754c523
      eric@webkit.org authored
              Reviewed by Adam Treat.
      
              Do not render the full frame when there is some elements with fixed positioning
              https://bugs.webkit.org/show_bug.cgi?id=33150
      
              The frame view take into acount the list of fixed object when scrolling
              the view. If the number of object is lower than a certain threshold, the pixel
              are blitted, and the invalidated area updated.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::FrameView):
              (WebCore::FrameView::useSlowRepaints):
              (WebCore::FrameView::useSlowRepaintsIfNotOverlapped):
              (WebCore::FrameView::addFixedObject):
              (WebCore::FrameView::removeFixedObject):
              (WebCore::FrameView::scrollContentsFastPath):
              * page/FrameView.h:
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::scrollContents):
              (WebCore::ScrollView::scrollContentsFastPath):
              * platform/ScrollView.h:
              * rendering/RenderBlock.h:
              (WebCore::RenderBlock::positionedObjects):
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::styleWillChange):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::styleWillChange):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55890 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3754c523
  2. 11 Mar, 2010 9 commits