1. 23 Jul, 2012 40 commits
    • scheib@chromium.org's avatar
      webkitFullscreenElement, webkitCurrentFullScreenElement,... · e31007f1
      scheib@chromium.org authored
      webkitFullscreenElement, webkitCurrentFullScreenElement, webkitPointerLockElement block cross origin access.
      https://bugs.webkit.org/show_bug.cgi?id=91892
      
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      PointerLockElement only returned when requested from the document that owns it.
      
      Tests: http/tests/fullscreen/fullscreenelement-different-origin.html
             http/tests/fullscreen/fullscreenelement-same-origin.html
             http/tests/pointer-lock/pointerlockelement-different-origin.html
             http/tests/pointer-lock/pointerlockelement-same-origin.html
      
      * dom/Document.cpp:
      (WebCore::Document::webkitPointerLockElement):
      
      LayoutTests:
      
      Tests verifying the behavior of accessing
      webkitFullscreenElement, webkitCurrentFullScreenElement, webkitPointerLockElement
      from different origins.
      
      * http/tests/fullscreen/fullscreenelement-different-origin-expected.txt: Added.
      * http/tests/fullscreen/fullscreenelement-different-origin.html: Added.
      * http/tests/fullscreen/fullscreenelement-same-origin-expected.txt: Added.
      * http/tests/fullscreen/fullscreenelement-same-origin.html: Added.
      * http/tests/pointer-lock/pointerlockelement-different-origin-expected.txt: Added.
      * http/tests/pointer-lock/pointerlockelement-different-origin.html: Added.
      * http/tests/pointer-lock/pointerlockelement-same-origin-expected.txt: Added.
      * http/tests/pointer-lock/pointerlockelement-same-origin.html: Added.
      * http/tests/resources/pointer-lock/iframe-common.js: Added.
      (thisFileName):
      (window.onmessage):
      * http/tests/resources/pointer-lock/inner-iframe.html: Added.
      * http/tests/resources/pointer-lock/pointer-lock-test-harness.js:
      (runOnKeyPress.keypressHandler):
      * pointer-lock/locked-element-iframe-removed-from-dom-expected.txt:
      * pointer-lock/locked-element-iframe-removed-from-dom.html:
      * pointer-lock/locked-element-removed-from-dom-expected.txt:
      * pointer-lock/locked-element-removed-from-dom.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e31007f1
    • commit-queue@webkit.org's avatar
      [BlackBerry] Implement GCActivityCallback with platform timer · 1f562649
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90175
      
      Patch by Yong Li <yoli@rim.com> on 2012-07-23
      Reviewed by Rob Buis.
      
      Use JSLock when performing GC to avoid assertions.
      
      * runtime/GCActivityCallbackBlackBerry.cpp:
      (JSC::DefaultGCActivityCallback::doWork):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f562649
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Add request manager client · c63fcf8f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91193
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-23
      Reviewed by Kenneth Rohde Christiansen.
      
      Add a URL request manager client and attach it
      to the Ewk_Context.
      
      The client application can now register a URL scheme
      via the Ewk_Context API and provide a callback handler
      that will get called whenever a URL request with this
      scheme is made.
      
      A new Ewk_Url_Scheme_Request type is introduced to
      provide information about the request to the client
      and to allow the client to finish it by setting its
      contents.
      
      * PlatformEfl.cmake:
      * UIProcess/API/efl/EWebKit2.h:
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Url_Scheme_Handler):
      (_Ewk_Url_Scheme_Handler::_Ewk_Url_Scheme_Handler):
      (_Ewk_Context):
      (_Ewk_Context::_Ewk_Context):
      (ewk_context_request_manager_get):
      (ewk_context_url_scheme_request_received):
      (createDefaultEwkContext):
      (ewk_context_uri_scheme_register):
      * UIProcess/API/efl/ewk_context.h:
      * UIProcess/API/efl/ewk_context_private.h:
      * UIProcess/API/efl/ewk_context_request_manager_client.cpp: Added.
      (toEwkContext):
      (didReceiveURIRequest):
      (ewk_context_request_manager_client_attach):
      * UIProcess/API/efl/ewk_context_request_manager_client_private.h: Added.
      * UIProcess/API/efl/ewk_url_scheme_request.cpp: Added.
      (_Ewk_Url_Scheme_Request):
      (_Ewk_Url_Scheme_Request::_Ewk_Url_Scheme_Request):
      (_Ewk_Url_Scheme_Request::~_Ewk_Url_Scheme_Request):
      (ewk_url_scheme_request_ref):
      (ewk_url_scheme_request_unref):
      (ewk_url_scheme_request_scheme_get):
      (ewk_url_scheme_request_url_get):
      (ewk_url_scheme_request_path_get):
      (ewk_url_scheme_request_id_get):
      (ewk_url_scheme_request_finish):
      (ewk_url_scheme_request_new):
      * UIProcess/API/efl/ewk_url_scheme_request.h: Added.
      * UIProcess/API/efl/ewk_url_scheme_request_private.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c63fcf8f
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening, adding the WONTFIX modifier to a few more tests, · b61b7e7d
      zandobersek@gmail.com authored
      moving them to the top of the expected failures section.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b61b7e7d
    • philn@webkit.org's avatar
      [GTK][jhbuild] Switch to GStreamer 0.11 build · 1555f9e1
      philn@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91727
      
      Reviewed by Gustavo Noronha Silva.
      
      Source/WebCore:
      
      Add a new function to encapsulate the GStreamer API removal of
      GST_OBJECT_IS_FLOATING in the upcoming 1.0 release. Use of this
      macro can now be replaced by calling the g_object_is_floating
      function.
      
      * platform/graphics/gstreamer/GRefPtrGStreamer.cpp:
      (WTF::adoptGRef):
      * platform/graphics/gstreamer/GStreamerVersioning.cpp:
      (gstObjectIsFloating):
      * platform/graphics/gstreamer/GStreamerVersioning.h:
      
      Tools:
      
      Switch build-webkit --gtk to GStreamer 0.11 support and build the
      necessary GStreamer git modules from JHBuild.
      
      * Scripts/webkitdirs.pm:
      (buildAutotoolsProject): Build WebKit with GStreamer 0.11 support.
      * gtk/jhbuild.modules: GStreamer build support.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1555f9e1
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Skip the failing tests. · 384334ae
      kkristof@inf.u-szeged.hu authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      384334ae
    • ossy@webkit.org's avatar
      [Qt] DumpRenderTree does not use 'monospace' font when directed · e48ca2c3
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=85203
      
      Unreviewed gardening.
      
      * platform/qt-4.8/Skipped: Unskip now passing tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e48ca2c3
    • caio.oliveira@openbossa.org's avatar
      [Qt] editing/inserting/multiple-lines-selected.html fails · 4caaf1cc
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91993
      
      Reviewed by Simon Hausmann.
      
      Removing wrong expected results, adding it to the skipped list.
      
      * platform/qt-5.0/Skipped:
      * platform/qt/editing/inserting/multiple-lines-selected-expected.png: Removed.
      * platform/qt/editing/inserting/multiple-lines-selected-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4caaf1cc
    • caio.oliveira@openbossa.org's avatar
      [Qt] editing/inserting rebaseline after new test fonts · ee175efb
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91985
      
      Unreviewed.
      
      * platform/qt-5.0-wk1/Skipped:
      * platform/qt-5.0-wk1/editing/inserting/4960120-1-expected.png: Removed.
      * platform/qt-5.0-wk1/editing/inserting/4960120-1-expected.txt: Removed.
      * platform/qt-5.0-wk1/editing/inserting/before-after-input-element-expected.png: Removed.
      * platform/qt-5.0-wk1/editing/inserting/before-after-input-element-expected.txt: Removed.
      * platform/qt-5.0-wk2/Skipped:
      * platform/qt-5.0/Skipped:
      * platform/qt-5.0/editing/inserting/5549929-2-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/5549929-3-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-br-at-tabspan-001-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-br-at-tabspan-002-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-br-at-tabspan-003-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-tab-001-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-tab-002-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-tab-004-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-text-at-tabspan-001-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-text-at-tabspan-002-expected.txt: Removed.
      * platform/qt-5.0/editing/inserting/insert-text-at-tabspan-003-expected.txt: Removed.
      * platform/qt/editing/inserting/4960120-1-expected.png:
      * platform/qt/editing/inserting/before-after-input-element-expected.png:
      * platform/qt/editing/inserting/insert-3654864-fix-expected.txt:
      * platform/qt/editing/inserting/insert-3851164-fix-expected.txt:
      * platform/qt/editing/inserting/insert-div-009-expected.png: Added.
      * platform/qt/editing/inserting/insert-div-009-expected.txt:
      * platform/qt/editing/inserting/insert-div-010-expected.png: Added.
      * platform/qt/editing/inserting/insert-div-010-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee175efb
    • commit-queue@webkit.org's avatar
      [EFL] media/controls-styling.html is failing · 3144fc6e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91984
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-23
      Reviewed by Eric Carlson.
      
      Source/WebCore:
      
      Make sure that the CSS properties letter-spacing, word-spacing,
      line-height, text-transform, text-indent, text-shadow,
      text-decoration and color do not affect the media element controls,
      that display text.
      
      No new tests. Already tested by media/controls-styling.html and
      media/controls-styling-strict.html
      
      * css/mediaControlsEfl.css:
      (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
      
      LayoutTests:
      
      Rebaseline media controls styling tests now that the
      EFL port properly ensures that overriding CSS
      properties won't affect the media controls.
      
      * platform/efl/media/controls-styling-expected.png:
      * platform/efl/media/controls-styling-expected.txt:
      * platform/efl/media/controls-styling-strict-expected.png:
      * platform/efl/media/controls-styling-strict-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3144fc6e
    • commit-queue@webkit.org's avatar
      [EFL] fast/layers/video-layer.html needs rebasing after r123320 · 398380f7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91978
      
      Unreviewed EFL gardening, regenerate baseline for
      fast/layers/video-layer.html after r123320.
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-23
      
      * platform/efl/fast/layers/video-layer-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      398380f7
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. · 346c544a
      kkristof@inf.u-szeged.hu authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      346c544a
    • commit-queue@webkit.org's avatar
      [EFL][WK2] ProcessExecutablePath is required · 1422493b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=89719
      
      Patch by KwangYong Choi <ky0.choi@samsung.com> on 2012-07-23
      Reviewed by Kenneth Rohde Christiansen.
      
      Added executablePathOfWebProcess and executablePathOfPluginProcess.
      It's used for getting the location of WebProcess and PluginProcess.
      
      * PlatformEfl.cmake: Added LIBEXECDIR definition
      * Shared/efl/ProcessExecutablePathEfl.cpp: Added.
      (WebKit):
      (WebKit::findWebKitProcess):
      (WebKit::executablePathOfWebProcess): Get the absolute path of WebProcess
      (WebKit::executablePathOfPluginProcess): Get the absolute path of PluginProcess
      * UIProcess/Launcher/efl/ProcessLauncherEfl.cpp:
      (WebKit::ProcessLauncher::launchProcess): Modified to use above routines
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1422493b
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix make distcheck. · 1280035e
      carlosgc@webkit.org authored
      * GNUmakefile.list.am: Add missing header files.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1280035e
    • tkent@chromium.org's avatar
      Replace some instances of shadowAncestorNode() with shadowHost() · fb1bbae0
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91966
      
      Reviewed by Hajime Morita.
      
      shadowAncestorNode() is deprecated. We should use shadowHost().
      No new tests. This doesn't change any behavior.
      
      * css/SelectorChecker.cpp:
      (WebCore::SelectorChecker::checkSelector):
      * dom/TreeScope.cpp:
      (WebCore::listTreeScopes):
      * html/HTMLSummaryElement.cpp:
      (WebCore::isClickableControl):
      * html/shadow/DetailsMarkerControl.cpp:
      (WebCore::DetailsMarkerControl::summaryElement):
      * html/shadow/MeterShadowElement.cpp:
      (WebCore::MeterShadowElement::meterElement):
      * html/shadow/ProgressShadowElement.cpp:
      (WebCore::ProgressShadowElement::progressElement):
      * html/shadow/SliderThumbElement.cpp:
      (WebCore::RenderSliderThumb::layout):
      (WebCore::RenderSliderContainer::layout):
      (WebCore::SliderThumbElement::hostInput):
      (WebCore::TrackLimiterElement::shadowPseudoId):
      (WebCore::SliderContainerElement::shadowPseudoId):
      * html/shadow/TextControlInnerElements.cpp:
      (WebCore::TextControlInnerElement::customStyleForRenderer):
      (WebCore::TextControlInnerTextElement::defaultEventHandler):
      (WebCore::TextControlInnerTextElement::createRenderer):
      (WebCore::TextControlInnerTextElement::customStyleForRenderer):
      (WebCore::SearchFieldResultsButtonElement::shadowPseudoId):
      (WebCore::SearchFieldResultsButtonElement::defaultEventHandler):
      (WebCore::SearchFieldCancelButtonElement::defaultEventHandler):
      (WebCore::SpinButtonElement::defaultEventHandler):
      (WebCore::SpinButtonElement::step):
      (WebCore::InputFieldSpeechButtonElement::defaultEventHandler):
      (WebCore::InputFieldSpeechButtonElement::setState):
      (WebCore::InputFieldSpeechButtonElement::setRecognitionResult):
      (WebCore::InputFieldSpeechButtonElement::startSpeechInput):
      * rendering/RenderTextControlSingleLine.cpp:
      (WebCore::RenderTextControlInnerBlock::positionForPoint):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb1bbae0
    • pfeldman@chromium.org's avatar
      [WK2] REGRESSION r122966: Crash when closing tab with Web Inspector open in WebKit::PageOverlay · 7a12a64b
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91782
      
      Reviewed by Yury Semikhatsky.
      
      hideHighlight was never called once user hovered over a node.
      
      * inspector/DOMNodeHighlighter.cpp:
      (WebCore::InspectorOverlay::update):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a12a64b
    • commit-queue@webkit.org's avatar
      [Qt] new test introduced in r123205 fails on Qt · be59b233
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91967
      
      Patch by Andrei Poenaru <poenaru@adobe.com> on 2012-07-23
      Reviewed by Kenneth Rohde Christiansen.
      
      Skipped WebInspector test that needs CSS Regions enabled.
      
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be59b233
    • peter@chromium.org's avatar
      [Chromium] Build fix for the Windows builder following r123311 · bd46d040
      peter@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91979
      
      Unreviewed build fix.
      
      Changeset r123311 moved the TextCodecWinCE.{cpp,h} files to the Windows
      directory. Update Chromium's references to these files to fix the build.
      
      * WebCore.gypi:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd46d040
    • peter@chromium.org's avatar
      [Chromium] Buildfix for fixing gclient on the Chromium Windows bot · 9823198d
      peter@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91977
      
      Unreviewed build fix.
      
      Add the tools/isolate directory to the Windows checkout as these files
      currently are missing during gyp generation. maruel introduced the need
      for these in this isolate refactoring, specifically this Chromium CL:
      http://src.chromium.org/viewvc/chrome?view=rev&revision=147689
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9823198d
    • paroga@webkit.org's avatar
      [WINCE] Define NOMINMAX in the build system instead of Platform.h · 4aa14753
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91938
      
      Reviewed by Ryosuke Niwa.
      
      .:
      
      Define it in OptionsWindows.cmake, since NOMINMAX
      should to be defined for all windows ports.
      
      * Source/cmake/OptionsWinCE.cmake:
      * Source/cmake/OptionsWindows.cmake:
      
      Source/WTF:
      
      * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4aa14753
    • paroga@webkit.org's avatar
      [WIN] Remove ICU dependencies from UniscribeController · e98ef313
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91921
      
      Reviewed by Ryosuke Niwa.
      
      Replace ICU specific functions and macros with the corresponding code from WTF::Unicode.
      This allows us to use UniscribeController with an other Unicode implementation too.
      
      * platform/graphics/win/UniscribeController.cpp:
      (WebCore::UniscribeController::advance):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e98ef313
    • paroga@webkit.org's avatar
      Build fix for Windows after r123317. · 82e75cf5
      paroga@webkit.org authored
      * wtf/DateMath.cpp: Added missing header include.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82e75cf5
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · fd682d39
      zandobersek@gmail.com authored
      Marking more svg/W3C-SVG-1.1/animate-elem-* tests as flaky.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd682d39
    • commit-queue@webkit.org's avatar
      [EFL] media/controls-styling-strict.html is failing · 47fc6ce5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91960
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-23
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebCore:
      
      Use "display: -webkit-box;" instead of inline-block
      for current-time control. This is needed because
      inline-block behaves differently in strict mode.
      
      No new test, already tested by media/controls-styling-strict.html
      
      * css/mediaControlsEfl.css:
      (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
      
      LayoutTests:
      
      Update test expectations for media tests now that
      we use "display: -webkit-box;" for the current-time
      control.
      
      * platform/efl/media/audio-controls-rendering-expected.txt:
      * platform/efl/media/audio-repaint-expected.png:
      * platform/efl/media/audio-repaint-expected.txt:
      * platform/efl/media/controls-layout-direction-expected.png:
      * platform/efl/media/controls-strict-expected.png:
      * platform/efl/media/controls-strict-expected.txt:
      * platform/efl/media/controls-styling-expected.txt:
      * platform/efl/media/controls-styling-strict-expected.png: Added.
      * platform/efl/media/controls-styling-strict-expected.txt: Added.
      * platform/efl/media/media-controls-clone-expected.png:
      * platform/efl/media/media-controls-clone-expected.txt:
      * platform/efl/media/video-aspect-ratio-expected.png:
      * platform/efl/media/video-layer-crash-expected.png:
      * platform/efl/media/video-transformed-expected.png:
      * platform/efl/media/video-zoom-controls-expected.png:
      * platform/efl/media/video-zoom-controls-expected.txt:
      * platform/efl/media/video-zoom-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47fc6ce5
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix GTK+ build with ENABLE_DATALIST_ELEMENT. · 00c30a8f
      carlosgc@webkit.org authored
      Add an implementation for virtual pure methods sliderTickSize()
      and sliderTickOffsetFromTrackCenter() when HTML5 datalist element
      is enabled.
      
      * platform/gtk/RenderThemeGtk.cpp:
      (WebCore):
      (WebCore::RenderThemeGtk::sliderTickSize):
      (WebCore::RenderThemeGtk::sliderTickOffsetFromTrackCenter):
      * platform/gtk/RenderThemeGtk.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00c30a8f
    • commit-queue@webkit.org's avatar
      [EFL] Skip http/tests/inspector-enabled/injected-script-discard.html · a20504e6
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91959
      
      Unreviewed EFL gardening. Skip flaky Web Inspector test case.
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-23
      
      * platform/efl/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a20504e6
    • paroga@webkit.org's avatar
      [WIN] Use GetTimeZoneInformation() for calculateUTCOffset() · 198ae315
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91935
      
      Reviewed by Ryosuke Niwa.
      
      GetTimeZoneInformation() returns the offset directly. Using it
      avoids unnecessary calculations and remove dependencies on
      other time related function, which do not exist on WinCE.
      
      * wtf/DateMath.cpp:
      (WTF::calculateUTCOffset):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123317 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      198ae315
    • commit-queue@webkit.org's avatar
      WebKit2 needs layoutTestController.setAlwaysAcceptCookies · d63aef0f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=42778
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-07-23
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebKit2:
      
      Add setAlwaysAcceptCookies() method to InjectedBundle
      so that we can use it in LayoutTestController.
      The method uses WebCookieManager::setHTTPCookieAcceptPolicy()
      internally.
      
      * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
      (WKBundleSetAlwaysAcceptCookies):
      * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::setAlwaysAcceptCookies):
      (WebKit):
      * WebProcess/InjectedBundle/InjectedBundle.h:
      (InjectedBundle):
      
      Tools:
      
      Add support for layoutTestController.setAlwaysAcceptCookies()
      since it is required by some tests.
      
      * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
      * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
      (WTR::LayoutTestController::setAlwaysAcceptCookies):
      (WTR):
      * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      (LayoutTestController):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d63aef0f
    • commit-queue@webkit.org's avatar
      [WK2] SQL Database cannot be disabled at build time · ca0edfda
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91837
      
      Patch by Thiago Marcos P. Santos <thiago.santos@intel.com> on 2012-07-23
      Reviewed by Kenneth Rohde Christiansen.
      
      WebKit2 had no #ifdefs for SQL Database. This patch adds these
      statments and it can now be disabled at build time.
      
      * Shared/OriginAndDatabases.cpp:
      * Shared/OriginAndDatabases.h:
      * Shared/WebCoreArgumentCoders.cpp:
      (CoreIPC):
      * UIProcess/API/C/WKContext.cpp:
      (WKContextGetDatabaseManager):
      * UIProcess/API/C/WKDatabaseManager.cpp:
      (WKDatabaseManagerGetTypeID):
      (WKDatabaseManagerGetOriginKey):
      (WKDatabaseManagerGetOriginQuotaKey):
      (WKDatabaseManagerGetOriginUsageKey):
      (WKDatabaseManagerGetDatabaseDetailsKey):
      (WKDatabaseManagerGetDatabaseDetailsNameKey):
      (WKDatabaseManagerGetDatabaseDetailsDisplayNameKey):
      (WKDatabaseManagerGetDatabaseDetailsExpectedUsageKey):
      (WKDatabaseManagerGetDatabaseDetailsCurrentUsageKey):
      (WKDatabaseManagerSetClient):
      (WKDatabaseManagerGetDatabasesByOrigin):
      (callGetDatabasesByOriginBlockAndDispose):
      (WKDatabaseManagerGetDatabasesByOrigin_b):
      (WKDatabaseManagerGetDatabaseOrigins):
      (callGetDatabaseOriginsBlockBlockAndDispose):
      (WKDatabaseManagerGetDatabaseOrigins_b):
      (WKDatabaseManagerDeleteDatabasesWithNameForOrigin):
      (WKDatabaseManagerDeleteDatabasesForOrigin):
      (WKDatabaseManagerDeleteAllDatabases):
      (WKDatabaseManagerSetQuotaForOrigin):
      * UIProcess/WebContext.cpp:
      (WebKit::WebContext::WebContext):
      (WebKit::WebContext::~WebContext):
      (WebKit::WebContext::shouldTerminate):
      (WebKit::WebContext::disconnectProcess):
      (WebKit::WebContext::didReceiveMessage):
      * UIProcess/WebContext.h:
      (WebContext):
      * UIProcess/WebDatabaseManagerProxy.cpp:
      * UIProcess/WebDatabaseManagerProxy.h:
      * UIProcess/WebDatabaseManagerProxy.messages.in:
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::clearAllDatabases):
      (WebKit::InjectedBundle::setDatabaseQuota):
      * WebProcess/WebCoreSupport/WebDatabaseManager.cpp:
      * WebProcess/WebCoreSupport/WebDatabaseManager.h:
      * WebProcess/WebCoreSupport/WebDatabaseManager.messages.in:
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::didReceiveMessage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca0edfda
    • paroga@webkit.org's avatar
      Replace getCurrentLocalTime() with GetLocalTime() in LocaleWin.cpp · 8c353bea
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91937
      
      Reviewed by Ryosuke Niwa.
      
      The windows function returns the required year directly and
      removes one additonal dependecy on getCurrentLocalTime().
      
      * platform/text/LocaleWin.cpp:
      (WebCore::LocaleWin::LocaleWin):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c353bea
    • vsevik@chromium.org's avatar
      Web Inspector: Drag and drop should not be started on right mouse click. · 1f415266
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91728
      
      Reviewed by Pavel Feldman.
      
      Introduced WebInspector.installDragHandle method to control drag and drop support, checking whichg mouse button is pressed.
      Simplified WebInspector._elementDragStart, removed "element" parameter.
      Simplified tab moving support in TabbedPane, removed "mousemove" handler.
      Removed while loop determining which element was dragged in TimelineOverviewPane, each drag support is now installed independently.
      Drive-by: fixed TimelineOverviewPane window moving on resources-dividers-label-bar drang-and-drop.
      Drive-by: fixed CSSStyleModel compilation.
      
      * inspector/front-end/CSSStyleModel.js:
      (WebInspector.CSSStyleModel.prototype.getNamedFlowCollectionAsync):
      * inspector/front-end/DataGrid.js:
      (WebInspector.DataGrid.prototype._positionResizers):
      (WebInspector.DataGrid.prototype._startResizerDragging):
      (WebInspector.DataGrid.prototype._endResizerDragging):
      * inspector/front-end/Drawer.js:
      (WebInspector.Drawer):
      (WebInspector.Drawer.prototype._animationDuration):
      (WebInspector.Drawer.prototype._startStatusBarDragging):
      (WebInspector.Drawer.prototype._endStatusBarDragging):
      * inspector/front-end/HeapSnapshotView.js:
      (WebInspector.HeapSnapshotView.prototype._startRetainersHeaderDragging):
      (WebInspector.HeapSnapshotView.prototype._endRetainersHeaderDragging):
      * inspector/front-end/SidebarOverlay.js:
      (WebInspector.SidebarOverlay.prototype.set _startResizerDragging):
      (WebInspector.SidebarOverlay.prototype._endResizerDragging):
      (WebInspector.SidebarOverlay.prototype._installResizer):
      * inspector/front-end/Spectrum.js:
      * inspector/front-end/SplitView.js:
      (WebInspector.SplitView.prototype._startResizerDragging):
      (WebInspector.SplitView.prototype._endResizerDragging):
      (WebInspector.SplitView.prototype.installResizer):
      * inspector/front-end/TabbedPane.js:
      (WebInspector.TabbedPaneTab.prototype._createTabElement):
      (WebInspector.TabbedPaneTab.prototype._tabMouseDown):
      (WebInspector.TabbedPaneTab.prototype._startTabDragging):
      (WebInspector.TabbedPaneTab.prototype._endTabDragging):
      * inspector/front-end/TimelineOverviewPane.js:
      (WebInspector.TimelineOverviewPane):
      (WebInspector.TimelineOverviewWindow):
      (WebInspector.TimelineOverviewWindow.prototype._leftResizeElementDragging):
      (WebInspector.TimelineOverviewWindow.prototype._rightResizeElementDragging):
      (WebInspector.TimelineOverviewWindow.prototype._startWindowSelectorDragging):
      (WebInspector.TimelineOverviewWindow.prototype._endWindowSelectorDragging):
      (WebInspector.TimelineOverviewWindow.prototype._startWindowDragging):
      (WebInspector.TimelineOverviewWindow.prototype._windowDragging):
      (WebInspector.TimelineOverviewWindow.prototype._endWindowDragging):
      (WebInspector.TimelineOverviewWindow.prototype._moveWindow):
      (WebInspector.TimelineOverviewWindow.prototype._onMouseWheel):
      * inspector/front-end/TimelinePanel.js:
      (WebInspector.TimelinePanel):
      (WebInspector.TimelinePanel.prototype._startSplitterDragging):
      (WebInspector.TimelinePanel.prototype._endSplitterDragging):
      * inspector/front-end/Toolbar.js:
      (WebInspector.Toolbar):
      (WebInspector.Toolbar.prototype._toolbarDragStart):
      (WebInspector.Toolbar.prototype._toolbarDragEnd):
      * inspector/front-end/UIUtils.js:
      (WebInspector.installDragHandle):
      (WebInspector._elementDragStart):
      (WebInspector._elementDragEnd):
      * inspector/front-end/timelinePanel.css:
      (#timeline-overview-grid .resources-dividers-label-bar):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f415266
    • hayato@chromium.org's avatar
      ComposedShadowTreeWalker should skip an empty insertion points. · bf9e3c28
      hayato@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91826
      
      Reviewed by Hajime Morita.
      
      Source/WebCore:
      
      ComposedShadowTreeWalker wrongly returns 'null' if it encounters
      an insertion point into where no nodes are distributed.  We should
      skip such an insertion point and continue walking using the next
      possible node, which might be a next sibling or a next distributed
      node, and resolve the next node recursively.
      
      Test: fast/dom/shadow/composed-shadow-tree-walker.html
      
      * dom/ComposedShadowTreeWalker.cpp:
      (WebCore::ComposedShadowTreeWalker::traverseLightChildren):
      (WebCore):
      (WebCore::ComposedShadowTreeWalker::traverseSiblings):
      (WebCore::ComposedShadowTreeWalker::traverseNode):
      (WebCore::ComposedShadowTreeWalker::traverseDistributedeNodes):
      (WebCore::ComposedShadowTreeWalker::traverseSiblingOrBackToInsertionPoint):
      (WebCore::ComposedShadowTreeWalker::traverseSiblingInCurrentTree):
      (WebCore::ComposedShadowTreeWalker::traverseBackToYoungerShadowRoot):
      * dom/ComposedShadowTreeWalker.h:
      (ComposedShadowTreeWalker):
      
      LayoutTests:
      
      * fast/dom/shadow/composed-shadow-tree-walker-expected.txt:
      * fast/dom/shadow/composed-shadow-tree-walker.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf9e3c28
    • paroga@webkit.org's avatar
      Rename TextCodecWinCE to TextCodecWin · 49689183
      paroga@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91947
      
      Reviewed by Ryosuke Niwa.
      
      Since TextCodecWinCE is used by other (non-upstreamed) windows ports too,
      TextCodecWin is a better name for the implementation.
      Also remove the dependency on WinCE FontCache to make it more usable.
      
      * PlatformWinCE.cmake:
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::extendTextCodecMaps):
      * platform/text/win/TextCodecWin.cpp: Renamed from Source/WebCore/platform/text/wince/TextCodecWinCE.cpp.
      * platform/text/win/TextCodecWin.h: Renamed from Source/WebCore/platform/text/wince/TextCodecWinCE.h.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      49689183
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Skip the new failing tests. · d41486af
      kkristof@inf.u-szeged.hu authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d41486af
    • commit-queue@webkit.org's avatar
      Improve AudioChannelSplitter test · 6c28cf60
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91962
      
      Patch by Li Yin <li.yin@intel.com> on 2012-07-23
      Reviewed by Kentaro Hara.
      
      Spec: https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html#AudioChannelSplitter-section
      The numberOfOutputs parameter determines the number of outputs.
      Values of up to 32 must be supported. If not specified, then 6 will be used.
      
      * webaudio/audiochannelsplitter-expected.txt:
      * webaudio/audiochannelsplitter.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c28cf60
    • haraken@chromium.org's avatar
      [V8] CodeGeneratorV8.pm should support static attributes · e27ab45c
      haraken@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=91764
      
      Reviewed by Adam Barth.
      
      CodeGeneratorJS.pm already supports static attributes.
      CodeGeneratorV8.pm should also support them.
      
      Tests: bindings/scripts/test/TestObj.idl
             bindings/scripts/test/TestSupplemental.idl
      
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateNormalAttrGetter):
      (GenerateNormalAttrSetter):
      
      * bindings/scripts/test/TestObj.idl: Added defined(TESTING_V8).
      * bindings/scripts/test/TestSupplemental.idl: Added test cases for static attributes in supplemental IDL files.
      
      * bindings/scripts/test/JS/JSTestInterface.cpp: Updated run-bindings-tests results.
      (WebCore):
      (WebCore::jsTestInterfaceConstructorSupplementalStaticReadOnlyAttr):
      The generated code is wrong since CodeGeneratorJS.pm does not support static attributes for
      supplemental IDL files. I will fix it in a follow-up patch.
      (WebCore::jsTestInterfaceConstructorSupplementalStaticAttr):
      (WebCore::setJSTestInterfaceConstructorSupplementalStaticAttr):
      * bindings/scripts/test/JS/JSTestInterface.h:
      (WebCore):
      * bindings/scripts/test/V8/V8TestInterface.cpp: Updated run-bindings-tests results.
      (WebCore::TestInterfaceV8Internal::supplementalStaticReadOnlyAttrAttrGetter):
      (TestInterfaceV8Internal):
      (WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrGetter):
      (WebCore::TestInterfaceV8Internal::supplementalStaticAttrAttrSetter):
      (WebCore):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::TestObjV8Internal::staticReadOnlyIntAttrAttrGetter):
      (TestObjV8Internal):
      (WebCore::TestObjV8Internal::staticStringAttrAttrGetter):
      (WebCore::TestObjV8Internal::staticStringAttrAttrSetter):
      (WebCore):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123308 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e27ab45c
    • tkent@chromium.org's avatar
      [Chromium-Mac] Fix a build error. · 6d8c3314
      tkent@chromium.org authored
      * DEPS: Add third_party/GTM.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6d8c3314
    • commit-queue@webkit.org's avatar
      Improve BiquadFilterNode test case · 5f8eef34
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=90937
      
      Patch by Li Yin <li.yin@intel.com> on 2012-07-22
      Reviewed by Kentaro Hara.
      
      Spec: http://www.w3.org/TR/webaudio/#BiquadFilterNode
      Improve BiquadFilterNode test to cover constant value and number of inputs and outputs.
      
      * webaudio/biquadfilternode-basic-expected.txt:
      * webaudio/biquadfilternode-basic.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123306 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f8eef34
    • gyuyoung.kim@samsung.com's avatar
      Missing *explicit* keyword in storage and workers. · d50725fd
      gyuyoung.kim@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=91934
      
      Reviewed by Kentaro Hara.
      
      Some constructors missed to use *explicit* keyword. They need to be added
      *explicit* keyword to contructor which has a parameter in order to avoid
      implicit type conversion.
      
      No new tests. Convered by existing tests.
      
      * storage/StorageAreaImpl.h:
      (StorageAreaImpl):
      * storage/StorageMap.h:
      (StorageMap):
      * storage/StorageSyncManager.h:
      (StorageSyncManager):
      * storage/StorageTask.h:
      (StorageTask):
      * storage/StorageTracker.h:
      (StorageTracker):
      * workers/SharedWorker.h:
      (SharedWorker):
      * workers/Worker.h:
      (Worker):
      * workers/WorkerLocation.h:
      (WebCore::WorkerLocation::WorkerLocation):
      * workers/WorkerMessagingProxy.h:
      (WorkerMessagingProxy):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d50725fd
    • yosin@chromium.org's avatar
      Unreviewed. Set missing SVN property svn:mime-type=image/png to PNG files in · 131990cb
      yosin@chromium.org authored
      /LayoutTests/fast/forms/ and LayoutTests/platfrom/*fast/forms
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      131990cb