Kevin Moore
a81213f4e6
Update and/or remove outdated links in dart: web libraries
...
Change-Id: I13019a09b5c29044a086ed8ca4eff97c67bd9c4b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/160681
Reviewed-by: Srujan Gaddam <srujzs@google.com >
Commit-Queue: Kevin Moore <kevmoo@google.com >
Auto-Submit: Kevin Moore <kevmoo@google.com >
2020-08-28 17:27:59 +00:00
zhesha
f08c0e36c6
removed corrupted links from doc comments of HttpRequest
...
As "Forms" tutorial doesn't mentions `HttpRequest ` the link was removed from a doc. And Link to "Fetch Data Dynamically" was updated, so description and URL become correct.
Issue from "site-www" repo [](https://github.com/dart-lang/site-www/issues/2518 )
Closes https://github.com/dart-lang/sdk/pull/42696
https://github.com/dart-lang/sdk/pull/42696
GitOrigin-RevId: 34d006aa994446103d4e2a744c60fcd63af2a5d6
Change-Id: If3d55af29ae89594b45544dd308b60ac670f2032
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154401
Reviewed-by: Kevin Moore <kevmoo@google.com >
Commit-Queue: Kevin Moore <kevmoo@google.com >
2020-08-26 20:11:25 +00:00
Srujan Gaddam
63a57a76ce
[dart:html] Revert "[dart:html] Revert commits using MDN compatibility info"
...
This reverts commit f8ff12008e .
This CL is a revert of the initial revert and should be landed once
Flutter changes have been merged to handle the changes here.
Change-Id: I300a5efd776bf2a596743971f4e15ad62da77f5a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153368
Commit-Queue: Srujan Gaddam <srujzs@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2020-07-14 23:18:43 +00:00
Srujan Gaddam
f8ff12008e
[dart:html] Revert commits using MDN compatibility info
...
This reverts commits aff77e7e..e24f205d.
Due to a breakage in a Flutter roll, this CL stack needs to be
reverted. It should be reintroduced with changes to Flutter code to
compile with the changes in dart:html.
Breakage: https://github.com/flutter/engine/runs/828631927
Change-Id: I9c93c4eab823337d09d2e347015ad9ec402f2038
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152910
Auto-Submit: Srujan Gaddam <srujzs@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Jake Macdonald <jakemac@google.com >
Commit-Queue: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Jake Macdonald <jakemac@google.com >
2020-07-02 01:33:18 +00:00
Srujan Gaddam
7349385185
[dart:html] Changes to template/src to handle compat data
...
Mostly null-assertions to make code compatible with compat
data changes.
Change-Id: I8f7c6c2421d6427851a44588978910deae8440bd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152047
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2020-07-01 22:06:34 +00:00
Srujan Gaddam
3776313e65
Change dart:html templates to generate null-safe code
...
Introduces NULLASSERT token and NNBD condition to allow code to
conditionally compile with NNBD.
Change-Id: Ib71e439f32c793e69b66c328cd7c9900358d886e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134045
Commit-Queue: Srujan Gaddam <srujzs@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2020-02-06 23:18:24 +00:00
Srujan Gaddam
7db61c6b01
Changing the dart:html generator scripts to generate null-safe/nnbd code
...
Change-Id: I4a8b097b126864366076b1e73cf3e0296600380e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128376
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Srujan Gaddam <srujzs@google.com >
2020-01-29 00:20:42 +00:00
Sam Rawlins
221ebec08d
Fix catchError callback example; dartfmt
...
Fixes #21497
Change-Id: I4cc0bfa4c98af49df79bf03430c776a6d9edd0ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112747
Reviewed-by: Terry Lucas <terry@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2019-08-16 20:34:20 +00:00
Sam Rawlins
1a5f5e4caf
Fix doc comment in HttpRequest.getString and other tweaks
...
Bug: https://github.com/dart-lang/sdk/issues/21578
Change-Id: I9ec333319922f27a216c1804d889198baf7e579b
Reviewed-on: https://dart-review.googlesource.com/c/82789
Reviewed-by: Terry Lucas <terry@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2018-11-07 23:31:14 +00:00
Terry Lucas
8fedfc7f8c
Removed DomName, DosEditable, and experimental annoations they are unused.
...
R=kevmoo@google.com ,vsm@google.com
Fixes #32304
Change-Id: Ia2c8f99f0125c4d4bd0f95a792ff2af8a58e3599
Reviewed-on: https://dart-review.googlesource.com/60400
Commit-Queue: Terry Lucas <terry@google.com >
Reviewed-by: Kevin Moore <kevmoo@google.com >
2018-06-18 18:48:03 +00:00
Terry Lucas
621b12f324
Removed DARTIUM codegen for IDLS (sdk/lib/dartium)
...
TBR=alanknight@google.com
Review-Url: https://codereview.chromium.org/2978213002 .
2017-07-18 11:02:02 -07:00
Erik Corry
aa6353b6da
Dart SDK Spelling b, c, and d.
...
R=kmillikin@google.com
BUG=
Review-Url: https://codereview.chromium.org/2850783002 .
2017-05-01 08:28:10 +02:00
Alan Knight
30b489578d
Revert "Reapply zone tasks."
...
This reverts commit 6a7c037aa6 .
BUG=
Review URL: https://codereview.chromium.org/2162643002 .
2016-07-18 13:12:36 -07:00
Florian Loitsch
6a7c037aa6
Reapply zone tasks.
...
This reverts commit 34d3c37233 .
Committed: https://github.com/dart-lang/sdk/commit/f746f8f77e93fd93cb4ff3b4ed644c96a432947a
R=lrn@google.com
Review URL: https://codereview.chromium.org/2119243002 .
Reverted: https://github.com/dart-lang/sdk/commit/dae392291595fa394d601d2d0baa77b66d85533f
2016-07-05 17:33:09 +02:00
Florian Loitsch
dae3922915
Revert "Reapply zone tasks."
...
This reverts commit f746f8f77e .
Review URL: https://codereview.chromium.org/2123593002 .
2016-07-04 21:58:15 +02:00
Florian Loitsch
f746f8f77e
Reapply zone tasks.
...
This reverts commit 34d3c37233 .
Review URL: https://codereview.chromium.org/2119243002 .
2016-07-04 19:55:58 +02:00
Florian Loitsch
34d3c37233
Revert zone tasks.
...
Revert "Add tasks to zones."
This reverts commit 85cccde717 .
Revert "Make Dom events run through zone tasks."
This reverts commit 6d1f6b2af6 .
Revert "Add zone task support for request-anim."
This reverts commit 726b9f8dc7 .
Revert "Add zone task support to http-requests."
This reverts commit b40cfcb57f .
Revert "Update status file for jsshell."
This reverts commit 5e05ee9b5f .
Review URL: https://codereview.chromium.org/2120063002 .
2016-07-01 22:36:52 -07:00
Florian Loitsch
b40cfcb57f
Add zone task support to http-requests.
...
R=alanknight@google.com , lrn@google.com
Review URL: https://codereview.chromium.org/2042033002 .
2016-07-01 19:44:19 -07:00
Jacob Richman
c65854d2e4
Optimize dartium dart:html bindings so real world application performance is acceptable. Improves dart:html performance by 2X-30X for microbenchmarks. Real world improvement is typically 2X-3X.
...
BUG=
Review URL: https://codereview.chromium.org/1832713002 .
2016-03-29 18:32:52 -07:00
Terry L. Lucas
7b322c246c
Dartium JS Enabled take 2
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1348173002 .
2015-09-16 07:13:53 -07:00
Terry L. Lucas
09c804aa78
Revert "Dartium JS Interop enabled."
...
This reverts commit 403bd1698d .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1345083002 .
2015-09-15 19:44:26 -07:00
Terry L. Lucas
403bd1698d
Dartium JS Interop enabled.
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1349493003 .
2015-09-15 17:36:47 -07:00
Terry L. Lucas
9b0d2582fc
Revert "Dartium w/ JsInterop enabled"
...
This reverts commit 346af54711 .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1330163010 .
2015-09-09 17:33:24 -07:00
Terry L. Lucas
346af54711
Dartium w/ JsInterop enabled
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1321613005 .
2015-09-09 17:01:40 -07:00
Terry L. Lucas
012c998f64
Revert "Patched in Dartium JsInterop"
...
This reverts commit 4bb2e617db .
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1327083002 .
2015-09-08 13:35:03 -07:00
Terry L. Lucas
4bb2e617db
Patched in Dartium JsInterop
...
TBR=alanknight@google.com
Review URL: https://codereview.chromium.org//1310363006 .
2015-09-08 12:46:41 -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
sra@google.com
b68a69329f
Add type annotations to some dart:html closures
...
This helps code quality when the types can be trusted or verified.
R=jacobr@google.com
Review URL: https://codereview.chromium.org//891583002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43349 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-30 23:08:39 +00:00
sra@google.com
7516e95066
Redo "Use @Native annotation on dart2js DOM native classes"
...
BUG=
Review URL: https://codereview.chromium.org//410863002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38488 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 04:27:48 +00:00
sra@google.com
9a4f73207e
Revert "Use @Native annotation on dart2js DOM native classes"
...
TBR=blois@google.com
BUG=
Review URL: https://codereview.chromium.org//410823002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38486 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 01:44:13 +00:00
sra@google.com
11a19d95be
Use @Native annotation on dart2js DOM native classes
...
This is one of many steps to removing non-standard syntax from the dart2js libraries.
R=blois@google.com
Review URL: https://codereview.chromium.org//409053002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@38484 260f80e4-7a28-3924-810f-c04153c831b5
2014-07-23 00:23:17 +00:00
efortuna@google.com
4f041c2cff
Updated documentation for HttpRequest.
...
Fix for https://code.google.com/p/dart/issues/detail?id=14423
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//308893004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36844 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-30 22:26:23 +00:00
sethladd@google.com
763918f8df
Additions to HttpRequest docs
...
BUG=
Review URL: https://codereview.chromium.org//162113002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32635 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-12 23:58:13 +00:00
amouravski@google.com
fb475209a8
Reproducing changes from https://chromiumcodereview.appspot.com/23556009/
...
Review URL: https://codereview.chromium.org//54183007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29709 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 22:13:43 +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
floitsch@google.com
8882916b21
Update dom streams with new signatures.
...
Review URL: https://codereview.chromium.org//27036002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28517 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 14:44:52 +00:00
efortuna@google.com
d06cbc3f28
Adjust HTTP Request docs.
...
BUG=
Review URL: https://codereview.chromium.org//25027005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28025 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 20:49:33 +00:00
efortuna@google.com
c8fde9aa01
Fixed more HttpRequest documentation.
...
BUG=
R=blois@google.com
Review URL: https://codereview.chromium.org//24670002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27912 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 21:03:00 +00:00
blois@google.com
78487899af
Attempting to fix IE9 XHR cross domain flakiness.
...
Appears to be related to http://social.msdn.microsoft.com/Forums/ie/en-US/30ef3add-767c-4436-b8a9-f1ca19b4812e/ie9-rtm-xdomainrequest-issued-requests-may-abort-if-all-event-handlers-not-specified
BUG=
R=efortuna@google.com
Review URL: https://codereview.chromium.org//23441013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26875 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-29 16:30:16 +00:00
blois@google.com
7c393eb095
Adding support for cross-origin requests on IE9.
...
BUG=12728
R=efortuna@google.com
Review URL: https://codereview.chromium.org//23640003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26752 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 23:27:59 +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
9dd81d94a7
Fixing up DOM constructors.
...
This is a continuation of https://codereview.chromium.org/17063007/
Basically I changed it so factory constructors are only added if the class derives from a native type. Otherwise the native type now extends Interceptor.
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org//18054021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24619 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-29 00:14:23 +00:00
blois@google.com
6b44f65407
Revert "Making all DOM types abstract and removing superfluous Dartium constructors."
...
This reverts commit http://code.google.com/p/dart/source/detail?r=24241 .
Compiler error, not sure of best fix.
BUG=
Review URL: https://codereview.chromium.org//17508002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24245 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 19:37:47 +00:00
blois@google.com
c3547d4e9b
Making all DOM types abstract and removing superfluous Dartium constructors.
...
Adding factory constructors to all classes to suppress missing generative constructor warnings.
Adding a throw to Dartium's base DOM class to prevent construction of native objects.
This also includes the changes necessary to make all DOM types abstract, but I'm running into a dart2js issue which is preventing that.
BUG=
R=vsm@google.com
Review URL: https://codereview.chromium.org//17063007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24241 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-20 17:31:36 +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
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
efortuna@google.com
804fcbe9f6
Revert the revert.
...
BUG=
Review URL: https://codereview.chromium.org//12707003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20416 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 21:04:29 +00:00
efortuna@google.com
ad7c3f9561
"Reverting 20336"
...
BUG=
Review URL: https://codereview.chromium.org//12827032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20409 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 19:38:28 +00:00
blois@google.com
575ee1430c
Adding CORS support to HttpRequest
...
It's a fairly complicated polyfill to support IE9 CORS with 1 star and not something that jquery does out of the box.
BUG=6016
Review URL: https://codereview.chromium.org//12845008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20336 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:54:55 +00:00
blois@google.com
b5f7c44836
Fixing documentation for HttpRequest
...
The sample code wasn't updated from Future conversion.
BUG=8461
Review URL: https://codereview.chromium.org//12834005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20330 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-21 17:04:15 +00:00