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/media/encrypted-media/encrypted-media-unique-origin.html

Issue 2470363004: EME: Fix promise_test() to actually return a promise. (Closed)
Patch Set: remove expected.txt file Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unique-origin-expected.txt » ('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-unique-origin.html
diff --git a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unique-origin.html b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unique-origin.html
index 9011a4348920f10dd31fcef5e417aa872f0571a5..4492bde4406bf41d2b837831c372226161c833c7 100644
--- a/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unique-origin.html
+++ b/third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unique-origin.html
@@ -51,7 +51,7 @@
'<\/script>';
// Verify that this page can create a MediaKeys first.
- navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{
+ return navigator.requestMediaKeySystemAccess('org.w3.clearkey', [{
initDataTypes: [ 'keyids' ],
audioCapabilities: [
{ contentType: 'audio/mp4; codecs="mp4a.40.2"' },
@@ -61,7 +61,7 @@
return access.createMediaKeys();
}).then(function(mediaKeys) {
// Success, so now create the iframe and try there.
- return load_iframe(script, 'allow-scripts')
+ return load_iframe(script, 'allow-scripts');
}).then(function(iframe) {
iframe.contentWindow.postMessage({}, '*');
return wait_for_message();
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/media/encrypted-media/encrypted-media-unique-origin-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698