| Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-after-head.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-enabled.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-after-head.html
|
| similarity index 87%
|
| copy from third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-enabled.html
|
| copy to third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-after-head.html
|
| index bcad26b4aab93fea1e268fd573f4ff16620d88b0..df6cd3991444996e821e04500283d2158e30f0e0 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-enabled.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/sample-api-after-head.html
|
| @@ -1,17 +1,18 @@
|
| <!DOCTYPE html>
|
| <meta charset="utf-8">
|
| -<!-- TODO(iclelland): Generate this sample token during the build. The token
|
| - below will expire in 2033, but it would be better to always have a token which
|
| - is guaranteed to be valid when the tests are run. -->
|
| -<meta http-equiv="origin-trial" content="1|tZPW/JJ2Sxm4z7k/Eb1/upMsppozWpTwEuGwhgQko0zWS6ebvjQ+EXPP/ftoMX8/PCoDgOS3xlrXElMgDDvbCg==|http://127.0.0.1:8000|Frobulate|2000000000">
|
| <title>Test Sample API when trial is enabled</title>
|
| <script src="../resources/testharness.js"></script>
|
| <script src="../resources/testharness-helpers.js"></script>
|
| <script src="../resources/testharnessreport.js"></script>
|
| <script src="resources/origin_trials.js"></script>
|
| +<body>
|
| +<!-- TODO(iclelland): Generate this sample token during the build. The token
|
| + below will expire in 2033, but it would be better to always have a token which
|
| + is guaranteed to be valid when the tests are run. -->
|
| +<meta http-equiv="origin-trial" content="1|tZPW/JJ2Sxm4z7k/Eb1/upMsppozWpTwEuGwhgQko0zWS6ebvjQ+EXPP/ftoMX8/PCoDgOS3xlrXElMgDDvbCg==|http://127.0.0.1:8000|Frobulate|2000000000">
|
| <script>
|
|
|
| -// The trial is enabled by the token above in the meta tag.
|
| -expect_success();
|
| +// The trial is disabled, as the token was added outside of the document <head>.
|
| +expect_failure();
|
|
|
| </script>
|
|
|