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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/imagecapture-origin-trial-interfaces.html

Issue 2640823004: Allow origin trials to be enabled by script (Closed)
Patch Set: Rebase Created 3 years, 10 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <meta charset="utf-8">
3 <!-- Generate token with the command:
4 generate_token.py http://127.0.0.1:8000 ImageCapture --expire-timestamp=2000000 000
5 -->
6 <meta http-equiv="origin-trial" content="AgnhzY0dhvMKsSPYNWHltCxTsLpVFzM/H0rZdpY 4DeVo7ry4xm8VLRJU5aVLy+wSgnUa34pTTR017JFu4qnUAQwAAABUeyJvcmlnaW4iOiAiaHR0cDovLzE yNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiSW1hZ2VDYXB0dXJlIiwgImV4cGlyeSI6IDIwMDAwMDA wMDB9" />
7 <title>ImageCapture - interfaces exposed by origin trial</title>
8 <script src="../../resources/testharness.js"></script>
9 <script src="../../resources/testharnessreport.js"></script>
10 <script src="../../resources/origin-trials-helper.js"></script>
11 <script>
12 test(t => {
13 var interfaces =
14 OriginTrialsHelper.get_interface_names(this, ['ImageCapture',
15 'MediaSettingsRange',
16 'PhotoCapabilities']);
17 console.log('Interfaces in document\n' + interfaces);
18 }, "ImageCapture related interfaces in Origin-Trial enabled document.");
19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698