1. 24 Oct, 2012 40 commits
    • vsevik@chromium.org's avatar
      Web Inspector: Introduce workspace provider as a content providing backend for project. · 26d8856e
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100244
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Introduced WorkspaceProvider interface as a content providing backend for project.
      Added NetworkWorkspaceProvider as a network based (default) implementation.
      
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * inspector/compile-front-end.py:
      * inspector/front-end/CompilerScriptMapping.js:
      (WebInspector.CompilerScriptMapping):
      * inspector/front-end/DebuggerScriptMapping.js:
      (WebInspector.DebuggerScriptMapping):
      * inspector/front-end/NetworkUISourceCodeProvider.js:
      (WebInspector.NetworkUISourceCodeProvider):
      (WebInspector.NetworkUISourceCodeProvider.prototype._parsedScriptSource):
      (WebInspector.NetworkUISourceCodeProvider.prototype._resourceAdded):
      (WebInspector.NetworkUISourceCodeProvider.prototype._addFile):
      * inspector/front-end/NetworkWorkspaceProvider.js: Added.
      (WebInspector.NetworkWorkspaceProvider):
      (WebInspector.NetworkWorkspaceProvider.prototype.requestFileContent):
      (WebInspector.NetworkWorkspaceProvider.prototype.setFileContent):
      (WebInspector.NetworkWorkspaceProvider.prototype.searchInFileContent):
      (WebInspector.NetworkWorkspaceProvider.prototype.addFile):
      (WebInspector.NetworkWorkspaceProvider.prototype.removeFile):
      (WebInspector.NetworkWorkspaceProvider.prototype.reset):
      * inspector/front-end/SASSSourceMapping.js:
      (WebInspector.SASSSourceMapping):
      (_bindUISourceCode):
      * inspector/front-end/ScriptSnippetModel.js:
      (WebInspector.ScriptSnippetModel):
      (WebInspector.ScriptSnippetModel.prototype._addScriptSnippet):
      * inspector/front-end/WebKit.qrc:
      * inspector/front-end/Workspace.js:
      (WebInspector.FileDescriptor):
      (WebInspector.WorkspaceProvider):
      (WebInspector.WorkspaceProvider.prototype.requestFileContent):
      (WebInspector.WorkspaceProvider.prototype.searchInFileContent):
      (WebInspector.WorkspaceProvider.prototype.addEventListener):
      (WebInspector.WorkspaceProvider.prototype.removeEventListener):
      (WebInspector.Project):
      (WebInspector.Project.prototype.reset):
      (WebInspector.Project.prototype._fileAdded):
      (WebInspector.Project.prototype._fileRemoved):
      (WebInspector.Project.prototype.requestFileContent):
      (WebInspector.Project.prototype.searchInFileContent):
      (WebInspector.Workspace):
      (WebInspector.Workspace.prototype.addProject):
      (WebInspector.Workspace.prototype.project):
      * inspector/front-end/inspector.html:
      * inspector/front-end/inspector.js:
      
      LayoutTests:
      
      * http/tests/inspector/compiler-script-mapping.html:
      * http/tests/inspector/workspace-test.js:
      (initialize_WorkspaceTest.InspectorTest.createWorkspace):
      (initialize_WorkspaceTest.InspectorTest.addMockUISourceCodeToWorkspace):
      * inspector/debugger/network-uisourcecode-provider.html:
      * inspector/debugger/script-snippet-model.html:
      * inspector/debugger/scripts-panel.html:
      * inspector/uisourcecode-revisions.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26d8856e
    • commit-queue@webkit.org's avatar
      Web Inspector: Styles pane: Don't select whole value when I select just a part · 715fac94
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100242
      
      Patch by Nikita Vasilyev <me@elv1s.ru> on 2012-10-24
      Reviewed by Alexander Pavlov.
      
      * inspector/front-end/StylesSidebarPane.js:
      (WebInspector.StylePropertiesSection.prototype._handleEmptySpaceClick):
      (WebInspector.StylePropertyTreeElement.prototype):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      715fac94
    • vsevik@chromium.org's avatar
      Web Inspector: UiSourceCode should rely on the workspace as a content provider. · b09e9d4a
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100216
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Workspace is now passed to UISourceCode to be used as a content provider.
      Content providers are now stored in the workspace/project.
      Next step would be to move content providers to workspace providers.
      
      * inspector/front-end/BreakpointManager.js:
      (WebInspector.BreakpointManager.breakpointStorageId):
      * inspector/front-end/UISourceCode.js:
      (WebInspector.UISourceCode):
      (WebInspector.UISourceCode.prototype.contentType):
      (WebInspector.UISourceCode.prototype.requestContent):
      (WebInspector.UISourceCode.prototype.requestOriginalContent):
      (WebInspector.UISourceCode.prototype._commitContent):
      (WebInspector.UISourceCode.prototype.searchInContent):
      * inspector/front-end/Workspace.js:
      (WebInspector.WorkspaceController.prototype._mainFrameNavigated):
      (WebInspector.Project):
      (WebInspector.Project.prototype.addUISourceCode):
      (WebInspector.Project.prototype.removeUISourceCode):
      (WebInspector.Project.prototype.uiSourceCodes):
      (WebInspector.Project.prototype.requestFileContent):
      (WebInspector.Project.prototype.searchInFileContent):
      (WebInspector.Workspace):
      (WebInspector.Workspace.prototype.addTemporaryUISourceCode):
      (WebInspector.Workspace.prototype.removeTemporaryUISourceCode):
      (WebInspector.Workspace.prototype.reset):
      
      LayoutTests:
      
      * http/tests/inspector/compiler-script-mapping.html:
      * inspector/debugger/breakpoint-manager.html:
      * inspector/debugger/script-formatter-search.html:
      * inspector/debugger/scripts-file-selector.html:
      * inspector/debugger/scripts-panel.html:
      * inspector/debugger/scripts-sorting.html:
      * inspector/debugger/ui-source-code-display-name.html:
      * inspector/debugger/ui-source-code.html:
      * inspector/uisourcecode-revisions.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b09e9d4a
    • allan.jensen@digia.com's avatar
      [Qt] Expose useful WebCore::Settings · 25d22a69
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100239
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Expose the two settings CaretBrowsingEnabled and NotificationsEnabled.
      
      Source/WebKit/qt:
      
      * Api/qwebsettings.cpp:
      (QWebSettingsPrivate::apply):
      (QWebSettings::QWebSettings):
      * Api/qwebsettings.h:
      
      Source/WebKit2:
      
      * UIProcess/API/qt/qwebpreferences.cpp:
      (QWebPreferencesPrivate::testAttribute):
      (QWebPreferencesPrivate::setAttribute):
      (QWebPreferences::caretBrowsingEnabled):
      (QWebPreferences::setCaretBrowsingEnabled):
      (QWebPreferences::notificationsEnabled):
      (QWebPreferences::setNotificationsEnabled):
      * UIProcess/API/qt/qwebpreferences_p.h:
      * UIProcess/API/qt/qwebpreferences_p_p.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25d22a69
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix the GTK+ build. · 198f40f1
      carlosgc@webkit.org authored
      * TestWebKitAPI/GNUmakefile.am: Add GTK_FLAGS to
      libTestWebKitAPIMain and webcore cflags to TestGtk.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      198f40f1
    • zeno.albisser@digia.com's avatar
      Implement GraphicsSurface for Windows. · 9486819c
      zeno.albisser@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98147
      
      Source/WebCore:
      
      Reviewed by Kenneth Rohde Christiansen.
      
      * Target.pri:
          Include GraphicsSurfaceWin.cpp in SOURCES on Windows.
      * platform/graphics/surfaces/GraphicsSurface.h:
          Add typedef for PlatformGraphicsSurface on Windows.
      * platform/graphics/surfaces/GraphicsSurfaceToken.h:
          Add typedef for BufferHandle on Windows.
      (GraphicsSurfaceToken):
      * platform/graphics/surfaces/win/GraphicsSurfaceWin.cpp: Added.
          The GraphicsSurface implementation on Windows relies on the
          availability of ANGLE and the EGL_ANGLE_query_surface_pointer extension.
          For Qt this requirements are implicitly satisfied, when Qt is built
          on Windows and QT_CONFIG contains OpenGLES2.
          The GraphicsSurface then renders a given texture onto an offscreen
          pixel buffer surface, queries the surface pointer using the
          EGL_ANGLE_query_surface_pointer extension, and transmits the received
          surface pointer (share handle) over IPC.
          On the UIProcess side, the surface pointer can then be resolved
          using eglCreatePbufferFromClientBuffer.
      (WebCore):
      (WebCore::loadShader):
          Initialize the shaders needed for drawing onto the GraphicsSurface.
      (GraphicsSurfacePrivate):
      (WebCore::GraphicsSurfacePrivate::GraphicsSurfacePrivate):
          In case of the instance being on the WebProcess side,
          create an EGLContext that shares the texture objects with the provided
          share context. Also create two pixel buffer surfaces, one as front- and
          one as backbuffer.
          Query the surface pointers for the pixel buffer surfaces and initialize
          the GraphicsSurfaceToken that can be passed over IPC later.
      (WebCore::GraphicsSurfacePrivate::~GraphicsSurfacePrivate):
          Release all aquired resources and destroy the pixel buffer surfaces.
          Also close the EGL-Display connection.
      (WebCore::GraphicsSurfacePrivate::copyFromTexture):
          Make the belonging context current on the back buffer surface
          and use drawTexture() to draw the provided texture onto the GraphicsSurface.
      (WebCore::GraphicsSurfacePrivate::makeCurrent):
          Save the previously current context, then make the context belonging
          to the GraphicsSurface current.
      (WebCore::GraphicsSurfacePrivate::doneCurrent):
          Restore the context that was current before calling makeCurrent().
      (WebCore::GraphicsSurfacePrivate::swapBuffers):
          Swap front and back buffer surfaces and handles.
      (WebCore::GraphicsSurfacePrivate::token):
      (WebCore::GraphicsSurfacePrivate::frontBufferTextureID):
          This function is meant to be called from the UIProcess side.
          If no front buffer surface has been created before for the current
          front buffer handle, one will be created.
          Then eglBindTexImage will be used to actually bind the current
          front buffer surface to a texture as a source for drawing.
      (WebCore::GraphicsSurfacePrivate::initialFrontBufferShareHandle):
      (WebCore::GraphicsSurfacePrivate::frontBufferShareHandle):
      (WebCore::GraphicsSurfacePrivate::backBufferShareHandle):
      (WebCore::GraphicsSurfacePrivate::releaseFrontBufferTexture):
          Free the resources related to the front buffer surface.
          On the UIProcess side we never actually bind the back buffer.
      (WebCore::GraphicsSurfacePrivate::initializeShaderProgram):
          Initialize and link the shader programs necessary for drawing
          onto the GraphicsSurface.
      (WebCore::GraphicsSurfacePrivate::createSurfaceFromShareHandle):
          Creates a single pixel buffer surface from a share Handle.
          This function will be called on the UIProcess side,
          for the front buffer handle, whenever the buffers have been swapped.
      (WebCore::GraphicsSurfacePrivate::drawTexture):
          The WebProcess uses this function to draw a given
          texture onto the GraphicsSurface's back buffer.
      (WebCore::GraphicsSurface::platformExport):
      (WebCore::GraphicsSurface::platformGetTextureID):
      (WebCore::GraphicsSurface::platformCopyToGLTexture):
      (WebCore::GraphicsSurface::platformCopyFromTexture):
      (WebCore::GraphicsSurface::platformPaintToTextureMapper):
          Uses TextureMapperGL::drawTexture() to draw the front buffer texture
          to the TextureMapper on the UIProcess side.
      (WebCore::GraphicsSurface::platformFrontBuffer):
      (WebCore::GraphicsSurface::platformSwapBuffers):
      (WebCore::GraphicsSurface::platformCreate):
      (WebCore::GraphicsSurface::platformImport):
      (WebCore::GraphicsSurface::platformLock):
      (WebCore::GraphicsSurface::platformUnlock):
      (WebCore::GraphicsSurface::platformDestroy):
      
      Source/WebKit2:
      
      Add encode and decode implementation for GraphicsSurfaceToken on Windows.
      
      Reviewed by Kenneth Rohde Christiansen.
      
      * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp:
      (CoreIPC::::encode):
      (CoreIPC::::decode):
      
      Tools:
      
      Reviewed by Kenneth Rohde Christiansen.
      
      * qmake/mkspecs/features/features.prf:
              Activate GraphicsSurface on windows in case opengles2 (ANGLE)
              is available in QT_CONFIG.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9486819c
    • rakuco@webkit.org's avatar
      [EFL][WK2] fast/repaint/delete-into-nested-block.html and fast/repaint/4776765.html are flaky · 6ce16f60
      rakuco@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100010
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Force the main view to receive focus even if Evas already
      considers it to be focused.
      
      It might happen that a different frame is focused by a page and
      the focus change notification does not reach Evas. When another
      test is run, the main frame is then not considered to be focused
      by WebCore, and things such as focus rings are not drawn as
      expected.
      
      * WebKitTestRunner/efl/PlatformWebViewEfl.cpp:
      (WTR::PlatformWebView::focus):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ce16f60
    • rakuco@webkit.org's avatar
      [EFL] Hopefully finish rebaselining after r131941 and r131991. · 7d84278b
      rakuco@webkit.org authored
      * platform/efl/compositing/clip-change-expected.png: Added.
      * platform/efl/compositing/geometry/foreground-offset-change-expected.png: Added.
      * platform/efl/compositing/iframes/fixed-position-iframe-expected.png: Added.
      * platform/efl/compositing/iframes/iframe-content-flipping-expected.png:
      * platform/efl/compositing/iframes/repaint-after-losing-scrollbars-expected.png: Added.
      * platform/efl/compositing/iframes/scroll-fixed-transformed-element-expected.png: Added.
      * platform/efl/compositing/iframes/scroll-grandchild-iframe-expected.png: Added.
      * platform/efl/compositing/overflow/repaint-after-losing-scrollbars-expected.png:
      * platform/efl/compositing/repaint/newly-composited-on-scroll-expected.png:
      * platform/efl/compositing/repaint/newly-composited-repaint-rect-expected.png:
      * platform/efl/compositing/repaint/shrink-layer-expected.png: Added.
      * platform/efl/compositing/repaint/transform-style-change-expected.png: Added.
      * platform/efl/compositing/rtl: Added.
      * platform/efl/compositing/rtl/rtl-overflow-invalidation-expected.png: Added.
      * platform/efl/compositing/video-page-visibility-expected.png:
      * platform/efl/css3/flexbox/repaint-expected.png:
      * platform/efl/fast/canvas/canvas-as-image-incremental-repaint-expected.png: Added.
      * platform/efl/fast/canvas/canvas-composite-fill-repaint-expected.png:
      * platform/efl/fast/canvas/canvas-incremental-repaint-2-expected.png: Added.
      * platform/efl/fast/canvas/canvas-incremental-repaint-expected.png: Added.
      * platform/efl/fast/canvas/canvas-resize-after-paint-without-layout-expected.png:
      * platform/efl/fast/canvas/setWidthResetAfterForcedRender-expected.png:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d84278b
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · f638d5b0
      zandobersek@gmail.com authored
      Adding crash expectations for tests that started crashing after r132286.
      
      * platform/gtk/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f638d5b0
    • commit-queue@webkit.org's avatar
      [EFL][WK2] ASSERTION FAILED: edje(): could not paint native HTML part due to missing theme · 27ebf6a4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100227
      
      Patch by Sudarsana Nagineni <sudarsana.nagineni@intel.com> on 2012-10-24
      Reviewed by Kenneth Rohde Christiansen.
      
      Browser crashes on loading any page due to missing theme after
      the web process has crashed and recovered.
      
      This patch reset the theme when the web process is recovered to
      avoid a crash.
      
      * UIProcess/API/efl/PageClientImpl.cpp:
      (WebKit::PageClientImpl::didRelaunchProcess):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27ebf6a4
    • rakuco@webkit.org's avatar
      Unreviewed, rolling out r132333. · dca18cc1
      rakuco@webkit.org authored
      http://trac.webkit.org/changeset/132333
      https://bugs.webkit.org/show_bug.cgi?id=100234
      
      Crashes many tests on the EFL-WK2 bot. (Requested by rakuco on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-10-24
      
      Source/WebKit2: 
      
      * Target.pri:
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::updateTextCheckerState):
      
      Tools: 
      
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::resetStateToConsistentValues):
      * WebKitTestRunner/efl/TestControllerEfl.cpp:
      (WTR::TestController::platformInitializeContext):
      
      LayoutTests: 
      
      * platform/efl-wk2/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/efl/editing/spelling/inline_spelling_markers-expected.txt: Removed.
      * platform/efl/editing/spelling/spelling-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dca18cc1
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Move Ewk_View_Private_Data out of ewk_view.cpp · 061991b0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100228
      
      Patch by Christophe Dumez  <christophe.dumez@intel.com> and Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-24
      Reviewed by Gyuyoung Kim.
      
      Move Ewk_View_Private_Data out of ewk_view.cpp and
      rename it to EwkViewImpl. This is a first step towards
      getting rid of C'ism in Ewk_View.
      
      In a future, we will make EwkViewImpl a proper C++
      class and get rid of the private ewk_view C API so
      that WebKit code interacts with EwkViewImpl instead
      of Evas_Object.
      
      * PlatformEfl.cmake:
      * UIProcess/API/efl/EwkViewImpl.cpp: Added.
      (_ewk_view_commit):
      (_ewk_view_preedit_changed):
      (_ewk_view_imf_context_destroy):
      (_ewk_view_imf_context_create):
      (EwkViewImpl::EwkViewImpl):
      (EwkViewImpl::~EwkViewImpl):
      * UIProcess/API/efl/EwkViewImpl.h: Added.
      (WebKit):
      (EwkViewImpl):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_del):
      (_ewk_view_smart_add):
      * UIProcess/API/efl/ewk_view.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      061991b0
    • ryuan.choi@samsung.com's avatar
      [EFL][WK2] Crash when passing NULL instead of ewk_view instance · bec38632
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100078
      
      Reviewed by Gyuyoung Kim.
      
      Although applications should pass valid ewk_view to call ewk_view_XXX,
      ewk_view_XXX should not be crashed.
      
      * UIProcess/API/efl/ewk_view.cpp:
      Checked null and early exited from EWK_VIEW_TYPE_CHECK if error occured.
      * UIProcess/API/efl/tests/test_ewk2_view.cpp: Added test case.
      (TEST_F):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bec38632
    • commit-queue@webkit.org's avatar
      [GTK] Fix build break - undefined reference to 'gtk_init' · 068f517d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100221
      
      Unreviewed build fix.
      
      GTK_LIBS is needed for TestWTF.
      
      Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-24
      
      * TestWebKitAPI/GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      068f517d
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Make find and form clients C++ classes · fea6a237
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100199
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-24
      Reviewed by Kenneth Rohde Christiansen.
      
      Make form and find client C++ classes to move away
      from C'ism in WK2 EFL port. The new classes have been
      moved up to UIProcess/efl instead of UIProcess/API/efl
      since it is not part of the public API.
      
      * PlatformEfl.cmake:
      * UIProcess/API/efl/ewk_view.cpp:
      (Ewk_View_Private_Data):
      (_ewk_view_initialize):
      * UIProcess/efl/FindClientEfl.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/ewk_view_find_client.cpp.
      (WebKit):
      (WebKit::toFindClientEfl):
      (WebKit::FindClientEfl::didFindString):
      (WebKit::FindClientEfl::didFailToFindString):
      (WebKit::FindClientEfl::FindClientEfl):
      * UIProcess/efl/FindClientEfl.h: Renamed from Source/WebKit2/UIProcess/API/efl/ewk_view_find_client_private.h.
      (WebKit):
      (FindClientEfl):
      (WebKit::FindClientEfl::create):
      * UIProcess/efl/FormClientEfl.cpp: Renamed from Source/WebKit2/UIProcess/API/efl/ewk_view_form_client.cpp.
      (WebKit):
      (WebKit::toFormClientEfl):
      (WebKit::FormClientEfl::willSubmitForm):
      (WebKit::FormClientEfl::FormClientEfl):
      * UIProcess/efl/FormClientEfl.h: Renamed from Source/WebKit2/UIProcess/API/efl/ewk_view_form_client_private.h.
      (WebKit):
      (FormClientEfl):
      (WebKit::FormClientEfl::create):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fea6a237
    • g.czajkowski@samsung.com's avatar
      Source/WebKit2: [EFL] WebKitTestRunner needs to turn on 'setContinuousSpellCheckingEnabled' · 235fd672
      g.czajkowski@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=93611
      
      Reviewed by Hajime Morita.
      
      When WebKitTestRunner turns on the spelling feature with the resetStateToConsistentValues() method,
      it happens that the WebProcess is still not launched (although it is already created).
      In this case, isValid() method returns false.
      
      This fix sends a message to the WebProcess messages queue, and the message
      will be handled once the WebProcess is ready.
      
      * Target.pri:
      Adds missing files to compile spellcheking feature for WebKit2-Qt
      to use WebKit C API from WKTextChecker.h.
      
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::updateTextCheckerState):
      Uses canSendMessage() method instead of isValid() to check whether the message to
      the WebProcess can be sent.
      
      Tools: WebKitTestRunner needs to turn on 'setContinuousSpellCheckingEnabled'
      https://bugs.webkit.org/show_bug.cgi?id=93611
      
      Reviewed by Hajime Morita.
      
      WebKitTestRunner enables spelling feature to pass the layout tests from editing/spelling.
      
      * WebKitTestRunner/TestController.cpp:
      (WTR::TestController::resetStateToConsistentValues):
      Enables spelling by WebKit2 C API.
      
      * WebKitTestRunner/efl/TestControllerEfl.cpp:
      (WTR::TestController::platformInitializeContext):
      Attaches WKTextChecker's client and sets default language for WebKit2-EFL port.
      
      LayoutTests: [EFL] WebKitTestRunner needs to turn on 'setContinuousSpellCheckingEnabled'
      https://bugs.webkit.org/show_bug.cgi?id=93611
      
      Reviewed by Hajime Morita.
      
      Unskip the spelling tests from efl-wk2/TestExpectations to run them for WebKit2-EFL.
      Add new baselines for two spelling tests.
      
      * platform/efl-wk2/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/efl/editing/spelling/inline_spelling_markers-expected.txt: Added.
      * platform/efl/editing/spelling/spelling-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      235fd672
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · 23d1c4e8
      tkent@chromium.org authored
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23d1c4e8
    • yurys@chromium.org's avatar
      Web Inspector: provide memory instrumentation for ListHashSet · c129c71f
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97786
      
      Reviewed by Vsevolod Vlasov.
      
      Source/WebCore:
      
      Switched existing usages of addListHashSet to the generic instrumentation mechanism
      as it should work just just fine now that there is a memory instrumentation of
      ListHashSet.
      
      * dom/DocumentEventQueue.cpp:
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::reportMemoryUsage):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::reportMemoryUsage):
      
      Source/WebKit/chromium:
      
      Added a test for ListHashSet memory instrumentation.
      
      * tests/MemoryInstrumentationTest.cpp:
      (WebCore::TEST):
      (WebCore):
      
      Source/WTF:
      
      Added memory instrumentation for ListHashSet.
      
      * GNUmakefile.list.am:
      * WTF.gypi:
      * WTF.pro:
      * WTF.vcproj/WTF.vcproj:
      * WTF.xcodeproj/project.pbxproj:
      * wtf/HashSet.h:
      (WTF):
      * wtf/ListHashSet.h:
      (ListHashSet):
      (ListHashSetNodeAllocator): changed visibility of inPool method to public
      (WTF::ListHashSetNodeAllocator::pool):
      (WTF::ListHashSetNodeAllocator::pastPool):
      (WTF::::sizeInBytes): added a method that returns size of the set in bytes including
      all its internals but not the content elements.
      (WTF):
      * wtf/MemoryInstrumentation.h: removed onsolete method. All clients were updated to
      use generic addMember instead.
      (MemoryInstrumentation):
      (WTF::MemoryClassInfo::addPrivateBuffer):
      * wtf/MemoryInstrumentationHashSet.h:
      * wtf/MemoryInstrumentationListHashSet.h: Copied from Source/WTF/wtf/MemoryInstrumentationHashSet.h.
      (WTF):
      (WTF::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c129c71f
    • tkent@chromium.org's avatar
      [Chromium] Test expectation update · a60dc3ab
      tkent@chromium.org authored
      * platform/chromium/TestExpectations:
       - exif-orientation-css.html is ImageOnlyFailure.
       - Still need rebaseline for calendar-picker-appearance-step.html on Windows?
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a60dc3ab
    • commit-queue@webkit.org's avatar
      [EFL][WK2][AC] Black screen in web inspector window with AC on · 27616198
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100168
      
      Patch by Yael Aharon <yael.aharon@intel.com> on 2012-10-24
      Reviewed by Kenneth Rohde Christiansen.
      
      When ACCELERATED_COMPOSITING flag is turned on, and using X11,
      pass "opengl_x11" engine name to ecore_evas_new when creating a
      web inspector window. It is guaranteed to be available, because
      we wouldn't be able to create a main window if it wasn't.
      
      (WebKit::WebInspectorProxy::platformCreateInspectorPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27616198
    • mario@webkit.org's avatar
      [WK2] [GTK] TestWebKitAccessibility is not being run · 09484065
      mario@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100102
      
      Reviewed by Carlos Garcia Campos.
      
      .:
      
      Moved check for at-spi2 after the definition of enable_webkit2,
      since it's only needed for WebKit2GTK API tests.
      
      * configure.ac: Moved the check for at-spi2 down in the file.
      
      Tools:
      
      Removed wrong early return in _start_accessibility_daemons().
      
      * Scripts/run-gtk-tests:
      (TestRunner._lookup_atspi2_binary): Removed wrong line.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132328 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09484065
    • kbalazs@webkit.org's avatar
      [Qt][WK2] Skip tests that depend on disabling accelerated compositing · 9c1ec6bd
      kbalazs@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99167
      
      Rubber-stamped by Simon Hausmann.
      
      Skip those tests because we don't support the non-accelerated
      rendering path.
      
      * platform/qt-5.0-wk2/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132327 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c1ec6bd
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Make History client a C++ class · 7b933e4c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100104
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-10-24
      Reviewed by Kenneth Rohde Christiansen.
      
      Created ContextHistoryClientEfl class to encapsulate history client code for EFL.
      
      * PlatformEfl.cmake:
      * UIProcess/API/efl/ewk_context.cpp:
      (Ewk_Context::Ewk_Context):
      (ewk_context_history_callbacks_set):
      * UIProcess/API/efl/ewk_context_history_client.cpp: Removed.
      * UIProcess/API/efl/ewk_context_history_client_private.h: Removed.
      * UIProcess/API/efl/ewk_context_private.h:
      (WebKit):
      (Ewk_Context):
      * UIProcess/efl/ContextHistoryClientEfl.cpp: Added.
      (WebKit):
      (WebKit::toContextHistoryClientEfl):
      (WebKit::ContextHistoryClientEfl::didNavigateWithNavigationData):
      (WebKit::ContextHistoryClientEfl::didPerformClientRedirect):
      (WebKit::ContextHistoryClientEfl::didPerformServerRedirect):
      (WebKit::ContextHistoryClientEfl::didUpdateHistoryTitle):
      (WebKit::ContextHistoryClientEfl::populateVisitedLinks):
      (WebKit::ContextHistoryClientEfl::ContextHistoryClientEfl):
      (WebKit::ContextHistoryClientEfl::setCallbacks):
      * UIProcess/efl/ContextHistoryClientEfl.h: Added.
      (WebKit):
      (ContextHistoryClientEfl):
      (WebKit::ContextHistoryClientEfl::create):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b933e4c
    • tkent@chromium.org's avatar
      [Chromium] Rebaseline for r132310. · 6a6fdd92
      tkent@chromium.org authored
      * platform/chromium/TestExpectations:
      * platform/chromium-linux-x86/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png: Removed.
      * platform/chromium-linux-x86/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png: Removed.
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-linux/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-linux/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-lion/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-lion/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-lion/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png: Added.
      * platform/chromium-mac-lion/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac-snowleopard/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-mac/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-mac/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-win-xp/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win-xp/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win-xp/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png: Removed.
      * platform/chromium-win-xp/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png: Removed.
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/date-multiple-fields/date-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/month-multiple-fields/month-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-disabled-readonly-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/time-multiple-fields/time-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-basic-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-pseudo-classes-expected.png:
      * platform/chromium-win/fast/forms/week-multiple-fields/week-multiple-fields-appearance-style-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.png:
      * platform/chromium-win/platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a6fdd92
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. · facec2d8
      kkristof@inf.u-szeged.hu authored
      Skipping a test because of r132303. Now ENABLE(SHADOW_DOM) is disabled on Qt.
      
      Patch by Nandor Huszka <hnandor@inf.u-szeged.hu> on 2012-10-24
      
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      facec2d8
    • carlosgc@webkit.org's avatar
      [GTK] Add API to get the WebKitWebView associated to a WebKitDownload to WebKit2 GTK+ · 40dff4a2
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99836
      
      Reviewed by Martin Robinson.
      
      Add webkit_download_get_web_view() to get the WebKitWebView that
      initiated the download and webkit_web_view_download_uri() to start
      a new download associated to a WebKitWebView.
      
      * UIProcess/API/gtk/PageClientImpl.cpp:
      (WebKit::PageClientImpl::handleDownloadRequest): Call
      webkitWebViewBaseHandleDownloadRequest().
      * UIProcess/API/gtk/PageClientImpl.h:
      (PageClientImpl): Add handleDownloadRequest().
      * UIProcess/API/gtk/WebKitDownload.cpp:
      (webkitDownloadSetWebView): Set the WebKitWebView associated to
      the download.
      (webkit_download_get_web_view): Public method to get the
      WebKitWebView associated to the download.
      * UIProcess/API/gtk/WebKitDownload.h:
      * UIProcess/API/gtk/WebKitDownloadPrivate.h:
      * UIProcess/API/gtk/WebKitWebContext.cpp:
      (webkit_web_context_download_uri): Use the new helper
      webkitWebContextStartDownload().
      (webkitWebContextStartDownload): Helper function to start a new
      download that is also used by WebKitWebView.
      * UIProcess/API/gtk/WebKitWebContextPrivate.h:
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkitWebViewHandleDownloadRequest): Call
      webkitDownloadSetWebView() to associate the download with the
      WebKitWebView.
      (webkitWebViewConstructed): Set a download request handler.
      (webkit_web_view_download_uri): Public method to start a new
      download associated to the web view.
      * UIProcess/API/gtk/WebKitWebView.h:
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseSetDownloadRequestHandler): Set a function
      pointer to be called when a new download is request for the web
      view.
      (webkitWebViewBaseHandleDownloadRequest): Call the download
      request handler if any.
      * UIProcess/API/gtk/WebKitWebViewBasePrivate.h:
      * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: Add new symbols.
      * UIProcess/API/gtk/tests/TestDownloads.cpp:
      (testDownloadLocalFile):
      (testDownloadLocalFileError):
      (testDownloadRemoteFile):
      (testDownloadRemoteFileError):
      (testWebViewDownloadURI):
      (testPolicyResponseDownload):
      (beforeAll):
      * UIProcess/PageClient.h:
      (PageClient):
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::receivedPolicyDecision):
      (WebKit):
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40dff4a2
    • charles.wei@torchmobile.com.cn's avatar
      [BlackBerry] Credentials not re-used for a redirected request to the same domain · d054384c
      charles.wei@torchmobile.com.cn authored
      https://bugs.webkit.org/show_bug.cgi?id=100193
      
      Reviewed by George Staikos.
      
      We should store the credentials in the redirection response handler, if the request is challenged.
      Because the redirect response suggests the authentication succeeds.
      
      Test: http://browsertest01.rim.net/authbasic
      
      * platform/network/blackberry/NetworkJob.cpp:
      (WebCore::NetworkJob::handleRedirect):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132322 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d054384c
    • apavlov@chromium.org's avatar
      Web Inspector: Implement CSS reload upon related SASS resource saving · 5945a2ea
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98024
      
      Reviewed by Vsevolod Vlasov.
      
      SASS-generated debug info in CSS is parsed to find out which SASS files contributed to this stylesheet.
      Upon SASS file save in the Sources panel, all affected external CSS stylesheets are reloaded to update
      the page styles (presuming that SASS is running in the "watch" mode during the development cycle).
      
      * English.lproj/localizedStrings.js:
      * inspector/front-end/SASSSourceMapping.js:
      (WebInspector.SASSSourceMapping):
      (WebInspector.SASSSourceMapping.prototype._fileSaveFinished.callback):
      (WebInspector.SASSSourceMapping.prototype._reloadCSS):
      (_bindUISourceCode):
      (_addCSSURLforSASSURL):
      * inspector/front-end/Settings.js:
      * inspector/front-end/SettingsScreen.js:
      (WebInspector.GenericSettingsTab):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132321 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5945a2ea
    • noel.gordon@gmail.com's avatar
      Source/WebKit/chromium: [chromium] Plumb DRT... · 5789535a
      noel.gordon@gmail.com authored
      Source/WebKit/chromium: [chromium] Plumb DRT WebkitShouldRespectImageOrientation through to page settings
      https://bugs.webkit.org/show_bug.cgi?id=100197
      
      Reviewed by Kent Tamura.
      
      * public/WebSettings.h:
      * src/WebSettingsImpl.cpp:
      (WebKit::WebSettingsImpl::setShouldRespectImageOrientation): set the WebCore page
      setting for shouldRespectImageOrientation.
      (WebKit):
      * src/WebSettingsImpl.h:
      (WebSettingsImpl):
      
      Tools: [chromium] Plumb DRT WebkitShouldRespectImageOrientation through to page settings
      https://bugs.webkit.org/show_bug.cgi?id=100197
      
      Reviewed by Kent Tamura.
      
      fast/images/exif-orientation.html and fast/images/exif-orientation-css.html require a DRT
      WebkitShouldRespectImageOrientation preference.  Add the chromium implementation for this
      preference and plumb it through to page settings.
      
      * DumpRenderTree/chromium/DRTTestRunner.cpp:
      (DRTTestRunner::overridePreference): Update the tests WebkitShouldRespectImageOrientation
      setting in DRT prefs.
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (WebPreferences::reset): Disable the preference before and after each test.
      (WebPreferences::applyTo): Apply the preference to the page settings of each test.
      * DumpRenderTree/chromium/WebPreferences.h:
      (WebPreferences):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5789535a
    • commit-queue@webkit.org's avatar
      [EFL] Unskip fast/events/tabindex-focus-blur-all.html. · bf98e8e2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100206
      
      Unreviewed, EFL gardening.
      
      The bug webkit.org/b/100065 is fixed and the test is passing now.
      
      Patch by Byungwoo Lee <bw80.lee@samsung.com> on 2012-10-24
      
      * platform/efl-wk1/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bf98e8e2
    • zandobersek@gmail.com's avatar
      Unreviewed GTK gardening. · 872190ff
      zandobersek@gmail.com authored
      Marking fast/xmlhttprequest/xmlhttprequest-recursive-sync-event.html
      as flaky after r132143.
      Adding baselines for tvo SVG Transforms tests required after r132121.
      
      * platform/gtk/TestExpectations:
      * platform/gtk/svg/transforms/svg-css-transforms-clip-path-expected.png: Added.
      * platform/gtk/svg/transforms/svg-css-transforms-clip-path-expected.txt: Added.
      * platform/gtk/svg/transforms/svg-css-transforms-expected.png: Added.
      * platform/gtk/svg/transforms/svg-css-transforms-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      872190ff
    • carlosgc@webkit.org's avatar
      [GTK] TestWebKitAPI/TestWebKit2 and TestWebKitAPI/TestGtk link to the installed libs · af00cffd
      carlosgc@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100134
      
      Reviewed by Martin Robinson.
      
      Do not share the LDADD variable among TestWTF, TestWebKit2 and
      TestGtk.
      
      * TestWebKitAPI/GNUmakefile.am:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132317 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af00cffd
    • zoltan@webkit.org's avatar
      Store the loaded file locally in measurePageLoadTime · c140a730
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100172
      
      Reviewed by Csaba Osztrogonác.
      
      Store the loaded file as a local variable instead of attaching it to the test object.
      Handle chunkSize inside test.run.
      
      * resources/runner.js:
      (.):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132316 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c140a730
    • yurys@chromium.org's avatar
      Memory instrumentation: don't count agent-specific front-ends separately · 4bd183a4
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100087
      
      Reviewed by Alexander Pavlov.
      
      Pointers to domain-specific inspector front-end interfaces are reported as
      weak pointers instead of members to avoid double-counting.
      
      Test by comparing set of reported instrumented objects with the set of objects
      allocated by tcmalloc.
      
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::reportMemoryUsage):
      * inspector/InspectorDOMStorageResource.cpp:
      (WebCore::InspectorDOMStorageResource::reportMemoryUsage):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::reportMemoryUsage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bd183a4
    • dbarton@mathscribe.com's avatar
      Unreviewed gardening. Some linux MathML tests are timing out - see webkit.org/b/100202. · f0f7ca92
      dbarton@mathscribe.com authored
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0f7ca92
    • kihong.kwon@samsung.com's avatar
      Unreviewed. Adding myself as committer. · e0f9c485
      kihong.kwon@samsung.com authored
      * Scripts/webkitpy/common/config/committers.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0f9c485
    • ryuan.choi@samsung.com's avatar
      Regression(r132303) Broke debug build when SHADOW_DOM is enabled but STYLE_SCOPED is disabled · a5175b36
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=100203
      
      Unreviewed Build fix.
      
      Fix compilation error in StyleResolver.h when SHADOW_DOM flag is
      set and STYLE_SCOPED is not.
      
      No new tests, no behavior change.
      
      Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-23
      
      * css/StyleResolver.h:
      (WebCore::StyleResolver::ensureScopeResolver):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5175b36
    • kling@webkit.org's avatar
      Remove specialized hash traits for GlyphPages. · d2f20b2e
      kling@webkit.org authored
      <http://webkit.org/b/100185>
      
      Reviewed by Dan Bernstein.
      
      Now that the default minimum table size has been lowered for all tables, there's no need
      for this specialization anymore.
      
      * platform/graphics/FontFallbackList.h:
      (FontFallbackList):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132311 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2f20b2e
    • tkent@chromium.org's avatar
      Multiple fields input UI: Don't use CSS properties for physical direction · 3d174125
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100195
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      CSS declarations such as "padding: 0 0 0 1px;" "margin-left: 0.2em;" are
      not direction-neutral, and makes unexpected appearance in RTL. We should
      use -webkit-padding-start or -webkit-margin-start.
      
      No new tests. Covered by date-multiple-fields-appearance-l10n.html and
      month-multiple-fields-appearance-l10n.html
      
      * css/html.css:
      (input[type="date"]): Use padding:0 and -webkit-padding-start:1px;
      (input[type="datetime"]): Ditto.
      (input[type="datetime-local"]): Ditto.
      (input[type="month"]): Ditto.
      (input[type="time"]): Ditto.
      (input[type="week"]): Ditto.
      (input[type="week"]::-webkit-inner-spin-button):
      Use -webkit-margin-start. Also use an integral pixel size instead of
      avoid a fractional relative size to avoid subpixel layout rounding.
      
      LayoutTests:
      
      * platform/chromium-mac/fast/forms/date-multiple-fields/date-multiple-fields-appearance-l10n-expected.png:
      * platform/chromium-mac/fast/forms/month-multiple-fields/month-multiple-fields-appearance-l10n-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132310 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d174125
    • mitz@apple.com's avatar
      Source/WebKit/mac: WebKit/mac part of <rdar://problem/2966974> [mac] Kerning... · ebbb0109
      mitz@apple.com authored
      Source/WebKit/mac: WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
      https://bugs.webkit.org/show_bug.cgi?id=100188
      
      Reviewed by Sam Weinig.
      
      * WebView/WebView.mm:
      (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
      code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
      default. Changed to refer to that default key by name.
      
      Source/WebKit2: WebKit2 part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
      https://bugs.webkit.org/show_bug.cgi?id=100188
      
      Reviewed by Sam Weinig.
      
      * UIProcess/mac/WebContextMac.mm:
      (WebKit::registerUserDefaultsIfNeeded): Added. Registers a value of YES for the
      WebKitKerningAndLigaturesEnabledByDefault user default if it has not been registered yet.
      (WebKit::WebContext::platformInitializeWebProcess): Added a call to
      registerUserDefaultsIfNeeded, and changed to refer to the defaults key by name.
      
      Tools: Tools changes for <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
      https://bugs.webkit.org/show_bug.cgi?id=100188
      
      Reviewed by Sam Weinig.
      
      Disable kerning and ligatures by default when running the tests.
      
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues): Set a value of NO for the
      WebKitKerningAndLigaturesEnabledByDefault user default.
      * WebKitTestRunner/mac/main.mm:
      (main): Register a value of NO for the WebKitKerningAndLigaturesEnabledByDefault user
      default.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132309 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebbb0109