From f1dcd007cd24a9280a31afecfae35618892703b6 Mon Sep 17 00:00:00 2001 From: Bryce Van Dyk Date: Fri, 21 Jul 2017 15:59:27 +1200 Subject: [PATCH] Bug 1371166 - Update media recorder principal test to behave more like MediaElement principal test. r=jib Update the MediaRecorder principal test to behave more like test_mixed_principals.html. This involves preloading metadata and using a longer video to test with. This particular combination currently results in multiple requests being made for the resource, however this is not a robust solution in that the behaviour of the MediaCache and associated objects may change and break this. This fixes the issue for now as best I can tell, but a follow up gtest or may be a more sensible long term solution. MozReview-Commit-ID: F9gnnzGt3Cu --HG-- extra : rebase_source : 73f56e256c21f5a775e0fa2a32606d7f7553bd4e --- .../test/test_mediarecorder_principals.html | 62 +++++++++---------- 1 file changed, 29 insertions(+), 33 deletions(-) diff --git a/dom/media/test/test_mediarecorder_principals.html b/dom/media/test/test_mediarecorder_principals.html index 3c09a7b10058..0496c71ffdd7 100644 --- a/dom/media/test/test_mediarecorder_principals.html +++ b/dom/media/test/test_mediarecorder_principals.html @@ -15,25 +15,26 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=489415 Test for MediaRecorder Principal Handling - - + +