Lasse R.H. Nielsen
0b58c4bd10
Change some constant declarations to lowerCase.
...
Retain the old values.
Reapply of https://dart-review.googlesource.com/c/sdk/+/20680 with fixes
for VM method fingerprints.
Change-Id: Ie14e7ccc3194d5561983348e6b6752728913ff4d
Reviewed-on: https://dart-review.googlesource.com/20664
Reviewed-by: Erik Ernst <eernst@google.com >
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
2017-11-14 12:59:14 +00:00
Lasse R.H. Nielsen
e61fc07b58
Revert "Change some constant declarations to lowerCase."
...
This reverts commit c048cfb178 .
Reason for revert: VM code fingerprints needs update.
Original change's description:
> Change some constant declarations to lowerCase.
>
> Retain the old values.
>
> Change-Id: I03bd326f379fe5f96d8f6081a7133de956d745c0
> Reviewed-on: https://dart-review.googlesource.com/11520
> Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
> Reviewed-by: Florian Loitsch <floitsch@google.com >
TBR=lrn@google.com ,floitsch@google.com
Change-Id: I095e8198304ca4e59b39d30b0fdf0af4945e5231
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/20680
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
2017-11-14 11:23:08 +00:00
Lasse R.H. Nielsen
c048cfb178
Change some constant declarations to lowerCase.
...
Retain the old values.
Change-Id: I03bd326f379fe5f96d8f6081a7133de956d745c0
Reviewed-on: https://dart-review.googlesource.com/11520
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Florian Loitsch <floitsch@google.com >
2017-11-14 11:13:04 +00:00
Jacob Richman
2dcd56ef43
Format all tests.
...
There are far too many files here to review everyone carefully.
Spot checking most of the diffs look good as test code is generally written
with less care than application code so lots of ugly formatting get through.
If people notice files where the automated formatting bothers them feel free
to comment indicating file names and I'll move spaces within comments to make
the formatting cleaner and use comments to force block formatting as I have
done for other case where formatting looked bad.
BUG=
R=efortuna@google.com
Review-Url: https://codereview.chromium.org/2771453003 .
2017-04-17 14:53:02 -07:00
alanknight@google.com
4a1b567136
Pass Redirect status higher than 307 through to the user
...
BUG=
R=terry@google.com
Review URL: https://codereview.chromium.org//1135893003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45739 260f80e4-7a28-3924-810f-c04153c831b5
2015-05-12 16:25:56 +00:00
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