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

Unified Diff: third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/files/blob-constructor-expected.txt

Issue 2812833003: Revert of [SharedArrayBuffer] Prevent SharedArrayBuffer being used in Web APIs (Closed)
Patch Set: Created 3 years, 8 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/virtual/sharedarraybuffer/fast/files/blob-constructor-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/files/blob-constructor-expected.txt b/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/files/blob-constructor-expected.txt
deleted file mode 100644
index 195ef386008c3dd1c3214a3ae6575602d687fdf5..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/virtual/sharedarraybuffer/fast/files/blob-constructor-expected.txt
+++ /dev/null
@@ -1,96 +0,0 @@
-Test the Blob constructor.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS (new Blob()) instanceof window.Blob is true
-PASS (new Blob(undefined)) instanceof window.Blob is true
-PASS (new Blob([])) instanceof window.Blob is true
-PASS (new Blob(['hello'])) instanceof window.Blob is true
-PASS (new Blob(['hello'], {})) instanceof window.Blob is true
-PASS (new Blob(['hello'], {type:'text/html'})) instanceof window.Blob is true
-PASS (new Blob(['hello'], {type:'text/html', endings:'native'})) instanceof window.Blob is true
-PASS (new Blob(['hello'], {type:'text/html', endings:'transparent'})) instanceof window.Blob is true
-PASS (new Blob()).size is 0
-PASS (new Blob(undefined)).size is 0
-PASS (new Blob()).type is ""
-PASS (new Blob(undefined)).type is ""
-PASS new Blob('hello') threw exception TypeError: Failed to construct 'Blob': The 1st argument is neither an array, nor does it have indexed properties..
-PASS new Blob(0) threw exception TypeError: Failed to construct 'Blob': The 1st argument is neither an array, nor does it have indexed properties..
-PASS new Blob(null) threw exception TypeError: Failed to construct 'Blob': The 1st argument is neither an array, nor does it have indexed properties..
-PASS (new Blob([])) instanceof window.Blob is true
-PASS (new Blob(['stringPrimitive'])) instanceof window.Blob is true
-PASS (new Blob([String('stringObject')])) instanceof window.Blob is true
-PASS (new Blob([new Blob])) instanceof window.Blob is true
-PASS (new Blob([new Blob([new Blob])])) instanceof window.Blob is true
-PASS (new Blob([12])).size is 2
-PASS (new Blob([[]])).size is 0
-PASS (new Blob([{}])).size is 15
-PASS (new Blob([document])).size is 21
-PASS (new Blob([toStringingObj])).size is 8
-PASS new Blob([throwingObj]) threw exception Error.
-PASS (new Blob([], {unknownKey:'value'})) instanceof window.Blob is true
-PASS new Blob([], {endings:'illegalValue'}) threw exception TypeError: Failed to construct 'Blob': The provided value 'illegalValue' is not a valid enum value of type NormalizeLineEndings..
-PASS new Blob([], {endings:throwingObj}) threw exception Error.
-PASS new Blob([], {type:throwingObj}) threw exception Error.
-PASS new Blob([], {endings:throwingObj1, type:throwingObj2}) threw exception Error 1.
-PASS new Blob([], {type:throwingObj2, endings:throwingObj1}) threw exception Error 1.
-PASS new Blob([], {type:throwingObj2, endings:'illegal'}) threw exception TypeError: Failed to construct 'Blob': The provided value 'illegal' is not a valid enum value of type NormalizeLineEndings..
-PASS new Blob([], {type:'hello\u00EE'}).type is ""
-PASS new Blob([], {type:'hello\u001F'}).type is ""
-PASS new Blob([], {type:'hello\u007F'}).type is ""
-PASS new Blob([], {type:'ABC/abc'}).type is "abc/abc"
-PASS new Blob([], {type:'123ABCabc'}).type is "123abcabc"
-PASS (new Blob([], null)) instanceof window.Blob is true
-PASS (new Blob([], undefined)) instanceof window.Blob is true
-PASS (new Blob([], 123)) instanceof window.Blob threw exception TypeError: Failed to construct 'Blob': parameter 2 ('options') is not an object..
-PASS (new Blob([], 123.4)) instanceof window.Blob threw exception TypeError: Failed to construct 'Blob': parameter 2 ('options') is not an object..
-PASS (new Blob([], true)) instanceof window.Blob threw exception TypeError: Failed to construct 'Blob': parameter 2 ('options') is not an object..
-PASS (new Blob([], 'abc')) instanceof window.Blob threw exception TypeError: Failed to construct 'Blob': parameter 2 ('options') is not an object..
-PASS (new Blob([], [])) instanceof window.Blob is true
-PASS (new Blob([], /abc/)) instanceof window.Blob is true
-PASS (new Blob([], function () {})) instanceof window.Blob is true
-PASS (new Blob([], {type:'text/html'})).type is 'text/html'
-PASS (new Blob([], {type:'text/html'})).size is 0
-PASS (new Blob([], {type:'text/plain;charset=UTF-8'})).type is 'text/plain;charset=utf-8'
-PASS (new Blob([])).lastModified is undefined
-PASS (new Blob([], {})).lastModified is undefined
-PASS (new Blob([], {lastModified: new Date()})).lastModified is undefined
-PASS window.Blob.length is 0
-PASS new Blob([new DataView(new ArrayBuffer(100))]).size is 100
-PASS new Blob([new Uint8Array(100)]).size is 100
-PASS new Blob([new Uint8ClampedArray(100)]).size is 100
-PASS new Blob([new Uint16Array(100)]).size is 200
-PASS new Blob([new Uint32Array(100)]).size is 400
-PASS new Blob([new Int8Array(100)]).size is 100
-PASS new Blob([new Int16Array(100)]).size is 200
-PASS new Blob([new Int32Array(100)]).size is 400
-PASS new Blob([new Float32Array(100)]).size is 400
-PASS new Blob([new Float64Array(100)]).size is 800
-PASS new Blob([new Float64Array(100), new Int32Array(100), new Uint8Array(100), new DataView(new ArrayBuffer(100))]).size is 1400
-PASS new Blob([new Blob([new Int32Array(100)]), new Uint8Array(100), new Float32Array(100), new DataView(new ArrayBuffer(100))]).size is 1000
-PASS new Blob([(new DataView(new ArrayBuffer(100))).buffer]).size is 100
-PASS new Blob([(new Uint8Array(100)).buffer]).size is 100
-PASS new Blob([(new Uint8ClampedArray(100)).buffer]).size is 100
-PASS new Blob([(new Uint16Array(100)).buffer]).size is 200
-PASS new Blob([(new Uint32Array(100)).buffer]).size is 400
-PASS new Blob([(new Int8Array(100)).buffer]).size is 100
-PASS new Blob([(new Int16Array(100)).buffer]).size is 200
-PASS new Blob([(new Int32Array(100)).buffer]).size is 400
-PASS new Blob([(new Float32Array(100)).buffer]).size is 400
-PASS new Blob([(new Float64Array(100)).buffer]).size is 800
-PASS new Blob([(new Float64Array(100)).buffer, (new Int32Array(100)).buffer, (new Uint8Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer]).size is 1400
-PASS new Blob([new Blob([(new Int32Array(100)).buffer]), (new Uint8Array(100)).buffer, (new Float32Array(100)).buffer, (new DataView(new ArrayBuffer(100))).buffer]).size is 1000
-PASS new Blob([new Uint8Array(new SharedArrayBuffer(4))]) threw exception TypeError: Failed to construct 'Blob': The provided ArrayBufferView value must not be shared..
-PASS new Blob({length: 0}).size is 0
-PASS new Blob({length: 1, 0: 'string'}).size is 6
-PASS OMICRON_WITH_OXIA.charCodeAt(0) is 0x1F79
-PASS reader.result.charCodeAt(0) is 0x1F79
-PASS CONTAINS_UNPAIRED_SURROGATES.charCodeAt(3) is 0xDC00
-PASS CONTAINS_UNPAIRED_SURROGATES.charCodeAt(7) is 0xD800
-PASS reader.result.charCodeAt(3) is 0xFFFD
-PASS reader.result.charCodeAt(7) is 0xFFFD
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Powered by Google App Engine
This is Rietveld 408576698