1. 12 11月, 2016 6 次提交
    • M
      Default Response status is 200 OK · 5fd8402e
      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
      5fd8402e
    • M
      Merge pull request #430 from mislav/array-buffer-view · 4528229e
      Mislav Marohnić 提交于
      Support ArrayBufferView types as POST body
      4528229e
    • M
      Test against PhantomJS 2.1.1 on Travis · 25f7646c
      Mislav Marohnić 提交于
      This will get all the ArrayBuffer & Blob tests passing.
      25f7646c
    • M
      Ensure that Blob is supported in case of DataView · 4cc46b26
      Mislav Marohnić 提交于
      PhantomJS 1.9.8 seems to support ArrayBuffer & DataView, but not Blob.
      4cc46b26
    • M
      Add support for DataView as POST body · 800f12ed
      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`.
      800f12ed
    • M
      Add support for ArrayBufferView as POST body · c189b58e
      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.
      c189b58e
  2. 11 11月, 2016 10 次提交
  3. 10 11月, 2016 2 次提交
  4. 09 11月, 2016 4 次提交
  5. 15 10月, 2016 1 次提交
  6. 14 10月, 2016 1 次提交
    • M
      Fix grammar · a85584cb
      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.
      a85584cb
  7. 04 10月, 2016 2 次提交
  8. 25 9月, 2016 2 次提交
  9. 11 9月, 2016 1 次提交
  10. 09 9月, 2016 1 次提交
  11. 24 8月, 2016 1 次提交
  12. 25 7月, 2016 1 次提交
  13. 17 6月, 2016 1 次提交
    • M
      Better error handling with Saucelabs · 0d01bce6
      Mislav Marohnić 提交于
      - Timeout handling for sauce_connect
      - Have `saucelabs-api` show error message on HTTP errors
      - Have `saucelabs-api` exit with nonzero on errors
      - Exit with nonzero if Saucelabs reports that 0 tests have ran
      - Abort Saucelabs API polling on "test error" (unsure what causes this)
      0d01bce6
  14. 02 6月, 2016 1 次提交
  15. 21 5月, 2016 1 次提交
  16. 19 5月, 2016 1 次提交
  17. 29 4月, 2016 1 次提交
  18. 19 4月, 2016 2 次提交
  19. 16 4月, 2016 1 次提交