Andrea Marchesini
a71e717b67
Bug 1162088 - patch 1 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm, r=bholley
2015-06-03 09:43:43 +01:00
Catalin Badea
8b1fbc7805
Bug 1130684 - Implement Service Worker clients.claim. r=nsm,ehsan
...
--HG--
extra : rebase_source : ea1da8f6dfd8d31936c0ae495ec262581c9e5775
2015-05-14 12:41:42 -07:00
Nikhil Marathe
4c2d6784e1
Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan
...
--HG--
extra : rebase_source : 41417b60ed6603d613b65cd7e96a5ba8121b05e5
2015-03-05 17:37:49 -08:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Nikhil Marathe
d7b71e8fbf
Bug 1131327 - Patch 6 - SWM holds ServiceWorkerRegistrationListener for updatefound and invalidation notifications. r=baku
...
Splits up the listener interface to which SWM can hold rawptrs so that registration objects living on the worker thread can use awkward proxies to listen to these events.
--HG--
extra : rebase_source : 7b9753742b3dd6e416057fdee528b0d2067c55a9
2015-04-08 13:13:32 -07:00
Nikhil Marathe
3f0efb4e4d
Bug 1131327 - Patch 1 - Introduce ServiceWorkerRegistration{Base,MainThread,WorkerThread} r=baku
...
--HG--
extra : rebase_source : 352f05447f45a9dfa651bf683d22659b83508814
2015-04-03 15:18:55 -07:00
Andrea Marchesini
e666f02521
Bug 1156632 - Remove unused forward class declarations - patch 2 - dom/media, dom/indexedDB, dom/svg, r=ehsan
2015-04-22 08:29:17 +02:00
Doug Turner
9c9d8e38df
Bug 1038811 - Push Notifications - ServiceWorker changes, push event implementation. r=nsm
2015-04-10 20:19:28 -07:00
Nikhil Marathe
42de02a529
Bug 931249 - patch 2 - cachename integration. r=nsm
...
--HG--
extra : rebase_source : 8a5bd6a3ec53ccd83c08e58f7a74f6ae1f0edea7
2015-03-18 09:46:38 -07:00
Nikhil Marathe
238374c507
Bug 931249 - patch 1 - Scriptloader use cache if needed. r=khuey
...
--HG--
extra : rebase_source : c81b13a05ec04a68c3acd25807fcf997bd9db81e
2015-03-19 11:41:42 -07:00
Ehsan Akhgari
883849ee32
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
Catalin Badea
c230b69ed6
Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku
2015-03-06 15:04:49 +02:00
Nikhil Marathe
a817a419ab
Bug 1131882 - Associate ServiceWorkers with underlying ServiceWorkerInfo. r=baku
...
This allows controller to track state too, and provides better encapsulation.
1) Move SW setup to SWM. RuntimeService now only creates the underlying SharedWorker.
2) Require a SWInfo to create a SW. The SW holds a refptr to the info.
--HG--
extra : rebase_source : d9de8a66a45f597d1613890691d1facae51eb64e
2015-02-19 08:40:21 -08:00
Nikhil Marathe
654185b808
Bug 1132141 - Update storage when ServiceWorker registration fails. r=baku
...
--HG--
extra : rebase_source : 157d80aa45cb76e4ba4a8ea3164a97505ca50d52
2015-02-11 10:51:32 -08:00
Nikhil Marathe
5dfd14e923
Bug 1131874 - ServiceWorker persistence activation fixes. r=baku
...
--HG--
extra : rebase_source : 2c8dd5e97740cf45c4e08684145d882e9551d3cb
2015-02-10 18:08:58 -08:00
Catalin Badea
9804afb257
Bug 1058311 - Remove prefix for SWClients. Rename getServiced to matchAll. Add stub query options for matchAll r=baku
...
--HG--
rename : dom/webidl/ServiceWorkerClient.webidl => dom/webidl/Client.webidl
rename : dom/webidl/ServiceWorkerClients.webidl => dom/webidl/Clients.webidl
rename : dom/workers/test/serviceworkers/test_get_serviced.html => dom/workers/test/serviceworkers/test_match_all.html
2015-02-20 17:16:17 +02:00
Josh Matthews
86618832b4
Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug
2015-02-18 20:34:29 -05:00
Ryan VanderMeulen
5abea51e9a
Backed out changeset 25f90464e93b (bug 1065216) for Android mochitest failures.
2015-02-18 16:00:33 -05:00
Josh Matthews
cb61a019fc
Bug 1065216 - Dispatch a fetch event to workers when controlled pages initiate a network load. r=baku,mayhemer,smaug
2015-02-18 14:10:52 -05:00
Nikhil Marathe
58fe387602
Bug 1130065 - ServiceWorkerManager capture "atomically" properly.
...
Folds:
Enable most SW tests
Cannot rely on controllerchange firing in an already controlled window. The AbortError case is no longer relevant due to FIFO ordering
Too bad we have to use timeouts
--HG--
extra : rebase_source : cef7f30bfab1e4079846d2aa4080f534ebaf8a3c
2015-02-10 14:33:23 -08:00
Nikhil Marathe
9199c59594
Bug 1041340 - Implement [[HandleDocumentUnload]]. r=baku
...
--HG--
extra : rebase_source : 05bee71b7e26a52783462b9803fe161077af9a7b
2014-10-24 15:11:26 -07:00
Andrea Marchesini
7420ed16c7
Bug 1133242 - ServiceWorkerManager must use the correct principal in b2g, r=nsm
2015-02-17 13:36:09 +01:00
Carsten "Tomcat" Book
c17d0e5157
Backed out changeset 4ed31c8b45c6 (bug 1041340) for causing multiple timeouts on different platforms in service worker tests on a CLOSED TREE
2015-02-17 09:35:58 +01:00
Carsten "Tomcat" Book
1ae698f614
Backed out changeset 4d8423d5a83b (bug 1130065)
2015-02-17 09:35:27 +01:00
Nikhil Marathe
8ece130b23
Bug 1130065 - ServiceWorkerManager capture "atomically" properly. r=baku
...
Folds:
Enable most SW tests
Cannot rely on controllerchange firing in an already controlled window. The AbortError case is no longer relevant due to FIFO ordering
Too bad we have to use timeouts
--HG--
extra : rebase_source : c7370b79541d4e8036c07b81ae6da92f8175526b
2015-02-10 14:33:23 -08:00
Nikhil Marathe
d393dddf01
Bug 1041340 - Implement [[HandleDocumentUnload]]. r=baku
...
--HG--
extra : rebase_source : c3a06f24725dadc812f5a0c5e3230923869e26c6
2014-10-24 15:11:26 -07:00
Andrea Marchesini
78ecfc7b0d
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent, r=nsm
2015-02-11 06:53:00 -05:00
Carsten "Tomcat" Book
43c27b90f0
Backed out changeset b3a1efe7900a (bug 984050) for cpp unitest failures on a CLOSED TREE
2015-02-11 13:29:16 +01:00
Andrea Marchesini
8fb2e275d3
Bug 984050 - Persist ServiceWorkerRegistrations. r=bent,nsm
2015-02-11 10:10:23 +01:00
Dhi Aurrahman
4482d226c8
Bug 1113003: Remove domain level lookup from ServiceWorkerManager. r=nsm
...
--HG--
extra : rebase_source : 411f85381e0498ebfee96fa63586b44b897e7c28
2015-02-09 11:33:39 +07:00
Phil Ringnalda
03a26ce028
Back out 3da63ccbadef (bug 984050) for Windows cppunit bustage
...
CLOSED TREE
2015-02-06 19:49:42 -08:00
Andrea Marchesini
ee4cdf6a25
Bug 984050 - Persist ServiceWorker registrations, r=bent, r=nsm
2015-02-06 23:31:33 +00:00
Nikhil Marathe
3e3b6fb8c0
Bug 1113957 - ServiceWorker unregistration uses job queue. r=baku
...
--HG--
extra : transplant_source : %B3%AA%CF%C5%05%409%D9%15Ly%FA%FF%E3%FA%5E%9B%3F%9F.
2015-01-22 14:10:38 -08:00
Nikhil Marathe
c93d203e5c
Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku,bz
...
--HG--
extra : transplant_source : %E9%C4%13%80%CA%EEj%8D%17%A0LE%F3Tm%0F%EB%2B%3D3
extra : histedit_source : e16da08aa5dca392ad6270a3b03c05c74d1a5ad6
2014-12-19 05:01:53 -08:00
Masatoshi Kimura
6cc5dabbee
Bug 1111290 - Part 3: Remove TypedEnum.h and fold TypedEnumInternal.h into TypedEnumBits.h. r=waldo
2015-01-26 07:22:11 +09:00
Wes Kocher
d002e5fc4b
Backed out changeset 3ff80c877212 (bug 1113627) for asan mochitest-4 bustage on a CLOSED TREE
2015-01-23 19:49:39 -08:00
Nikhil Marathe
b32717bf29
Bug 1113957 - Do not assert job queue empty at shutdown. a=bustage CLOSED TREE
...
--HG--
extra : rebase_source : 42a5b1087974554308413eaf19904aedd83ade37
extra : amend_source : 4f87e2842bf9b40ba50a7696ecb910914204fc04
2015-01-23 12:42:32 -08:00
Nikhil Marathe
085d20b0ae
Bug 1113627 - Refactor lifecycle event dispatching and handling. r=baku
...
--HG--
extra : rebase_source : 548af9014c8a6bf701736289e82f55f02f408ac0
2014-12-19 05:01:53 -08:00
Nikhil Marathe
b28384d250
Bug 1113582 - ServiceWorker parse errors are now properly handled during the Update phase. r=baku,bz
...
Folded:
Enable network error detection test. Fix scopes for network test and parse...
... test to deal with https://github.com/slightlyoff/ServiceWorker/issues/547
--HG--
extra : rebase_source : bbe594b231f1ea878fba78f6594483d6dbd72424
2014-12-19 02:48:31 -08:00
Nikhil Marathe
fbe18cf922
Bug 1043701 - Fire statechange event on ServiceWorker instances. r=baku
...
Folded:
Various registration related UpdateState() calls and abort on failure to create a service worker.
Set ServiceWorker instances state based on corresponding ServiceWorkerInfo state.
--HG--
extra : rebase_source : 43e519457c640b07f4358484b435aa1de581a668
2014-12-19 03:25:56 -08:00
Nikhil Marathe
076d17e308
Bug 1089778 - ServiceWorkerRegistration is keyed by scope for event dispatch and invalidation. r=baku
...
--HG--
extra : rebase_source : 012bcfa0aef20bc6b79e030cb7439f03799e9370
2014-10-27 11:52:57 -07:00
Nikhil Marathe
d374da2039
Bug 1113555 - Update ServiceWorker registration lifecycle. r=baku
...
Folded:
Allow file: serviceworkers
Registration fixes WIP
Queue updatefound instead of immediately firing
Initial "atomically" steps of registration should also be a part of the job
Fix some compiler errors
Be sure not to null out various workers too early during activation
Integrated ServiceWorkerGlobalScope::Update into the ServiceWorkerRegisterJob.
--HG--
extra : rebase_source : 14dd02d18e1209147acd3fd118807c9bd8d4d300
2014-12-19 02:00:29 -08:00
Nikhil Marathe
3f0206f630
Bug 1113515 - Update ServiceWorker webidl. r=baku
...
--HG--
extra : rebase_source : a6143c9d741d87b79ccf3686f868b0856a32cd4b
2014-10-17 11:43:14 -07:00
Andrea Marchesini
449657cc1a
Bug 1065366 - Implement ServiceWorkerGlobalScope update(), r=nsm
...
--HG--
extra : rebase_source : abdca619a27b46693ead93a6f468a40b2eeab2cf
2014-10-06 16:45:14 +01:00
Catalin Badea
610145e67c
Bug 982726 - Patch 1.1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
2014-10-27 12:03:00 +01:00
Ehsan Akhgari
dee315315e
Bug 1072310 - Build more DOM code in unified mode; r=baku
...
--HG--
extra : rebase_source : a34dbc7323238d5f83a0144b62a6c52c3e6c54dc
2014-09-25 10:12:06 -04:00
Wes Kocher
9e0a82dbec
Backed out 4 changesets (bug 982726) for mochitest-4 bustage
...
Backed out changeset 547076d4a357 (bug 982726)
Backed out changeset 095ca68e5d38 (bug 982726)
Backed out changeset 05acfcc7a341 (bug 982726)
Backed out changeset 9244a16c3258 (bug 982726)
2014-09-02 19:09:38 -07:00
Catalin Badea
a2d3be8aeb
Bug 982726 - Patch 1 - Service Worker: ServiceWorkerClients and Client interfaces with getServiced(). r=baku
...
--HG--
extra : transplant_source : %06f%1C%BE%29%D4F%BAeN%0CI_%93y%8A%8FE%E5%BB
2014-08-27 10:24:09 -07:00
Nikhil Marathe
d185ce387a
Bug 1057933 - ServiceWorkerRegistrations should use scope and not window to obtain workers. r=baku
...
--HG--
extra : rebase_source : 299337329af979f091fefd6b2d1ef202c547c5ed
2014-08-24 22:35:03 -07:00
Andrea Marchesini
51c5e60fe1
Bug 1025077 - Implement ServiceWorkerContainer.ready, r=nsm
2014-08-26 09:16:03 +01:00
Nikhil Marathe
ac703e92cb
Bug 1011268 - Unregister algorithm. r=ehsan
...
--HG--
extra : rebase_source : 134f7db35f039891775cf45a6bfd2146e03b8e75
2014-07-14 10:33:44 -07:00
Andrea Marchesini
401a133406
Bug 1002571
- Implement navigator.serviceWorker.getRegistrations. r=nsm
2014-08-20 11:40:00 -04:00
Andrea Marchesini
1355a04e72
Bug 1043004 - Update ServiceWorkerContainer API to spec. r=bkelly
2014-08-19 09:56:00 -04:00
Andrea Marchesini
60e99f3cd4
Bug 1047398 - ServiceWorker should use WeakRef instead nsTWeakRef, r=smaug
2014-08-01 17:42:19 +01:00
Nikhil Marathe
721e6c9846
Bug 1002570 - Return valid ServiceWorker instances for .installing, .waiting, .active and .controller. r=ehsan
...
--HG--
extra : transplant_source : %B2%1D%A4%8D%04%E9%BE%D9%C1%CC%C89%F0%07%07%15%B1Df%F1
2014-07-23 14:05:08 -07:00
Nikhil Marathe
0430f40e80
Bug 984048: Part 8 - Activate algorithm. r=ehsan,bent
...
--HG--
extra : rebase_source : 366eabae6bbd60f3223725da31c7175e6b3603db
2014-07-11 13:07:59 -07:00
Nikhil Marathe
4fad78d9c2
Bug 984048 - Part 7 - Documents register themselves with corresponding ServiceWorkerInfo. r=bz
...
--HG--
extra : transplant_source : %FD%9BD%8C%E4a%A9%CB9%17L%EE%E38%11%A1t%8A%3Bs
2014-07-20 23:25:44 -07:00
Nikhil Marathe
77a88e4eeb
Bug 983497 - Patch 1: Infrastructure to fire events on ServiceWorkerContainers. r=ehsan,smaug
...
--HG--
extra : transplant_source : S1z%F3%86%E5%CF%D6%3BWW%8E%1A%90%A3%94%7E%FE%E3z
2014-07-14 14:15:23 -07:00
Nikhil Marathe
98d53f31bc
Bug 984048 - Patch 6 - Scope ordering and utility functions. r=ehsan,khuey
...
Added r=khuey via IRC to validate webidl DOM peer check.
--HG--
extra : rebase_source : 0aa1a6bcdc0f2ec8c5cd8af44d39afb62b1d4abf
2014-07-11 11:52:19 -07:00
Nikhil Marathe
20b913a8fb
Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
...
--HG--
extra : rebase_source : 6c710937fde2ebe679908690c1295927eb4c195d
2014-07-02 17:48:50 -07:00
Nikhil Marathe
a58ac47144
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 463146233c874c2f2c63c018f2a43a66ca9ea49a
2014-07-02 17:48:35 -07:00
Wes Kocher
40b922a6e4
Backed out 3 changesets (bug 984048) for breaking hazard builds.
...
Backed out changeset 2d0c34b7045f (bug 984048)
Backed out changeset c18211a2afa1 (bug 984048)
Backed out changeset 30fa36882d57 (bug 984048)
2014-07-01 20:29:08 -07:00
Nikhil Marathe
012736aea3
Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
2014-07-01 16:43:22 -07:00
Nikhil Marathe
80b377d13a
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
2014-07-01 16:43:13 -07:00
Ryan VanderMeulen
a510b05849
Backed out changesets bacfdc83424a and 7d12b5d7446f (bug 984048) for crashes.
2014-06-30 17:22:47 -04:00
Nikhil Marathe
d79746f50d
Bug 984048 - Patch 5 - ServiceWorker [[Install]] algorithm. r=ehsan, khuey
...
--HG--
extra : rebase_source : 5f9d890c655d7f5e77851a8a3bd6b6fd3f9bf108
2014-06-30 13:31:24 -07:00
Nikhil Marathe
f66104b587
Bug 984048 - Patch 4 - Handle parse and uncaught errors. r=khuey
...
--HG--
extra : rebase_source : 9cc36dea950be96fba079877c2d67b76f8383635
2014-06-30 13:31:02 -07:00
Nikhil Marathe
08d119358f
Bug 984048: Part 3 - Update algorithm. r=ehsan,khuey
...
--HG--
extra : rebase_source : 5e80b118faeea419cfebbc2d1060cd2a1a61bcba
2014-06-11 09:12:56 -07:00
Benoit Jacob
05cd90f1fc
Bug 1027251 - Fix or whitelist dangerous public destructors in dom/ - r=smaug
2014-06-18 22:28:59 -04:00
Nikhil Marathe
38e0d68766
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00
Ryan VanderMeulen
4b8339eede
Backed out changeset 3add0c55a799 (bug 984048) for mochitest-e10s timeouts.
2014-05-29 15:02:41 -04:00
Nikhil Marathe
fc4217adba
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00