Skip to content

Commit 1fe51b2

Browse files
committed
REGRESSION(r227550): Resource timing API is disabled on macOS
https://bugs.webkit.org/show_bug.cgi?id=182318 Reviewed by Chris Dumez. Resource timing API should be enabled by default all versions of macOS we support now. * Shared/WebPreferences.yaml: * Shared/WebPreferencesDefaultValues.h: Canonical link: https://commits.webkit.org/198123@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 575a3d7 commit 1fe51b2

3 files changed

Lines changed: 13 additions & 7 deletions

File tree

Source/WebKit/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2018-01-30 Ryosuke Niwa <rniwa@webkit.org>
2+
3+
REGRESSION(r227550): Resource timing API is disabled on macOS
4+
https://bugs.webkit.org/show_bug.cgi?id=182318
5+
6+
Reviewed by Chris Dumez.
7+
8+
Resource timing API should be enabled by default all versions of macOS we support now.
9+
10+
* Shared/WebPreferences.yaml:
11+
* Shared/WebPreferencesDefaultValues.h:
12+
113
2018-01-30 Tim Horton <timothy_horton@apple.com>
214

315
WKWebView layout is sometimes wrong after rotation on iPhone X

Source/WebKit/Shared/WebPreferences.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ ModernMediaControlsEnabled:
716716

717717
ResourceTimingEnabled:
718718
type: bool
719-
defaultValue: DEFAULT_RESOURCE_TIMING_ENABLED
719+
defaultValue: true
720720
humanReadableName: "Resource Timing"
721721
humanReadableDescription: "Enable ResourceTiming API"
722722
webcoreBinding: RuntimeEnabledFeatures

Source/WebKit/Shared/WebPreferencesDefaultValues.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,6 @@
129129
#define DEFAULT_MODERN_MEDIA_CONTROLS_ENABLED false
130130
#endif
131131

132-
#if PLATFORM(MAC)
133-
#define DEFAULT_RESOURCE_TIMING_ENABLED false
134-
#else
135-
#define DEFAULT_RESOURCE_TIMING_ENABLED true
136-
#endif
137-
138132
#if PLATFORM(COCOA)
139133
#define DEFAULT_DATA_TRANSFER_ITEMS_ENABLED true
140134
#define DEFAULT_DIRECTORY_UPLOAD_ENABLED true

0 commit comments

Comments
 (0)