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> |