Gabriele Svelto
71d5cdbf24
Bug 1296579 - Remove the SimplePush API r=kitcambridge,baku
2016-09-01 20:17:03 +02:00
Nicholas Nethercote
ef94c24639
Bug 1295053 (part 9) - Don't use NS_METHOD for dom/ functions. r=froydnj.
...
These don't need __stdcall on Win32.
2016-08-16 12:12:30 +10:00
Kit Cambridge
f21168dd8c
Bug 1267021 - Use fallible allocation and move semantics for Push events. r=wchen
...
MozReview-Commit-ID: H43zrz5fhvU
2016-04-22 20:54:22 -07:00
Ben Kelly
094269ad5e
Bug 1267733 P2 Pass ServiceWorkerRegistrationInfo down to CancelChannelRunnable. r=jdm
2016-04-27 02:24:04 -07:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Kyle Huey
94b9461d1d
Bug 1257042: Remove the worker descriptor for PushEvent and PushMessageData. r=bz
2016-03-16 13:44:24 -07:00
Sebastian Hengst
50d903deeb
Backed out changeset 06101225c145 (bug 1257042) for bustage. r=backout on a CLOSED TREE
2016-03-16 20:30:32 +01:00
Kyle Huey
c62ceffe62
Bug 1257042: Remove the worker descriptor for PushEvent and PushMessageData. r=bz
2016-03-16 11:51:11 -07:00
Ehsan Akhgari
98f3e8ff8d
Bug 1238213 - Make FetchEvent.request non-nullable; r=baku
2016-01-11 13:21:23 -05:00
Ehsan Akhgari
1968248e51
Bug 1222464 - Part 2: Implement FetchEvent.clientId; r=jdm
2015-12-02 20:36:59 -05:00
Ben Kelly
32cc2be54f
Bug 1225470 Report a message to the console when a service worker waitUntil() is rejected. r=baku
2015-11-19 13:15:17 -08:00
dimi
415546a047
Bug 1207068 - Implement ExtendableMessageEvent interface. r=baku
2015-11-10 14:31:41 +08:00
Ben Kelly
dbb167528f
Bug 1215140 P9 Provide file and line number when FetchEvent.preventDefault() cancels a request. r=bz
...
* * *
Bug 1215140 P9 interdiff 001
2015-10-29 19:53:25 -07:00
Ben Kelly
4ca65c5f00
Bug 1215140 P5 Report the line number where respondWith() was called. r=bz
2015-10-29 19:53:25 -07:00
Ehsan Akhgari
b58fc88350
Bug 1218621 - Keep the service worker alive while the promise passed to FetchEvent.respondWith() settles; r=catalinb
2015-10-27 17:10:57 -04:00
Ehsan Akhgari
6b39498714
Bug 1218499 - Make FetchEvent.request nullable; r=bzbarsky
2015-10-26 23:00:19 -04:00
Ehsan Akhgari
ef9851d81e
Bug 1218135 - Remove FetchEvent.client; r=bzbarsky
...
This has been removed from the spec. See:
https://github.com/slightlyoff/ServiceWorker/issues/723#issuecomment-123516555
2015-10-26 23:00:16 -04:00
Ehsan Akhgari
7235471540
Bug 1214772 - Part 2: Make FetchEvent inherit from ExtendableEvent; r=bzbarsky
2015-10-26 23:00:14 -04:00
Ehsan Akhgari
1cd1162d9f
Bug 1214772 - Part 1: Move the declaration of FetchEvent to after that of ExtendableEvent; r=bkelly
2015-10-26 23:00:13 -04:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Catalin Badea
a56b1ffd60
Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
6240391214
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 19:11:03 -04:00
Wes Kocher
4731d2ad0a
Backed out 12 changesets (bug 1188545) for test_fetch_cors failures CLOSED TREE
...
Backed out changeset e04738ee72a3 (bug 1188545)
Backed out changeset 1989893b59de (bug 1188545)
Backed out changeset 11ff29cc25d8 (bug 1188545)
Backed out changeset 4b6bdf859845 (bug 1188545)
Backed out changeset 76eb7ffeca2a (bug 1188545)
Backed out changeset 4473e036b52e (bug 1188545)
Backed out changeset 2a28cb794b23 (bug 1188545)
Backed out changeset 1fa2f55727f3 (bug 1188545)
Backed out changeset 032f4c24fc34 (bug 1188545)
Backed out changeset 4be675dc1b37 (bug 1188545)
Backed out changeset d5d05def5b17 (bug 1188545)
Backed out changeset e94f12b0bcf3 (bug 1188545)
2015-09-30 11:11:47 -07:00
Catalin Badea
38850bf0c7
Bug 1188545 - respondWith promise should extend the service worker's lifetime. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
43b165568f
Bug 1188545 - Disentangle service workers from shared workers and refactor event dispatching code into a separate class. r=nsm,mrbkap
2015-09-30 10:14:33 -04:00
Kit Cambridge
3972ad85ab
Bug 1205112 - Make PushEvent.data nullable. r=mt,smaug
2015-09-17 05:13:04 -07:00
Kit Cambridge
e1a641d6a0
Bug 1149195 - Expose push message data accessors. r=nsm,dragana,smaug
2015-09-17 05:10:42 -07:00
Nikhil Marathe
5d7c7dd7df
Bug 1198230 - Respect FetchEvent.preventDefault(). r=jdm
...
Update web-platform-tests expected data
2015-09-04 12:00:24 -07:00
Nikhil Marathe
a893799921
Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb
...
waitUntil() has been updated to accept multiple calls and concatenate them into Promise.all().
activation does not fail any more even if the promise(s) passed to waitUntil() reject.
Update web-platform-tests expected data
2015-08-24 14:42:14 -07:00
Ryan VanderMeulen
3bae12ba59
Backed out 7 changesets (bug 1189678, bug 1193128, bug 1189661, bug 1189644, bug 1189675) for various serviceworker mochitest and wpt failures.
...
Backed out changeset 696463139720 (bug 1189661)
Backed out changeset 7babb5b9d74a (bug 1189644)
Backed out changeset d4fa5cfc4b86 (bug 1189678)
Backed out changeset a7c27770b861 (bug 1189675)
Backed out changeset 471a45b97ce2 (bug 1189644)
Backed out changeset 4d96f2d48077 (bug 1193128)
Backed out changeset a9d5366288ff (bug 1189661)
CLOSED TREE
2015-08-24 18:09:47 -04:00
Nikhil Marathe
557b58d3a9
Bug 1189644 - Update waitUntil() and activation to spec. r=catalinb
...
waitUntil() has been updated to accept multiple calls and concatenate them into Promise.all().
activation does not fail any more even if the promise(s) passed to waitUntil() reject.
Update web-platform-tests expected data
2015-08-21 16:13:54 -07:00
Nikhil Marathe
1927b0c1a1
Bug 1181056 - waitUntil() should throw if called when event is not dispatching. r=smaug
2015-08-18 16:28:04 -07:00
Nikhil Marathe
afb9277fbd
Bug 1190478 - Hide PushEvent.data until we ship message encryption. r=mt,jst
2015-08-03 11:04:41 -07:00
Boris Zbarsky
7ec98a916e
Bug 983301 part 2. Change Promise to not be distinguishable from any other type. r=peterv
2015-07-31 13:30:55 -04:00
Ehsan Akhgari
bac8dddb71
Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky,nsm
...
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces. This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
2015-07-30 01:06:38 -04:00
Ryan VanderMeulen
5a65a53c72
Backed out changeset c88d1138bc38 (bug 1188091) for Mulet test_serviceworker_interfaces.html failures.
...
CLOSED TREE
2015-07-28 13:28:39 -04:00
Ehsan Akhgari
34f6032f9e
Bug 1188091 - Fix the exposure of Push interfaces; r=dougt,bzbarsky
...
Currently we don't check the dom.push.enabled pref in some cases for
some of these interfaces. This patch unifies how all of these
interfaces are exposed to Window, Worker, and ServiceWorker.
2015-07-28 12:28:53 -04:00
Olli Pettay
9d3ad3e4d9
Bug 1183882, properly implement wrapper caching on PushMessageData, r=nsm
2015-07-18 01:17:14 +03:00
Nikhil Marathe
38ae2b65e7
Bug 1183813 - PushEvent.data should be same instance every time. r=smaug
2015-07-14 13:10:58 -07:00
Andrea Marchesini
a8f15ce969
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
040b8fe0e4
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
5d622f89aa
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
95df0286b8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
2ffeefc77a
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Rahul
85a55d1303
Bug 1152473 - Remove InstallEvent. r=nsm,ehsan
2015-04-20 18:47:13 -07:00
Doug Turner
81853c295b
Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm
2015-04-10 20:19:28 -07:00
Timur Valeev
0cd2514024
Bug 1146365 - Add support of union type for FetchEvent.respondWith. r=nsm, r=ehsan
2015-03-24 10:37:39 +03:00
Ehsan Akhgari
ea41d8de48
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
a8876d07e4
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