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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/push_messaging/pushmanager-supported-content-encodings.html

Issue 2892033002: Enable support for draft-ietf-webpush-encryption-08 (Closed)
Patch Set: Enable support for draft-ietf-webpush-encryption-08 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
Index: third_party/WebKit/LayoutTests/http/tests/push_messaging/pushmanager-supported-content-encodings.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/push_messaging/pushmanager-supported-content-encodings.html b/third_party/WebKit/LayoutTests/http/tests/push_messaging/pushmanager-supported-content-encodings.html
index 27fcc9e66422cef8365fa626afcc2d80b2ebfe65..27b8ad3178866f75583cfb91bc9a9e68169c254f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/push_messaging/pushmanager-supported-content-encodings.html
+++ b/third_party/WebKit/LayoutTests/http/tests/push_messaging/pushmanager-supported-content-encodings.html
@@ -17,9 +17,12 @@
assert_equals(PushManager.supportedContentEncodings, PushManager.supportedContentEncodings);
assert_true(Array.isArray(PushManager.supportedContentEncodings));
- // TODO(crbug.com/679789): The `aes128gcm` Content-Encoding must be supported as well.
- assert_equals(PushManager.supportedContentEncodings.length, 1);
- assert_equals(PushManager.supportedContentEncodings[0], 'aesgcm');
+ assert_equals(PushManager.supportedContentEncodings.length, 2);
+
+ const encodings = Array.from(PushManager.supportedContentEncodings).sort();
+
+ assert_equals(encodings[0], 'aes128gcm');
+ assert_equals(encodings[1], 'aesgcm');
});
</script>
</body>
« no previous file with comments | « components/gcm_driver/gcm_stats_recorder_impl.cc ('k') | third_party/WebKit/Source/modules/push_messaging/PushManager.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698