Index: third_party/WebKit/LayoutTests/http/tests/budget_service/interfaces.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/budget_service/interfaces.html b/third_party/WebKit/LayoutTests/http/tests/budget_service/interfaces.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d35d349c6c2e25e73df13487fd77346576557d09 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/budget_service/interfaces.html |
@@ -0,0 +1,18 @@ |
+<!doctype html> |
+<html> |
+ <head> |
+ <title>Budget API: Verifies that the right Budget API interfaces get exposed.</title> |
+ <script src="../resources/testharness.js"></script> |
+ <script src="../resources/testharnessreport.js"></script> |
+ <script src="../serviceworker/resources/test-helpers.js"></script> |
+ </head> |
+ <body> |
+ <script> |
+ test(function() { |
+ assert_own_property(Navigator.prototype, 'getCost'); |
+ assert_own_property(Navigator.prototype, 'getBudget'); |
+ |
+ }, 'NavigatorBudget should be exposed and have the expected interface in a Document.'); |
+ </script> |
+ </body> |
+</html> |