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

Issue 2855133004: Re-enable feature policy layout tests after bug fix. (Closed)

Created:
3 years, 7 months ago by lunalu1
Modified:
3 years, 7 months ago
Reviewers:
iclelland
CC:
blink-reviews, chromium-reviews, site-isolation-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-enable feature policy layout tests after bug fix. Tests previously failing on site isolation bots. Reconstructed all feature policy layout tests: - replaced loading multiple testharnessreport.js by introducing postMessage's - formatted all tests in more consistent template BUG=716085 Review-Url: https://codereview.chromium.org/2855133004 Cr-Commit-Position: refs/heads/master@{#474299} Committed: https://chromium.googlesource.com/chromium/src/+/0f559bdba5bf694e3d7ad34cd90b316ac6736d95

Patch Set 1 #

Patch Set 2 : Rebased FlagExpectations/site-per-process #

Total comments: 15

Patch Set 3 : Codereview: nit #

Total comments: 1

Patch Set 4 : Update layout tests / tests results for fp-vibrate and fp-payment #

Patch Set 5 : Updated fp-vibrate tests expect #

Unified diffs Side-by-side diffs Delta from patch set Stats (+542 lines, -670 lines) Patch
M third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG View 1 2 3 4 1 chunk +0 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/site-per-process View 1 2 1 chunk +0 lines, -17 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate.html View 1 chunk +26 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-disabled.html View 1 chunk +0 lines, -26 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-enabled.html View 1 chunk +0 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/feature-policy-vibrate-relocate.html View 1 chunk +2 lines, -10 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/resources/helper.js View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html View 1 2 1 chunk +24 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate.html View 1 chunk +0 lines, -37 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload-expected.txt View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-reload.html View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-disabled.php View 1 2 1 chunk +24 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-disabled-expected.txt View 3 1 chunk +2 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-enabledforall.php View 1 2 1 chunk +24 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-enabledforself.php View 1 2 1 chunk +29 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-enabledforself-expected.txt View 3 1 chunk +2 lines, -14 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-allowed-by-container-policy.html View 1 2 1 chunk +20 lines, -20 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-allowed-by-container-policy-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-allowed-by-container-policy-relocate.html View 1 2 2 chunks +29 lines, -26 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-allowed-by-container-policy-relocate-expected.txt View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-disabled.php View 1 2 1 chunk +20 lines, -20 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-disabled-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-enabledforall.php View 1 2 1 chunk +20 lines, -20 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-enabledforall-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-enabledforself.php View 1 2 1 chunk +28 lines, -25 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-enabledforself-expected.txt View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy.html View 1 2 3 1 chunk +26 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-allowed-by-container-policy-relocate.html View 1 2 1 chunk +44 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-disabled.php View 1 2 1 chunk +30 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-enabledforall.php View 1 2 1 chunk +26 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-enabledforself.php View 1 2 1 chunk +37 lines, -8 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-fullscreen-relocate.html View 2 chunks +2 lines, -4 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment.html View 1 chunk +16 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-disabled.html View 1 chunk +0 lines, -22 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-enabled.html View 1 chunk +0 lines, -19 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-relocate.html View 1 chunk +7 lines, -0 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-relocate-disabled.html View 1 chunk +0 lines, -7 lines 0 comments Download
D third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/feature-policy-payment-relocate-enabled.html View 1 chunk +0 lines, -7 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/feature-policy/resources/helper.js View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/feature-policy-experimental-features/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload-expected.txt View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy-experimental-features/http/tests/feature-policy-experimental-features/vibrate-disabled-expected.txt View 1 chunk +4 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy-experimental-features/http/tests/feature-policy-experimental-features/vibrate-enabledforself-expected.txt View 1 chunk +3 lines, -15 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/fullscreen-allowed-by-container-policy-relocate-expected.txt View 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/payment-allowed-by-container-policy-expected.txt View 1 2 3 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/payment-allowed-by-container-policy-relocate-expected.txt View 1 2 3 1 chunk +0 lines, -49 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/payment-disabled-expected.txt View 1 2 3 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/payment-enabledforall-expected.txt View 1 2 3 1 chunk +0 lines, -33 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/feature-policy/http/tests/feature-policy/payment-enabledforself-expected.txt View 1 2 3 1 chunk +0 lines, -33 lines 0 comments Download

Messages

Total messages: 35 (22 generated)
lunalu1
Hi Ian, Sorry this CL is giant. Most tests use the same template so you ...
3 years, 7 months ago (2017-05-03 21:36:59 UTC) #2
iclelland
https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html File third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html (right): https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html#newcode24 third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html:24: }, 'iframe relocated without reload, allow = vibrate, is ...
3 years, 7 months ago (2017-05-18 19:36:13 UTC) #8
iclelland
https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html File third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html (right): https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html#newcode10 third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html:10: function sendClick() { This function could probably be moved ...
3 years, 7 months ago (2017-05-18 19:40:59 UTC) #9
iclelland
A couple more small nits: https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html File third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html (right): https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html#newcode34 third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy.html:34: loadFrame(src); On 2017/05/18 19:36:12, ...
3 years, 7 months ago (2017-05-18 19:56:59 UTC) #10
lunalu1
Done. PTAL Thanks https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html File third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html (right): https://codereview.chromium.org/2855133004/diff/20001/third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html#newcode24 third_party/WebKit/LayoutTests/http/tests/feature-policy-experimental-features/vibrate-allowed-by-container-policy-relocate-and-no-reload.html:24: }, 'iframe relocated without reload, allow ...
3 years, 7 months ago (2017-05-19 20:54:08 UTC) #13
iclelland
Looks like some test expectation files still need to be updated here, but this is ...
3 years, 7 months ago (2017-05-23 14:15:03 UTC) #17
lunalu1
On 2017/05/23 at 14:15:03, iclelland wrote: > Looks like some test expectation files still need ...
3 years, 7 months ago (2017-05-23 17:42:43 UTC) #18
lunalu1
Done. Please take another look. Because there is a console warning for vibrate-allowed-by-container-policy-reloacte-and-no-reload, even though ...
3 years, 7 months ago (2017-05-23 19:41:07 UTC) #21
lunalu1
Somehow the tests results for vibrate does not match my local version. I thinks something ...
3 years, 7 months ago (2017-05-23 20:19:04 UTC) #22
lunalu1
All test expects updated. Tests behave as expected. Please take another look. Thanks
3 years, 7 months ago (2017-05-23 20:59:37 UTC) #27
iclelland
lgtm
3 years, 7 months ago (2017-05-24 14:48:30 UTC) #30
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/2855133004/100001
3 years, 7 months ago (2017-05-24 15:35:59 UTC) #32
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 15:41:18 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/0f559bdba5bf694e3d7ad34cd90b...

Powered by Google App Engine
This is Rietveld 408576698