Граф коммитов

150 Коммитов

Автор SHA1 Сообщение Дата
Ben Kelly 9856db4da2 Bug 1256411 Simplify and cleanup ServiceWorkerInfo. r=ehsan 2016-03-15 07:29:56 -07:00
Ben Kelly 7ebbd928f1 Bug 1253738 P1 Require an explicit principal when looking up a service worker registration. r=baku 2016-03-08 06:55:41 -08:00
Ben Kelly a9358d515b Bug 1252055 P1 Make equivalent ServiceWorker DOM objects strictly equal in js. r=ehsan 2016-03-03 19:37:57 -05:00
dimi f4133f869a Bug 1237992 - service worker activate should be executed after install onstatechange events are fired. r=bkelly 2016-02-25 09:03:28 +08:00
Ben Kelly eee3c799da Bug 1242482 P4 Don't call SendUnregister() a second time when SW registration is finally removed. r=baku
--HG--
extra : rebase_source : 88a0529fab3ab7e14a44573126c067877f5073d2
2016-02-15 13:40:00 +01:00
Ben Kelly c7c4fb325b Bug 1242482 P3 Don't send unregister messages when triggered from a PropagateUnregister(). r=baku
--HG--
extra : rebase_source : bca7c0517ca06a7daf44117148309af64f75f29e
2016-02-20 07:03:00 +01:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Kit Cambridge 9e4ed15128 Bug 1239584, Part 1 - Add `nsIPushNotifier` and `nsIPushMessage` interfaces. r=dragana
--HG--
extra : commitid : HD2fDINypFu
extra : rebase_source : 477ab56822deb5e6423c8f9b36f1a5c119d07951
2016-01-13 22:19:51 -07:00
Kit Cambridge f398300afc Back out out 3 changesets (bug 1239584) for B2G build failures on a CLOSED TREE.
--HG--
extra : commitid : 74RywJW7UVo
extra : amend_source : 2088096e01cb7b6fda50c87f05d427cd79147554
2016-01-22 11:06:14 -08:00
Kit Cambridge ecc52d87d2 Bug 1239584, Part 1 - Add `nsIPushNotifier` and `nsIPushMessage` interfaces. r=dragana
--HG--
extra : commitid : F7MFsrMAXQy
extra : rebase_source : 3333eed45b538bccbdf2761a91fb5fada8fcf922
2016-01-13 22:19:51 -07:00
Yoshi Huang bd65e48e3f Bug 1233644 - use pattern matching when listening clear-origin-data. r=baku 2015-12-18 18:58:41 +08:00
Ehsan Akhgari 40c82fa10c Bug 1236686 - Remove nsIFetchEventDispatcher; r=jdm 2016-01-05 15:04:41 -05:00
Ben Kelly 9af4ff4976 Bug 1231974 P3 Store the principal on the ServiceWorkerJobBase. r=baku 2015-12-18 11:04:39 -05:00
Ben Kelly 6078977989 Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan 2015-12-11 14:53:11 -05:00
Ben Kelly 3a28ef3617 Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly a27a88c3ed Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-11 14:53:10 -05:00
Ben Kelly 6fa639dd7a Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-11 14:53:10 -05:00
Phil Ringnalda 9229dc1d27 Back out 13 changesets (bug 1226443, bug 1227015) for a variety of serviceworker web-platform-test failures
CLOSED TREE

Backed out changeset d518261eb3b1 (bug 1226443)
Backed out changeset a7def186c1d3 (bug 1226443)
Backed out changeset e2f21ee1cd4c (bug 1226443)
Backed out changeset 8c4aff8bbfaf (bug 1226443)
Backed out changeset 4c85bf5e9bf5 (bug 1226443)
Backed out changeset 8fbc71a2912a (bug 1227015)
Backed out changeset 00ac71165014 (bug 1227015)
Backed out changeset e261f601b14d (bug 1227015)
Backed out changeset 78896c0bcb95 (bug 1227015)
Backed out changeset 244093d57c03 (bug 1227015)
Backed out changeset 03abf4d48e38 (bug 1227015)
Backed out changeset 2090c1e30933 (bug 1227015)
Backed out changeset 84e011be4e35 (bug 1227015)
2015-12-10 18:49:48 -08:00
Ben Kelly 33b46308aa Bug 1226443 P2 Make service worker fetch and functional events used scheduled timer updates. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly 7c8d5aa8c3 Bug 1226443 P1 Add a timer based mechanism for firing service worker updates. r=ehsan 2015-12-10 18:08:14 -05:00
Ben Kelly 5488438bfc Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-10 18:08:13 -05:00
Ben Kelly 5a2acd2b46 Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-10 18:08:13 -05:00
Phil Ringnalda 9af3731499 Back out 7 changesets (bug 1227015) for serviceworker bustage
CLOSED TREE

