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

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

Issue 1437883002: [Background Sync] Align exposed API with spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src@remove-periodic
Patch Set: Rebase Created 5 years, 1 month 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/background_sync/interfaces.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/background_sync/interfaces.html b/third_party/WebKit/LayoutTests/http/tests/background_sync/interfaces.html
index c5d4e1b281b8d20243ef0841c79b8205f119c41a..d183f40380d4671f3c89c114aa11f4ffadd46399 100644
--- a/third_party/WebKit/LayoutTests/http/tests/background_sync/interfaces.html
+++ b/third_party/WebKit/LayoutTests/http/tests/background_sync/interfaces.html
@@ -18,23 +18,9 @@
assert_own_property(self, 'SyncManager', 'SyncManager needs to be exposed as a global.');
assert_own_property(SyncManager.prototype, 'register');
- assert_own_property(SyncManager.prototype, 'getRegistration');
- assert_own_property(SyncManager.prototype, 'getRegistrations');
- assert_own_property(SyncManager.prototype, 'permissionState');
+ assert_own_property(SyncManager.prototype, 'getTags');
}, 'SyncManager should be exposed and have the expected interface in a Document.');
-
- test(function() {
- assert_own_property(self, 'SyncRegistration', 'SyncRegistration needs to be exposed as a global.');
-
- // FIXME: Assert existence of the attributes when they are properly
- // exposed in the prototype chain. https://crbug.com/43394
-
- assert_own_property(SyncRegistration.prototype, 'finished');
- assert_own_property(SyncRegistration.prototype, 'unregister');
- assert_own_property(SyncRegistration.prototype, 'tag');
-
- }, 'SyncRegistration should be exposed and have the expected interface in a Document.');
</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698