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

Unified Diff: runtime/tests/vm/dart/data_uri_failures_test.dart

Issue 1024253002: Adjust status of data_uri_failures_test to allow for the browser's more permissive handling of data… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | runtime/tests/vm/dart/data_uri_spawn_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
}
« no previous file with comments | « no previous file | runtime/tests/vm/dart/data_uri_spawn_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698