| Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4f8206f65f30511854b51ed7e9785dbed30d9f58
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<meta charset="utf-8">
|
| +<!-- Generate token with the command:
|
| +generate_token.py http://127.0.0.1:8000 ImageCapture --expire-timestamp=2000000000
|
| +-->
|
| +<meta http-equiv="origin-trial" content="AgnhzY0dhvMKsSPYNWHltCxTsLpVFzM/H0rZdpY4DeVo7ry4xm8VLRJU5aVLy+wSgnUa34pTTR017JFu4qnUAQwAAABUeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiSW1hZ2VDYXB0dXJlIiwgImV4cGlyeSI6IDIwMDAwMDAwMDB9" />
|
| +<title>ImageCapture - interfaces exposed by origin trial</title>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script src="../../resources/origin-trials-helper.js"></script>
|
| +<script>
|
| +test(t => {
|
| + var interfaces =
|
| + OriginTrialsHelper.get_interface_names(this, ['ImageCapture',
|
| + 'MediaSettingsRange',
|
| + 'PhotoCapabilities']);
|
| + console.log('Interfaces in document\n' + interfaces);
|
| +}, "ImageCapture related interfaces in Origin-Trial enabled document.");
|
| +</script>
|
|
|