Bug 187047 - Promote some experimental features to traditional features
Summary: Promote some experimental features to traditional features
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Horton
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-06-26 08:37 PDT by Tim Horton
Modified: 2018-06-26 12:28 PDT (History)
10 users (show)

See Also:


Attachments
Patch (8.22 KB, patch)
2018-06-26 08:37 PDT, Tim Horton
no flags Details | Formatted Diff | Diff
Patch (7.48 KB, patch)
2018-06-26 09:21 PDT, Tim Horton
simon.fraser: review+
thorton: commit-queue+
Details | Formatted Diff | Diff
patch for cq (7.48 KB, patch)
2018-06-26 11:59 PDT, Tim Horton
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Horton 2018-06-26 08:37:15 PDT
Promote some experimental features to traditional features
Comment 1 Tim Horton 2018-06-26 08:37:41 PDT
Created attachment 343604 [details]
Patch
Comment 2 Michael Catanzaro 2018-06-26 08:51:14 PDT
Comment on attachment 343604 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=343604&action=review

> Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp:127
> -    RuntimeEnabledFeatures::sharedFeatures().setCacheAPIEnabled(store.getBoolValueForKey(WebPreferencesKey::cacheAPIEnabledKey()));
> +    RuntimeEnabledFeatures::sharedFeatures().setCacheAPIEnabled(store.getBoolValueForKey(WebPreferencesKey::serviceWorkersEnabledKey()));

I'm not sure I like this, but I agree that it makes sense to tie these settings together... and we probably don't want to get into the rabbit hole of having runtime options depend on each other, like we do for build options.
Comment 3 Tim Horton 2018-06-26 09:16:59 PDT
(In reply to Michael Catanzaro from comment #2)
> Comment on attachment 343604 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=343604&action=review
> 
> > Source/WebKit/WebProcess/Storage/WebSWContextManagerConnection.cpp:127
> > -    RuntimeEnabledFeatures::sharedFeatures().setCacheAPIEnabled(store.getBoolValueForKey(WebPreferencesKey::cacheAPIEnabledKey()));
> > +    RuntimeEnabledFeatures::sharedFeatures().setCacheAPIEnabled(store.getBoolValueForKey(WebPreferencesKey::serviceWorkersEnabledKey()));
> 
> I'm not sure I like this, but I agree that it makes sense to tie these
> settings together... and we probably don't want to get into the rabbit hole
> of having runtime options depend on each other, like we do for build options.

This plan came from some of the SW people, so I Cc’d them so they could comment.
Comment 4 Tim Horton 2018-06-26 09:18:59 PDT
Ahh, it doesn’t work because it doesn’t turn on the WebCore RuntimeEnabledFeature.
Comment 5 Tim Horton 2018-06-26 09:21:59 PDT
Created attachment 343609 [details]
Patch
Comment 6 WebKit Commit Bot 2018-06-26 11:31:05 PDT
Comment on attachment 343609 [details]
Patch

Rejecting attachment 343609 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-01', 'apply-attachment', '--no-update', '--non-interactive', 343609, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

contributors.json is malformed: Expecting property name enclosed in double quotes: line 166 column 4 (char 3586)

Full output: https://webkit-queues.webkit.org/results/8349424
Comment 7 Michael Catanzaro 2018-06-26 11:35:50 PDT
(In reply to WebKit Commit Bot from comment #6)
> contributors.json is malformed: Expecting property name enclosed in double
> quotes: line 166 column 4 (char 3586)

Tim, I think it's complaining about the trailing comma that you added in r233209... try removing that comma.
Comment 8 Tim Horton 2018-06-26 11:59:47 PDT
Created attachment 343627 [details]
patch for cq
Comment 9 WebKit Commit Bot 2018-06-26 12:27:51 PDT
Comment on attachment 343627 [details]
patch for cq

Clearing flags on attachment: 343627

Committed r233215: <https://trac.webkit.org/changeset/233215>
Comment 10 WebKit Commit Bot 2018-06-26 12:27:53 PDT
All reviewed patches have been landed.  Closing bug.
Comment 11 Radar WebKit Bug Importer 2018-06-26 12:28:43 PDT
<rdar://problem/41484261>