Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <title>Budget API: Verifies that the right Budget API interfaces get exposed .</title> | |
| 5 <script src="../resources/testharness.js"></script> | |
| 6 <script src="../resources/testharnessreport.js"></script> | |
| 7 <script src="../serviceworker/resources/test-helpers.js"></script> | |
| 8 </head> | |
| 9 <body> | |
| 10 <script> | |
| 11 test(function() { | |
| 12 assert_own_property(Navigator.prototype, 'getCost'); | |
| 13 assert_own_property(Navigator.prototype, 'getBudget'); | |
| 14 assert_own_property(Navigator.prototype, 'getBudgetDetails'); | |
|
Peter Beverloo
2016/07/01 13:21:59
nit: You could reject the promises for now rather
harkness
2016/07/20 09:41:47
Done.
| |
| 15 | |
| 16 }, 'NavigatorBudget should be exposed and have the expected interface in a Document.'); | |
| 17 </script> | |
| 18 </body> | |
| 19 </html> | |
| OLD | NEW |