Commit graph

61 commits

Author SHA1 Message Date
whesse@google.com 1c840e6f01 Re-land r41544 "Update dart binaries used for running tests to version 1.7.2"
This also re-lands r41546, and some status file updates.

BUG=dartbug.com/21525 21526 21527
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41562 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 15:28:56 +00:00
whesse@google.com 0624b4f7b7 Revert r41544 "Update dart binaries used for running tests to version 1.7.2"
Also revert fixes for test scripts for this update, r41546

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41547 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 11:41:49 +00:00
whesse@google.com 207f9eacb4 Fix test scripts and xhr test for new default HTTP headers
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@41546 260f80e4-7a28-3924-810f-c04153c831b5
2014-11-06 09:59:51 +00:00
ahe@google.com f9d50e2b82 Don't expect anything about 404 responseText
Review URL: https://codereview.chromium.org//297343005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36689 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 15:50:39 +00:00
kevmoo@google.com 0f19d67874 tests/html/xhr_test - progress is not called
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34757 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 17:46:04 +00:00
kevmoo@google.com b16286c0e1 tests/html: removed usage of deprecated unittest features
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34755 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-05 01:01:48 +00:00
kevmoo@google.com 5952d7a067 Upgrading tests with unittest deprecations
R=ricow@google.com, sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34569 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 18:33:18 +00:00
blois@google.com 3ec5039dfe Fixing XHR responseHeaders test
Was relying on overrideMimeType but not all platforms support that.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28816 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 19:26:08 +00:00
blois@google.com cb304c5ea7 Adding HttpRequest.responseHeaders
The code is mostly from Closure's getResponseHeaders function, with modifications to make the keys case-insensitive (following jQuery's model).

BUG=13584
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28812 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 18:11:00 +00:00
efortuna@google.com 3854434797 Removed position and totalSize because HttpRequestProgressEvent has other fields that do the same thing.
Turns out position and totalSize were on Firefox 3 and earlier, but we don't
have to worry about backwards compatibility that far.
https://developer.mozilla.org/es/docs/XMLHttpRequest/Usar_XMLHttpRequest

BUG=
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27900 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 18:03:20 +00:00
blois@google.com dbf675d60d Adding conversion support for JSON XHR requests.
This has been a half-supported feature for Chrome for a while, but popular elsewhere. Appears that recent Dartium behavior broke, so adding a test, but still need to fix Dartium.

BUG=13069
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27215 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 22:02:22 +00:00
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
blois@google.com 15f9ca0cee Attempting to fix XHR test on Dartium.
BUG=12648
R=jacobr@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26542 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 18:09:13 +00:00
blois@google.com 823767564d Adding HttpRequest method to make it easier to post form data.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25790 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-05 19:53:42 +00:00
blois@google.com d672f10bb0 Attempting to fix XHR test.
The test randomly started failing recently, appears to be caused by a Chrome bug related to timing of requests and the startup sequence of Chrome.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25031 260f80e4-7a28-3924-810f-c04153c831b5
2013-07-15 22:51:06 +00:00
blois@google.com 8457ffe218 Attempting to fix XHR tests again.
They are still timing out on the test machines, but not locally.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23662 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 22:56:57 +00:00
blois@google.com 2b9aaf06bc Fixing xhr_test on FF.
It's currently timing out.

TBR
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23661 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 22:35:18 +00:00
blois@google.com 0956f1c314 Fixing HttpRequest.upload.onProgress.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23658 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 21:09:59 +00:00
blois@google.com 7b87ec749d Fixing IE10 XHR test, pt II
Forgot to move this statement out.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22608 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-11 00:11:38 +00:00
blois@google.com 31db2b16d2 Fixing overrideMimeType on IE10.
I thought the test was failing for a different reason earlier, but it's that overrideMimeType is not supported on IE.

BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22607 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 23:47:37 +00:00
blois@google.com 08c9eb8632 Moving overrideMimeType to depend on typed data.
Fixes IE9 test failure of overrideMimeType.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22593 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 19:59:27 +00:00
blois@google.com 078208e1cf Adding ability to specify request headers and mime type for Future-based XHRs.
BUG=
R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22588 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-10 17:36:42 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
ager@google.com 7f79491c06 Move to new dart:typeddata types
Mads: if you land this, please rerun go.sh from tools/dom/scripts to regenerate html_dart2js.dart.  I didn't include it here to make this patchable.

