Commit Graph

694 Commits

Author SHA1 Message Date
whesse@google.com a0dee7c130 Replace expired SSL certificates in dart:io secure networking tests with ones good for 5 years.
BUG=

Review URL: https://codereview.chromium.org//12271021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18571 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 12:24:25 +00:00
ricow@google.com a82972d11b Mark standalone/io/socket_stream_close_test as flaky on windows.
See http://dartbug.com/8556
Review URL: https://codereview.chromium.org//12261054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18567 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 09:25:09 +00:00
srdjan@google.com 5d42e63bd1 Optimize left shift of a constant: compute max value of right that does not overflow into Mint/Bigint.
Review URL: https://codereview.chromium.org//12212175

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18525 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 18:10:21 +00:00
kustermann@google.com 155b0b9666 Fixed tests to reliably clean up temporary files/directories
This should fix issue: http://dartbug.com/8534

Review URL: https://codereview.chromium.org//12257026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18518 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 15:39:14 +00:00
fschneider@google.com e2a0c8f7ca Optimize stores to ExternalUint8Array and ExternalUint8ClampedArray in the optimizer.
This CL adds support for these two array types to the StoreIndexed instruction.
Review URL: https://codereview.chromium.org//12263010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18517 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-14 12:59:51 +00:00
floitsch@google.com 02a5b031fe Change Future.delayed to take a Duration.
Review URL: https://codereview.chromium.org//12224081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18471 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-13 19:31:22 +00:00
ricow@google.com c02c5ef59d Suppress standalone/io/web_socket_test flakiness.
Filed http://dartbug.com/8495
Review URL: https://codereview.chromium.org//12209117

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18373 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-12 10:02:55 +00:00
floitsch@google.com 3f7146707d Rework Timer interface.
Review URL: https://codereview.chromium.org//12213092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18326 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 19:22:16 +00:00
whesse@google.com a0461f958d Remove erroneous assert from Windows implementation of dart:io File.fullPath.
BUG=

Review URL: https://codereview.chromium.org//12208109

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18307 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-11 13:44:00 +00:00
srdjan@google.com 005b12baa3 Fix test that broke dartium builds.,
Review URL: https://codereview.chromium.org//12223010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18152 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 19:08:06 +00:00
srdjan@google.com 8a4e4cbadc Fix Issue 8259: dart:math pow broken for large integers.
Review URL: https://codereview.chromium.org//12180022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18150 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 18:09:12 +00:00
kustermann@google.com 62583c1f5f Marked debugger/basic_debugger_test as flaky on all architectures
TBR=ager

Review URL: https://codereview.chromium.org//12092110

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17969 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 11:45:09 +00:00
asiva@google.com 395c4c3ac5 Update expected result.
Review URL: https://codereview.chromium.org//12094092

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17950 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:42:10 +00:00
asiva@google.com 2973a56fbc Update status file.
Review URL: https://codereview.chromium.org//12079104

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17945 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 21:28:39 +00:00
ager@google.com 17b0e7215c Mark basic_debugger_test as failing on Mac.
R=tball@google.com,hausner@google.com,sgjesse@google.com
BUG=dartbug.com/8232

Review URL: https://codereview.chromium.org//12079093

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17893 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 09:48:31 +00:00
ager@google.com 33be759e00 Fix debugger test.
1. Fix JSON import.

2. Add exit code check to catch such errors in the future.

3. Only kill the debugee on errors. If there are no errors
   it will die on its own with exit code 0. If we kill it
   explicitly it can get killed (and give exit code != 0)
   before it has the chance to exit on its own.

R=sgjesse@google.com,tball@google.com,hausner@google.com
BUG=

Review URL: https://codereview.chromium.org//12086080

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17889 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 09:09:05 +00:00
ager@google.com a1a92ba40e Revert "Fix debugger test that broke with the change to the json library."
Unfortunately, the buildbots did not like that. Reverting back to the
broken test.

R=whesse@google.com,hausner@google.com
BUG=

Review URL: https://codereview.chromium.org//12091067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17849 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 15:24:46 +00:00
ager@google.com b8cc58013b Fix debugger test that broke with the change to the json library.
Added checking of the debugger subprocess exit code that would
have caught this.

R=whesse@google.com,hausner@google.com
BUG=

