summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/FileAPI
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/web-platform/meta/FileAPI
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/meta/FileAPI')
-rw-r--r--testing/web-platform/meta/FileAPI/blob/Blob-close.html.ini5
-rw-r--r--testing/web-platform/meta/FileAPI/blob/Blob-constructor.html.ini56
-rw-r--r--testing/web-platform/meta/FileAPI/blob/Blob-slice.html.ini80
-rw-r--r--testing/web-platform/meta/FileAPI/file/File-constructor.html.ini11
-rw-r--r--testing/web-platform/meta/FileAPI/historical.html.ini5
-rw-r--r--testing/web-platform/meta/FileAPI/idlharness.html.ini41
-rw-r--r--testing/web-platform/meta/FileAPI/idlharness.worker.js.ini56
-rw-r--r--testing/web-platform/meta/FileAPI/reading-data-section/FileReader-multiple-reads.html.ini17
-rw-r--r--testing/web-platform/meta/FileAPI/reading-data-section/filereader_abort.html.ini5
-rw-r--r--testing/web-platform/meta/FileAPI/url/url_createobjecturl_blob.html.ini5
10 files changed, 281 insertions, 0 deletions
diff --git a/testing/web-platform/meta/FileAPI/blob/Blob-close.html.ini b/testing/web-platform/meta/FileAPI/blob/Blob-close.html.ini
new file mode 100644
index 000000000..644f864f5
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/blob/Blob-close.html.ini
@@ -0,0 +1,5 @@
+[Blob-close.html]
+ type: testharness
+ [Blob.close]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/blob/Blob-constructor.html.ini b/testing/web-platform/meta/FileAPI/blob/Blob-constructor.html.ini
new file mode 100644
index 000000000..1f5fc0c1e
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/blob/Blob-constructor.html.ini
@@ -0,0 +1,56 @@
+[Blob-constructor.html]
+ type: testharness
+ [A plain object should be treated as a sequence for the blobParts argument.]
+ expected: FAIL
+
+ [A plain object with a length property should be treated as a sequence for the blobParts argument.]
+ expected: FAIL
+
+ [Passing an element as the blobParts array should work.]
+ expected: FAIL
+
+ [Passing an platform object that supports indexed properties as the blobParts array should work (window).]
+ expected: FAIL
+
+ [Passing an platform object that supports indexed properties as the blobParts array should work (window with custom toString).]
+ expected: FAIL
+
+ [The 'endings' property should be ignored.]
+ expected: FAIL
+
+ [Passing object "/regex/" (index 4) for options should use the defaults.]
+ expected: FAIL
+
+ [Passing object "/regex/" (index 4) for options should use the defaults (with newlines).]
+ expected: FAIL
+
+ [Newlines should not change when endings is 'native'.]
+ expected: FAIL
+
+ [Blob with type "A"]
+ expected: FAIL
+
+ [Blob with type "TEXT/HTML"]
+ expected: FAIL
+
+ [Blob with type "å"]
+ expected: FAIL
+
+ [Blob with type "𐑾"]
+ expected: FAIL
+
+ [Blob with type "\\timage/gif\\t"]
+ expected: FAIL
+
+ [Blob with type "image/gif;"]
+ expected: FAIL
+
+ [Blob with type "İmage/gif"]
+ expected: FAIL
+
+ [Blob with type "ımage/gif"]
+ expected: FAIL
+
+ [Blob with type "image/gif\\0"]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/blob/Blob-slice.html.ini b/testing/web-platform/meta/FileAPI/blob/Blob-slice.html.ini
new file mode 100644
index 000000000..973a9ef2a
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/blob/Blob-slice.html.ini
@@ -0,0 +1,80 @@
+[Blob-slice.html]
+ type: testharness
+ [Invalid contentType ("ÿ")]
+ expected: FAIL
+
+ [Invalid contentType ("te(xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te)xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te<xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te>xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te@xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te,xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te;xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te:xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te\\\\xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te\\"xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te/xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te[xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te\]xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te?xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te=xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te{xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te}xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te\\txt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te\\0xt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("te\\x1fxt/plain")]
+ expected: FAIL
+
+ [Invalid contentType ("text/plain")]
+ expected: FAIL
+
+ [Valid contentType ("TEXT/PLAIN")]
+ expected: FAIL
+
+ [Valid contentType ("text/plain;charset = UTF-8")]
+ expected: FAIL
+
+ [Valid contentType ("text/plain;charset=UTF-8")]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/file/File-constructor.html.ini b/testing/web-platform/meta/FileAPI/file/File-constructor.html.ini
new file mode 100644
index 000000000..5960f7808
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/file/File-constructor.html.ini
@@ -0,0 +1,11 @@
+[File-constructor.html]
+ type: testharness
+ [Using special character in fileName]
+ expected: FAIL
+
+ [Using uppercase characters in type]
+ expected: FAIL
+
+ [Using illegal character for type]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/historical.html.ini b/testing/web-platform/meta/FileAPI/historical.html.ini
new file mode 100644
index 000000000..412e4bb80
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/historical.html.ini
@@ -0,0 +1,5 @@
+[historical.html]
+ type: testharness
+ [FileReader should not support readAsBinaryString]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/idlharness.html.ini b/testing/web-platform/meta/FileAPI/idlharness.html.ini
new file mode 100644
index 000000000..043beae78
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/idlharness.html.ini
@@ -0,0 +1,41 @@
+[idlharness.html]
+ type: testharness
+ [URL interface: operation createFor(Blob)]
+ expected: FAIL
+
+ [Blob interface: attribute isClosed]
+ expected: FAIL
+
+ [Blob interface: operation close()]
+ expected: FAIL
+
+ [Blob interface: new Blob(["TEST"\]) must inherit property "isClosed" with the proper type (2)]
+ expected: FAIL
+
+ [Blob interface: new Blob(["TEST"\]) must inherit property "close" with the proper type (4)]
+ expected: FAIL
+
+ [Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "isClosed" with the proper type (2)]
+ expected: FAIL
+
+ [Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "close" with the proper type (4)]
+ expected: FAIL
+
+ [FileReaderSync interface object length]
+ expected: FAIL
+
+ [FileReaderSync interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [FileReaderSync interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [FileReaderSync interface: operation readAsArrayBuffer(Blob)]
+ expected: FAIL
+
+ [FileReaderSync interface: operation readAsText(Blob,DOMString)]
+ expected: FAIL
+
+ [FileReaderSync interface: operation readAsDataURL(Blob)]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/idlharness.worker.js.ini b/testing/web-platform/meta/FileAPI/idlharness.worker.js.ini
new file mode 100644
index 000000000..a0625c5fc
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/idlharness.worker.js.ini
@@ -0,0 +1,56 @@
+[idlharness.worker]
+ type: testharness
+ [URL interface: operation createFor(Blob)]
+ expected: FAIL
+
+ [Blob interface: attribute isClosed]
+ expected: FAIL
+
+ [Blob interface: operation close()]
+ expected: FAIL
+
+ [Blob interface: new Blob(["TEST"\]) must inherit property "isClosed" with the proper type (2)]
+ expected: FAIL
+
+ [Blob interface: new Blob(["TEST"\]) must inherit property "close" with the proper type (4)]
+ expected: FAIL
+
+ [Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "isClosed" with the proper type (2)]
+ expected: FAIL
+
+ [Blob interface: new File(["myFileBits"\], "myFileName") must inherit property "close" with the proper type (4)]
+ expected: FAIL
+
+ [FileList interface object length]
+ expected: FAIL
+
+ [FileList interface: existence and properties of interface prototype object]
+ expected: FAIL
+
+ [FileList interface: existence and properties of interface prototype object's "constructor" property]
+ expected: FAIL
+
+ [FileList interface: operation item(unsigned long)]
+ expected: FAIL
+
+ [FileList interface: attribute length]
+ expected: FAIL
+
+ [FileList interface object name]
+ expected: FAIL
+
+ [ArrayBuffer interface: existence and properties of interface object]
+ expected: FAIL
+
+ [URL interface: existence and properties of interface object]
+ expected: FAIL
+
+ [EventTarget interface: existence and properties of interface object]
+ expected: FAIL
+
+ [Event interface: existence and properties of interface object]
+ expected: FAIL
+
+ [FileList interface: existence and properties of interface object]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/reading-data-section/FileReader-multiple-reads.html.ini b/testing/web-platform/meta/FileAPI/reading-data-section/FileReader-multiple-reads.html.ini
new file mode 100644
index 000000000..86d0638a7
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/reading-data-section/FileReader-multiple-reads.html.ini
@@ -0,0 +1,17 @@
+[FileReader-multiple-reads.html]
+ type: testharness
+ [test FileReader InvalidStateError exception for readAsText]
+ expected: FAIL
+
+ [test FileReader InvalidStateError exception for readAsDataURL]
+ expected: FAIL
+
+ [test FileReader InvalidStateError exception for readAsArrayBuffer]
+ expected: FAIL
+
+ [test FileReader InvalidStateError exception in onloadstart event for readAsArrayBuffer]
+ expected: FAIL
+
+ [test FileReader no InvalidStateError exception in onloadstart event for readAsArrayBuffer]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/reading-data-section/filereader_abort.html.ini b/testing/web-platform/meta/FileAPI/reading-data-section/filereader_abort.html.ini
new file mode 100644
index 000000000..8a20cbceb
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/reading-data-section/filereader_abort.html.ini
@@ -0,0 +1,5 @@
+[filereader_abort.html]
+ type: testharness
+ [Aborting before read]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/FileAPI/url/url_createobjecturl_blob.html.ini b/testing/web-platform/meta/FileAPI/url/url_createobjecturl_blob.html.ini
new file mode 100644
index 000000000..92400cd1d
--- /dev/null
+++ b/testing/web-platform/meta/FileAPI/url/url_createobjecturl_blob.html.ini
@@ -0,0 +1,5 @@
+[url_createobjecturl_blob.html]
+ type: testharness
+ [Check if the Blob URI starts with 'blob' using createFor()]
+ expected: FAIL
+