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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-disabled.php

Issue 2618383002: Initial implementation for feature policy - PaymentRequest (Closed)
Patch Set: Codereivew: made assert_unreached Error message more explicit in payment-disabled.php test Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-disabled-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?php
2 // Copyright 2016 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file.
5
6 // This test ensures that payment feature when disabled may not be called by
7 // any iframe even when allowpaymentrequest is set.
8
9 Header("Feature-Policy: {\"payment\": []}");
10 ?>
11
12 <!DOCTYPE html>
13 <script src="../../resources/testharness.js"></script>
14 <script src="../../resources/testharnessreport.js"></script>
15 <script>
16 if (window.testRunner) {
17 testRunner.dumpAsText();
18 testRunner.dumpChildFramesAsText();
19 }
20 </script>
21 <iframe id="f1" src="resources/feature-policy-payment-disabled.html"></iframe>
22 <iframe id="f2" src="http://localhost:8000/feature-policy/resources/feature-poli cy-payment-disabled.html"></iframe>
23 <iframe id="f3" src="resources/feature-policy-payment-disabled.html" allowpaymen trequest></iframe>
24 <iframe id="f4" src="http://localhost:8000/feature-policy/resources/feature-poli cy-payment-disabled.html" allowpaymentrequest></iframe>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/feature-policy/payment-disabled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698