Stephen: I still need to run the perf tests we talked about to sanity check.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21789 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:22:51 +00:00
vsm@google.com ca7b684f04 Add Supported class to dart:html
This is only used by typeddata for now.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21717 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-19 05:54:02 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
antonm@google.com 115ff4b40b Map enums to strings.
R=blois@google.com,podivilov@chromium.org

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20984 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 17:00:25 +00:00
kustermann@google.com 9be3619dad Disabled the xhr blob test completely, to make it invisible for test.py
Review URL: https://codereview.chromium.org//13450008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20951 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 09:34:09 +00:00
blois@google.com 8a17bb707d Fixing xhr_test on Safari
This group is expected to fail on Safari, but since the test was just disabled it's not failing. So moving the disable code to encompass the group as well.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 22:43:06 +00:00
antonm@google.com 6514936a7a Disable some tests due to Chrome roll.
Those test exercise getters which work now with enums
in Chromium.

TBR=ager@google.com,blois@google.com,podivilov@chromium.org,vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20926 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 17:09:24 +00:00
blois@google.com 034fdc4af0 Excluding XHR test for responseType=blob from Safari
Test is failing on Safari and not sure how to do a proper supported check for it.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20090 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 16:34:53 +00:00
blois@google.com d2344b9d79 Adding test for XHR responseType 'blob'
BUG=9004

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20083 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 15:50:42 +00:00
efortuna@google.com 58b10f811e Reapply Futureification.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19590 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-07 00:13:57 +00:00
efortuna@google.com 60a5ed7215 "Reverting 19586"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19587 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:43:47 +00:00
efortuna@google.com 18f08c3a4c Future-ify All the methods!
(with a few exceptions we've planned).
Also added some tests to test these apis.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19586 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-06 22:32:54 +00:00
kustermann@google.com d2c575c0b0 Create generated tests inside the build directory
Patch Set 1 is a revert of r18295.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18802 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-21 08:10:37 +00:00
blois@google.com fd2c1cbf89 Adding supported checks and flags to FormData
Also fixing the test to pass on IE10.

BUG=4793

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18554 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-15 02:23:52 +00:00
blois@google.com d34e030459 Fixing xhr_test's responseType test.
The responseType being set was not supported by Dartium or Safari.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17959 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 23:58:08 +00:00
blois@google.com 1fb79cdb28 Resubmit "Adding ease-of-use methods to HttpRequest."
Fixing the dependent pkg/intl code.

This is the same as my previous CL, but with the modification to pkg/intl/lib/src/http_request_data_reader.dart

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17949 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 22:40:04 +00:00
blois@google.com 07200209ab Revert "Adding ease-of-use methods to HttpRequest."
This reverts commit 17942, it broke some pkg tests that I need a few more moments than I have right now to fix.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17944 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 21:10:46 +00:00
blois@google.com b1cc462093 Adding ease-of-use methods to HttpRequest.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17942 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 20:52:58 +00:00
blois@google.com f46672cb73 Converting tests over to using event streams.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17735 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 23:31:15 +00:00
blois@google.com ce86a45c62 Adding test for bug 5374
Basically it's saying that ProgressEvent.target does not work.

BUG=5374

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17734 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 22:35:33 +00:00
blois@google.com 732d362a32 Adding supported checks for HttpRequestProgressEvent.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17612 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 23:03:14 +00:00
ricow@google.com 0487410bec Don't use a path relative to generated test for xhr test
Review URL: https://codereview.chromium.org//12040073

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17572 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 14:32:52 +00:00
efortuna@google.com 4622dc3e76 Make browser tests all run from a server instead of the local filesystem.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17007 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-13 01:11:07 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00
efortuna@google.com 274ac61643 Reverting everything because package root + dartium is causing serious problems.
DART_PACKAGE_ROOT environment variable is set for drt, but not dartium, and is location is problematic with respect to serving the files in the dartium checkout.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16678 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 05:20:06 +00:00
efortuna@google.com 695a8638d2 Intermediary fixes to get some bots green.
TBR=sra,

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16676 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 04:07:11 +00:00
efortuna@google.com 1d3b0c4b3b Add cross-origin test with credentials. I modified the test framework slightly
as well to Enable Cross-origin requests while testing from local files.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16671 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-05 02:43:31 +00:00