Ryan VanderMeulen
0011e3d331
Backed out changeset 57167b45c9d3 (bug 1183141) for wpt failures.
...
CLOSED TREE
2015-07-13 21:07:29 -04:00
Ehsan Akhgari
1ea4a2fdd5
Bug 1183141 - Use nsTHashtable::Iterator in ServiceWorkerManager::ClaimClients; r=catalinb
2015-07-13 19:28:43 -04:00
Birunthan Mohanathas
a8939590de
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
562c0a00bc
Bug 1181321 - Eliminate duplicate mRefCnt members in PromiseNativeHandler subclasses. r=baku
...
--HG--
extra : rebase_source : 64348ca27d2f70dc116856dd4f9271e1fb63a467
2015-07-09 08:56:00 +02:00
Ben Kelly
03162f3aca
Bug 1181871 P2 Fix ServiceWorkerManager usage of stack-based ErrorResult. r=ehsan
2015-07-10 13:56:06 -07:00
Carsten "Tomcat" Book
7066396ea2
Backed out changeset 2db7f8ad8c8f (bug 1178233) on request by jaoo
...
--HG--
extra : rebase_source : 42d27ad778b8bf93773c8f4c9790b46982fda362
extra : histedit_source : bd90cc84a7b25d1d9cbd1a617b1335dd59341748
2015-07-09 10:53:26 +02:00
Jose Antonio Olivera Ortega
4351767879
Bug 1178233 - [non-e10s] The update process doesn't work within about:serviceworkers in non-e10s mode. r=baku
2015-07-09 09:25:55 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
258ad59e3f
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Hiroyuki Ikezoe
47d5b2db66
Bug 1179982 - Fix all compile errors in dom/workers on non-unified build. r=mrbkap
2015-07-02 14:54:00 +02:00
Ehsan Akhgari
8dc57f5800
Bug 1179567 - Make ServiceWorker keep its document and window alive; r=baku
...
Without this, ServiceWorker::PostMessage won't work when the window has
been cleaned up, since at that time the event targets are disconnected
from their owners and GetParentObject() will return null.
2015-07-02 09:48:27 -04:00
Ehsan Akhgari
a7e0f3e102
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 18:52:42 -04:00
Ryan VanderMeulen
c4367148d1
Backed out changeset 07bf31cca660 (bug 1148935) for Werror bustage.
...
CLOSED TREE
2015-06-30 15:53:43 -04:00
Ehsan Akhgari
d560d3dcf3
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-30 15:30:08 -04:00
Andrea Marchesini
43fb37cc29
Bug 1177621 - SharedWorkers should not be shared between a private and a non-private documents, r=nsm
2015-06-26 11:18:18 -07:00
Ryan VanderMeulen
84d140a54b
Backed out 11 changesets (bug 916893, bug 1114554) for various mochitest and Gij failures.
...
Backed out changeset 247ca4bf258e (bug 1114554)
Backed out changeset 5578d5c280a6 (bug 1114554)
Backed out changeset 404830c1ecf7 (bug 1114554)
Backed out changeset 15bdf9c78e6e (bug 1114554)
Backed out changeset f92abe5ec784 (bug 1114554)
Backed out changeset 75324b6862a8 (bug 1114554)
Backed out changeset ce8a768782f2 (bug 1114554)
Backed out changeset 0d860fd12534 (bug 1114554)
Backed out changeset 7dc2448065a9 (bug 916893)
Backed out changeset c3b07f0d1a60 (bug 916893)
Backed out changeset 61c3f24cc908 (bug 916893)
CLOSED TREE
2015-06-25 19:52:40 -04:00
Ryan VanderMeulen
5f5c327690
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Nikhil Marathe
8f7048a174
Bug 1114554 - Patch 8 - Support waitUntil() on notificationclick event. r=baku
...
This was originally a part of Bug 1160527, separated due to changes in order of landing the patches.
--HG--
extra : rebase_source : 7095a8aed48684f4c10d2d0927a38bafe851f422
2015-06-24 09:34:11 -07:00
Nikhil Marathe
54e0ea7180
Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen
...
--HG--
extra : rebase_source : 7963829964347156d091c2c8f492c546a9e5fdc0
extra : amend_source : a1bcbf20f5e4ab65b4214bc97d64deba9732b952
2015-04-27 14:18:54 -07:00
Nikhil Marathe
1abb9e59d8
Bug 1114554 - Patch 3 - Fire notificationclick event on ServiceWorkerGlobalScope. r=wchen,baku
...
Bug 1114554 - Patch 3.1 - ServiceWorker principal fixes. r=baku
Bug 1162088 introduced origin attributes that ServiceWorkerManager callers have to use. This patch updates notificationclick events to work.
Folded:
Hide NotificationEvent behind pref
--HG--
extra : rebase_source : b536cc6a6e0ba212f225a3638cf4140635628047
2015-06-25 15:01:01 -07:00
Juan Gomez
702a59d135
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
...
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Nikhil Marathe
313557b8e3
Bug 1169044 - Patch 4 - Set referrer on intercepted request. r=jdm
...
--HG--
extra : rebase_source : eb69cd43d33c1f84d6fb4ea5080db0a6e240570a
2015-06-04 15:50:03 -07:00
Nikhil Marathe
b8eea4d16b
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
--HG--
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
extra : intermediate-source : be40dea6534771bdeedc9f7c6ccd8bbddb6e41c2
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
c01c5195c9
Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures.
2015-06-24 16:10:45 -04:00
Nikhil Marathe
bd635e2c8a
Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
...
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
--HG--
extra : rebase_source : 3b8cb541512d3fb9a253773c2fd5227c980efdd2
extra : source : d7554019b424327a3271e2c0debda995fff36cb5
2015-06-02 15:56:33 -07:00
Nikhil Marathe
6534f790ec
Bug 1160527 - Patch 1 - Support PushEvent.waitUntil(). r=baku.
...
--HG--
extra : rebase_source : 3cafe72c66d2e04ef939fa092ae55e6b87c0f626
extra : source : a3ca94614c928cc640d41087cffb6c123ed382d7
2015-06-02 14:52:49 -07:00
Ehsan Akhgari
60626aff92
Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
...
Consumers of this type need to deal with the external content policy
types. One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-24 08:52:45 -07:00
Josh Matthews
e78831b550
Bug 1137683 - Use a loadgroup derived from the document's when updating a ServiceWorker; r=bkelly
2015-06-23 10:50:04 -07:00
Andrea Marchesini
138e30b4a8
Bug 1174381 - ServiceWorkerManager::TeardownRunnable should be called when xpcom-shutdown notification is received, r=nsm
2015-06-23 05:56:29 -07:00
Ryan VanderMeulen
926e7b839f
Backed out changeset b7653e3d5f91 (bug 1174381) for widespread assertion failures.
2015-06-21 07:47:02 -04:00
Andrea Marchesini
4546e525be
Bug 1167296 - patch 2 - ServiceWorkerManager::Remove should use PBackground, r=nsm
2015-06-21 12:19:07 +01:00
Andrea Marchesini
0bc6c733fd
Bug 1167296 - patch 1 - ServiceWorkerManager::RemoveAll should use PBackground, r=nsm
2015-06-21 12:17:58 +01:00
Andrea Marchesini
c7076248d9
Bug 1174381 - ServiceWorkerManager::TeardownRunnable should be called when xpcom-shutdown notification is received, r=nsm
2015-06-21 10:21:28 +01:00
Carsten "Tomcat" Book
dc3312548b
Backed out changeset b2c472fe14ca (bug 1175480) for crashes in serviceworkers/test_request_context.htm
2015-06-18 09:54:44 +02:00
Carsten "Tomcat" Book
320d038d99
Backed out changeset 7b09594541f3 (bug 1148935)
2015-06-18 09:48:01 +02:00
Ehsan Akhgari
47e2d52863
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-17 17:48:45 -04:00
Ryan VanderMeulen
88a04ff445
Backed out changeset 439e1f841ea2 (bug 1148935) for Werror bustage.
...
CLOSED TREE
2015-06-17 15:48:16 -04:00
Ehsan Akhgari
f6c4133715
Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug
2015-06-17 15:09:07 -04:00
Ehsan Akhgari
cee6f01c68
Bug 1175480 - Expose the external content policy type from the load info objects; r=smaug
...
Consumers of this type need to deal with the external content policy
types. One example is HttpObserverManager.runChannelListener in
WebRequest.jsm.
2015-06-17 15:09:06 -04:00
Jose Antonio Olivera Ortega
8e93c3cd23
Bug 1160458 - Part 1: Use the CSP of the principal passed to CreateServiceWorker. r=nsm
...
--HG--
extra : transplant_source : %5D%12%AE%F1%22%FAx%02g%D1C%3E%F7h%DB%AF%5C%A7PY
2015-06-16 09:20:21 +02:00
Ehsan Akhgari
010a84f058
Bug 1172948 - Part 2: Consider all non-chrome parent documents when checking the authenticity of an origin; r=nsm
2015-06-12 09:45:48 -04:00
Ehsan Akhgari
8678e4d7fd
Bug 1172948 - Part 1: Refactor the logic for checking for authenticated origins into a helper function; r=nsm
2015-06-12 09:45:46 -04:00
Nikhil Marathe
83d79304bb
Bug 1170822
- Fix controlled documents comparison. r=catalinb
...
--HG--
extra : rebase_source : c49fed55ea782a7ef34e867a9b21b1dc66a7c088
2015-06-02 14:53:09 -07:00
Fernando Jimenez
86b73d268c
Bug 1169249 - Unregister service worker registration when uninstalling a service-worker-enabled application. r=baku
2015-06-11 19:42:38 +02:00
Eric Rahm
cfbf5aa4f8
Bug 1171555 - Remove overly verbose ServiceWorker warnings. r=bkelly
2015-06-11 09:47:46 -07:00
Fernando Jimenez
dbb95a17ef
Bug 1137245 - ServiceWorkerManager should set WorkerPrivate::LoadInfo::mIndexedDBAllowed correctly. r=bent, bkelly
2015-06-11 15:32:54 +02:00
Ben Kelly
42f5e55e0e
Bug 1173361
Make ServiceWorkerRegisterJob::Start() call Done() async. r=nsm
2015-06-10 13:39:42 -07:00
Ehsan Akhgari
ea81410c78
Bug 1173240 - Use the document URI for performing the service worker registration secure origin check; r=baku
2015-06-10 10:33:36 -04:00
Andrea Marchesini
dcdcd94a06
Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley
2015-06-04 19:51:57 +01:00
Nikhil Marathe
338560dbe9
Bug 1172717 - Fail on UNKNOWN_APP_ID instead of crashing. r=bholley a=RyanVM
...
--HG--
extra : rebase_source : 971c575911a800d97c741a65efcf0689b454fee3
extra : amend_source : abdf62fe7b775cf3305a4e8a0616c99096813cec
2015-06-08 16:18:09 -07:00