Commit Graph

48 Commits

Author SHA1 Message Date
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Michael Layzell
e01ad73eaf Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku 2015-07-09 08:56:00 +02:00
Wes Kocher
781244249b Backed out changeset adf95d1cd0aa (bug 1173934) for fetch-frame-resource.https.html WPT orange and test_synthesized_response.js S4 orange CLOSED TREE 2015-07-10 15:59:01 -07:00
Wes Kocher
f2c450e6c8 Backed out changeset df6593df027b (bug 1173912) 2015-07-10 15:58:24 -07:00
Ben Kelly
44931bb4b8 Bug 1173912 Fail opaque responses for client requests. r=ehsan 2015-07-10 14:28:32 -07:00
Ben Kelly
6ff3ab6e72 Bug 1173934 Show a message if a docshell fails to load due to SW intercept failure. r=ehsan r=jdm 2015-07-10 14:28:32 -07:00
Ben Kelly
d4fa5f7631 Bug 1167808 P3 FetchEvent.respondWith() should use opaque response internal body. r=nsm 2015-07-02 20:09:21 -07:00
Ben Kelly
c5ae961a65 Bug 1167808 P2 Block opaque response interception if pref is disabled. r=ehsan 2015-07-02 20:09:21 -07:00
Wes Kocher
c444dc2a0d Backed out 4 changesets (bug 1167808) for mulet mochitest-4 permafail in test_fetch_cors_sw_reroute.html
Backed out changeset 1c9c72d93973 (bug 1167808)
Backed out changeset 9c94c759a0fb (bug 1167808)
Backed out changeset e8ac89eafb1d (bug 1167808)
Backed out changeset 48abf470ef5b (bug 1167808)
2015-07-02 15:30:29 -07:00
Ben Kelly
4b1446345f Bug 1167808 P3 FetchEvent.respondWith() should use opaque response internal body. r=nsm 2015-07-02 14:34:00 -07:00
Ben Kelly
f630afd0da Bug 1167808 P2 Block opaque response interception if pref is disabled. r=ehsan 2015-07-02 14:34:00 -07:00
Ehsan Akhgari
021ed38d58 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
ef72c48967 Backed out changeset ae9c77fa58d1 (bug 1168208) for bustage on a CLOSED TREE 2015-05-27 14:50:43 +02:00
Ehsan Akhgari
7c178923f2 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
08c931dc57 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
477215237f 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
7e0e157266 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
64bb0dd547 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
246389cea0 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Ehsan Akhgari
86a6b07e7c 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
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Ehsan Akhgari
8bf7f8afbb 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
b517abd208 Bug 1152473 - Remove InstallEvent. r=nsm,ehsan 2015-04-20 18:47:13 -07:00
Denis Volk
cd6346cce0 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Doug Turner
ac1c0fa486 Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm 2015-04-10 20:19:28 -07:00
Titi_Alone
2ce8a060fb 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
9ec0b448ba Bug 1146365 - Add support of union type for FetchEvent.respondWith. r=nsm, r=ehsan 2015-03-24 10:37:39 +03:00
Nikhil Marathe
06fb0b0e61 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
d7a9e5691b 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
38039ce291 Bug 1141332 - Disable content decoding and use decoded length on intercepted channels. r=mcmanus 2015-03-17 08:48:32 -07:00
Ehsan Akhgari
5cccea6f0f 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
28a5828a95 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
21808d9cca Backed out changeset 62b55b1f9b7e for wrong bug number ON CLOSED TREE 2015-03-20 08:43:59 -07:00
Timur Valeev
063358ac0c Bug 1135627 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan 2015-03-18 06:17:11 +03:00
Nikhil Marathe
064bd5a101 Bug 1134462 - allow null body. r=jdm 2015-03-17 08:48:30 -07:00
Nikhil Marathe
bcd3a955e7 Bug 1134462 - Synthesize status and headers from Response returned by ServiceWorker. r=jdm 2015-03-17 08:48:30 -07:00
Ehsan Akhgari
35cbe2163d 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
3fdec2c476 Bug 1137248 - Remove FetchEvent.default and FetchEvent.forwardTo. r=baku 2015-03-02 05:32:00 -05:00
Catalin Badea
6e3207a0d0 Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku 2015-03-06 15:04:49 +02:00
Josh Matthews
c8749efb5f 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
3759ea0732 Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures. 2015-02-18 16:00:33 -05:00
Josh Matthews
58c1eb50b9 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
caf6b06882 Bug 1127882 - Fix Promise include. 2015-02-06 10:08:31 -08:00
Nikhil Marathe
b0e90150b2 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.
2014-11-06 07:57:57 -08:00
Wes Kocher
1f43e23646 Backed out changeset 5ed6d1902cc7 (bug 1113621) for asan mochitest-4 bustage on a CLOSED TREE 2015-01-23 19:49:51 -08:00
Nikhil Marathe
2450e7b0b6 Bug 1113621 - Rename InstallPhaseEvent to ExtendableEvent. r=baku
Change Exposed=ServiceWorker for all ServiceWorker events.
Move Func= exposure check to ServiceWorker.
2014-11-06 07:57:57 -08:00
Nikhil Marathe
03b3419146 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.
2014-12-19 02:00:29 -08:00
Nikhil Marathe
b97792d01a Bug 967264 - Patch 2: InstallPhaseEvent and InstallEvent. r=ehsan r=jst
--HG--
extra : amend_source : 06855fd6ba0c0b06f087f98f51fe9b3a314ed7ca
2014-05-13 14:49:36 -07:00