From 0e19d0c2aa8b190545b11b55f0eb18037ed08286 Mon Sep 17 00:00:00 2001 From: "houssainy@google.com" Date: Thu, 23 Oct 2014 15:41:30 +0000 Subject: [PATCH] Adding file from test.webrtc.org domain to be downloaded This has been configured to allow cross domain to access this generated file: https://test.webrtc.org/test-download-file/9000KB.data R=andresp@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25939004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7509 4adac7df-926f-26a2-2b94-8c16560cd09d --- .../rtcbot/test/oneWayVideoStreamingWithDownloadingFile.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/webrtc/tools/rtcbot/test/oneWayVideoStreamingWithDownloadingFile.js b/webrtc/tools/rtcbot/test/oneWayVideoStreamingWithDownloadingFile.js index 8ebad874d..857d838b6 100644 --- a/webrtc/tools/rtcbot/test/oneWayVideoStreamingWithDownloadingFile.js +++ b/webrtc/tools/rtcbot/test/oneWayVideoStreamingWithDownloadingFile.js @@ -15,11 +15,6 @@ // // Note: the source of the video and audio stream is getUserMedia(). // -// // TODO(houssainy) -// This test is still not working properly because we still missing the -// Cross-Origin Resource Sharing (CORS) to be able to download the file -// from non localhost domain. -// function testOneWayVideoWithDownloading(test, bot1, bot2) { var report = test.createStatisticsReport("testOneWayVideoWithDownloading"); @@ -112,7 +107,7 @@ function testOneWayVideoWithDownloading(test, bot1, bot2) { } function downloadFile(bot, name) { - bot.downloadFile("http://test-needs-a-file-server", + bot.downloadFile("https://test.webrtc.org/test-download-file/9000KB.data", onDownloadSuccess.bind(null, name), test.fail); function onDownloadSuccess(name, data) {