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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/budget/interfaces.html

Issue 2578513002: Expose BudgetState interface to Workers. (Closed)
Patch Set: Created 4 years 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/budget/interfaces.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/budget/interfaces.html b/third_party/WebKit/LayoutTests/http/tests/budget/interfaces.html
index e1563ad8902a82eb31266ec816d1efcb5a9a9b68..549e6b1b1afae8083af764157b4c753edf33adff 100644
--- a/third_party/WebKit/LayoutTests/http/tests/budget/interfaces.html
+++ b/third_party/WebKit/LayoutTests/http/tests/budget/interfaces.html
@@ -9,11 +9,14 @@
<script>
test(function() {
assert_own_property(Navigator.prototype, 'budget');
+ assert_true('BudgetService' in self);
assert_own_property(BudgetService.prototype, 'getCost');
assert_own_property(BudgetService.prototype, 'getBudget');
assert_own_property(BudgetService.prototype, 'reserve');
+ assert_true('BudgetState' in self);
+ assert_own_property(BudgetState.prototype, 'budgetAt');
+ assert_own_property(BudgetState.prototype, 'time');
assert_equals(navigator.budget, navigator.budget);
- assert_true('BudgetService' in self);
}, 'NavigatorBudget should be exposed and have the expected interface in a Document.');
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698