Commit Graph

229 Commits

Author SHA1 Message Date
Ehsan Akhgari
544718bcdd Bug 1183141 - Use nsTHashtable::Iterator in ServiceWorkerManager::ClaimClients; r=catalinb 2015-07-13 22:42:01 -04:00
Ryan VanderMeulen
2f11bd6a1f Backed out changeset 57167b45c9d3 (bug 1183141) for wpt failures.
CLOSED TREE
2015-07-13 21:07:29 -04:00
Ehsan Akhgari
4d41f439fc Bug 1183141 - Use nsTHashtable::Iterator in ServiceWorkerManager::ClaimClients; r=catalinb 2015-07-13 19:28:43 -04:00
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
Ben Kelly
ea56470171 Bug 1181871 P2 Fix ServiceWorkerManager usage of stack-based ErrorResult. r=ehsan 2015-07-10 13:56:06 -07:00
Carsten "Tomcat" Book
cb003fe84c Backed out changeset 2db7f8ad8c8f (bug 1178233) on request by jaoo 2015-07-09 10:53:26 +02:00
Jose Antonio Olivera Ortega
8b1be4c285 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
e1b03075a7 Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell 2015-07-07 04:17:00 +02:00
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Hiroyuki Ikezoe
4a1b0ba58a 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
01d300654e 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
00d760e6ba Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-30 18:52:42 -04:00
Ryan VanderMeulen
6a611e7f72 Backed out changeset 07bf31cca660 (bug 1148935) for Werror bustage.
CLOSED TREE
2015-06-30 15:53:43 -04:00
Ehsan Akhgari
c4e1fafc6c Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-30 15:30:08 -04:00
Andrea Marchesini
eff254e96b 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
beb2b187f5 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
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Nikhil Marathe
7bd999534f 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.
2015-06-24 09:34:11 -07:00
Nikhil Marathe
2f93c26df5 Bug 1114554 - Patch 4 - ServiceWorkerRegistration.getNotifications() on main thread. r=wchen 2015-04-27 14:18:54 -07:00
Nikhil Marathe
fc6c5fd22e 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
2015-06-25 15:01:01 -07:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Nikhil Marathe
820ce7bcfc Bug 1169044 - Patch 4 - Set referrer on intercepted request. r=jdm 2015-06-04 15:50:03 -07:00
Nikhil Marathe
758cf86e07 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.
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
1d793fe4e1 Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures. 2015-06-24 16:10:45 -04:00
Nikhil Marathe
56fd5b72d0 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.
2015-06-02 15:56:33 -07:00
Nikhil Marathe
365efe4a1f Bug 1160527 - Patch 1 - Support PushEvent.waitUntil(). r=baku. 2015-06-02 14:52:49 -07:00
Ehsan Akhgari
0ef246620c 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
a1c22c5ed6 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
c2c36cce1c 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
cca5aaccbb Backed out changeset b7653e3d5f91 (bug 1174381) for widespread assertion failures. 2015-06-21 07:47:02 -04:00
Andrea Marchesini
d7c01d93e1 Bug 1167296 - patch 2 - ServiceWorkerManager::Remove should use PBackground, r=nsm 2015-06-21 12:19:07 +01:00
Andrea Marchesini
83b5b76880 Bug 1167296 - patch 1 - ServiceWorkerManager::RemoveAll should use PBackground, r=nsm 2015-06-21 12:17:58 +01:00
Andrea Marchesini
6ec1d8f987 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
55cddb9d45 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
91f1e05385 Backed out changeset 7b09594541f3 (bug 1148935) 2015-06-18 09:48:01 +02:00
Ehsan Akhgari
ea3ccc550c Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-17 17:48:45 -04:00
Ryan VanderMeulen
bc49aaf845 Backed out changeset 439e1f841ea2 (bug 1148935) for Werror bustage.
CLOSED TREE
2015-06-17 15:48:16 -04:00
Ehsan Akhgari
8012b28031 Bug 1148935 - Correctly reflect worker and sharedworker RequestContext values; r=smaug 2015-06-17 15:09:07 -04:00
Ehsan Akhgari
76441964ee 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
43f972bfef Bug 1160458 - Part 1: Use the CSP of the principal passed to CreateServiceWorker. r=nsm 2015-06-16 09:20:21 +02:00
Ehsan Akhgari
dd5afa20ef 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
4d7ef49543 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
93f07d74e9 Bug 1170822 - Fix controlled documents comparison. r=catalinb 2015-06-02 14:53:09 -07:00
Fernando Jimenez
b40f5cbb68 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
ee87d4e3ac Bug 1171555 - Remove overly verbose ServiceWorker warnings. r=bkelly 2015-06-11 09:47:46 -07:00
Fernando Jimenez
fd45d8da7c Bug 1137245 - ServiceWorkerManager should set WorkerPrivate::LoadInfo::mIndexedDBAllowed correctly. r=bent, bkelly 2015-06-11 15:32:54 +02:00
Ben Kelly
dccd0184dd Bug 1173361 Make ServiceWorkerRegisterJob::Start() call Done() async. r=nsm 2015-06-10 13:39:42 -07:00
Ehsan Akhgari
1644958e8e 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
24ae5c2715 Bug 1155153 - about:serviceworkers should work in e10s mode, r=nsm, r=bholley 2015-06-04 19:51:57 +01:00