Review URL: https://codereview.chromium.org//12100003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17846 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 14:23:01 +00:00
srdjan@google.com 6e26ea871d On Ia32 optimistically assume that results from int32 and uint32 array loads fit into Smi. Only if the instruction caused deoptimization will we assume mixed Smi/Mint operations. In absence of precise tracking of deoptimization history (location/reason) conservatively assume that a method that was deoptimized once may have been deoptimzied because of uint32/int32 loads.
Significant improvement for MeshDecompression on ia32.
Review URL: https://codereview.chromium.org//12086045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17810 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 21:16:44 +00:00
kustermann@google.com 22da1e1fc8 Support for running a limited amount of browser tests in parallel
Patch Set 1:
  Refactored test_runner.dart to execute "Command after Command" instead of
  "TestCase after TestCase". By doing so, we don't couple the execution of
  compilation commands to the execution of the browser (or test) command.

Patch Set 2:
  Introduce a limitation on the number of parallel browser executions. By doing
  so we can run 'NumCores' compilation commands in parallel but only a single
  browser test command at any given time (necessary for IE).
  This way we can significantly reduce the cycle time on IE bots.

Review URL: https://codereview.chromium.org//12035053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17764 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 15:16:44 +00:00
floitsch@google.com ed938af868 Rename new Uri.fromString to Uri.parse.
Review URL: https://codereview.chromium.org//12052038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17562 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:26:18 +00:00
floitsch@google.com f1964c9984 Mark test as flaky.
Review URL: https://codereview.chromium.org//12041074

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17559 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:13:37 +00:00
floitsch@google.com fb7b9e3c5c Rename Date to DateTime.
BUG=http://dartbug.com/1424

Review URL: https://codereview.chromium.org//11770004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:16:37 +00:00
iposva@google.com 57f62dd2e1 - Make sure we can "run" all tests using simarm/simmips.
Review URL: https://codereview.chromium.org//12042065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
whesse@google.com 5f48479aa7 Speed up web_socket_test by running subtests in parallel.
BUG=

Review URL: https://codereview.chromium.org//11946042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17218 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 15:40:16 +00:00
antonm@google.com 310cc581fa Add library declaration to allow test in DRT.
TBR=fschneider@google.com

Review URL: https://codereview.chromium.org//11931039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17217 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 15:23:03 +00:00
fschneider@google.com 01bf0903e2 Update test status for scalar list test and move it to the right directory.
Review URL: https://codereview.chromium.org//11977003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17216 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 15:06:15 +00:00
fschneider@google.com 8c5b198d95 Optimized loads/stores for scalar list: Uint8Clamped, Int8, Int16, Uint16.
This CL adds optimized stores for Uint8ClampedList, and
loads+stores for Int8List, Int16List and Uint16List.


TEST=tests/standalone/byte_array_test.dart, tests/standalone/int_array_test.dart
Review URL: https://codereview.chromium.org//11967012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17190 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-17 10:43:46 +00:00
whesse@google.com 0d3f1c5396 Fix Path.relativeTo in special case where base is a substring of this.
BUG=

Review URL: https://codereview.chromium.org//11959011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17145 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 16:31:54 +00:00
whesse@google.com 9d7b2710a7 Fix Path.relativeTo and add support for relative paths as input.
BUG=https://code.google.com/p/dart/issues/detail?id=7870
BUG=https://code.google.com/p/dart/issues/detail?id=7873
TEST=standalone/io/path_test

Review URL: https://codereview.chromium.org//11968012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17138 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 14:05:52 +00:00
sgjesse@google.com 0112a42f5e Fix a test which needed an error handler after r17064
R=ager@google.com

BUG=

Review URL: https://codereview.chromium.org//11886046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17115 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-16 07:32:54 +00:00
whesse@google.com 81c0cc6ba6 Disable secure web socket test on Windows (issue 7157) and replace with web socket test.
BUG=https://code.google.com/p/dart/issues/detail?id=7157

Review URL: https://codereview.chromium.org//11902002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17081 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 16:19:58 +00:00
whesse@google.com 6aa287551f Enable WebSocket secure connection using "wss" in W3C interface. Add testing of secure WebSocket connection for multiple websocket tests.
BUG=
TEST=standalone/io/web_socket_test.dart

