Carsten "Tomcat" Book
5245fa5a7b
Backed out changeset 71abbf190d53 (bug 1092102) for static analysis build bustage on a CLOSED TREE
...
--HG--
extra : rebase_source : fb64615c90507f79d27f3ab096e6e0259cb38c3e
2015-03-31 11:14:46 +02:00
Eddy Bruël
0c47b481d2
Bug 1092102 - Implement WorkerDebuggerGlobalScope.createSandbox;r=khuey
2015-03-31 10:19:04 +02:00
Ehsan Akhgari
44ac8ce186
Bug 1148064 - Enable interception of pings through service workers; r=nsm,smaug
...
Currently when sending a beacon, HttpBaseChannel::ShouldIntercept tries
to get access to the nsINetworkInterceptController interface through the
channel's notification callbacks, but in this case the notification
callback is the nsPingListener object.
This patch extends nsPingListener to make it aware of
nsINetworkInterceptController, and have it route the request for
nsINetworkInterceptController correctly to the docshell without the need
to mess with the notification callbacks.
This will be tested in bug 1147699.
2015-03-30 22:57:19 -04:00
Ehsan Akhgari
9bfe5526a2
Bug 1147699 follow-up: Disable the plugin test on Mulet
...
Landed on a CLOSED TREE in order to fix the test bustage.
2015-03-30 10:41:06 -04:00
Ehsan Akhgari
7f0cac73a3
Bug 1147699 - Part 14: Add a test for FetchEvent.request.context when intercepting loads coming from plugins; r=nsm
2015-03-30 08:42:53 -04:00
Ehsan Akhgari
a9ca6ed085
Bug 1147699 - Part 13: Add a test for FetchEvent.request.context when intercepting ping loads; r=nsm
...
This test is temporarily disabled until bug 1148064 gets fixed.
2015-03-30 08:42:51 -04:00
Ehsan Akhgari
c1c49bf187
Bug 1147699 - Part 12: Add a test for FetchEvent.request.context when intercepting new window loads; r=nsm
2015-03-30 08:42:49 -04:00
Ehsan Akhgari
3adeadabad
Bug 1147699 - Part 11: Add tests for FetchEvent.request.context when intercepting iframes and frames; r=nsm
2015-03-30 08:42:47 -04:00
Ehsan Akhgari
bb41d453ac
Bug 1147699 - Part 10: Add a test for FetchEvent.request.context when intercepting font loads; r=nsm
2015-03-30 08:42:46 -04:00
Ehsan Akhgari
dd3079f0ba
Bug 1147699 - Part 9: Add tests for FetchEvent.request.context when intercepting embeds and objects; r=nsm
2015-03-30 08:42:45 -04:00
Ehsan Akhgari
3ccccb6763
Bug 1147699 - Part 8: Add a test for FetchEvent.request.context when intercepting a CSP report; r=nsm
2015-03-30 08:42:43 -04:00
Ehsan Akhgari
a0ac39a25e
Bug 1147699 - Part 7: Add a test for FetchEvent.request.context when intercepting a beacon load; r=nsm
2015-03-30 08:42:41 -04:00
Ehsan Akhgari
e573e0c13e
Bug 1147699 - Part 6: Add a test for FetchEvent.request.context when intercepting a video element load; r=nsm
...
Note that currently our implementation incorrectly reflects this as
'audio'. This will be fixed later.
2015-03-30 08:42:39 -04:00
Ehsan Akhgari
fe261ef1d6
Bug 1147699 - Part 5: Add a test for FetchEvent.request.context when intercepting an audio element load; r=nsm
2015-03-30 08:42:37 -04:00
Ehsan Akhgari
f479f50502
Bug 1147699 - Part 4: Add a test for FetchEvent.request.context when intercepting a responsive image load; r=nsm
2015-03-30 08:42:35 -04:00
Ehsan Akhgari
6fdcabe29e
Bug 1147699 - Part 3: Add a test for FetchEvent.request.context when intercepting an image load; r=nsm,bzbarsky
2015-03-30 08:42:34 -04:00
Ehsan Akhgari
47c59f235a
Bug 1147699 - Part 1: Move Request::mContext to InternalRequest, and determine the mapping to nsContentPolicyType; r=nsm
...
As the documentation in InternalRequest.h in this patch shows, the
mapping between nsContentPolicyType and RequestContext is not complete
yet. Because the InternalRequest object needs to know the actual
nsContentPolicyType in order for FetchDriver to be able to use that
information, we can't just store the RequestContext. Therefore, this
patch adds both of these to InternalRequest. Once we get to a stage
where we have a complete mapping of these values, we can store only one
of them and compute the other from it. That requires addressing all of
the TODO comments in the InternalRequest.h documentation.
2015-03-30 08:42:31 -04:00
Eddy Bruël
8f6d3f73d2
Bug 1092102 - Implement WorkerDebuggerGlobalScope.setImmediate;r=khuey
2015-03-30 13:54:38 +02:00
Eddy Bruël
208b56c029
Bug 1092102 - Implement WorkerDebuggerGlobalScope.enterEventLoop;r=khuey
2015-03-27 07:17:16 +01:00
Eddy Bruël
7c855a15e6
Bug 1092102 - Implement WorkerDebuggerGlobalScope.reportError;r=khuey
2015-03-26 20:09:45 +01:00
Ehsan Akhgari
6115fab25e
Bug 1147367 - Add a test for checking the Request.context attribute for FetchEvents generated for fetch(); r=nsm
2015-03-25 21:28:22 -04:00
Ehsan Akhgari
5bec74a407
Remove the unneeded variable, no bug, DONTBUILD
2015-03-24 17:35:16 -04:00
Ehsan Akhgari
b5a110ac65
Bug 1142727 - Do not intercept sandboxed iframes with service workers; r=nsm
...
This is temporary until we clarify what we want to do with these
iframes in the spec.
2015-03-24 16:45:14 -04:00
Nikhil Marathe
8f230527ff
Bug 1136200 - Verify request type is not no-cors if response is opaque. r=jdm
...
--HG--
extra : transplant_source : %C2%95%89%0Az%29%9D%F8F%85%E1%83%C1%0D%25%9F%1Ck%3B%28
2015-03-17 08:47:03 -07:00
Nikhil Marathe
7a7e74fe7c
Bug 1134324 - Set CORS mode and credentials on Fetch event Request. r=michal
...
renames fetch to fetchXHR() since fetch() is now a superpower.
--HG--
extra : transplant_source : %DA%00%E38%A6%0Fw%DA%26%D3%A9q%AE%A6%FE%BA%81%AA%EEB
2015-03-17 08:47:02 -07:00
Ehsan Akhgari
cfa0a6430f
Remove the remnants of the dom.fetch.enabled pref, no bug
2015-03-23 15:46:59 -04:00
Josh Matthews
41763998ae
Bug 1134330 - Mark fetch events as reloads appropriately. r=smaug
2015-03-23 13:36:44 -04:00
Nikhil Marathe
fa2b7dfb6b
Bug 1141332 - Disable content decoding and use decoded length on intercepted channels. r=mcmanus
...
--HG--
extra : transplant_source : %B9%A2%AB.%EA%A4%ABH%86%D0%F0%3F%DE%03%DF%7D%A9p%B2%D5
2015-03-17 08:48:32 -07:00
Timur Valeev
19d6b48603
Bug 1136757 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
...
ON CLOSED TREE
Fix bug number
--HG--
extra : rebase_source : 98ca84186a9840a8827aa8da8a217badffc856c2
extra : histedit_source : ae3613ff672e71d340587c74d511e2beb04030f8
2015-03-20 08:44:20 -07:00
Nikhil Marathe
a6bcf43dcd
Backed out changeset 62b55b1f9b7e for wrong bug number ON CLOSED TREE
...
--HG--
extra : rebase_source : ce58377252069674fd30d3c9ebca91c8d4aca780
extra : histedit_source : 4af47c8f4abf6ba8c234547e47c99a737d3e4771
2015-03-20 08:43:59 -07:00
Timur Valeev
4a14abec30
Bug 1135627 - Add direct Response overload for FetchEvent.respondWith(). r=jdm,nsm,ehsan
...
--HG--
extra : rebase_source : 1df0b695586ff6273e7e5ded032c2daa3d5e1e31
2015-03-18 06:17:11 +03:00
Eddy Bruël
7989a0b7bf
Bug 1092102 - Implement WorkerDebugger.postMessage;r=khuey
2015-03-20 12:15:59 +01:00
Catalin Badea
7774d591e4
Bug 982726 follow-up: Add exempt from worker limit pref to a test.
2015-03-18 16:56:47 +02:00
Catalin Badea
d15c1bbafb
Bug 982726 - Test the number of clients returned by matchAll. r=nsm
2015-03-18 16:47:17 +02:00
Nikhil Marathe
c7893519a9
Bug 1134462 - Cleanup Promise usage in fetch test SW. r=jdm
...
--HG--
extra : rebase_source : c74bc35e4c675e8ece5b43790e93f727888c5b5d
2015-03-17 08:48:31 -07:00
Nikhil Marathe
191be106d4
Bug 1134462 - Synthesize status and headers from Response returned by ServiceWorker. r=jdm
...
--HG--
extra : rebase_source : 6bfb181427869bb99a0812608e75b6311f3dfb97
2015-03-17 08:48:30 -07:00
Eddy Bruël
2d0841a4c7
Bug 1092102 - Implement WorkerDebugger.initialize;r=khuey
2015-03-17 11:15:19 +01:00
Nikhil Marathe
508af070e6
Bug 739173 - Support FormData in workers. r=khuey,baku
...
--HG--
extra : rebase_source : 2ddd847d280e3aede963c51ed525170d86eebd3c
2015-01-27 15:16:21 -08:00
Nikhil Marathe
8808a1f942
Bug 1131271 - Set ServiceWorker script redirect limit to zero. r=bkelly,ehsan
...
--HG--
extra : rebase_source : 2cfc2a1d383a8352b63a4b34ca97b88decefb7c9
2015-02-09 13:47:09 -08:00
Nikhil Marathe
5ffa8c89b7
Bug 1130688 - Implement additional scope checking in service worker registration. r=bkelly,ehsan
...
--HG--
extra : amend_source : 19663c098313445da8c3c271cea59dc366207d43
extra : transplant_source : %CFl%F7%92%0B%22%5D%CB%10%DE%B6%3F%19%1AW%DA%D9%0FS%85
2015-03-09 18:57:06 -07:00
Nikhil Marathe
6d65226133
Bug 1140791 - Run fetch tests on main thread and workers. r=ehsan
...
--HG--
rename : dom/tests/mochitest/fetch/worker_test_fetch_basic.js => dom/tests/mochitest/fetch/test_fetch_basic.js
rename : dom/tests/mochitest/fetch/worker_test_fetch_basic_http.js => dom/tests/mochitest/fetch/test_fetch_basic_http.js
rename : dom/tests/mochitest/fetch/worker_test_fetch_cors.js => dom/tests/mochitest/fetch/test_fetch_cors.js
rename : dom/workers/test/fetch/test_request.html => dom/tests/mochitest/fetch/test_request.html
rename : dom/workers/test/fetch/worker_test_request.js => dom/tests/mochitest/fetch/test_request.js
rename : dom/workers/test/fetch/test_response.html => dom/tests/mochitest/fetch/test_response.html
rename : dom/workers/test/fetch/worker_test_response.js => dom/tests/mochitest/fetch/test_response.js
extra : rebase_source : d889a24b81681948f67604bacd95f05fac96ef57
2015-03-11 14:48:58 -07:00
Catalin Badea
96bdb9cb6a
Bug 1142015 - Add source for messages dispatched to a Service Worker. r=baku
2015-03-16 22:23:42 +02:00
Catalin Badea
cbc3e96c50
Bug 1143732 - Add exempt from limit for two service worker tests. r=bkelly
2015-03-16 19:57:42 +02:00
Albert Crespell
6fc5c56408
Bug 1139425 - Service Worker Client uuid tests. r=baku
2015-03-16 11:20:40 +01:00
Ehsan Akhgari
9693cea624
Bug 1133763 - Part 8: Ensure that FetchEvent.respondWith works correctly on HTTPS requests with a cloned response; r=nsm
2015-03-13 14:37:27 -04:00
Ehsan Akhgari
9cdf67372b
Bug 1133763 - Part 7: Add automated tests for using FetchEvent.respondWith on an HTTPS request; r=nsm
2015-03-13 14:37:25 -04:00
Jonathan Griffin
d1c61bc9b6
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Ehsan Akhgari
5d46e8dcd3
Bug 1141274 - Allocate shared workers and service workers from separate namespaces; r=nsm
...
This patch makes sure that we never reuse a WorkerPrivate belonging
to a shared worker for a service worker and vice versa.
2015-03-10 22:52:22 -04:00
Nikhil Marathe
ca6c2ec7d2
Bug 1140788 - Set headers to immutable. r=bkelly,ehsan
...
--HG--
extra : rebase_source : 2174a7683df99996566299609496c5ae7740bf36
2015-03-07 18:54:41 -08:00
Nikhil Marathe
6704643316
Bug 1133805 - Enable all serviceworker tests on all platforms except b2g. r=baku
...
--HG--
extra : rebase_source : a479570684910bc93fc82b26916020276d7f38dd
2015-03-03 15:57:15 -08:00
Nikhil Marathe
b4227d7b33
Bug 1053275 - Exempt ServiceWorkers from per domain thread limits. r=sicking
...
--HG--
extra : rebase_source : 4f48830c13e1ba471147774b7d93f4f2c795543d
2015-03-03 14:30:58 -08:00
Nikhil Marathe
af18a63f82
Bug 1133861 - Enable the Fetch API by default. r=jst
...
--HG--
extra : rebase_source : 97dc853238ad7ce4cec7277c4732bf3f4ec1b962
2015-02-22 01:52:10 -08:00
Ehsan Akhgari
91fc999b3a
Bug 1037739 - Disable test_scopes.html temporarily on a CLOSED TREE
2015-03-06 10:09:05 -05:00
Ehsan Akhgari
1d192fb324
Bug 1137816 follow-up: Add WindowClient, added by bug 1058311
2015-03-06 09:34:50 -05:00
Ehsan Akhgari
be5523861d
Bug 1137816 - Add a test for interfaces exposed to service workers; r=baku
2015-03-06 08:27:24 -05:00
Ehsan Akhgari
60095b3b16
Bug 1131353 - Make ServiceWorkerGlobalScope.close() throw InvalidAccessError; r=baku
2015-03-06 08:19:33 -05:00
Catalin Badea
c230b69ed6
Bug 1058311 - Update client interface. Implement matchAll WindowClient. r=baku
2015-03-06 15:04:49 +02:00
Jan de Mooij
0158166339
Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku
2015-03-06 09:50:51 +01:00
Nikhil Marathe
0fe8699ff2
Bug 1139561 - Various small ServiceWorker test fixes. r=baku
...
Replace setTimeout for test_unregister with detailed checks for active worker before opening iframe
check for null reg in unregister tests
Removed current dir scope so potential fetch event slowdown does not timeout tests
use navigator.serviceWorker to receive messages
Remove leftover getRegistration() test
--HG--
extra : transplant_source : %F39R%DA2%D5%12%0A%AB%01%9B%BF%BD%5Cy%B3%C3%5C%12%05
2015-03-03 16:00:02 -08:00
Nikhil Marathe
ed3ab4dd99
Bug 1137477 - Replace getServiced() with matchAll() in tests. r=catalinb
...
--HG--
extra : rebase_source : c53ae787fc0a161fd8c67dc9cecaddc2306532a7
2015-02-26 17:20:23 -05:00
Andrea Marchesini
57eb6826e6
Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel - tests, r=ckerschb
2014-12-10 11:41:09 -08:00
Ben Kelly
8bf704b7d2
Bug 940273 - Part 6 - Expose Service Worker Cache on workers as self.caches. r=ehsan
2015-03-02 14:23:00 +01:00
Catalin Badea
553cdbd8f5
Bug 1136467 - ServiceWorker: client.postMessage should land in navigator.serviceWorker.onmessage. r=baku
2015-02-25 21:38:37 +02: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
Ben Kelly
4fa2ac100d
Bug 1073231 Follow-up to fix bad rebase in rev 39c5fd86a4a0. r=me
2015-02-19 20:39:27 -05:00
Ben Kelly
e3f6f3f034
Bug 1073231 Implement Request and Response Clone() methods. r=nsm r=baku
2015-02-19 20:24:24 -05: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
Nikhil Marathe
302ff75d63
Bug 1126815 - Implement Response.finalURL. r=bkelly,baku
...
--HG--
extra : rebase_source : 5180d5657c60c7aec33e9f750d24cbee9a2890e2
2015-02-17 10:23:34 -08: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
Masatoshi Kimura
02889442ad
Bug 1129756 - Revert test changes in bug 1041631 since Symbols are reenabled. r=jorendorff
2015-02-05 22:44:10 +09:00
Ryan VanderMeulen
4df1f6609e
Bug 1130065 - Skip test_workerUpdate.html due to frequent failures.
2015-02-17 16:13:59 -05:00
Andrea Marchesini
3a3e06fb32
Bug 1130570 - Fix tests to use iframe to work on b2g. r=nsm
...
--HG--
extra : rebase_source : 88757a9f40a1b6c7e0dcd71afceee778c8b2e21a
2015-02-12 15:10:11 -08: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
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
Carsten "Tomcat" Book
b4ce75fd92
Backed out changeset 8ea3cf306727 (bug 1130570)
2015-02-17 09:35:24 +01:00
Andrea Marchesini
c5a2a88f83
Bug 1130570 - Tests use iframe instead of window.open. r=nsm
...
--HG--
extra : rebase_source : 30c2a3921cfa5208257da144ae496967a14d6511
2015-02-12 15:10:11 -08: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
0a194e5205
Bug 1132924 - XHR should support empty response in workers, r=bkelly. r=bent
2015-02-14 09:09:06 +01:00
Boris Zbarsky
7df856ce78
Bug 1131751. Drop [NoInterfaceObject] from XMLHttpRequestEventTarget. r=smaug
2015-02-12 18:39:25 -05:00
Andrea Marchesini
2ba37fdfb5
Bug 1132395 - URL.createObjectURL must be able to work with workers without parents, r=smaug
2015-02-12 14:20:08 +01:00
Alexandre Lissy
811d7c1cb9
Bug 1129849 - Proper B2G identification for worker navigator tests. r=bent
2015-02-09 03:11:00 -05: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
Alexandre Lissy
53aebf0b4f
Bug 1129173 - Properly detect B2G for workers interface tests. r=bent
...
Make use of SpecialPowers.isB2G to do the proper detection, and fix
mochitest execution for Mulet to include some B2G-specific prefs.
--HG--
extra : rebase_source : 2683f17794204cdb8b17248c9469f2498085ee81
2015-02-10 06:51:00 +01:00
Catalin Badea
a1696f318d
Bug 982726 - Patch 3: Implement client.postMessage. r=baku
2015-02-09 12:43:00 -05: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
b53e5f1ae8
Bug 1119037 - Add context attribute to Request. r=baku
...
--HG--
extra : transplant_source : p%1Cr%13%ED%F8%B1%B8D%9B%DC5%C6%EFEQD%CC%A2l
2015-01-27 15:43:09 -08:00
Ryan VanderMeulen
3a12220f04
Bug 1126470 - Re-disable test_scopes.html due to frequent crashes/timeouts.
2015-02-05 12:17:35 -05:00
Birunthan Mohanathas
2d111ab8df
Bug 1122044 - Remove unreferenced moz.build files. r=mshal
2015-01-21 20:15:59 +02:00
Andrea Marchesini
fa29820396
Bug 1127885 - Console API should display blobs when used in workers, r=smaug
2015-02-02 15:40:15 +00:00
Carsten "Tomcat" Book
2138a393d3
Backed out changeset b15dd0241e60 (bug 1127885) for hazard build bustage
2015-02-02 14:37:23 +01:00
Andrea Marchesini
6f40b4c8b7
Bug 1127885 - Console API should display blobs when used in workers, r=smaug
2015-02-02 11:51:52 +00:00
Phil Ringnalda
ffc0edff3f
Back out 030744f8ef5a (bug 1127885) for hazard bustage
2015-01-31 12:06:40 -08:00
Andrea Marchesini
ac9e92bc87
Bug 1127885 - Console API should display blobs when used in workers, r=smaug
2015-01-31 19:12:00 +01:00
Nikhil Marathe
344fd0a633
Bug 1126483 - Added Response.ok. r=baku,bkelly
...
--HG--
extra : rebase_source : fdff9417d56b06a0556da9a95e0836148d91be0e
2015-01-27 17:34:34 -08: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
bdbece8200
Bug 1113631 - Remove registration when installation failure occurs. Fixes spec issue #547 . r=baku
...
--HG--
extra : transplant_source : l%8C%98%C3%19%7C/%5C%076ZS%26%8DR%EDzM%CB%04
extra : histedit_source : 3acd229eebf3367ccf98faaf02d1330942c1cda0
2014-11-05 14:43:51 -08:00
Wes Kocher
3ddd04bd7d
Backed out changeset 5555ee7490fb (bug 1113631) for asan mochitest-4 bustage on a CLOSED TREE
2015-01-23 19:51:33 -08:00
Nikhil Marathe
f3cc077f51
Bug 1122677 - Disallow request body when method is HEAD/GET.
...
Spec bug https://www.w3.org/Bugs/Public/show_bug.cgi?id=27846
and :annevk OKed putting the check in the constructor and throwing http://logs.glob.uno/?c=content#c259382
--HG--
extra : rebase_source : 224da5d5f19387ffd95fc42c38a99b0e25427551
2015-01-16 13:08:19 -08:00
Nikhil Marathe
23d15b0403
Bug 1109742 - Fix Body.json() error rejection. r=baku
...
--HG--
extra : rebase_source : f76f97258fd09ce6391f70487ea8bd6ec76edce5
2014-12-04 14:06:45 -08:00
Nikhil Marathe
8b4174b259
Bug 1113631 - Remove registration when installation failure occurs. Fixes spec issue #547 . r=baku
...
--HG--
extra : rebase_source : aa6421ca130625f7e6c7aba8e866048cc3d5b5a4
2014-11-05 14:43:51 -08:00
Nikhil Marathe
f59c428a7b
Bug 1113619 - Abort on lifecycle event handler errors. r=baku
...
Folded:
Handle install event listener errors and fail installation
Activate handler runtime errors should lead to activation failure.
--HG--
extra : rebase_source : 5e5409346cb3999d29a1e624edc640653b9c0475
2014-12-19 04:45:07 -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
0bb964a725
Bug 1113587 - Fire controllerchange event on controlled documents ServiceWorkerContainer. r=baku
...
--HG--
extra : rebase_source : cad64bf4ec965906f6268a02e83bcb089cdd2f5e
2014-10-28 13:11:31 -07:00
Andrea Marchesini
055aedd30a
Bug 1065367 - Implement a mochitest for ServiceWorkerGlobalScope::Unregister(), r=nsm
...
--HG--
extra : rebase_source : e114cf527d5a17bdf0173ff8e373b31e58c8909d
2014-10-06 16:47:37 +01: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
d942d61753
Bug 1124743 - Temporarily disable test until race is figured out. a=testfailure
2015-01-22 09:58:43 -08: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
Nikhil Marathe
36aa4fe1b3
Bug 1122194 - Follow method validation rules when constructing Request. r=baku,bkelly
...
--HG--
extra : amend_source : 78950befd29e5aff54956b3399993ade769a21c5
extra : transplant_source : c%B3%E0%87%E7Zdx%03%A6%AA%0A%1C%5E%A8%EF%95%FF%3D%86
2015-01-15 12:11:12 -08:00
Nikhil Marathe
bf76a3c4e1
Bug 1112922 - Implement request referrer correctly in Fetch API. r=bkelly
...
--HG--
extra : rebase_source : 226756fee8b777ed30b07cce0f3c5879d66ccf80
2014-12-23 07:56:19 -08:00
Andrea Marchesini
e2ecdca8a9
Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug
2015-01-15 16:58:41 +00:00
Nikhil Marathe
83f2d35bc2
Bug 1112073 - Implement Response.redirect. r=baku,bkelly
...
--HG--
extra : rebase_source : b84a118d61103227e3e021d0efe344f709115fc9
2014-12-26 09:44:09 -08:00
Ryan VanderMeulen
3a9ff448dc
Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
...
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)
CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini
1b2f40309e
Bug 966439 - BroadcastChannel API - patch 3 - API disabled by pref, r=smaug
2015-01-14 11:50:35 +00:00
Nikhil Marathe
2b1d550dca
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
--HG--
extra : rebase_source : 3a70d53965def8fe02deec307367b9fda3458935
2015-01-07 16:24:40 -08:00
Ryan VanderMeulen
ea9aaf976e
Backed out changeset 88970726eb6b (bug 1119044) for Werror bustage.
2015-01-13 13:26:52 -05:00
Nikhil Marathe
7fd4527a9a
Bug 1119044 - Fetch API WebIDL Fixes. r=bkelly,baku
...
Add various [SameObject]/[NewObject] annotations.
Adds RequestCache enum.
Ensures that cors-with-forced-preflight is translated to cors in getter.
Reject cors-with-forced-preflight as a valid mode value in Request constructor.
--HG--
extra : rebase_source : 0b621e13dc5cdbf740fb7d380f96f1380cd5a3eb
extra : amend_source : 7ced6d36ed7212271163c6aa1baacc7d5ca39647
2015-01-07 16:24:40 -08:00
Nikhil Marathe
992f9b1a98
Bug 1109574 - Check for null body before setting bodyUsed in Request constructor. r=bkelly
...
--HG--
extra : transplant_source : %07%B8%B0%D1%ED%D4%C6N%09%09%86%04g%BD%ECs%B2%C6%09%18
2014-12-23 02:25:17 -08:00
Nikhil Marathe
b1aa271f55
Bug 1039846 - Patch 5: FetchDriver basic HTTP fetch support. r=baku,bkelly
...
This patch has the following big pieces:
HTTP support in FetchDriver, which requires the principal of the caller to be passed.
Managing worker lifetime when a fetch() call is in progress.
Managing worker lifetime when a Response body is being read.
Using nsIPipe to link network streams to Request/Response body streams.
Using nsIInputStreamPump to convert Request/Response body streams into respective types.
Folded:
Bug 1039846 - Fetch API: Use a pipe to immediately start writing HTTP body data to InternalResponse.
Bug 1039846 - Assert bodystream can be set only once
Bug 1039846 - Add feature when handling fetch responses on workers
Bug 1039846 - Try to retarget http fetch delivery off main thread.
Bug 1039846 - Safely consume body using nsIInputStreamPump on workers and main thread.
Bug 1039846 - Retarget body reading to stream transport service.
--HG--
extra : rebase_source : 809c4e799835ad6fd153b673cad70109d257ab6c
2014-12-10 00:51:59 -08:00
Valentin Gosu
80b8239e16
Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug
2014-11-12 05:59:24 +02:00
Andrea Marchesini
baf0cbe028
Bug 1058644 - Console API in ServiceWorkers. r=khuey
2015-01-06 10:45:00 -05:00
Andrea Marchesini
ce1a4e7489
Bug 1115678 - Explicitly set dom.workers.websocket.enabled for websocket tests in workers. rs=RyanVM
2014-12-26 05:31:00 -05:00
Andrea Marchesini
80f61624ce
Bug 1112054 - Disable WebSockets in workers on Fx35. r=smaug, a=lsblakk
2014-12-23 11:31:54 +01:00
Ben Turner
2be368dceb
Bug 701634 - Support IndexedDB in Workers, r=khuey+baku.
2014-12-16 22:26:15 -08:00
Ehsan Akhgari
09a262787c
Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
...
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Ryan VanderMeulen
5c88387084
Backed out changesets 916dbe7cf99d and 4ae3b6ea1d85 (bug 1104623) for intermittent leaks in the newly-added test.
2014-12-08 13:11:49 -05:00
Andrea Marchesini
174e98dcb2
Bug 1104623 - Inherit security flags if channel already has a loadinfo attached in NS_NewChannel -tests (r=ckerschb)
2014-12-07 20:24:18 -08:00
Andrea Marchesini
3b337f3505
Bug 1104064
- setInterval(,0) in workers must be scheduled correctly, r=khuey
2014-12-03 10:57:39 -08:00
Carsten "Tomcat" Book
0d3f9fd859
Backed out changeset 17d1b075e274 (bug 1093611)
2014-11-26 15:08:36 +01:00
Valentin Gosu
79d54f2cc9
Bug 1093611 - Add/modify tests making sure Link,URL,nsLocation::GetHash don't unescape characters r=smaug
2014-11-12 05:59:24 +02:00
Shian-Yow Wu
ddbda08edf
Bug 1063538 - Part 2: Test case. r=khuey
2014-11-14 14:17:27 +08:00
Emanuel Hoogeveen
29ff200005
Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=billm
2014-11-04 08:17:00 +01:00
Carsten "Tomcat" Book
fd940e7691
Backed out changeset d1acde27d97e (bug 1084651)
2014-11-07 15:30:39 +01:00
Emanuel Hoogeveen
b18bf40d85
Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=wmccloskey
2014-11-04 08:17:00 +01:00
Catalin Badea
6edb26e9b9
Bug 1094375 - Disable test_unregister.html and test_installation_simple.html. r=ryanvm
2014-11-05 14:06:00 +01:00
Carsten "Tomcat" Book
13de0f42c9
Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE
...
Backed out changeset dd2b3e78b425 (bug 1084651)
Backed out changeset 2711fbd91819 (bug 1084651)
Backed out changeset 59a163addd79 (bug 1084651)
Backed out changeset d36f6dbbf925 (bug 1084651)
Backed out changeset 78102b62a4a0 (bug 1084651)
Backed out changeset 06387a2343a0 (bug 1084651)
Backed out changeset 2f8e7c39573e (bug 1084651)
2014-11-05 15:20:25 +01:00
Emanuel Hoogeveen
1476497aee
Bug 1084651 - Part 4b: Adjust and clarify some tests using gcslice(0). r=wmccloskey
2014-11-04 08:17:00 +01:00
Catalin Badea
0bfc866519
Bug 982726 - Patch 1.5 - Update getServiced test and fix an assert when the registration has been removed. r=baku
2014-11-04 13:04:00 +01:00
Catalin Badea
9dc63e370d
Bug 982726 - Patch 1.3 - Fix crash caused by a race condition in PromiseHolder. r=baku
2014-10-28 10:29:00 +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
Andrea Marchesini
acf08223bf
Bug 978260 - Remove Assertions for mParentSuspended in Workers, r=khuey
2014-11-03 08:15:09 +00:00
Vaibhav Agrawal
3455b40530
Bug 1089036 - Removing invalid mochitests and adding them as support files in dom/workers/test/mochitest.ini. r=jmaher
2014-10-30 08:41:00 +01:00
Andrea Marchesini
c3ded97a6c
Bug 1091016 - Remove network.websocket.enabled and introduce a pref just for websocket in workers, r=smaug
2014-10-30 15:22:31 +00:00