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
This commit is contained in:
parent
580d367b14
commit
0e19d0c2aa
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user