Ben Kelly
548ebdbbc0
Bug 1285502 P1 Make InternalRequest::GetRequestConstructorCopy() copy the referrer per the spec. r=asuth
2016-07-11 12:25:54 -07:00
Thomas Nguyen
64fdf9d702
Bug 1251378 - Use referrer policy of worker instead of default. r=ehsan
...
MozReview-Commit-ID: I8X8nMkaS9V
2016-04-01 11:52:28 +08:00
Andi-Bogdan Postelnicu
e432d12243
Bug 1282408 - add ignore initialization check flag for variables from InternalRequest. r=jst
...
MozReview-Commit-ID: Fc3IlwHO3jY
2016-06-30 10:05:00 +03:00
Andrea Marchesini
6209c0d90e
Bug 1269161 - Remove the separate worker bindings for URL, r=khuey
2016-06-29 07:43:44 +02:00
Andrea Marchesini
aac2306f2c
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-23 10:53:14 +02:00
Carsten "Tomcat" Book
47aeb86e2c
Backed out changeset 1c5d78c7ba43 (bug 1269154) for bustage on a CLOSED TREE
...
--HG--
rename : dom/cache/CacheWorkerHolder.cpp => dom/cache/Feature.cpp
rename : dom/cache/CacheWorkerHolder.h => dom/cache/Feature.h
rename : dom/workers/WorkerHolder.h => dom/workers/WorkerFeature.h
extra : rebase_source : 49f9e9ce0500ac441fe97878cf9308804926544f
2016-06-23 10:13:54 +02:00
Andrea Marchesini
45087a7970
Bug 1269154 - Get rid of WorkerFeature: WorkerHolder, r=khuey
...
--HG--
rename : dom/cache/Feature.cpp => dom/cache/CacheWorkerHolder.cpp
rename : dom/cache/Feature.h => dom/cache/CacheWorkerHolder.h
rename : dom/workers/WorkerFeature.h => dom/workers/WorkerHolder.h
2016-06-22 17:24:35 +02:00
Christoph Kerschbaumer
19ac7d31c1
Bug 1274170 - Remove unnecessary includes of nsCorsListenerProxy. r=jkingston
...
--HG--
extra : rebase_source : 488864e497a7e6c127a98e05efd17d1d0580e000
2016-06-21 12:54:03 +02:00
Jarda Snajdr
b57da2dc12
Bug 1278778 - Show JS stack traces of Fetch requests in Netmonitor r=bkelly
2016-06-14 04:08:00 +01:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Andrew Sutherland
af016de2cb
Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
...
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache. There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Andrea Marchesini
43a1cd6c16
Bug 1277226 - Implement MainThreadWorkerRunnable, r=sicking
2016-06-08 07:12:05 +02:00
Jonas Sicking
4ab94e9f20
Bug 1263991 part 4: Support response body. r=bkelly
2016-06-07 02:46:03 -07:00
Jonas Sicking
64a8f66145
Bug 1263991 part 3: Support incoming and outgoing requests/responses. r=baku f=bkelly
2016-06-07 02:46:03 -07:00
Carsten "Tomcat" Book
a62eba3cef
Backed out changeset 5853ea69f6c4 (bug 1263991)
2016-06-07 12:10:27 +02:00
Carsten "Tomcat" Book
493f097700
Backed out changeset 9be76aad30b1 (bug 1263991)
2016-06-07 12:10:26 +02:00
Jonas Sicking
c867263f70
Bug 1263991 part 4: Support response body. r=bkelly
2016-06-07 02:46:03 -07:00
Jonas Sicking
e6c14cd4ed
Bug 1263991 part 3: Support incoming and outgoing requests/responses. r=baku f=bkelly
2016-06-07 02:46:03 -07:00
Jonas Sicking
32162d33c2
Bug 1273279 - Changes in preparation for FlyWeb landing. Change InternalResponse handling to track body size. r=baku f=bkelly
...
--HG--
extra : amend_source : 257331b8f4b86d6e1c7608ca6866526ce6aa645a
2016-06-01 17:02:29 -04:00
Ben Kelly
f671f48c5d
Bug 1273070 P1 Fix fetch() WorkerRunnable classes to allow it to work with nested Workers. r=khuey
2016-05-19 11:39:13 -07:00
Ben Kelly
23a521f80e
Bug 1271493 Dispatch fetch control runnable even in opt builds. r=mccr8
2016-05-11 07:42:05 -07:00
Ben Kelly
45e5796248
Backout 212d1af61570 (bug 1271493) for winxp bustage. r=me
2016-05-10 17:38:39 -07:00
Ben Kelly
4fcf10742d
Bug 1271493 Dispatch fetch control runnable even in opt builds. r=mccr8
2016-05-10 16:43:17 -07:00
Tom Tung
842431d95a
Bug 1243792 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
...
--HG--
extra : rebase_source : 29ec29361738c6d2446b410a98bd4876a689ce99
2016-05-03 09:48:40 +08:00
Carsten "Tomcat" Book
a993b36b4a
Backed out changeset dc42de66de8c (bug 1243791) landing with wrong bug number
...
--HG--
extra : rebase_source : b016defba5a12065b401d0d59b3f03e8b1d7cbe1
2016-05-10 12:50:15 +02:00
Tom Tung
15b89607c6
Bug 1243791 - P1 implement response.redirected - Fetch API & Cache API & ServiceWorker changed. r=bkelly, r=baku.
2016-05-03 09:48:40 +08:00
Ben Kelly
4951f23f02
Bug 1270161 Make fetch() use a control runnable to cleanup if the worker thread is shutting down. r=baku
2016-05-05 13:02:27 -07:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Andrea Marchesini
513590a1ac
Bug 1267904 - Add telemetry for WorkerMainThreadRunnable, r=khuey
2016-05-03 09:09:47 +02:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Ehsan Akhgari
756a1054f9
Bug 1265941 - Rename the ReferrerPolicy "origin-only" enum value to "origin"; r=jdm
2016-04-20 14:21:34 -04:00
Stone Shih
aa7c2fc2bd
Bug 1240436 - Part1: Convert UTF16 to UTF8 before generating nsStringInputStream. r=khuey
2016-04-12 16:33:53 +08:00
Marcos Caceres
f7ad23868a
Bug 1250048 - CSP manifest-src doesn't override default-src. r=ckerschb,bkelly,ehsan
...
MozReview-Commit-ID: Ceu3sYUcML4
2016-04-07 14:13:09 -07:00
Kyle Huey
d9265a3eaf
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Kyle Huey
fe5f7b4105
Bug 1259290: Part 5 - Remove the cx from WorkerFeature::Notify. r=bz
2016-03-28 10:28:14 -07:00
Wes Kocher
fe9aec58c3
Backed out changeset 1d5e6c22fd3a (bug 1250048) for CSP failures/assertions in various tests/chunks CLOSED TREE
...
MozReview-Commit-ID: I21ELiYYqdD
--HG--
extra : amend_source : 83d8554e6046153a3cf16ffefed7d6602e822241
2016-03-21 12:42:36 -07:00
Marcos Caceres
2e3ca60562
Bug 1250048 - CSP manifest-src doesn't override default-src. r=ckerschb
...
--HG--
extra : rebase_source : 1f8a65dcb9ea909588991cd5e8970560c3651426
2016-03-20 23:24:00 -04:00
Shawn Huang
582371f54e
Bug 918706 - Return NS_ERROR_DOM_SYNTAX_ERR if method is invalid, r=khuey
2016-03-17 15:29:42 +08:00
Ehsan Akhgari
24fbc15619
Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly
2016-03-11 14:40:53 -05:00
Ehsan Akhgari
a014521971
Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly
2016-03-11 14:40:49 -05:00
Ehsan Akhgari
b70a0ad138
Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly
2016-03-11 14:40:41 -05:00
Eric Rahm
ec9877219e
Bug 1253054 - Stop warning if request has already failed. r=bkelly
2016-03-11 11:18:07 -08:00
Ehsan Akhgari
09a89f85f6
Bug 1255636 - Give a better error message when the Request constructor fails because of a cross-origin referrer URL; r=bkelly
2016-03-10 21:11:30 -05:00
Ryan VanderMeulen
e98112b9bd
Backed out 8 changesets (bug 1120715) for Android dom/u2f/tests/test_no_token.html permafail.
...
Backed out changeset 043770204431 (bug 1120715)
Backed out changeset e10c375353f4 (bug 1120715)
Backed out changeset c2871dbeb7cc (bug 1120715)
Backed out changeset 79158f028ad3 (bug 1120715)
Backed out changeset c74866f52320 (bug 1120715)
Backed out changeset c731944ecc64 (bug 1120715)
Backed out changeset 44f346712a3a (bug 1120715)
Backed out changeset 60d6045125e2 (bug 1120715)
CLOSED TREE
2016-03-10 20:20:05 -05:00
Ehsan Akhgari
8508bae9bf
Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly
2016-03-10 17:29:11 -05:00
Ehsan Akhgari
53434f9639
Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly
2016-03-10 17:29:11 -05:00
Ehsan Akhgari
f08814d04f
Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly
2016-03-10 17:29:11 -05:00
Wes Kocher
53011a6a05
Backed out 6 changesets (bug 1120715) for wpt bustage in request-cache.html
...
Backed out changeset 2ee4b18f6b3a (bug 1120715)
Backed out changeset f87a25ade31e (bug 1120715)
Backed out changeset 9391f22c08c2 (bug 1120715)
Backed out changeset c5bf9f7bb86e (bug 1120715)
Backed out changeset 7e003fb64d41 (bug 1120715)
Backed out changeset ef66b64e9f8a (bug 1120715)
MozReview-Commit-ID: AI47IhtGWea
2016-03-09 15:57:43 -08:00
Ehsan Akhgari
017bf0f2b6
Bug 1120715 - Part 6: Remove the dom.requestcache.enabled pref; r=bkelly
2016-03-09 16:45:01 -05:00
Ehsan Akhgari
ea3b20fae4
Bug 1120715 - Part 5: Treat a default cache mode Request with a revalidation header as no-store; r=bkelly
2016-03-09 16:44:58 -05:00
Ehsan Akhgari
d9ecb20ef6
Bug 1120715 - Part 3: Connect the Necko level cache mode parameter with the Request cache mode variable; r=bkelly
2016-03-09 16:43:33 -05:00
Jonathan Watt
a73bd8c354
Bug 1253094, part 1 - Stop using DebugOnly for class/struct members in dom/. r=baku
...
MozReview-Commit-ID: ErWZs9oV4WS
2016-02-26 15:52:06 +00:00
Ehsan Akhgari
38637e2005
Bug 1251872 - Part 1: Implement Request.referrerPolicy; r=jdm
2016-03-03 16:43:55 -05:00
Ehsan Akhgari
36207d26f5
Bug 1251448 - Add support for RequestInit.referrer; r=jdm
2016-03-02 18:18:27 -05:00
Boris Zbarsky
f47268eca8
Bug 1252127. Remove unnecessary JSContext argument from PromiseWorkerProxy::CleanUp. r=khuey
2016-02-29 14:52:42 -05:00
Boris Zbarsky
663b9bd562
Bug 1252091. Add/RemoveFeature don't need a JSContext argument. r=khuey
2016-02-29 14:52:42 -05:00
Ben Kelly
1169129154
Bug 1251229 P1 Strip fragment from request URL when creating FetchEvent. r=ehsan
2016-02-29 13:21:19 -05:00
Huma Zafar
06fc8dac78
Bug 1206166 - Move FetchUtil::Consume methods into separate BodyUtil class and update Fetch.cpp and ServiceWorkerEvents.cpp accordingly. r=kitcambridge
...
MozReview-Commit-ID: KgEccQ2LPpC
--HG--
extra : histedit_source : 17fb2f5c022399b050a12b013f004e628ca4b9d0
2016-02-27 13:54:11 -08:00
Boris Zbarsky
7345c5edb1
Bug 1251045 part 4. Remove the JSContext argument of WorkerRunnable::Dispatch. r=khuey
2016-02-26 15:23:12 -05:00
Ehsan Akhgari
eeaaec0d28
Bug 1250985 - Part 2: Prevent copy constructing a Request object with navigate mode if a RequestInit member is present; r=bzbarsky
2016-02-25 19:49:06 -05:00
Ehsan Akhgari
40429e1dd8
Bug 1250987 - Make RequestInit.body nullable; r=bzbarsky
2016-02-25 09:12:42 -05:00
Stefan Dye
4ddfe18b64
Bug 1204520 - Remove unused return value from FetchDriver::FailWithNetworkError. r=jdm
2016-01-31 21:56:00 -05:00
Ben Kelly
1de96897ae
Bug 1244764 P1 Make Cache .add()/.addAll() fail if a Response.ok() is false. r=ehsan
2016-02-04 07:59:52 -08:00
Birunthan Mohanathas
d7371d07d0
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6
Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
...
CLOSED TREE
Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e
Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Ehsan Akhgari
fbf2580b8c
Bug 1197379 - Remove support for intercepting app:// URIs using service workers; r=jdm
2016-01-27 15:26:27 -05:00
dimi
c21d1ebd14
Bug 1188822 - Make service-workers/service-worker/fetch-request-resources.https.html pass. r=bkelly
2016-01-25 14:18:29 +08:00
Ehsan Akhgari
d08dcc913c
Bug 1209081 - Part 1: Implement the "navigate" value for RequestMode; r=bkelly
2016-01-19 17:46:10 -05:00
Ben Kelly
d255c137ac
Bug 1237455 P5 Set headers on fetch() redirects. r=ehsan
2016-01-19 13:54:15 -08:00
Ben Kelly
e8c08705f3
Bug 1237455 P4 Create helper method to set fetch request headers. r=ehsan
2016-01-19 13:54:15 -08:00
Thomas Kuyper
2ae35fec9a
Bug 1184550 - Move the check for bodyUsed before the check for a null body so subsequent fetches with the same Request fail. r=bkelly
2016-01-14 08:57:00 -05:00
Ehsan Akhgari
df420183a8
Bug 1201664 - Avoid using Request's constructor when creating FetchEvent.request; r=bkelly
...
This enables us to avoid a number of checks in Request::Constructor
which don't make sense for exposing FetchEvent.request.
2016-01-14 13:08:36 -05:00
Ben Kelly
66209204da
Bug 1238134 P1 Provide a Response.cloneUnfiltered() method for chrome code to access internal Response state. r=ehsan
2016-01-12 12:15:12 -08:00
Andrea Marchesini
83b88d383f
Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug
2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
6692893d20
Backed out changeset 5f6a58676e87 (bug 1231378)
2016-01-12 15:48:57 +01:00
Andrea Marchesini
001e241382
Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug
2016-01-12 13:54:53 +00:00
Andrea Marchesini
4fd7346fa1
Bug 1237674 - Rename nsFormData to mozilla::dom::FormData, r=smaug
...
--HG--
rename : dom/base/nsFormData.cpp => dom/base/FormData.cpp
rename : dom/base/nsFormData.h => dom/base/FormData.h
2016-01-07 19:30:36 +00:00
dimi
67f0b5d3cf
Bug 1205288 - implement and test fetch spec changes for blob scheme with non-GET method. r=bkelly
2016-01-06 17:13:19 +08:00
Jonas Sicking
0bb4231605
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-06 18:33:15 -05:00
Jonas Sicking
f7193fdf30
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-06 18:33:15 -05:00
Jonas Sicking
28de02f687
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-06 18:33:14 -05:00
Jonas Sicking
0e0c8c52ea
Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
774236075d
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
993136c2c9
Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb
2015-12-05 01:46:21 -08:00
Jonas Sicking
7fae3fd853
Bug 1226909 part 4: Make AsyncOpen2 set taining information on channels. Use this information in XHR and fetch(). r=bkelly
2015-12-05 01:46:20 -08:00
Jonas Sicking
ff12f48c5a
Bug 1226909 part 3: Move logic of when to initiate CORS preflight into channels. Allow CORS preflight to happen when doing a same-origin to cross-origin redirect. r=ckerschb
2015-12-05 01:46:20 -08:00
Jonas Sicking
918c689657
Bug 1226909 part 2: Let CORS preflight logic grab information from nsILoadInfo rather than duplicate it. r=ckerschb
2015-12-05 01:46:20 -08:00
Andrea Marchesini
ae1df2b2a2
Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz
2015-12-04 21:15:46 +00:00
Wes Kocher
bdc3f1fdf0
Backed out changeset b3cfca056388 (bug 1230509) for build bustage CLOSED TREE
...
--HG--
extra : commitid : 6ezF1zP3n26
2015-12-04 10:50:17 -08:00
Andrea Marchesini
40373a6e18
Bug 1230509 - BlobImplFile should return false in IsDateUnknown and IsSizeUnknown, r=bz
2015-12-04 18:18:21 +00:00
Francois Marier
c18c6996e6
Bug 1216793 - check against tracking protection list in fetch(). r=gcp
2015-11-30 16:27:56 -08:00
Boris Zbarsky
68dc1d9878
Bug 1224596 part 16. Switch Fetch to using the new WorkerMainThreadRunnable::Dispatch signature. r=bkelly
2015-11-24 00:04:21 -05:00
Boris Zbarsky
58f083c12c
Bug 1224596 part 14. Switch URL to using the new WorkerMainThreadRunnable::Dispatch signature. r=baku
2015-11-24 00:04:21 -05:00
Jonas Sicking
66bbe5bc72
Bug 1217456: Add a security flag for controlling redirects. Use this flag in fetch() implementation. r=bkelly,jduell
2015-11-23 18:47:10 -08:00
Andrea Marchesini
9dc9655c9e
Bug 1213815 - dom/webidl/HTMLHyperlinkElementUtils and URL don't need to throw exceptions as we did before, r=bz
2015-11-23 20:05:26 +00:00
Boris Zbarsky
c3bc1cdc40
Bug 1224007 part 5. Get rid of ErrorResult::StealJSException. r=peterv
2015-11-20 16:29:41 -05:00