Skip to content
  • commit-queue@webkit.org's avatar
    [WK2][WKTR] Enable Shadow DOM at runtime if compiled with SHADOW_DOM support · d24927d6
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=100668
    
    Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-10-29
    Reviewed by Kenneth Rohde Christiansen.
    
    Source/WebKit2:
    
    Add Bundle API to enable Shadow DOM functionality. This is
    now needed by WebKitTestRunner.
    
    * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
    (WKBundleSetShadowDOMEnabled):
    * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
    * WebProcess/InjectedBundle/InjectedBundle.cpp:
    (WebKit::InjectedBundle::setShadowDOMEnabled):
    (WebKit):
    * WebProcess/InjectedBundle/InjectedBundle.h:
    (InjectedBundle):
    
    Tools:
    
    Enable Shadow DOM functionality at run time in WebKitTestRunner
    if compiled with SHADOW_DOM flag set. This is needed to run
    the Shadow DOM layout tests.
    
    * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
    (WTR::InjectedBundle::beginTesting):
    
    LayoutTests:
    
    Remove Shadow DOM layout tests from the global wk2 TestExpectations
    and add it to the mac-wk2 one. EFL and GTK ports have Shadow DOM
    enabled so they don't need to be skipped for those ports. The Qt port
    is already skipping those tests in its global TestExpectations file.
    
    * platform/efl-wk2/TestExpectations:
    * platform/mac-wk2/TestExpectations:
    * platform/wk2/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d24927d6