aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-03-26 17:30:36 -0400
committerGitHub <noreply@github.com>2018-03-26 17:30:36 -0400
commit1981efcc3585d244f6293716fbcf833afa58e629 (patch)
tree2a6d32df31a85660c927cd981e7e5b9787f45321 /tests
parent4b8416fafbbfec7f3adbc46874ea779ed90ad3d1 (diff)
parent36838d2d46ca1e8782ecabb2ad5b854ba693dac2 (diff)
downloadservo-1981efcc3585d244f6293716fbcf833afa58e629.tar.gz
servo-1981efcc3585d244f6293716fbcf833afa58e629.zip
Auto merge of #20431 - talklittle:issues-13234-5600-squashed, r=jdm
TextDecoder: streaming decode, ignoreBOM <!-- Please describe your changes on the following line: --> Implement streaming decode and ignoreBOM flag for TextDecoder. https://encoding.spec.whatwg.org/#dom-textdecoder-decode https://encoding.spec.whatwg.org/#dom-textdecoder-ignorebom --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #13234 (github issue number if applicable). - [x] These changes fix #5600 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because the wpt tests are used for testing: * /encoding/textdecoder-fatal-streaming.html * /encoding/textdecoder-streaming.html * /encoding/textdecoder-ignorebom.html <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20431) <!-- Reviewable:end -->
Diffstat (limited to 'tests')
-rw-r--r--tests/wpt/metadata/encoding/textdecoder-byte-order-marks.html.ini12
-rw-r--r--tests/wpt/metadata/encoding/textdecoder-copy.any.js.ini11
-rw-r--r--tests/wpt/metadata/encoding/textdecoder-fatal-streaming.html.ini6
-rw-r--r--tests/wpt/metadata/encoding/textdecoder-ignorebom.html.ini15
-rw-r--r--tests/wpt/metadata/encoding/textdecoder-streaming.html.ini48
5 files changed, 0 insertions, 92 deletions
diff --git a/tests/wpt/metadata/encoding/textdecoder-byte-order-marks.html.ini b/tests/wpt/metadata/encoding/textdecoder-byte-order-marks.html.ini
deleted file mode 100644
index c17b08ebbde..00000000000
--- a/tests/wpt/metadata/encoding/textdecoder-byte-order-marks.html.ini
+++ /dev/null
@@ -1,12 +0,0 @@
-[textdecoder-byte-order-marks.html]
- type: testharness
- bug: https://github.com/servo/servo/issues/13233
- [Byte-order marks: utf-8]
- expected: FAIL
-
- [Byte-order marks: utf-16le]
- expected: FAIL
-
- [Byte-order marks: utf-16be]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/encoding/textdecoder-copy.any.js.ini b/tests/wpt/metadata/encoding/textdecoder-copy.any.js.ini
deleted file mode 100644
index dccecbabcec..00000000000
--- a/tests/wpt/metadata/encoding/textdecoder-copy.any.js.ini
+++ /dev/null
@@ -1,11 +0,0 @@
-[textdecoder-copy.any.html]
- type: testharness
- [Modify buffer after passing it in]
- expected: FAIL
-
-
-[textdecoder-copy.any.worker.html]
- type: testharness
- [Modify buffer after passing it in]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/encoding/textdecoder-fatal-streaming.html.ini b/tests/wpt/metadata/encoding/textdecoder-fatal-streaming.html.ini
deleted file mode 100644
index 6aad19bc5e6..00000000000
--- a/tests/wpt/metadata/encoding/textdecoder-fatal-streaming.html.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[textdecoder-fatal-streaming.html]
- type: testharness
- bug: https://github.com/servo/servo/issues/13234
- [Fatal flag, streaming cases]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/encoding/textdecoder-ignorebom.html.ini b/tests/wpt/metadata/encoding/textdecoder-ignorebom.html.ini
deleted file mode 100644
index af7e2247de2..00000000000
--- a/tests/wpt/metadata/encoding/textdecoder-ignorebom.html.ini
+++ /dev/null
@@ -1,15 +0,0 @@
-[textdecoder-ignorebom.html]
- type: testharness
- bug: https://github.com/servo/servo/issues/5600
- [BOM is ignored if ignoreBOM option is specified: utf-8]
- expected: FAIL
-
- [BOM is ignored if ignoreBOM option is specified: utf-16le]
- expected: FAIL
-
- [BOM is ignored if ignoreBOM option is specified: utf-16be]
- expected: FAIL
-
- [The ignoreBOM attribute of TextDecoder]
- expected: FAIL
-
diff --git a/tests/wpt/metadata/encoding/textdecoder-streaming.html.ini b/tests/wpt/metadata/encoding/textdecoder-streaming.html.ini
deleted file mode 100644
index 814fd8dbecd..00000000000
--- a/tests/wpt/metadata/encoding/textdecoder-streaming.html.ini
+++ /dev/null
@@ -1,48 +0,0 @@
-[textdecoder-streaming.html]
- type: testharness
- bug: https://github.com/servo/servo/issues/13234
- [Streaming decode: utf-16le, 1 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16le, 3 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16le, 5 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16be, 1 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16be, 3 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16be, 5 byte window]
- expected: FAIL
-
- [Streaming decode: utf-8, 1 byte window]
- expected: FAIL
-
- [Streaming decode: utf-8, 2 byte window]
- expected: FAIL
-
- [Streaming decode: utf-8, 3 byte window]
- expected: FAIL
-
- [Streaming decode: utf-8, 4 byte window]
- expected: FAIL
-
- [Streaming decode: utf-8, 5 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16le, 2 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16le, 4 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16be, 2 byte window]
- expected: FAIL
-
- [Streaming decode: utf-16be, 4 byte window]
- expected: FAIL
-