Commit Graph

37 Commits

Author SHA1 Message Date
Ehsan Akhgari
5fc491f5bb Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly 2015-05-27 14:22:53 -04:00
Carsten "Tomcat" Book
a96f90d7e7 Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE 2015-05-27 14:50:43 +02:00
Ehsan Akhgari
1d4e673188 Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly 2015-05-27 08:25:03 -04:00
Andrea Marchesini
7a35ed6840 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
6fd66905f8 Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Andrea Marchesini
8216a76e2b Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
ab585ee6e8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
3d1cf0758c Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Ehsan Akhgari
be033191ac Bug 1161239 - Emit a warning if the respondWith handler is resolved with a non-Object value; r=baku 2015-05-05 09:56:48 -04:00
Andrew McCreight
aeff7c99ee Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Ehsan Akhgari
2e1174adfe Bug 1156847 - Part 6: When calling FetchEvent.respondWith(), fall back to the security info of the service worker if the Response object that we are responding with doesn't have its own security info; r=nsm
This case will only happen if we're responding with a synthesized Response object.
Response objects obtained through fetch() already have their correct security
info.
2015-04-29 20:22:31 -04:00
Rahul
1267ab5733 Bug 1152473 - Remove InstallEvent. r=nsm,ehsan 2015-04-20 18:47:13 -07:00
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Doug Turner
9b21eb1441 Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm 2015-04-10 20:19:28 -07:00
Titi_Alone
fb85145435 Bug 1147913 - Change NS_SOCKETTRANSPORTSERVICE_CONTRACTID to NS_STREAMTRANSPORTSERVICE_CONTRACTID in RespondWithHandler::ResolvedCallback. r=ehsan 2015-03-29 12:52:25 +02:00
Timur Valeev
71db30f7ff Bug 1146365 - Add support of union type for FetchEvent.respondWith. r=nsm, r=ehsan 2015-03-24 10:37:39 +03:00
Nikhil Marathe
3612762bd9 Bug 1136200 - Verify request type is not no-cors if response is opaque. r=jdm 2015-03-17 08:47:03 -07:00
Nikhil Marathe
42fd8be69d Bug 1134324 - Set CORS mode and credentials on Fetch event Request. r=michal
renames fetch to fetchXHR() since fetch() is now a superpower.
2015-03-17 08:47:02 -07:00
Nikhil Marathe
614f31e10e Bug 1141332 - Disable content decoding and use decoded length on intercepted channels. r=mcmanus 2015-03-17 08:48:32 -07:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -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_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Timur Valeev
38fee18c3e Bug 1136757 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
ON CLOSED TREE
Fix bug number
2015-03-20 08:44:20 -07:00
Nikhil Marathe
2e35d3d440 Backed out changeset 62b55b1f9b7e for wrong bug number ON CLOSED TREE 2015-03-20 08:43:59 -07:00
Timur Valeev
22c8e8c3da Bug 1135627 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan 2015-03-18 06:17:11 +03:00
Nikhil Marathe
da9cdaf002 Bug 1134462 - allow null body. r=jdm 2015-03-17 08:48:30 -07:00
Nikhil Marathe
8435e04285 Bug 1134462 - Synthesize status and headers from Response returned by ServiceWorker. r=jdm 2015-03-17 08:48:30 -07:00
Ehsan Akhgari
81a811da5c Bug 1133763 - Part 6: Set the correct security info on intercepted channels when using the respondWith API; r=jdm 2015-03-13 14:37:24 -04:00
Sushrut Girdhari
d3c0163a47 Bug 1137248 - Remove FetchEvent.default and FetchEvent.forwardTo. r=baku 2015-03-02 05:32:00 -05:00
Catalin Badea
17af33f0f1 Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku 2015-03-06 15:04:49 +02:00
Josh Matthews
be893961ee Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 20:34:29 -05:00
Ryan VanderMeulen
e41adc7788 Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
c1a7e4eed2 Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug 2015-02-18 14:10:52 -05:00
Nikhil Marathe
a5c3b75425 Bug 1127882 - Fix Promise include.
--HG--
extra : rebase_source : 43aef21e2d432ef2a8a0a53890aed49b1ffd4a31
2015-02-06 10:08:31 -08:00
Nikhil Marathe
da6048aea3 Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku relanding because it wasn't supposed to be backed out on a CLOSED TREE
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.

--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : source : 5ed6d1902cc7bafbf9ffeaf35815c56cdd8f8c0d
extra : amend_source : eab06a362baf7545b9b61e28316666c2ec76acac
2014-11-06 07:57:57 -08:00
Wes Kocher
9d564e2e3e Backed out changeset 5ed6d1902cc7 (bug 1113621) for asan mochitest-4 bustage on a CLOSED TREE
--HG--
rename : dom/webidl/ExtendableEvent.webidl => dom/webidl/InstallPhaseEvent.webidl
2015-01-23 19:49:51 -08:00
Nikhil Marathe
3e3ec7b71d Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.

--HG--
rename : dom/webidl/InstallPhaseEvent.webidl => dom/webidl/ExtendableEvent.webidl
extra : rebase_source : c9d314c6cffd577ab7309eb9e39e7d80f2f294f7
2014-11-06 07:57:57 -08:00
Nikhil Marathe
595bb41b83 Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.

--HG--
extra : rebase_source : 14dd02d18e1209147acd3fd118807c9bd8d4d300
2014-12-19 02:00:29 -08:00
Nikhil Marathe
7c6b812e3a Bug 967264 - Patch 2: InstallPhaseEvent and InstallEvent. r=ehsan r=jst
--HG--
extra : amend_source : 06855fd6ba0c0b06f087f98f51fe9b3a314ed7ca
2014-05-13 14:49:36 -07:00