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 08ddead83288bd259c532e6259205c40c811dd30..e51597f25241e1376b342519adc7d2e865bd1efb 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 |
@@ -26,7 +26,7 @@ |
return new Promise(function(resolve) { |
self.addEventListener('message', function listener(e) { |
resolve(e.data); |
- self.removeEventListener(listener); |
+ self.removeEventListener('message', listener); |
}); |
}); |
} |