Ho-Pang Hsu
4bdddfee0a
Bug 1168875 - Part 3: Insert the timestamp probes into service worker implementation. r=bkelly
...
--HG--
extra : rebase_source : 5cc75ff725b0f9446938829ef35085ab5cc5c4a1
2017-04-10 21:13:21 +08:00
Ben Kelly
f3f0c6e1d7
Bug 1339116 Improve the ServiceWorkerPrivate timer code. r=asuth
2017-02-14 08:49:44 -05:00
Andrea Marchesini
1fd70e0029
Bug 1336020
- transferables should be arrays of objects, r=smaug
2017-02-03 11:00:38 +01:00
Andrea Marchesini
270f257d6b
Bug 1336020
- postMessages should have transferable as [] by default, r=smaug
2017-02-03 11:00:37 +01:00
Catalin Badea
3d75f82b5f
Bug 1316659 - Use OpenWindowRunnable as an observer when waiting for fennec to start before executing an open window operation. r=bkelly
...
This patch also changes the order in which pending openWindow operations
are executed.
2017-01-31 14:21:52 +00:00
Catalin Badea
82cfe6ab4d
Bug 1181127 - Don't run service workers for fetch events if no fetch handlers were added during script's evaluation. r=bkelly
...
Display a warning when event listeners are added after the script's evaluation.
2016-12-19 04:38:53 +02:00
Dylan Roeh
041f83edff
Bug 1262251 - Make openWindow() launch Fennec if it isn't already running. r=catalinb
2016-10-31 14:10:25 -05:00
Ben Kelly
1a8803ebd5
Bug 1170543 P3 Expose ServiceWorker idle thread state to ServiceWorkerManager. r=asuth
2016-07-27 20:36:10 -04:00
Ben Kelly
23604e56e7
Bug 1170543 P2 Explicitly track the idle KeepAliveToken separately. r=asuth
2016-07-27 20:36:10 -04:00
Ben Kelly
43550b2fa1
Bug 1170543 P1 Create separate KeepAliveTokens for service worker events and script evaluation. r=asuth
2016-07-27 20:36:10 -04:00
Kit Cambridge
d9d287a14e
Bug 1265841 - Implement the `notificationclose` service worker event. r=wchen,baku
...
MozReview-Commit-ID: EQfCbQKqn9H
--HG--
extra : rebase_source : 2dad51a3c148db794769fb7c64c28f81ea2ca6ff
extra : histedit_source : 254e2e372ba605f74c1f5106f40b207e492e85e1
2016-04-19 22:04:09 -07:00
Ben Kelly
05565765eb
Bug 1254741 P2 Don't aggressively terminate service workers when last controlled window is closed. r=baku
2016-05-23 02:46:26 -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
Kit Cambridge
d55b21e98b
Bug 1246341 - Report push event errors and rejections to the Push service. r=baku
...
MozReview-Commit-ID: D6fRPqojOEh
--HG--
extra : rebase_source : 41c55862cb7393681fdea28e35b689a970a376c3
2016-03-28 11:50:39 -07:00
Kyle Huey
d11b9db617
Bug 1257032: Make files in dom/workers actually build without unification. r=baku
2016-03-16 11:51:11 -07:00
Andrea Marchesini
f5ab6363a1
Bug 1243881 - patch 1 - unship performance.translateTime, r=bz
2016-02-01 21:48:04 +00:00
Ehsan Akhgari
d8cef2d841
Bug 1222464 - Part 2: Implement FetchEvent.clientId; r=jdm
2015-12-02 20:36:59 -05:00
Catalin Badea
0094835ad9
Bug 1189659 - Part 2 - Remove set of scopes being updated from ServiceWorkerManager. r=bkelly
2015-11-26 19:03:10 +02:00
Eddy Bruel
b35ef7b768
Bug 1219255 - We should be able to attach to a service worker;r=amarchesini
2015-11-26 12:18:56 +01:00
Ben Kelly
9aa47b7280
Bug 1226441 - Part 2: Delay functional event dispatch until service worker is activated; r=catalinb
2015-11-24 10:49:00 -05:00
Andrea Marchesini
5e1f614532
Bug 1169068 - Performance.translateTime(), r=bz
2015-11-19 14:04:47 +00:00
dimi
0a7f5412e3
Bug 1207727 - Rework updating service workers according to the latest spec. r=bkelly
2015-10-26 10:59:48 +08:00
Catalin Badea
cc62c14549
Bug 1172870 - Implement service workers clients.openWindow for desktop (non-e10s). r=baku,smaug
...
Based on patches from:
Nikhil Marathe <nsm.nikhil@gmail.com>
Alberto Crespell Perez <alberto.crespell@gmail.com>
2015-10-24 15:16:23 +03:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Catalin Badea
450ddec732
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
518e55a5ed
Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm
2015-09-30 19:11:03 -04:00
Catalin Badea
76c7d43fd9
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
6fbdec2422
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
e3772b283b
Bug 1188545 - Add tests for service workers' lifetime management. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
2758d1d2af
Bug 1188545 - Terminate service workers that have been idle for some time. r=nsm
2015-09-30 10:14:33 -04:00
Catalin Badea
c537f8c503
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