| Index: third_party/WebKit/LayoutTests/fast/files/file-constructor.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/files/file-constructor.html b/third_party/WebKit/LayoutTests/fast/files/file-constructor.html
|
| index f634db7d7750c47089f34b20d8028339ac706848..4b6c61db36f91a8077b642181c21c12cf412018a 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/files/file-constructor.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/files/file-constructor.html
|
| @@ -9,8 +9,6 @@ shouldBeTrue("(new File([], 'world.html')) instanceof window.File");
|
| shouldBeTrue("(new File(['hello'], 'world.html')) instanceof window.File");
|
| shouldBeTrue("(new File(['hello'], 'world.html', {})) instanceof window.File");
|
| shouldBeTrue("(new File(['hello'], 'world.html', {type:'text/html'})) instanceof window.File");
|
| -shouldBeTrue("(new File(['hello'], 'world.html', {type:'text/html', endings:'native'})) instanceof window.File");
|
| -shouldBeTrue("(new File(['hello'], 'world.html', {type:'text/html', endings:'transparent'})) instanceof window.File");
|
|
|
| // Test that File inherits from File.
|
| shouldBeTrue("(new File([], 'world.html')) instanceof window.File")
|
| @@ -66,8 +64,8 @@ shouldThrow("(new File([], throwingObj)).name", "'Error'");
|
|
|
| // Test some invalid property bags.
|
| shouldBeTrue("(new File([], 'world.html', {unknownKey:'value'})) instanceof window.File"); // Ignore invalid keys
|
| -shouldThrow("new File([], 'world.html', {endings:'illegalValue'})", "'TypeError: Failed to construct \\'File\\': The provided value \\'illegalValue\\' is not a valid enum value of type NormalizeLineEndings.'");
|
| -shouldThrow("new File([], 'world.html', {endings:throwingObj})", "'Error'");
|
| +shouldNotThrow("new File([], 'world.html', {endings:'illegalValue'})");
|
| +shouldNotThrow("new File([], 'world.html', {endings:throwingObj})");
|
| shouldThrow("new File([], 'world.html', {type:throwingObj})", "'Error'");
|
| shouldThrow("new File([], 'world.html', {type:'hello\u00EE'})", "'SyntaxError: Failed to construct \\'File\\': The \\'type\\' property must consist of ASCII characters.'");
|
|
|
|
|