Changeset 220507 in webkit
- Timestamp:
- Aug 9, 2017 9:19:34 PM (7 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 16 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r220497 r220507 1 2017-08-09 Chris Dumez <cdumez@apple.com> 2 3 Disable Beacon API on WK1 DRT and WK2 when not using NETWORK_SESSION 4 https://bugs.webkit.org/show_bug.cgi?id=175401 5 6 Reviewed by Brady Eidson. 7 8 * platform/mac-elcapitan-wk2/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt. 9 * platform/mac-elcapitan-wk2/imported/w3c/web-platform-tests/url/failure-expected.txt: Added. 10 * platform/mac-wk1/TestExpectations: 11 * platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt: 12 * platform/mac-wk1/imported/w3c/web-platform-tests/url/failure-expected.txt: Added. 13 * platform/mac-wk2/TestExpectations: 14 * platform/win/TestExpectations: 15 * platform/win/fast/dom/navigator-detached-no-crash-expected.txt: Copied from LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt. 16 * platform/win/imported/w3c/web-platform-tests/url/failure-expected.txt: Added. 17 1 18 2017-08-09 Chris Dumez <cdumez@apple.com> 2 19 -
trunk/LayoutTests/platform/mac-elcapitan-wk2/fast/dom/navigator-detached-no-crash-expected.txt
r220506 r220507 15 15 navigator.product is OK 16 16 navigator.productSub is OK 17 navigator.se ndBeacon() threw err TypeError: Not enough arguments17 navigator.serviceWorker is OK 18 18 navigator.userAgent is OK 19 19 navigator.vendor is OK … … 34 34 navigator.product is OK 35 35 navigator.productSub is OK 36 navigator.se ndBeacon() threw err TypeError: Not enough arguments36 navigator.serviceWorker is OK 37 37 navigator.userAgent is OK 38 38 navigator.vendor is OK -
trunk/LayoutTests/platform/mac-wk1/TestExpectations
r220442 r220507 361 361 webkit.org/b/170877 [ Debug ] webgl/1.0.2/conformance/glsl/misc/shader-with-reserved-words.html [ Pass Timeout ] 362 362 363 # CORS-preflighting for Beacon is not supported on WK1. 364 webkit.org/b/175330 http/wpt/beacon/cors/ [ Skip ] 363 # Beacon is not supported on WK1. 364 http/tests/blink/sendbeacon/ [ Skip ] 365 http/wpt/beacon/ [ Skip ] 366 imported/blink/fast/beacon/ [ Skip ] 367 imported/w3c/web-platform-tests/beacon/ [ Skip ] 365 368 366 369 # This was a WK2-only fix. -
trunk/LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt
r220270 r220507 15 15 navigator.product is OK 16 16 navigator.productSub is OK 17 navigator.sendBeacon() threw err TypeError: Not enough arguments18 17 navigator.userAgent is OK 19 18 navigator.vendor is OK … … 34 33 navigator.product is OK 35 34 navigator.productSub is OK 36 navigator.sendBeacon() threw err TypeError: Not enough arguments37 35 navigator.userAgent is OK 38 36 navigator.vendor is OK -
trunk/LayoutTests/platform/mac-wk2/TestExpectations
r220442 r220507 723 723 webkit.org/b/172834 [ ElCapitan ] imported/w3c/web-platform-tests/IndexedDB/idbobjectstore_getAllKeys.html [ Pass Failure ] 724 724 725 726 # CORS-preflighting for Beacon is not supported on WK2 for non NETWORK_SESSION code path. 727 webkit.org/b/175330 [ ElCapitan ] http/wpt/beacon/cors/ [ Skip ] 725 # Beacon is not supported on WK2 for the non NETWORK_SESSION code path. 726 [ ElCapitan ] http/tests/blink/sendbeacon/ [ Skip ] 727 [ ElCapitan ] http/wpt/beacon/ [ Skip ] 728 [ ElCapitan ] imported/blink/fast/beacon/ [ Skip ] 729 [ ElCapitan ] imported/w3c/web-platform-tests/beacon/ [ Skip ] 728 730 729 731 webkit.org/b/172201 webaudio/silent-audio-interrupted-in-background.html [ Pass Timeout ] -
trunk/LayoutTests/platform/win/TestExpectations
r220442 r220507 4048 4048 webkit.org/b/174079 fast/text/variations/skia-postscript-name.html [ ImageOnlyFailure ] 4049 4049 4050 # CORS-preflighting for Beacon is not supported on WK1. 4051 webkit.org/b/175330 http/wpt/beacon/cors/ [ Skip ] 4050 # Beacon is not supported on WK1. 4051 http/tests/blink/sendbeacon/ [ Skip ] 4052 http/wpt/beacon/ [ Skip ] 4053 imported/blink/fast/beacon/ [ Skip ] 4054 imported/w3c/web-platform-tests/beacon/ [ Skip ] 4052 4055 4053 4056 # Async image tests are currently failing on Windows. -
trunk/LayoutTests/platform/win/fast/dom/navigator-detached-no-crash-expected.txt
r220506 r220507 15 15 navigator.product is OK 16 16 navigator.productSub is OK 17 navigator.sendBeacon() threw err TypeError: Not enough arguments18 17 navigator.userAgent is OK 19 18 navigator.vendor is OK … … 34 33 navigator.product is OK 35 34 navigator.productSub is OK 36 navigator.sendBeacon() threw err TypeError: Not enough arguments37 35 navigator.userAgent is OK 38 36 navigator.vendor is OK -
trunk/Source/WebKit/ChangeLog
r220506 r220507 1 2017-08-09 Chris Dumez <cdumez@apple.com> 2 3 Disable Beacon API on WK1 DRT and WK2 when not using NETWORK_SESSION 4 https://bugs.webkit.org/show_bug.cgi?id=175401 5 6 Reviewed by Brady Eidson. 7 8 * UIProcess/API/C/WKPreferences.cpp: 9 (WKPreferencesSetBeaconAPIEnabled): 10 (WKPreferencesGetBeaconAPIEnabled): 11 * WebProcess/WebPage/WebPage.cpp: 12 (WebKit::WebPage::updatePreferences): 13 * config.h: 14 1 15 2017-08-09 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com> 2 16 -
trunk/Source/WebKit/UIProcess/API/C/WKPreferences.cpp
r220370 r220507 827 827 void WKPreferencesSetBeaconAPIEnabled(WKPreferencesRef preferencesRef, bool flag) 828 828 { 829 #if ENABLE(BEACON_API) 829 830 toImpl(preferencesRef)->setBeaconAPIEnabled(flag); 831 #endif 830 832 } 831 833 832 834 bool WKPreferencesGetBeaconAPIEnabled(WKPreferencesRef preferencesRef) 833 835 { 836 #if ENABLE(BEACON_API) 834 837 return toImpl(preferencesRef)->beaconAPIEnabled(); 838 #else 839 return false; 840 #endif 835 841 } 836 842 -
trunk/Source/WebKit/WebProcess/WebPage/WebPage.cpp
r220506 r220507 3367 3367 3368 3368 settings.setSubresourceIntegrityEnabled(store.getBoolValueForKey(WebPreferencesKey::subresourceIntegrityEnabledKey())); 3369 3370 #if ENABLE(BEACON_API) 3369 3371 settings.setBeaconAPIEnabled(store.getBoolValueForKey(WebPreferencesKey::beaconAPIEnabledKey())); 3372 #endif 3370 3373 3371 3374 platformPreferencesDidChange(store); -
trunk/Source/WebKit/config.h
r219055 r220507 79 79 #endif 80 80 81 #ifndef ENABLE_BEACON_API 82 #define ENABLE_BEACON_API 1 83 #endif 84 81 85 // FIXME: We should work towards not using CredentialStorage in WebKit2 to not have problems with digest authentication. 82 86 #ifndef USE_CREDENTIAL_STORAGE_WITH_NETWORK_SESSION -
trunk/Source/WebKitLegacy/mac/ChangeLog
r220506 r220507 1 2017-08-09 Chris Dumez <cdumez@apple.com> 2 3 Disable Beacon API on WK1 DRT and WK2 when not using NETWORK_SESSION 4 https://bugs.webkit.org/show_bug.cgi?id=175401 5 6 Reviewed by Brady Eidson. 7 8 * WebView/WebPreferenceKeysPrivate.h: 9 * WebView/WebPreferences.mm: 10 (+[WebPreferences initialize]): 11 (-[WebPreferences beaconAPIEnabled]): Deleted. 12 (-[WebPreferences setBeaconAPIEnabled:]): Deleted. 13 * WebView/WebPreferencesPrivate.h: 14 * WebView/WebView.mm: 15 (-[WebView _preferencesChanged:]): 16 1 17 2017-08-09 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com> 2 18 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferenceKeysPrivate.h
r220370 r220507 111 111 #define WebKitShowRepaintCounterPreferenceKey @"WebKitShowRepaintCounter" 112 112 #define WebKitWebAudioEnabledPreferenceKey @"WebKitWebAudioEnabled" 113 #define WebKitBeaconAPIEnabledPreferenceKey @"WebKitBeaconAPIEnabled"114 113 #define WebKitWebGLEnabledPreferenceKey @"WebKitWebGLEnabled" 115 114 #define WebKitWebGL2EnabledPreferenceKey @"WebKitWebGL2Enabled" -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferences.mm
r220370 r220507 626 626 [NSNumber numberWithBool:YES], WebKitCustomElementsEnabledPreferenceKey, 627 627 [NSNumber numberWithBool:YES], WebKitModernMediaControlsEnabledPreferenceKey, 628 [NSNumber numberWithBool:NO], WebKitBeaconAPIEnabledPreferenceKey,629 628 #if ENABLE(WEBGL2) 630 629 [NSNumber numberWithBool:NO], WebKitWebGL2EnabledPreferenceKey, … … 2071 2070 { 2072 2071 [self _setBoolValue:enabled forKey:WebKitWebGL2EnabledPreferenceKey]; 2073 }2074 2075 - (BOOL)beaconAPIEnabled2076 {2077 return [self _boolValueForKey:WebKitBeaconAPIEnabledPreferenceKey];2078 }2079 2080 - (void)setBeaconAPIEnabled:(BOOL)enabled2081 {2082 [self _setBoolValue:enabled forKey:WebKitBeaconAPIEnabledPreferenceKey];2083 2072 } 2084 2073 -
trunk/Source/WebKitLegacy/mac/WebView/WebPreferencesPrivate.h
r220370 r220507 267 267 - (void)setWebGL2Enabled:(BOOL)enabled; 268 268 269 - (BOOL)beaconAPIEnabled;270 - (void)setBeaconAPIEnabled:(BOOL)enabled;271 272 269 - (BOOL)forceSoftwareWebGLRendering; 273 270 - (void)setForceSoftwareWebGLRendering:(BOOL)forced; -
trunk/Source/WebKitLegacy/mac/WebView/WebView.mm
r220506 r220507 2983 2983 settings.setConstantPropertiesEnabled([preferences constantPropertiesEnabled]); 2984 2984 2985 settings.setBeaconAPIEnabled([preferences beaconAPIEnabled]);2986 2987 2985 #if ENABLE(GAMEPAD) 2988 2986 RuntimeEnabledFeatures::sharedFeatures().setGamepadsEnabled([preferences gamepadsEnabled]); -
trunk/Tools/ChangeLog
r220506 r220507 1 2017-08-09 Chris Dumez <cdumez@apple.com> 2 3 Disable Beacon API on WK1 DRT and WK2 when not using NETWORK_SESSION 4 https://bugs.webkit.org/show_bug.cgi?id=175401 5 6 Reviewed by Brady Eidson. 7 8 * DumpRenderTree/mac/DumpRenderTree.mm: 9 (enableExperimentalFeatures): 10 1 11 2017-08-09 Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com> 2 12 -
trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm
r220506 r220507 848 848 // FIXME: InputEvents 849 849 [preferences setWebAnimationsEnabled:YES]; 850 [preferences setBeaconAPIEnabled:YES];851 850 [preferences setWebGL2Enabled:YES]; 852 851 [preferences setWebGPUEnabled:YES];
Note: See TracChangeset
for help on using the changeset viewer.