| Index: runtime/tests/vm/dart/data_uri_failures_test.dart
|
| diff --git a/runtime/tests/vm/dart/data_uri_failures_test.dart b/runtime/tests/vm/dart/data_uri_failures_test.dart
|
| index d6d4d2d33af1a4e50ce8526439dca8536727ca77..2df31950f38ff0e759dbca8a883ff11d452ad770 100644
|
| --- a/runtime/tests/vm/dart/data_uri_failures_test.dart
|
| +++ b/runtime/tests/vm/dart/data_uri_failures_test.dart
|
| @@ -2,23 +2,12 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE file.
|
|
|
| -// Wrong MIME.
|
| -import 'data:text/plain;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// 01: runtime error
|
| -
|
| -// No MIME.
|
| -import 'data:;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// 02: runtime error
|
| -
|
| -// Wrong charset.
|
| -import 'data:application/dart;charset=utf-16,foo%28%29%20%3D%3E%2042%3B'; /// 03: runtime error
|
| -
|
| -// No charset.
|
| -import 'data:application/dart,foo%28%29%20%3D%3E%2042%3B'; /// 04: runtime error
|
| -
|
| -// Bad encoding.
|
| -import 'data:application/dart;charset=utf-8,foo?%9g'; /// 05: runtime error
|
| -
|
| -// Wrong encoding.
|
| -import 'data:application/dart;charset=utf-8;base64,Zm9vKCkgPT4gNDI7'; /// 06: runtime error
|
| +import 'data:text/plain;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// wrongmime: ok
|
| +import 'data:;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// nomime: ok
|
| +import 'data:application/dart;charset=utf-16,foo%28%29%20%3D%3E%2042%3B'; /// utf16: runtime error
|
| +import 'data:application/dart,foo%28%29%20%3D%3E%2042%3B'; /// nocharset: ok
|
| +import 'data:application/dart;charset=utf-8,foo?%9g'; /// badencodeddate: runtime error
|
| +import 'data:application/dart;charset=utf-8;base64,Zm9vKCkgPT4gNDI7'; /// base64: ok
|
|
|
| main() {
|
| }
|
|
|