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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/tests/vm/dart/data_uri_spawn_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Wrong MIME. 5 import 'data:text/plain;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// wrongmim e: ok
6 import 'data:text/plain;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// 01: runt ime error 6 import 'data:;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// nomime: ok
7 7 import 'data:application/dart;charset=utf-16,foo%28%29%20%3D%3E%2042%3B'; /// u tf16: runtime error
8 // No MIME. 8 import 'data:application/dart,foo%28%29%20%3D%3E%2042%3B'; /// nocharset: ok
9 import 'data:;charset=utf-8,foo%28%29%20%3D%3E%2042%3B'; /// 02: runtime error 9 import 'data:application/dart;charset=utf-8,foo?%9g'; /// badencodeddate: runti me error
10 10 import 'data:application/dart;charset=utf-8;base64,Zm9vKCkgPT4gNDI7'; /// base6 4: ok
11 // Wrong charset.
12 import 'data:application/dart;charset=utf-16,foo%28%29%20%3D%3E%2042%3B'; /// 0 3: runtime error
13
14 // No charset.
15 import 'data:application/dart,foo%28%29%20%3D%3E%2042%3B'; /// 04: runtime erro r
16
17 // Bad encoding.
18 import 'data:application/dart;charset=utf-8,foo?%9g'; /// 05: runtime error
19
20 // Wrong encoding.
21 import 'data:application/dart;charset=utf-8;base64,Zm9vKCkgPT4gNDI7'; /// 06: r untime error
22 11
23 main() { 12 main() {
24 } 13 }
OLDNEW
« 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