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

Unified Diff: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-async-setcert-with-gc.html

Issue 2056053003: Change MediaKeys.setServerCertificate() to return Promise<boolean> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-syntax.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-async-setcert-with-gc.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-async-setcert-with-gc.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-async-setcert-with-gc.html
index 8e3058b7c3dde38f4aeb8cc134e2e96adf5e637f..98e66e7a5c683d72368587343d6166906bed1801 100644
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-async-setcert-with-gc.html
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-async-setcert-with-gc.html
@@ -19,11 +19,8 @@
}).then(function(mediaKeys) {
var cert = new Uint8Array(200);
return mediaKeys.setServerCertificate(cert);
- }).then(function() {
- assert_unreached('setServerCertificate() did not fail');
- }, function(e) {
- assert_equals(e.name, 'NotSupportedError');
- return Promise.resolve();
+ }).then(function(result) {
+ assert_false(result);
});
}, 'Test asynchronous setServerCertificate while running garbage collection.');
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-syntax.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698