Review URL: https://codereview.chromium.org//11889036

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17074 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 15:06:17 +00:00
whesse@google.com bc150e783f Edit comments for websocket, drop hashcode() from interface.
BUG=

Review URL: https://codereview.chromium.org//11884053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17073 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 15:05:49 +00:00
sgjesse@google.com 9d27b80d53 Temporarily disable io/http_connection_close_test
Started failing on Mac and Windows after r17064.

TBR=ager@google.com

BUG=

Review URL: https://codereview.chromium.org//11880047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17067 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 13:49:23 +00:00
sgjesse@google.com a6a16b6801 Improve the error-propagation on socket streams
R=ager@google.com, ajohnsen@google.com

BUG=dart:7334

Review URL: https://codereview.chromium.org//11879042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17064 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 12:58:28 +00:00
kustermann@google.com ecf1cdeeb8 Fixed utf8 encoding/decoding issues in the testing scripts
Review URL: https://codereview.chromium.org//11883033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17057 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 10:59:24 +00:00
sgjesse@google.com 947177049c Change the WebSocket implementation to use Socket.read instead of Socket.readList
This removes the need for Socket.available which is not implemented for SecureSocket.

R=ager@google.com

BUG=

Review URL: https://codereview.chromium.org//11886038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17047 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 08:39:37 +00:00
srdjan@google.com 843e48f6f0 Add Dart class for _ExternalUint8ClampedArray and API to allocate it.
Review URL: https://codereview.chromium.org//11881031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17040 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-15 01:14:17 +00:00
whesse@google.com 747f79ce1f Upload new Dart binaries and re-enable unit tests for test scripts.
BUG=

Review URL: https://codereview.chromium.org//11884029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17031 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 20:45:42 +00:00
whesse@google.com 3696154a8e Default constructor for dart:io Path now handles native Windows paths. Path() now does the same as Path.fromNative(). Path.fromNative() is removed, and all uses of it replaced by Path().
BUG=https://code.google.com/p/dart/issues/detail?id=7872

Review URL: https://codereview.chromium.org//11878015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17026 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-14 19:46:13 +00:00
sgjesse@google.com e8b1524678 Fix dart2js compilation error in previous commit
TBR=ager@google.com

BUG=

Review URL: https://codereview.chromium.org//11852017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16972 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:58:09 +00:00
sgjesse@google.com 4071075fdb Reapply "Add onClosed callbacks to HTTP output streams""
The test have been rewritten to expect any order of the onClosed
events.

R=ager@google.com

BUG=dart:7761

Review URL: https://codereview.chromium.org//11853011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16969 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 13:18:38 +00:00
lrn@google.com 4868ee2110 Remove Futures class, move methods to Future.
Optimize Future.forEach, Future.delay.

Review URL: https://codereview.chromium.org//11865005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16954 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-11 09:46:45 +00:00
whesse@google.com e299805a91 Suppress flaky failures on standalone/io/test_runner_test (Issue 1947)
BUG=https://code.google.com/p/dart/issues/detail?id=1947

Review URL: https://codereview.chromium.org//11828046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16923 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 14:49:01 +00:00
sgjesse@google.com 6e6d7dcf35 Always set content length to 0 on redirect requests
R=ajohnsen@google.com

BUG=

Review URL: https://codereview.chromium.org//11821046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16914 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 11:44:51 +00:00
kustermann@google.com 5cd8b15336 Status update: io/test_runner_test is passing + small fix in test_runner_test
Review URL: https://codereview.chromium.org//11833031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16905 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-10 09:30:55 +00:00
whesse@google.com 0c3bb5ba04 Fix test_runner_test which uses Timer to import dart:async.
BUG=

Review URL: https://codereview.chromium.org//11820031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16870 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 18:55:27 +00:00
whesse@google.com 79ddc9bfca Remove some previously flaky SecureSocket tests from the status file for Windows.
BUG=https://code.google.com/p/dart/issues/detail?id=6893

Review URL: https://codereview.chromium.org//11818032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16868 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 18:34:06 +00:00
kustermann@google.com 59a12b72c9 Migration of testing scripts in tools/ to libv2
Review URL: https://codereview.chromium.org//11817012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16867 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-09 18:31:28 +00:00