Backed out changeset a267542e8cb7 (bug 1227015)
Backed out changeset 03c28b711e1f (bug 1227015)
Backed out changeset 5fc6fca28ddf (bug 1227015)
Backed out changeset 7fb0c56916d2 (bug 1227015)
Backed out changeset 4bef51e9c8ae (bug 1227015)
Backed out changeset c46b5abddec5 (bug 1227015)
Backed out changeset fb4554bd3bde (bug 1227015)
2015-12-08 20:37:16 -08:00
Ben Kelly 58de757508 Bug 1227015 P5 Remove ServiceWorkerRegistrationInfo mScriptSpec. r=ehsan 2015-12-08 11:58:45 -05:00
Ben Kelly 48d0ba6249 Bug 1227015 P1 Create ServiceWorkerScriptJobBase as parent class to register and install jobs. r=ehsan 2015-12-08 11:58:44 -05:00
Ehsan Akhgari 6c4573cf9e Bug 1229056 - Implement ClientQueryOptions.includeUncontrolled; r=jdm 2015-12-02 20:37:03 -05:00
Ehsan Akhgari 5ac100af7e Bug 1222464 - Part 3: Implement Clients.get(); r=jdm 2015-12-02 20:37:01 -05:00
Ehsan Akhgari d8cef2d841 Bug 1222464 - Part 2: Implement FetchEvent.clientId; r=jdm 2015-12-02 20:36:59 -05:00
Ehsan Akhgari f9035eb119 Bug 1222464 - Part 1: Save a client ID for top-level navigations on the docshell and assign it as the document ID when we start loading the document; r=jdm
For top-level navigations, we need to compute the client ID when we decide to
intercept the document load, and we need to make sure the document that will
be created later will end up using that same ID.
2015-12-02 20:36:56 -05:00
Ehsan Akhgari 8ec3d68db3 Bug 1201127 - Return the same ServiceWorkerRegistration object from service worker APIs dealing with the same underlying registration object; r=jdm 2015-11-26 15:13:33 -05:00
Catalin Badea 8497aa95e5 Bug 1189659 - Part 3 - Use separate synchronization queues for service worker register jobs and install jobs. r=bkelly 2015-11-26 19:03:10 +02:00
Catalin Badea e91f080be7 Bug 1227932 - Fix Service Workers SoftUpdate and registration.update code paths. r=ehsan
This patch splits the code paths for registration.update and soft update
since they have different behaviour. Next, it changes ServiceWorkerRegisterJob
to use just one callback and just prevents soft update from queuing a new
task if another one is pending.
2015-11-26 19:03:10 +02:00
Yoshi Huang 4b500464f5 Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08: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 ef9b1a937a Bug 1227113 - Fix some indentation issues in ServiceWorkerManager, r=janv 2015-11-23 13:47:53 +00:00
dimi 251af3768d Bug 1217367 - Service workers update algorithm optimization. r=bkelly 2015-11-20 16:43:07 +08:00
Kyle Huey 7e1d1b1868 Bug 1224436: Remove enumerator usage in ServiceWorkerManager.cpp. r=njn 2015-11-19 16:03:29 +08:00
Ben Kelly d6cd5e961e Bug 1217909 P8 Track navigation interceptions per scope in ServiceWorkerManager. r=catalinb 2015-11-16 08:04:11 -08:00
Ben Kelly a670404ca2 Bug 1217909 P3 Refactor service worker register()/update() to reject only with SecurityErr or TypeErr. r=catalinb
* * *
Bug 1217909 P3 interdiff 001 fix try build
2015-11-16 08:04:11 -08:00
Ben Kelly 086c599374 Bug 1217909 P2 Track registering documents as weak reference so SWM can report errors to them. r=catalinb 2015-11-16 08:04:11 -08:00
Ben Kelly c311fd953d Bug 1217909 P1 Report service worker exceptions to controlled documents. r=catalinb
* * *
Bug 1217909 P1 interdiff 001 refactor
2015-11-16 08:04:11 -08:00
Eddy Bruel f2221b7a7f Bug 1220740 - nsIServiceWorkerRegistrationInfo should emit an event when its scriptSpec property changes;r=amarchesini 2015-11-13 21:54:45 +01:00
Eddy Bruel e12ab5ca8b Bug 1219205 - ServiceWorkerInfo should be an XPCOM object;r=catalinb 2015-11-05 07:15:49 +01:00
Eddy Bruel 4bad6b08ad Bug 1218363 - nsIServiceWorkerManager should notify its listeners when a service worker is (un)registered;r=catalinb 2015-11-04 15:17:02 +01:00
Carsten "Tomcat" Book fb394133cc Backed out changeset 6e4244690d03 (bug 1218363) for m-oth bustage
--HG--
extra : rebase_source : 33397d7b8bd802aad355ebbdb7ee4cb30171ceb0
2015-11-04 14:26:43 +01:00
Eddy Bruel 03e4076412 Bug 1218363 - nsIServiceWorkerManager should notify its listeners when a service worker is (un)registered;r=catalinb 2015-11-04 11:08:39 +01:00
Eddy Bruel 4bc69d6082 Bug 1216566 - Fix a bug in nsIServiceWorkerManager.getAllRegistrations;r=catalinb 2015-11-02 15:04:41 +01:00