|
Reenable feature policy control over fullscreen
This CL also changes test expectations to bring the fullscreen tests in
line with the new behaviour prescribed by Feature Policy.
Specifically:
- Same origin iframes by default have the same ability to use
fullscreen as their parent frame. Tests which previously only used
same-origin frame have been changed to verify the new behaviour,
and new tests in LayoutTests/http/tests have been added to test the
same situation with cross-origin frames.
- Dynamic modification of the allowfullscreen flag has no effect until
the iframe contents are navigated/reloaded.
- Web platform tests are marked as failing, and should remain so until
the fullscreen spec is updated fo include the new behaviour.
- A new Browser test class is created which explicitly disables
feature policy so that we don't lose coverage for the old behaviour
when FP is disabled.
BUG= 718155, 623682
Review-Url: https://codereview.chromium.org/2898503002
Cr-Commit-Position: refs/heads/master@{#495331}
Committed: https://chromium.googlesource.com/chromium/src/+/5d8010e1fc081481d0646618e700b51a4699ab4c
Total comments: 8
Total comments: 29
Total comments: 12
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+321 lines, -120 lines) |
Patch |
|
M |
content/browser/site_per_process_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
3 chunks |
+25 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/FlagExpectations/enable-blink-features=LayoutNG
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/document-fullscreen-enabled-cross-origin.sub.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/document-fullscreen-enabled-cross-origin.sub-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/document-fullscreen-enabled-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/element-ready-check-allowed-cross-origin-manual.sub.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/element-ready-check-enabled-flag-not-set-manual.html
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+0 lines, -19 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/element-ready-check-not-allowed-cross-origin-manual.sub.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
|
A + |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/element-ready-check-not-allowed-manual.html
|
View
|
1
2
3
4
5
6
7
8
9
10
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/element-ready-check-not-allowed-manual-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/resources/attempt-fullscreen.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/external/wpt/fullscreen/api/resources/report-fullscreen-enabled.html
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/external/wpt_automation/fullscreen/auto-click.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+10 lines, -3 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fullscreen/full-screen-enabled-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy.html
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -23 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/fullscreen/full-screen-iframe-legacy-expected.txt
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-allowed-by-container-policy-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-allowed-by-container-policy-relocate-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-disabled-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-enabledforall-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
D |
third_party/WebKit/LayoutTests/http/tests/feature-policy/fullscreen-enabledforself-expected.txt
|
View
|
1
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/http/tests/fullscreen/resources/inner.html
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/http/tests/fullscreen/resources/legacy.html
|
View
|
1
2
3
4
5
6
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
|
A |
third_party/WebKit/LayoutTests/http/tests/fullscreen/resources/media-file.js
|
View
|
1
2
3
4
5
|
1 chunk |
+72 lines, -0 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/LayoutTests/resources/testharnessreport.js
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 70 (52 generated)
|