floitsch@google.com
74da0c7286
Remove usage of dart:json.
...
R=jmesserly@google.com , lrn@google.com , nweiz@google.com , rnystrom@google.com
Review URL: https://codereview.chromium.org//23596007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26789 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 14:05:11 +00:00
floitsch@google.com
31e1ffb8e9
Mark http_response_deadline_test as flaky on simmarm.
...
Review URL: https://codereview.chromium.org//23592006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26788 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-28 13:51:34 +00:00
floitsch@google.com
1887b5ca49
Some more removals of dart:utf.
...
R=jmesserly@google.com , lrn@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//22909059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
whesse@google.com
fd1a8cf947
Make dart:io SecureSocket builtin root certificate test more robust, merge test files.
...
BUG=dartbug.com/12770
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23583002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26709 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 12:22:17 +00:00
lrn@google.com
0fa1bbdf15
Reapply "Make Map constructors return LinkedHashMap."
...
Updated tests assuming a specific ordering of an unlinked hash map
to not be daft.
R=floitsch@google.com , jmesserly@google.com
Review URL: https://codereview.chromium.org//22859069
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26693 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 08:43:46 +00:00
floitsch@google.com
35d7140e66
Remove Encoding-enum from dart:io and add interface in dart:convert.
...
BUG= http://dartbug.com/6284
BUG= http://dartbug.com/7966
R=nweiz@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//22872012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26632 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 10:37:25 +00:00
whesse@google.com
804b907303
Fix error in tests/standalone/io/http_cross_process_test.dart.
...
BUG=
Review URL: https://codereview.chromium.org//22865043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26630 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 09:56:25 +00:00
whesse@google.com
80d341e0d4
Add dart:io tests for creating a client and server in separate processes.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23414004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26628 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 09:33:04 +00:00
floitsch@google.com
7ac9dcd8af
Remove usage of dart:utf from dart:io.
...
R=ajohnsen@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//23003023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26586 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 09:08:41 +00:00
kustermann@google.com
cef46dcaa0
Remove entries in status refering to non-existent files/multitests
...
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//22846007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26584 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 08:47:58 +00:00
ajohnsen@google.com
cf6578fafe
Update ZLib/GZip in dart:io to be a Codec/Converter from dart:convert.
...
BUG=
R=floitsch@google.com , sgjesse@google.com
Review URL: https://codereview.chromium.org//22867033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26577 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-23 07:12:11 +00:00
kustermann@google.com
bc051d0a91
Remove entries in status refering to non-existent files
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23245015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26438 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 16:40:40 +00:00
whesse@google.com
9de122a462
Add Platform.packageRoot and Platform.executableArguments to dart:io.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//22999033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26432 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 15:21:55 +00:00
ajohnsen@google.com
92dc30bc0c
Only change timeout to 100ms after the connection is established.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23074008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26420 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:44:09 +00:00
sgjesse@google.com
38506f9d57
Remove the LineTransformer from dart:io
...
The LineTransformer has been retired, and is replaced with LineSplitter from dart:convert
R=floitsch@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//22927016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26419 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:35:46 +00:00
ajohnsen@google.com
87530aa003
Add HttpServer.idleTimeout for closing idle keep-alive connections.
...
Default value is set to 120 seconds.
BUG=https://code.google.com/p/dart/issues/detail?id=12565
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//22839013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26417 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-21 07:04:36 +00:00
whesse@google.com
30aaf877c6
Fix error in SecureSocket, remove failing status from tests.
...
BUG=dartbug.com/12451
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23253004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26350 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 12:53:52 +00:00
zra@google.com
66d7b61a3b
Fix status file for ARM hardware.
...
Review URL: https://codereview.chromium.org//23265002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26217 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 20:58:32 +00:00
zra@google.com
58ab6b769c
Updates standalone status file for ARM
...
Now that we are linking dynamically again, let's re-enable the standalone tests.
R=regis@google.com
Review URL: https://codereview.chromium.org//22940003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26200 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 16:51:06 +00:00
sgjesse@google.com
affa849184
Remove the certificate management methods from dart:io
...
Certificate management functions where added to dart:io in r25610 and
r26002. However these functions where mutating the NSS database for
the whole Dart process, and some functions where also persisting the
changes to the database.
This might cause issues when running multiple isolates as changes in
one isolate will affect other isolates and could lead to unexpected
results.
These functions are removed from dart:io for now.
BUG=http://dartbug.com/8227
TBR=ager@google.com
Review URL: https://codereview.chromium.org//22887014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26194 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 14:55:53 +00:00
sgjesse@google.com
353428a918
Remove the Path class from dart:io
...
The Path class in dart:io has been deprecated for some time
now. It was scheduled to be removed on August 11th, so here it
goes.
dart:io still uses the Path class internally, but now it is
private. I will trim it down to what is actually used in a
follow-up change.
R=ahe@google.com , devoncarew@google.com , whesse@google.com
BUG=http://dartbug.com/11666
Review URL: https://codereview.chromium.org//23054008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26181 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 10:10:53 +00:00
whesse@google.com
c694437c42
dart:io | Add test for HttpClient requests that never complete their future.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23189002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26125 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 15:23:23 +00:00
srdjan@google.com
1f31dcc424
Fix for running with --throw_on_javascript_int_overflow: recognize pattern (a << b) & mask and test for overflow only after the mask.
...
R=fschneider@google.com
Review URL: https://codereview.chromium.org//22640019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26122 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 15:12:39 +00:00
whesse@google.com
1e740fde17
Allow SocketException in https_bad_certificate_test.
...
BUG=
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//22818006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26111 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 10:47:25 +00:00
whesse@google.com
4b2d651b64
dart:io | Add badCertificateCallback to HttpClient.
...
BUG=dartbug.com/9689
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//22816008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26110 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 09:25:47 +00:00
whesse@google.com
00dd47d04e
dart:io | Add Link.update, and change Link.updateSync.
...
BUG=dartbug.com/12003,dartbug.com/12019,dartbug.com/12414
R=sgjesse@google.com
Review URL: https://codereview.chromium.org//23083002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26107 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 08:04:36 +00:00
kevmoo@j832.com
ee57959030
Fixed io string transformer test
...
close was not being called, close value check was incorrect
R=lrn@google.com
Review URL: https://codereview.chromium.org//22054002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26085 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 21:29:27 +00:00
johnmccutchan@google.com
3e3ef7ea32
Mark the vmservice tests as non-flaky
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//22457004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26083 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 21:14:44 +00:00
sgjesse@google.com
959456533f
Add Process.runSync for running processes synchronously
...
BUG=http://dartbug.com/1707
R=whesse@google.com
Review URL: https://codereview.chromium.org//21816002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26052 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 14:12:31 +00:00
ricow@google.com
03a250f445
Mark standalone/io/test_runner_test as flaky on simarm
...
Filed issue 12413
R=kustermann@google.com
Review URL: https://codereview.chromium.org//22816006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26050 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-13 13:39:12 +00:00
zra@google.com
8ffef7528d
Bug fix and status file updates for MIPS HW.
...
R=regis@google.com
Review URL: https://codereview.chromium.org//22828004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26037 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 21:45:41 +00:00
whesse@google.com
292f34bdb3
dart:io | Add SecureSocket.importPrivateCertificates, that reads a PKCS#12 file.
...
Add private key with certificate to SecureSocket
BUG=
R=sgjesse@google.com , wtc@chromium.org
Review URL: https://codereview.chromium.org//21716004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26002 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 13:50:53 +00:00
kustermann@google.com
e1d4069eab
Revert "Status file updates after changing testing scripts to use a dependency graph"
...
BUG=http://dartbug.com/12239
R=ricow@google.com
Review URL: https://codereview.chromium.org//22823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25998 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 11:44:04 +00:00
johnmccutchan@google.com
33d528a787
Remove race(s) in vmservice tests.
...
BUG=https://code.google.com/p/dart/issues/detail?id=12294
R=iposva@google.com
Review URL: https://codereview.chromium.org//22607005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25927 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 15:44:21 +00:00
kustermann@google.com
08f2ab6f69
Status file update: Marked more vmservice tests as flaky on windows
...
BUG=http://dartbug.com/12294
R=ricow@google.com
Review URL: https://codereview.chromium.org//22308003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25915 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 07:49:42 +00:00
sgjesse@google.com
a1158d6c50
Make the values of Platform.executable and Platform.script available to all isolates
...
BUG=http://dartbug.com/12258
R=iposva@google.com
Review URL: https://codereview.chromium.org//22565003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25913 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 07:19:21 +00:00
johnmccutchan@google.com
60536dcf8e
Add verbose output to vmservice tests
...
Review URL: https://codereview.chromium.org//22577007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25901 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 20:48:17 +00:00
johnmccutchan@google.com
f91c0967ef
Expose classes, codes, functions, and libraries collections.
...
R=iposva@google.com
Review URL: https://codereview.chromium.org//22297008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25900 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 20:35:37 +00:00
kustermann@google.com
3cd5554dea
Marked some standalone/vmservice/* tests as flaky
...
R=ricow@google.com
BUG=http://dartbug.com/12294
Review URL: https://codereview.chromium.org//22537004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25876 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 14:43:52 +00:00
sgjesse@google.com
cfba41b714
Add support for file URIs and extracting the file path from file URIs
...
A file URI can now be created directly using the constructor Uri.file.
The file path for a file URI can now be extracted using the toFilePath() method.
The path strings involved use either Windows or non-Windows
semantics. Both the Uri.file constructor and the toFilePath()
method have optional anamed arguments for specifying the
semantics. The default semantic is determined from the platform
Dart is running on.
R=ahe@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//21039005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25872 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 12:55:09 +00:00
johnniwinther@google.com
33d13b8809
Fix uses of throw/rethrow in tests.
...
BUG=
Review URL: https://codereview.chromium.org//22548003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25860 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 07:38:44 +00:00
johnmccutchan@google.com
631b2d3773
Expose arguments and options to handlers through JSONStream
...
R=asiva@google.com
Review URL: https://codereview.chromium.org//22238002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25814 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-06 14:46:20 +00:00
regis@google.com
09bcdc6d6d
Fix VM implementation of CastError not to extend TypeError (issue 5280).
...
Remove non-compliant fields in various Error classes (issue 10144).
Remove implicit constructor when patching in a constructor (issue 12217).
Patch corelib Error classes instead of declaring subclasses.
Update tests and status files.
R=asiva@google.com , srdjan@google.com
Review URL: https://codereview.chromium.org//21832003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25782 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 18:35:04 +00:00
kustermann@google.com
8324943b7d
Status file updates after changing testing scripts to use a dependency graph
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//21892004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25768 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 15:30:07 +00:00
kustermann@google.com
e8b7975a42
Fixed import path used in the moved dependency_graph_test
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//21679006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25762 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 08:32:15 +00:00
kustermann@google.com
3614eeb271
Fix in test_runner_test, moved dependency_graph_test to standalone/io
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//22156002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25761 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 08:22:55 +00:00
kustermann@google.com
92303dffda
test.py: First step towards support of caching dart2js compilations across runtimes
...
This CL changes the way we run tests completely: When enqueueing TestCases we
build up a dependency graph of Commands. This has the advantage that if more
TestCases share common commands, we only execute it once.
R=ricow@google.com
Review URL: https://codereview.chromium.org//21001003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25760 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 07:54:17 +00:00
zra@google.com
f60d2f6df4
Fixes obo error in javascript int checking.
...
R=srdjan@google.com
Review URL: https://codereview.chromium.org//21876005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25733 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 16:06:45 +00:00
sgjesse@google.com
dd75544c89
Add redirect method to HttpResponse
...
BUG=http://dartbug.com/9612
R=ajohnsen@google.com
Review URL: https://codereview.chromium.org//21411003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25730 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 09:14:27 +00:00
kustermann@google.com
cb18d8ba87
Removed compiler/ directory from repository
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//20722006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25728 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-02 08:31:15 +00:00