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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-origin-trial-interfaces.html

Issue 2812223004: Adding an origin trial for Budget API (Closed)
Patch Set: Fix expected output for virtual LayoutTests Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-origin-trial-interfaces.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-origin-trial-interfaces.html b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-origin-trial-interfaces.html
new file mode 100644
index 0000000000000000000000000000000000000000..1a09f1683ee146a0ffe908b4b9038eccbee23440
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/http/tests/origin_trials/webexposed/budget-origin-trial-interfaces.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<html>
+ <head>
+ <!-- Generate token with the command:
+ generate_token.py http://127.0.0.1:8000 BudgetQuery --expire-timestamp=2000000000
+ -- -->
+ <meta http-equiv="origin-trial" content="AgFtR2Ps1Z9M/FW14Tgcwbajvq7kvzc/b1SPPSaaucG/P4ba6xC/69I9v8Pqx4wbsJINoqMabs9GE/LxOnPRfQIAAABTeyJvcmlnaW4iOiAiaHR0cDovLzEyNy4wLjAuMTo4MDAwIiwgImZlYXR1cmUiOiAiQnVkZ2V0UXVlcnkiLCAiZXhwaXJ5IjogMjAwMDAwMDAwMH0" />
+ <title>BudgetQuery : verifies interfaces in the origin trial.</title>
+ <script src="../../resources/testharness.js"></script>
+ <script src="../../resources/testharnessreport.js"></script>
+ </head>
+ <body>
+ <script>
+ test(function() {
+ assert_true('BudgetService' in self);
+ assert_own_property(BudgetService.prototype, 'getCost');
+ assert_own_property(BudgetService.prototype, 'getBudget');
+ }, 'BudgetService should have query interface available in a Document in an origin trial.');
+ </script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698