Changeset 223433 in webkit


Ignore:
Timestamp:
Oct 16, 2017 1:36:18 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

Activate Cache API by default
https://bugs.webkit.org/show_bug.cgi?id=178186

Patch by Youenn Fablet <youenn@apple.com> on 2017-10-16
Reviewed by Chris Dumez.

Source/WebKit:

  • Shared/WebPreferencesDefinitions.h:

Tools:

Removing explicit activation of cache api.

  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:

(WTR::InjectedBundle::beginTesting):

  • WebKitTestRunner/InjectedBundle/TestRunner.cpp:

(WTR::TestRunner::setCacheAPIEnabled): Deleted.

  • WebKitTestRunner/InjectedBundle/TestRunner.h:
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r223432 r223433  
     12017-10-16  Youenn Fablet  <youenn@apple.com>
     2
     3        Activate Cache API by default
     4        https://bugs.webkit.org/show_bug.cgi?id=178186
     5
     6        Reviewed by Chris Dumez.
     7
     8        * Shared/WebPreferencesDefinitions.h:
     9
    1102017-10-16  Sam Weinig  <sam@webkit.org>
    211
  • trunk/Source/WebKit/Shared/WebPreferencesDefinitions.h

    r223432 r223433  
    375375#define FOR_EACH_WEBKIT_EXPERIMENTAL_FEATURE_PREFERENCE(macro) \
    376376    macro(AsyncFrameScrollingEnabled, asyncFrameScrollingEnabled, Bool, bool, false, "Async Frame Scrolling", "Perform frame scrolling in a dedicated thread or process") \
    377     macro(CacheAPIEnabled, cacheAPIEnabled, Bool, bool, false, "Cache API", "Enable Cache API") \
     377    macro(CacheAPIEnabled, cacheAPIEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Cache API", "Enable Cache API") \
    378378    macro(ConstantPropertiesEnabled, constantPropertiesEnabled, Bool, bool, DEFAULT_EXPERIMENTAL_FEATURES_ENABLED, "Constant Properties", "Enable CSS constant() properties") \
    379379    macro(DisplayContentsEnabled, displayContentsEnabled, Bool, bool, false, "CSS display: contents", "Enable CSS display: contents support") \
  • trunk/Tools/ChangeLog

    r223429 r223433  
     12017-10-16  Youenn Fablet  <youenn@apple.com>
     2
     3        Activate Cache API by default
     4        https://bugs.webkit.org/show_bug.cgi?id=178186
     5
     6        Reviewed by Chris Dumez.
     7
     8        Removing explicit activation of cache api.
     9
     10        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
     11        (WTR::InjectedBundle::beginTesting):
     12        * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
     13        (WTR::TestRunner::setCacheAPIEnabled): Deleted.
     14        * WebKitTestRunner/InjectedBundle/TestRunner.h:
     15
    1162017-10-16  Ross Kirsling  <ross.kirsling@sony.com>
    217
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp

    r223211 r223433  
    356356    m_testRunner->setWebGPUEnabled(true);
    357357
    358     m_testRunner->setCacheAPIEnabled(true);
    359 
    360358    m_testRunner->setWritableStreamAPIEnabled(true);
    361359    m_testRunner->setReadableByteStreamAPIEnabled(true);
  • trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.cpp

    r223299 r223433  
    400400}
    401401
    402 void TestRunner::setCacheAPIEnabled(bool enabled)
    403 {
    404     WKRetainPtr<WKStringRef> key(AdoptWK, WKStringCreateWithUTF8CString("WebKitCacheAPIEnabled"));
    405     auto& injectedBundle = InjectedBundle::singleton();
    406     WKBundleOverrideBoolPreferenceForTestRunner(injectedBundle.bundle(), injectedBundle.pageGroup(), key.get(), enabled);
    407 }
    408 
    409402void TestRunner::setWritableStreamAPIEnabled(bool enabled)
    410403{
  • trunk/Tools/WebKitTestRunner/InjectedBundle/TestRunner.h

    r223299 r223433  
    103103    void setWebGL2Enabled(bool);
    104104    void setWebGPUEnabled(bool);
    105     void setCacheAPIEnabled(bool);
    106105    void setWritableStreamAPIEnabled(bool);
    107106    void setReadableByteStreamAPIEnabled(bool);
Note: See TracChangeset for help on using the changeset viewer.