- 18 11月, 2016 1 次提交
-
-
由 Mislav Marohnić 提交于
Android 4.0 doesn't like the `String.fromCharCode.apply` hack.
-
- 15 11月, 2016 9 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Avoids a potential race condition when the load event already fired before a handler was attached. This was reported happening in Safari. Fixes #353
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Before, when a Request or Response was initialized with an ArrayBuffer or TypedArray, that data was only accessible through `arrayBuffer()` method, and if it was initialized with DataView, it wasn't accessible at all. Now, regardless of the original type of body, the accessors `blob()`, `arrayBuffer()`, and `text()` always work.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 13 11月, 2016 2 次提交
-
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
-
- 12 11月, 2016 7 次提交
-
-
由 Mislav Marohnić 提交于
This is in accordance with Section 6.4 of the spec: dictionary ResponseInit { unsigned short status = 200; ByteString statusText = "OK"; HeadersInit headers; }; Fixes #376
-
由 Mislav Marohnić 提交于
Support ArrayBufferView types as POST body
-
由 Tamir Duberstein 提交于
Fixes #350.
-
由 Mislav Marohnić 提交于
This will get all the ArrayBuffer & Blob tests passing.
-
由 Mislav Marohnić 提交于
PhantomJS 1.9.8 seems to support ArrayBuffer & DataView, but not Blob.
-
由 Mislav Marohnić 提交于
DataView is one of the possible views for ArrayBuffer, which the fetch spec says should be supported. However, IE 10-11 don't handle it well when passed unmodified to XMLHttpRequest. As a workaround, wrap every DataView in a Blob. It's interesting to note that IE 10's string representation of a DataView instance is `[object Object]` rather than `[object DataView]`. Therefore, the only way to detect it is via `isPrototypeOf`.
-
由 Mislav Marohnić 提交于
Section 6.2 of the spec says that body can be BufferSource. BufferSource is defined in https://heycam.github.io/webidl/#BufferSource: > The BufferSource typedef is used to represent objects that are either > themselves an ArrayBuffer or which provide a view on to an ArrayBuffer. Furthermore, passing an ArrayBuffer directly to XMLHttpRequest is considered deprecated and Safari throws a warning about it. This makes it even more important to support ArrayBufferView in fetch. The fallback for `ArrayBuffer.isView` is provided for IE 10, which doesn't implement the method.
-
- 11 11月, 2016 10 次提交
-
-
由 Mislav Marohnić 提交于
Spec compatibility for Request/Response constructors and cloning
-
由 Mislav Marohnić 提交于
-
由 Seph Soliman 提交于
Body of Request must be cloned using a value to avoid consumption of it. Once a new body is initialized, re-initialize the old value. Fixes #308, closes #335
-
由 Mislav Marohnić 提交于
Now splits by `\r\n` because that's the header line delimiter. No tests because I can't figure out how to return a manually formatted headers payload from Node.js HTTP server. Fixes #422
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
Fixes #411
-
由 Mislav Marohnić 提交于
Section 6.4 of the spec: > If init’s `headers` member is present, run these substeps: > ... Fill r’s Headers object with init’s `headers` member. Fixes #416
-
由 Mislav Marohnić 提交于
Section 6.5 of the spec: > Let `request` be the associated request of the result of invoking > the initial value of Request as constructor with `input` and `init` > as arguments.
-
由 Mislav Marohnić 提交于
The Headers, Request, and Response suites should mainly be exercising those classes and not invoking the `fetch` method. Most of those tests that do have now been moved to the "fetch method" suite.
-
由 Mislav Marohnić 提交于
Section 6.3 of the spec: > If `input` is a string, then run these substeps: ... > Otherwise (`input` is a Request object), run these substeps: ... It's worth noting that Chrome and Firefox don't implement this right now, and will cast any non-Request object passed as 1st argument (even null/undefined) to a string.
-
- 10 11月, 2016 2 次提交
-
-
由 Mislav Marohnić 提交于
Improve Readme
-
由 Mislav Marohnić 提交于
-
- 09 11月, 2016 4 次提交
-
-
由 Mislav Marohnić 提交于
Hopefully this will help reduce the number of invalid issues opened.
-
由 Mislav Marohnić 提交于
-
由 Mislav Marohnić 提交于
No longer recommend es6-promise due to its size and the fact it doesn't conform to Promises/A+. Fixes #415
-
由 Mislav Marohnić 提交于
Fixes #393
-
- 15 10月, 2016 1 次提交
-
-
由 Mislav Marohnić 提交于
Fix grammar
-
- 14 10月, 2016 1 次提交
-
-
由 Marcio Puga 提交于
The adjective similar is modifying behave instead of a noun or pronoun. Use an adverb to modify a verb, adjective, or other adverb.
-
- 04 10月, 2016 2 次提交
-
-
由 Mislav Marohnić 提交于
Fixed typo in README.md
-
由 Samuel Scheiderich 提交于
Microsft -> Microsoft
-
- 25 9月, 2016 1 次提交
-
-
由 Mislav Marohnić 提交于
It's been broken for a while, causing everyone's PR to show up as a failed build. This isn't nice to our contributors, since it's not their fault.
-