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

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

Issue 2869793003: Remove the interface tests for Push Messaging (Closed)
Patch Set: rebase Created 3 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/push_messaging/interfaces.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/push_messaging/interfaces.html b/third_party/WebKit/LayoutTests/http/tests/push_messaging/interfaces.html
deleted file mode 100644
index 357725825fb2a8a5518aa0632b82b608c561312f..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/push_messaging/interfaces.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>Push API: Verifies that the right Push 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>
- // Tests that the expected Push API interfaces are being exposed on both
- // the Service Worker and Document global scopes.
- service_worker_test(
- 'resources/interfaces-worker.js',
- 'Exposure of interfaces in a Service Worker.');
-
- test(function() {
- assert_own_property(self, 'PushManager', 'PushManager needs to be exposed as a global.');
-
- assert_own_property(PushManager, 'supportedContentEncodings');
-
- assert_own_property(PushManager.prototype, 'subscribe');
- assert_own_property(PushManager.prototype, 'getSubscription');
- assert_own_property(PushManager.prototype, 'permissionState');
-
- }, 'PushManager should be exposed and have the expected interface in a Document.');
-
- test(function() {
- assert_own_property(self, 'PushSubscription', 'PushSubscription needs to be exposed as a global.');
-
- assert_own_property(PushSubscription.prototype, 'endpoint');
-
- assert_own_property(PushSubscription.prototype, 'getKey');
- assert_own_property(PushSubscription.prototype, 'unsubscribe');
-
- }, 'PushSubscription should be exposed and have the expected interface in a Document.');
- </script>
- </body>
-</html>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/push_messaging/resources/interfaces-worker.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698