| Index: third_party/WebKit/LayoutTests/media/mediasession/mediaimage.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/mediasession/mediaimage.html b/third_party/WebKit/LayoutTests/media/mediasession/mediaimage.html
|
| deleted file mode 100644
|
| index 4effd81d8db24e8111c5c6ca1e3b383f19a1f9f7..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/media/mediasession/mediaimage.html
|
| +++ /dev/null
|
| @@ -1,46 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<title>MediaImage interface</title>
|
| -<script src="../../resources/testharness.js"></script>
|
| -<script src="../../resources/testharnessreport.js"></script>
|
| -<script>
|
| - test(function() {
|
| - var image = new MediaImage({});
|
| - assert_not_equals(image, null);
|
| -
|
| - var exception = false;
|
| - try {
|
| - image = new MediaImage("foobar");
|
| - } catch (e) {
|
| - exception = true;
|
| - }
|
| - assert_true(exception);
|
| -
|
| - exception = false;
|
| - try {
|
| - image = new MediaImage(42);
|
| - } catch (e) {
|
| - exception = true;
|
| - }
|
| - assert_true(exception);
|
| - }, 'Test that MediaImage is constructed using a dictionary');
|
| -
|
| -test (function() {
|
| - var image = new MediaImage({
|
| - src: 'foo', sizes: 'bar', type: 'plop'});
|
| - assert_greater_than(image.src.indexOf('foo'), -1);
|
| - assert_equals(image.sizes, 'bar');
|
| - assert_equals(image.type, 'plop');
|
| -}, 'Test the different values allowed in MediaImage init dictionary');
|
| -
|
| -test (function() {
|
| - var image = new MediaImage({});
|
| - assert_equals(image.src, document.URL);
|
| - assert_equals(image.sizes, '');
|
| - assert_equals(image.type, '');
|
| -}, 'Test the default values for MediaImage');
|
| -
|
| -test (function() {
|
| - var image = new MediaMetadata({ randomValueThatWillNotBeAdded: '... hopefully ;)' });
|
| - assert_equals(image.randomValueThatWillNotBeAdded, undefined);
|
| -}, 'Test that passing unknown values to the dictionary is a no-op');
|
| -</script>
|
|
|