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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-no-manifest-in-service-worker.html

Issue 2411733002: Check the format of an applicationServerKey when used to register a push subscription. (Closed)
Patch Set: More formatting Created 4 years, 2 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: third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-no-manifest-in-service-worker.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-no-manifest-in-service-worker.html b/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-no-manifest-in-service-worker.html
index bfe9ed86cdbcc895eaeb88f10a5472318d72e6c0..efa132e0e34a57f80b53fc62ba5d841038e8bb25 100644
--- a/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-no-manifest-in-service-worker.html
+++ b/third_party/WebKit/LayoutTests/http/tests/push_messaging/subscribe-failure-no-manifest-in-service-worker.html
@@ -20,9 +20,10 @@ async_test(function(test) {
getActiveServiceWorkerWithMessagePort(test, script, scope)
.then(function(workerInfo) {
- // Call subscribe in service worker context. It will fail because although the sender
- // id has been specified in the manifest, the manifest cannot be read in a service
- // worker context, and no previous subscription will exist from a document context.
+ // Call subscribe in service worker context. It will fail because
+ // although the sender id has been specified in the manifest, the
+ // manifest cannot be read in a service worker context, and no
+ // previous subscription will exist from a document context.
workerInfo.port.postMessage({command: 'subscribe'});
workerInfo.port.addEventListener('message', function(event) {

Powered by Google App Engine
This is Rietveld 408576698