Skip to content
  • weinig@apple.com's avatar
    WebKitTestRunner needs layoutTestController.addUserStyleSheet · 211fe6e2
    weinig@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=42680
    
    Reviewed by Gavin Barraclough.
    
    WebKitTestRunner needs layoutTestController.addUserScript
    https://bugs.webkit.org/show_bug.cgi?id=42681
    
    WebKit2: 
    
    Improve UserContent APIs to allow passing null in the same places
    the WebKit1 API allowed. Add convenience function toWTFString to do
    WKStringRef conversion with correct null string behavior.
    
    * UIProcess/API/C/WKAPICast.h:
    (toWTFString):
    * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
    (WKBundleAddUserScript):
    (WKBundleAddUserStyleSheet):
    (WKBundleRemoveUserScript):
    (WKBundleRemoveUserStyleSheet):
    * WebProcess/InjectedBundle/InjectedBundle.cpp:
    (WebKit::toStringVector):
    
    WebKitTools: 
    
    * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
    * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
    (WTR::InjectedBundle::beginTesting):
    * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
    (WTR::LayoutTestController::addUserScript):
    (WTR::LayoutTestController::addUserStyleSheet):
    * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
    
    LayoutTests: 
    
    * platform/mac-wk2/Skipped: Update skipped list.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    211fe6e2