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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/resources/budget-api-origin-trial-interfaces-worker-enabled.php

Issue 2891953002: Ship and experiment with the Budget API (Closed)
Patch Set: one more result file Created 3 years, 6 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 <?php
2 // Generate token with the command:
3 // generate_token.py http://127.0.0.1:8000 BudgetQuery --expire-timestamp=200000 0000
4 header("Origin-Trial: AgFtR2Ps1Z9M/FW14Tgcwbajvq7kvzc/b1SPPSaaucG/P4ba6xC/69I9v8 Pqx4wbsJINoqMabs9GE/LxOnPRfQIAAABTeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIi wgImZlYXR1cmUiOiAiQnVkZ2V0UXVlcnkiLCAiZXhwaXJ5IjogMjAwMDAwMDAwMH0");
5 header('Content-Type: application/javascript');
6 ?>
7 importScripts('../../../resources/testharness.js');
8 importScripts('../../../resources/origin-trials-helper.js');
9
10 test(t => {
11 OriginTrialsHelper.check_properties(this, {'BudgetService': ['getBudget', 'get Cost']});
12 }, 'Budget API related properties on interfaces in Origin-Trial enabled Service Worker.');
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698