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

Unified Diff: LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html

Issue 335293003: Add slots for navigator.serviceWorker.installing and active. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html
diff --git a/LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html b/LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html
index 73d520deef1ac62b1d3ee8dda293a5274f75f04c..52cbac308a1020f82e8e25df23e81d38e23977cc 100644
--- a/LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html
+++ b/LayoutTests/fast/serviceworker/serviceworkercontainer-interface.html
@@ -17,8 +17,10 @@ test(function() {
assert_throws(null, function() { ServiceWorkerContainer(); },
'the constructor should not be callable');
- var descriptor = getPropertyDescriptor('waiting');
- assert_false(descriptor.configurable,
- 'the waiting property should be Unforgeable');
+ ['active', 'waiting', 'installing', 'controller'].forEach(function(property) {
+ var descriptor = getPropertyDescriptor(property);
+ assert_false(descriptor.configurable,
+ 'the ' + property + ' property should be Unforgeable');
+ });
}, 'ServiceWorkerContainer interface');
</script>

Powered by Google App Engine
This is Rietveld 408576698