Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Unified Diff: third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt

Issue 2147633002: Remove nonstandard 'endings' option for Blob/File constructor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt b/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt
index c55f69d96dbefbedbcacb5f6debfc5f0aa090eed..b52d1626f3b9e0cdc77ccdb64e077e2f353b25d7 100644
--- a/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/files/file-constructor-expected.txt
@@ -7,8 +7,6 @@ PASS (new File([], 'world.html')) instanceof window.File is true
PASS (new File(['hello'], 'world.html')) instanceof window.File is true
PASS (new File(['hello'], 'world.html', {})) instanceof window.File is true
PASS (new File(['hello'], 'world.html', {type:'text/html'})) instanceof window.File is true
-PASS (new File(['hello'], 'world.html', {type:'text/html', endings:'native'})) instanceof window.File is true
-PASS (new File(['hello'], 'world.html', {type:'text/html', endings:'transparent'})) instanceof window.File is true
PASS (new File([], 'world.html')) instanceof window.File is true
PASS (new File()) threw exception TypeError: Failed to construct 'File': 2 arguments required, but only 0 present..
PASS (new File([])) threw exception TypeError: Failed to construct 'File': 2 arguments required, but only 1 present..
@@ -42,8 +40,6 @@ PASS (new File([], document)).name is '[object HTMLDocument]'
PASS (new File([], toStringingObj)).name is 'A string'
PASS (new File([], throwingObj)).name threw exception Error.
PASS (new File([], 'world.html', {unknownKey:'value'})) instanceof window.File is true
-PASS new File([], 'world.html', {endings:'illegalValue'}) threw exception TypeError: Failed to construct 'File': The provided value 'illegalValue' is not a valid enum value of type NormalizeLineEndings..
-PASS new File([], 'world.html', {endings:throwingObj}) threw exception Error.
PASS new File([], 'world.html', {type:throwingObj}) threw exception Error.
PASS new File([], 'world.html', {type:'helloĆ®'}) threw exception SyntaxError: Failed to construct 'File': The 'type' property must consist of ASCII characters..
PASS (new File([], 'world.html', null)) instanceof window.File is true

Powered by Google App Engine
This is Rietveld 408576698