Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1352)

Issue 2873433002: Enable Feature Policy without experimental features or fullscreen (Closed)

Created:
3 years, 7 months ago by lunalu1
Modified:
3 years, 7 months ago
Reviewers:
iclelland, foolip, pfeldman
CC:
chromium-reviews, blink-reviews-w3ctests_chromium.org, eae+blinkwatch, sof, jam, blink-reviews-dom_chromium.org, dglazkov+blink, darin-cc_chromium.org, lunalu1, blink-reviews, kinuko+watch, rwlbuis
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Fullscreen policy should still be dynamically updated by allowfullscreen since it is not supported … #

Patch Set 3 : Disable FP fullscreen test in site_per_process_browsertest #

Patch Set 4 : Update webkit_unit_tests(vibrate is not valid feature name) and layout_tests for fp-fullscreen (exp… #

Total comments: 3

Patch Set 5 : Codereview: added IsSupportedInFeaturePolicy to replace IsFeatureEnabled complication #

Total comments: 1

Patch Set 6 : Codereview: pass enum instead of string to IsSupportedInFeaturePolicy #

Total comments: 1

Patch Set 7 : Fix test failure (fullscreen is still behind FeaturePolicy flag and only disabled in-place of IsSup… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -218 lines) Patch
M content/browser/site_per_process_browsertest.cc View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M content/public/common/content_features.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/payment-request/allowpaymentrequest/allowpaymentrequest-attribute-same-origin-bc-containers.https-expected.txt View 1 chunk +0 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/payment-request/allowpaymentrequest/no-attribute-same-origin-bc-containers.https-expected.txt View 1 chunk +0 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/payment-request/allowpaymentrequest/removing-allowpaymentrequest.https.sub-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/external/wpt/payment-request/allowpaymentrequest/setting-allowpaymentrequest.https.sub-expected.txt View 1 chunk +0 lines, -4 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy-expected.txt View 1 chunk +0 lines, -33 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy-relocate-expected.txt View 1 chunk +0 lines, -49 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-disabled-expected.txt View 1 chunk +0 lines, -33 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-enabledforall-expected.txt View 1 chunk +0 lines, -33 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-enabledforself-expected.txt View 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/stable/webexposed/element-instance-property-listing-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/element-instance-property-listing-expected.txt View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Fullscreen.cpp View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLIFrameElementAllowTest.cpp View 1 2 3 2 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vibration/NavigatorVibration.cpp View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.h View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (40 generated)
lunalu1
Hi Ian, PTAL
3 years, 7 months ago (2017-05-09 14:44:59 UTC) #14
iclelland
Thanks for taking care of this, Luna! This looks really good; I've added a couple ...
3 years, 7 months ago (2017-05-09 17:58:45 UTC) #28
lunalu1
Done. PTAL https://codereview.chromium.org/2873433002/diff/100001/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp File third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp (right): https://codereview.chromium.org/2873433002/diff/100001/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp#newcode133 third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp:133: default_feature_name_map.Set("payment", WebFeaturePolicyFeature::kPayment); On 2017/05/09 17:58:45, iclelland wrote: ...
3 years, 7 months ago (2017-05-09 19:07:31 UTC) #30
iclelland
https://codereview.chromium.org/2873433002/diff/120001/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp File third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp (right): https://codereview.chromium.org/2873433002/diff/120001/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp#newcode131 third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp:131: bool IsSupportedInFeaturePolicy(String feature) { Would it be possible to ...
3 years, 7 months ago (2017-05-09 19:14:19 UTC) #32
lunalu1
Done. PTAL
3 years, 7 months ago (2017-05-09 19:52:44 UTC) #33
iclelland
On 2017/05/09 19:52:44, loonybear wrote: > Done. PTAL Thanks! LGTM
3 years, 7 months ago (2017-05-09 20:34:38 UTC) #34
lunalu1
Hi pfeldman@, could you PTAL at: content/browser/site_per_process_browsertest.cc content/public/common/content_features.cc Hi foolip@, could you PTAL at everything ...
3 years, 7 months ago (2017-05-09 20:52:30 UTC) #36
pfeldman
lgtm
3 years, 7 months ago (2017-05-09 21:10:00 UTC) #37
foolip
lgtm % question https://codereview.chromium.org/2873433002/diff/140001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2873433002/diff/140001/third_party/WebKit/LayoutTests/TestExpectations#newcode3386 third_party/WebKit/LayoutTests/TestExpectations:3386: # Feature Policy changes same-origin allowpaymentrequest ...
3 years, 7 months ago (2017-05-10 15:32:25 UTC) #38
foolip
Can you link to the Intent to Ship in the description too?
3 years, 7 months ago (2017-05-10 15:40:50 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2873433002/140001
3 years, 7 months ago (2017-05-10 15:48:36 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/367145)
3 years, 7 months ago (2017-05-10 17:11:04 UTC) #44
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2873433002/160001
3 years, 7 months ago (2017-05-10 18:07:29 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/450560)
3 years, 7 months ago (2017-05-10 20:14:51 UTC) #49
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2873433002/160001
3 years, 7 months ago (2017-05-11 18:14:02 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/452088)
3 years, 7 months ago (2017-05-11 19:21:05 UTC) #53
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2873433002/160001
3 years, 7 months ago (2017-05-12 14:28:59 UTC) #55
commit-bot: I haz the power
3 years, 7 months ago (2017-05-12 16:38:42 UTC) #58
Message was sent while issue was closed.
Committed patchset #7 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/8f64c57f0ae067e658a1d903fbbf...

Powered by Google App Engine
This is Rietveld 408576698