Ehsan Akhgari
ceca8787f1
Bug 1125178 - Mark some functions in dom as override; r=baku
2015-01-23 14:27:12 -05:00
Nikhil Marathe
f9d7b7576c
Bug 1122194 - Follow method validation rules when constructing Request. r=baku,bkelly
2015-01-15 12:11:12 -08:00
Nikhil Marathe
c5d867ffe6
Bug 1119026 - Respect skip serviceworker flag. r=baku,bkelly
2014-12-24 02:08:41 -08:00
Nikhil Marathe
905b0da674
Bug 1112922 - Implement request referrer correctly in Fetch API. r=bkelly
2014-12-23 07:56:19 -08:00
Tejas Srinivasan
7bffd8f3f8
Bug 1120652 - Remove MainThreadFetchResolver::OnResponseEnd() and provide an empty definition in the parent class FetchDriverObserver. r=nsm
2015-01-14 23:59:00 -05:00
Nikhil Marathe
86e81d17de
Bug 1119021 - Implement fetch() redirects correctly. r=bkelly
2015-01-07 13:47:18 -08:00
Nikhil Marathe
03579a2217
Bug 1119021 - CORS credentials tests. r=bkelly
...
Allow request to continue when useCredentials is set.
2015-01-05 15:43:54 -08:00
Nikhil Marathe
1941238a33
Bug 1119021 - CORS support. r=baku,bkelly
...
Use nsCrossSiteListenerProxy.h helpers to implement CORS support.
Several CORS fixes and lots of CORS tests.
Fixes:
Use empty string stream if response has no stream.
Parse Access-Control-Expose-Headers correctly.
Copy over remaining InternalRequest constructor attributes and set unsafe request flag.
Call FailWithNetworkError() in more cases.
Add non-simple Request headers to unsafeHeaders list for CORS check.
Do not AsyncOpen channel directly when CORS preflight is required.
Fix check for simple request method (was checking the opposite condition).
2015-01-07 15:50:54 -08:00
Nikhil Marathe
7037245306
Bug 1112073 - Linux non-unified build bustage fix. a=bustage
2015-01-14 14:01:02 -08:00
Nikhil Marathe
5fc3ba0a7e
Bug 1112073 - Implement Response.redirect. r=baku,bkelly
2014-12-26 09:44:09 -08:00
Nikhil Marathe
2c90ec50fb
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
2015-01-07 16:24:40 -08:00
Ryan VanderMeulen
b82b313197
Backed out changeset 88970726eb6b (bug 1119044) for Werror bustage.
2015-01-13 13:26:52 -05:00
Nikhil Marathe
75f5a806a9
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
2015-01-07 16:24:40 -08:00
Nikhil Marathe
a8799f4e4c
Bug 1115214 - Fetch API: Always consume body asynchronously. r=baku
2014-12-23 21:47:17 -08:00
Nikhil Marathe
7d4e9dbdc2
Bug 1109574 - Check for null body before setting bodyUsed in Request constructor. r=bkelly
2014-12-23 02:25:17 -08:00
Nikhil Marathe
6b707411fc
Bug 1039846 - Patch 7: Create channel with a loadgroup. r=baku,bkelly
2015-01-08 08:55:05 -08:00
Nikhil Marathe
8ba96bbf1d
Bug 1039846 - Patch 5.1: Set request upload stream and headers. r=baku,bkelly
2014-12-09 22:35:22 -08:00
Nikhil Marathe
5efcea65d0
Bug 1039846 - Patch 5: FetchDriver basic HTTP fetch support. r=baku,bkelly
...
This patch has the following big pieces:
HTTP support in FetchDriver, which requires the principal of the caller to be passed.
Managing worker lifetime when a fetch() call is in progress.
Managing worker lifetime when a Response body is being read.
Using nsIPipe to link network streams to Request/Response body streams.
Using nsIInputStreamPump to convert Request/Response body streams into respective types.
Folded:
Bug 1039846 - Fetch API: Use a pipe to immediately start writing HTTP body data to InternalResponse.
Bug 1039846 - Assert bodystream can be set only once
Bug 1039846 - Add feature when handling fetch responses on workers
Bug 1039846 - Try to retarget http fetch delivery off main thread.
Bug 1039846 - Safely consume body using nsIInputStreamPump on workers and main thread.
Bug 1039846 - Retarget body reading to stream transport service.
2014-12-10 00:51:59 -08:00
Ehsan Akhgari
bd52bd3f4e
Bug 1118486 - Part 1: Use = delete
instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
9e77f6568d
Bug 1118430 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/fetch; r=baku
2015-01-06 16:35:24 -05:00
Andrea Marchesini
76ea507b88
Bug 1057994 - DataStore should not dispatch runnables in a worker when it is shutting down, r=bent
...
--HG--
rename : dom/datastore/tests/file_basic_worker.html => dom/datastore/tests/file_worker_close.html
rename : dom/datastore/tests/test_basic_worker.html => dom/datastore/tests/test_worker_close.html
2014-12-17 14:49:36 +00:00
Andrea Marchesini
0f6d57eea4
Bug 1077393 - Rename ScalarValueString to USVString. r=smaug
...
--HG--
rename : dom/bindings/parser/tests/test_scalarvaluestring.py => dom/bindings/parser/tests/test_usvstring.py
rename : dom/bindings/test/test_scalarvaluestring.html => dom/bindings/test/test_usvstring.html
2014-11-20 12:58:00 +01:00
Ehsan Akhgari
3e2be4b2e7
Bug 1090242 - Fix some more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 22f80376a2ce9415dc9d7fdd2444405d3cd7e011
2014-10-10 17:28:35 -04:00
Nikhil Marathe
26187b75fc
Bug 1082924 - Add CSP type for fetch API. r=tvyas,baku
...
--HG--
extra : transplant_source : i%D8%5C%7C%9D%FEQL%C1G%B8%3B2%06%AA%AE%3A%09%29%7E
2014-10-13 15:09:58 -07:00
Nikhil Marathe
27969e06cf
Bug 1039846 - Fix morebustage. r=bustage CLOSED TREE
2014-10-20 13:59:01 -07:00
Nikhil Marathe
e531a700d4
Bug 1039846 - Fix bustage. r=bustage CLOSED TREE
...
--HG--
extra : amend_source : b68f2c23ae47c334e4caedf5f74b4a82bbc90df2
2014-10-20 13:25:56 -07:00
Nikhil Marathe
4820ff89e2
Bug 1039846 - Patch 4: FetchDriver with about:, blob: and data: fetching. r=baku
...
--HG--
extra : transplant_source : o%29%0E%5D%90%11%FA%1ExO%26%7E%9D_%F2%E7%0B%FE%21%B2
2014-10-06 11:01:20 -07:00
Peter Van der Beken
7ced30305e
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Nikhil Marathe
e68c05fb4f
Bug 1071290 - Allow Blobs in Fetch BodyInit. r=baku
...
--HG--
extra : rebase_source : 412dffd78d5b0c4cddad58374bbe1dd051877c47
2014-10-09 10:52:10 -07:00
Nikhil Marathe
61e3edff9e
Bug 1039846 - Split Headers into InternalHeaders. r=baku
...
--HG--
extra : rebase_source : 1b7e0a27e44f1e11ed84de7be18a19155d6750d5
2014-10-02 10:59:20 -07:00
Nikhil Marathe
65750f3bb9
Bug 1039846 - Response implementation. r=baku
...
--HG--
extra : rebase_source : 0da394758a5ccf6c1fe87d1a51ed0c4c27d9350e
2014-09-26 16:41:15 -07:00
Andrea Marchesini
1560ff52a9
Bug 1047483 - patch 3 - Renaming DOMFile to File, r=ehsan
...
--HG--
rename : content/base/public/nsDOMFile.h => content/base/public/File.h
rename : content/base/src/nsDOMFile.cpp => content/base/src/File.cpp
2014-10-08 17:15:23 +01:00
Andrea Marchesini
57fa89d6de
Bug 1047483 - patch 1 - Porting DOMFile/DOMBlob to WebIDL, r=bz, r=bkelly, r=bholley
2014-10-08 17:15:22 +01:00
Ehsan Akhgari
ae6ea86e62
Bug 1079317 - Fix some more bad implicit constructors in DOM; r=baku
2014-09-24 09:16:53 -04:00
Ryan VanderMeulen
566e49b6ff
Backed out 7 changesets (bug 1047483, bug 1079301, bug 1079335) for webplatform test failures.
...
Backed out changeset 7d06b68c44d0 (bug 1079335)
Backed out changeset 92030169528e (bug 1079301)
Backed out changeset c09d7f95554a (bug 1047483)
Backed out changeset c199f1057d7e (bug 1047483)
Backed out changeset 18830d07884c (bug 1047483)
Backed out changeset e087289ccfbb (bug 1047483)
Backed out changeset 6238ff5d3ed0 (bug 1047483)
CLOSED TREE
--HG--
rename : content/base/public/File.h => content/base/public/nsDOMFile.h
rename : content/base/src/MultipartFileImpl.cpp => content/base/src/nsDOMBlobBuilder.cpp
rename : content/base/src/MultipartFileImpl.h => content/base/src/nsDOMBlobBuilder.h
rename : content/base/src/File.cpp => content/base/src/nsDOMFile.cpp
2014-10-07 13:16:11 -04:00
Andrea Marchesini
2e4f87163f
Bug 1079335 - Blob/File headers should be used in Fetch API, r=peterv - CLOSED TREE
2014-10-07 17:02:28 +01:00
Peter Van der Beken
4b7e268d87
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Nikhil Marathe
47f3cb08c3
Bug 1039846 - Request implementation. r=baku
...
--HG--
extra : transplant_source : %E6%A1%EB%5C3%95%8A%B4%3F%5C%D8%28%B2%98%5E%A1%C2%E5%1C%EE
2014-09-23 22:03:20 -07:00
Nikhil Marathe
e54e0f3bf9
Bug 1017613 - Part 2 - Response IDL and stubs. r=baku
...
--HG--
extra : transplant_source : %AEc%0E%00%0D%92%AB.f%B5%EB%87%F7%C9%5DgX%93%AC%0A
2014-07-24 17:50:32 -07:00
Nikhil Marathe
f34819aa10
Bug 1017613 - Part 1 - Fetch Body and Request. r=baku
...
--HG--
extra : transplant_source : R%AF%84%A2%29W%B8%86%D2o%DB%D4G%B2%D8%87%25i%0D%BE
2014-07-24 17:53:03 -07:00
Nikhil Marathe
23e6ec044c
Bug 1074286 - Fix Headers::Fill(const Headers&, ErrorResult&). r=bkelly
...
--HG--
extra : transplant_source : %D1%01q%8E%B5%CAmG%16%D75tb%FC%1CM%A22%B5Z
2014-09-29 10:28:52 -07:00
Ben Kelly
0143a48856
Bug 1045561 Use a WebIDL Func attribute to conditionally enable Fetch Headers. r=ehsan r=bz
2014-07-29 17:24:22 -04:00
Ben Kelly
3262ea49cd
Bug 1029620 P6 Implement Fetch Headers DOM object. r=ehsan r=jst
2014-07-28 15:28:20 -04:00