Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(100)

Issue 11471005: Add documentation for HttpRequest. (Closed)

Created:
8 years ago by Emily Fortuna
Modified:
8 years ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add documentation for HttpRequest. Committed: https://code.google.com/p/dart/source/detail?r=15848

Patch Set 1 #

Total comments: 18

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : #

Patch Set 5 : #

Total comments: 2

Patch Set 6 : #

Total comments: 7

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+701 lines, -37 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 1 2 3 4 5 6 91 chunks +238 lines, -0 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 1 2 3 4 5 6 87 chunks +133 lines, -0 lines 0 comments Download
M sdk/lib/html/docs/html_docs.json View 1 2 3 4 5 6 5 chunks +191 lines, -36 lines 0 comments Download
M sdk/lib/html/scripts/htmldartgenerator.py View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M sdk/lib/html/templates/html/impl/impl_XMLHttpRequest.darttemplate View 1 2 3 4 5 6 1 chunk +42 lines, -1 line 0 comments Download
M sdk/lib/svg/dart2js/svg_dart2js.dart View 1 2 3 4 5 48 chunks +48 lines, -0 lines 0 comments Download
M sdk/lib/svg/dartium/svg_dartium.dart View 1 2 3 4 5 48 chunks +48 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Emily Fortuna
the "docs editable" tag was not being generated for constructors, so I added it. There's ...
8 years ago (2012-12-06 19:11:05 UTC) #1
Kathy Walrath
Yay, more docs! I started taking a look at the words. Here's what I have, ...
8 years ago (2012-12-06 19:40:29 UTC) #2
Emily Fortuna
PTAL https://codereview.chromium.org/11471005/diff/1/sdk/lib/html/dart2js/html_dart2js.dart File sdk/lib/html/dart2js/html_dart2js.dart (right): https://codereview.chromium.org/11471005/diff/1/sdk/lib/html/dart2js/html_dart2js.dart#newcode5611 sdk/lib/html/dart2js/html_dart2js.dart:5611: /// Returns the [Window] associated with the document. ...
8 years ago (2012-12-06 21:08:47 UTC) #3
Kathy Walrath
A few picky comments, plus a couple that actually matter, format-wise (in the bulleted list ...
8 years ago (2012-12-06 22:53:14 UTC) #4
Emily Fortuna
PTAL. Sorry about that -- some of my fixes got clobbered. :-(
8 years ago (2012-12-06 23:04:07 UTC) #5
Kathy Walrath
lgtm A couple of tweaks, if you can, but not a big deal. https://codereview.chromium.org/11471005/diff/14010/sdk/lib/html/templates/html/impl/impl_XMLHttpRequest.darttemplate File ...
8 years ago (2012-12-07 00:46:29 UTC) #6
Andrei Mouravski
8 years ago (2012-12-07 17:13:37 UTC) #7
With 3 minutes to go!

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
File sdk/lib/html/dart2js/html_dart2js.dart (right):

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
sdk/lib/html/dart2js/html_dart2js.dart:9714: * Creates a URL get request for the
specified [url].
No [] in first sentences, here and below.

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
sdk/lib/html/dart2js/html_dart2js.dart:9730: * See also (authorization
headers)[http://en.wikipedia.org/wiki/Basic_access_authentication].
Colon after See also

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
sdk/lib/html/dart2js/html_dart2js.dart:9739: * General constructor for any type
of request (GET, POST, etc). To be used
Put the second sentence to its own paragraph.

Maybe:
"The constructed request is used with [open] to do blah blah blah..."

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
sdk/lib/html/dart2js/html_dart2js.dart:9754: * Get the set of
[HttpRequestEvents] that this request can respond to.
"Get the request events that this request can respond to."

Make second bit a new paragraph.

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
sdk/lib/html/dart2js/html_dart2js.dart:9833: * or authorization headers; false
otherwise. This value is ignored for
Second sentences should go in a new paragraph. Here and below.

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
sdk/lib/html/dart2js/html_dart2js.dart:9905: * Send the request with any given
`data`. See also
See also in new paragraph with a colon after it.

https://codereview.chromium.org/11471005/diff/3004/sdk/lib/html/dart2js/html_...
sdk/lib/html/dart2js/html_dart2js.dart:9906: * [MDN send()
docs](https://developer.mozilla.org/en-US/docs/DOM/XMLHttpRequest#send()).
I think the patter we have been using is:
"See also:
  * [Blah blah docs](link) from Source.

Powered by Google App Engine
This is Rietveld 408576698