Skip to content
  • darin@apple.com's avatar
    WebKitTestRunner needs to support layoutTestController.execCommand · ba2d62ff
    darin@apple.com authored
    <https://bugs.webkit.org/show_bug.cgi?id=42538>
    
    Reviewed by Sam Weinig.
    
    WebKitTestRunner needs layoutTestController.isCommandEnabled
    <https://bugs.webkit.org/show_bug.cgi?id=42671>
    
    WebKit2: 
    
    * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
    (WKBundlePageExecuteEditingCommand): Added.
    (WKBundlePageIsEditingCommandEnabled): Added.
    * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h: Ditto.
    
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::executeEditingCommand): Added.
    (WebKit::WebPage::isEditingCommandEnabled): Added.
    * WebProcess/WebPage/WebPage.h: Ditto.
    
    WebKitTools: 
    
    * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
    Added execCommand and isCommandEnabled.
    * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
    (WTR::LayoutTestController::execCommand): Added.
    (WTR::LayoutTestController::isCommandEnabled): Added.
    * WebKitTestRunner/InjectedBundle/LayoutTestController.h: Ditto.
    
    LayoutTests: 
    
    * platform/mac-wk2/Skipped: Don't skip the now-functioning tests.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64251 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    ba2d62ff