blob: da82806349a7931cc63593a150a2eeed29e9f082 [file] [log] [blame]
hitoshi9dcf2232014-04-01 04:29:481<!doctype html>
2<html>
3<head>
4 <meta charset='utf-8'>
hitoshia4fd5842014-04-11 18:40:125 <title>URL.createObjectURL(mediaSource)</title>
hitoshi9dcf2232014-04-01 04:29:486 <script src="/resources/testharness.js"></script>
7 <script src="/resources/testharnessreport.js"></script>
8</head>
9<body>
hitoshi9dcf2232014-04-01 04:29:4810<div id="log"></div>
hitoshi9dcf2232014-04-01 04:29:4811<script>
12test(function() {
13 var mediaSource = new MediaSource();
14 var url = window.URL.createObjectURL(mediaSource);
hitoshia4fd5842014-04-11 18:40:1215 assert_true(url != null);
16 assert_true(url.match(/^blob:.+/) != null);
17}, "URL.createObjectURL(mediaSource) should return a unique Blob URI.");
hitoshi9dcf2232014-04-01 04:29:4818</script>
19</body>
20</html>