Skip to content
  • commit-queue@webkit.org's avatar
    WebProcess consuming very high CPU on linkedin.com · 77cff30e
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=115601
    
    Patch by Zalan Bujtas <zalan@apple.com> on 2013-05-13
    Reviewed by Andreas Kling.
    
    Disable WEB_TIMING_MINIMAL.
    Turn off window.performance and performance.now(). Some JS frameworks expect
    additional Web Timing APIs, when performance.now() is available.
    
    Source/JavaScriptCore:
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebCore:
    
    * Configurations/FeatureDefines.xcconfig:
    * dom/EventTargetFactory.in:
    * page/DOMWindow.cpp:
    (WebCore::DOMWindow::~DOMWindow):
    (WebCore::DOMWindow::resetDOMWindowProperties):
    (WebCore):
    * page/DOMWindow.h:
    (DOMWindow):
    * page/DOMWindow.idl:
    * page/Performance.cpp:
    (WebCore::Performance::timing):
    * page/Performance.h:
    (Performance):
    * page/Performance.idl:
    
    Source/WebKit/mac:
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WebKit2:
    
    * Configurations/FeatureDefines.xcconfig:
    
    Source/WTF:
    
    * wtf/FeatureDefines.h:
    
    LayoutTests:
    
    * platform/mac/TestExpectations:
    * fast/js/global-constructors-attributes-expected.txt:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    77cff30e