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

545 Коммитов

Автор SHA1 Сообщение Дата
Fernando Jimenez 953d3573cb Bug 1169613 - Use content type of synthesized response for JAR channel requests if available. Tests. r=jdm 2015-06-05 12:53:58 +02:00
Andrea Marchesini 6b856c6ad5 Bug 1134224 - onerror for test_bug1132395.html, r=ehsan 2015-06-05 11:15:17 +01:00
Ehsan Akhgari f30c9b2b9a Bug 1162018 - Add an automated test to ensure that a redirected Request won't be visible to a service worker if it had triggered the original fetch(); r=jdm 2015-06-04 16:29:48 -04:00
Ryan VanderMeulen c2e15cd8c8 Backed out changeset e95a9e8e7650 (bug 1170795) for e10s test_fetch_event.html faliures. 2015-06-04 11:09:07 -04:00
Ehsan Akhgari ca699d4bcb Bug 1171285 - Part 2: Fix test_app_protocol.html to finish both index.html and controlled.html tests; r=jdm 2015-06-04 10:18:53 -04:00
Ehsan Akhgari 8fa914ff17 Bug 1171285 - Part 1: Add a script for regenerating the application.zip used by test_app_protocol.html; r=jdm 2015-06-04 10:18:47 -04:00
Josh Matthews 3bd0da1770 Bug 1170795 - Ignore redirect errors for synthesized cache entries. r=mayhemer 2015-06-04 10:06:33 -04:00
Andrea Marchesini 9e407c75be Bug 1134224 - More test for test_bug1132395.html, r=ehsan 2015-06-04 08:58:19 +01:00
Jose Antonio Olivera Ortega 2d3a0be044 Bug 1131352 - Part 2: Add ServiceWorkerGlobalScope skipWaiting(). r=nsm, r=baku 2015-06-02 07:12:00 -04:00
Andrea Marchesini 8adec8a2d4 Bug 1162088 - patch 2 - ServiceWorkerManager should use OriginAttributes from the principal as scopeKey, r=nsm 2015-06-03 09:44:09 +01:00
Fernando Jimenez bf20132dbb Bug 1169296 - Intercepting top-level document loads is not working with JAR channels. Tests. r=jdm 2015-06-03 10:41:45 +02:00
Ehsan Akhgari 0cd59018b9 Bug 1170550 - Don't crash when registering a service worker which has a strict mode error; r=baku 2015-06-02 18:20:52 -04:00
Ben Kelly 93d33ee1bd Bug 1157619 P2 Test that service worker is not intercepted on force refresh. r=ehsan 2015-06-01 10:53:20 -04:00
Nikhil Marathe 66014a3f14 Bug 1168676 - Switch off embed/object ServiceWorker interception. r=ehsan
I would have liked to watch for onerror on the tags instead of having these
todos(), but onerror does not seem to fire. I have locally verified that the
test does indeed receive 404s on the network console.

--HG--
extra : rebase_source : 53c3f05cdca707b692fcf0192ae46ad42d83bc7e
extra : amend_source : 200549af4247ece528e38c7eeaa950809312adf2
2015-05-28 16:27:45 -07:00
Wes Kocher 18437e8dc3 Backed out changeset 3b09b61cdb45 (bug 1168676) for causing assertion failures CLOSED TREE 2015-05-28 11:45:56 -07:00
Nikhil Marathe e5964f4913 Bug 1168676 - Switch off embed/object ServiceWorker interception. r=ehsan
I would have liked to watch for onerror on the tags instead of having these
todos(), but onerror does not seem to fire. I have locally verified that the
test does indeed receive 404s on the network console.

--HG--
extra : rebase_source : bb1c9150b3efc0c8ea3027ec8f59198d31d13039
2015-05-27 16:36:44 -07:00
Josh Matthews f5fb27939c Bug 1157283 - Recreate IPC redirected HTTP channels as necessary after intercepting the request in the child. r=mayhemer 2015-05-28 10:47:35 -04:00
Andrea Marchesini 6a2a4a1aa9 Bug 1155761 - User Timing API in Workers, r=ehsan 2015-05-25 17:53:07 +01:00
Fernando Jimenez 46140c45a2 Bug 1161684 - Allow JAR channels to be intercepted by service workers. Tests. r=jdm 2015-05-22 09:32:25 +02:00
Sebastian Hengst 6fce538b2e Backout f938930b3ac5 (Bug 1161684) for M4 perma-failures on opt. r=backout 2015-05-22 10:47:20 +02:00
Fernando Jimenez b489f767be Bug 1161684 - Allow JAR channels to be intercepted by service workers. Tests. r=jdm 2015-05-22 09:32:25 +02:00
Catalin Badea a68051d606 Bug 1158728 - ServiceWorkerClient: use innerWindow id for referencing clients. r=nsm
--HG--
extra : rebase_source : 51313aa04168631d1d2952f90fb02406aa824fb5
2015-05-20 13:14:49 -07:00
Catalin Badea fc75d392de Bug 1130684 - Test fetch events are intercepted after a client is claimed. r=nsm
--HG--
extra : rebase_source : 75792d264f2ffb118c0360d58d493c69ceb00e8e
2015-05-20 11:48:06 -07: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
Ehsan Akhgari 909a826cf5 Merge central into inbound on a CLOSED TREE to fix bustage 2015-05-14 15:52:39 -04:00
Ehsan Akhgari 3a263e7770 Fix the interfaces tests now that service workers have been disabled, no bug, a=me
Fixing bustage on a CLOSED TREE.
2015-05-14 15:49:13 -04:00
Ehsan Akhgari e2d76efa70 Bug 1164487 - Part 2: Update the interfaces tests; r=baku 2015-05-14 09:04:02 -04:00
Andrea Marchesini 138f6d0913 Bug 1159792 - get rid of dom.workers.websocket.enabled pref, r=smaug 2015-05-14 12:24:06 +01:00
Eddy Bruël d2c20ea03d Bug 1150444 - Intermittent test_WorkerDebugger.isFrozen.xul;r=khuey 2015-05-08 07:08:17 +02:00
Jordan Santell 7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Ehsan Akhgari e268b57aa9 Bug 1162344 - Use the exemptFromPerDomainMax pref in test_importscript.html; r=nsm 2015-05-08 16:33:05 -04:00
Ehsan Akhgari 4336f915ab Bug 1130101 - Part 3: Add unit tests for the handling of the Service-Worker-Allowed header; r=nsm 2015-05-07 21:07:10 -04: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
Ehsan Akhgari 71f3e8945e Bug 1162787 - Make the service worker periodic tests robust to the idle daily service firing its notification when the tests are being run; r=nsm
--HG--
extra : rebase_source : b78061a0cda67e426cdbbef7f89ca006c03a9158
2015-05-07 16:23:50 -07:00
Ehsan Akhgari a26860eed6 Bug 1159378 - Part 4: Add a unit test for periodic updates of service workers on HTTPS origins; r=nsm
The reason why this test is interesting here is that it tests the code
path added in the part 2 of this bug.

--HG--
extra : rebase_source : 0742186497adfc4bafb5a9073b13736efb14d78e
2015-05-04 10:18:19 -04:00
Ehsan Akhgari 33bf6126a9 Bug 1159378 - Part 3: Refactor the logic of test_periodic_update.html into a helper script; r=nsm
This helper script will allow us to run the same test across both HTTP
and HTTPS origins.  This patch also uses postMessage instead of a direct
function call on the parent window, because in the HTTPS case, that
window will be cross-origin.  It also moves the code to trigger the
update and get the corresponding updatefound event to
wait_for_update.html, since getting the service worker registration
cross-origin is not possible.

--HG--
extra : rebase_source : 4df46df635f6445f286b54a8a3d9b2e3f8b8447a
2015-05-04 10:18:12 -04:00
Nikhil Marathe cbd6b8b352 Bug 1154494 - Hit network only once. r=baku,bkelly
--HG--
extra : rebase_source : d2720c0bbef92595228658d92db3bbaef051cced
2015-04-13 21:05:28 -07:00
Andrea Marchesini 80f0a3700f Bug 1156875 - patch 2 - Unify the registration of blob URIs in WorkerPrivate and nsIGlobalObject, r=bent 2015-05-07 08:06:24 +01:00
Ehsan Akhgari 7e11bb40f0 Bug 1148818 - Re-enable the Cache part of test_request_context.html on Android now that it passes 2015-05-06 08:15:24 -04:00
Ehsan Akhgari 41012d0662 Clean up after test_workerupdatefoundevent.html, no bug 2015-05-05 21:45:00 -04:00
Ehsan Akhgari 2ff1229507 Revert the debugging patch for bug 1157901 2015-05-05 21:43:53 -04:00
Boris Zbarsky d05df285e4 Bug 1161036 part 2. Only force-enable dom cache in test_serviceworker_interfaces if we're having to force-enable servicewceworkers too. r=bkelly 2015-05-05 13:38:56 -04:00
Ehsan Akhgari c18dfa5852 Bug 1134325 - Part 2: Correctly reflect the Request's body to the service worker's fetch event; r=jdm 2015-05-05 13:20:54 -04:00
Ehsan Akhgari a08aacbfd9 Bug 1159813 - Make sure service worker tests clean up after themselves; r=baku
This makes it possible to run the service workers tests using
--run-until-failure, which will hopefully help with reproducing
intermittent test failures.
2015-05-04 09:21:04 -04:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Boris Zbarsky 9610791e34 Bug 1160215. Get rid of the now-unused workerTestGetPrefs bits. r=bkelly 2015-05-01 11:42:37 -04:00
Boris Zbarsky 2b6cdc5b73 Bug 1159742. Get rid of the pref annotation from test_interfaces, since it basically corresponds to disabling the test. r=jst 2015-05-01 11:42:37 -04:00
Boris Zbarsky eb10b36db2 Bug 1160190. Remove most of the pref annotations in test_interfaces and test_worker_interfaces. r=jst 2015-04-30 23:08:44 -04:00
Phil Ringnalda fee82dca85 Backed out changeset d90e308bfb98 (bug 1159813) for "test_importscript.html | Unregister should return true" failures
CLOSED TREE
2015-04-29 20:15:34 -07:00
Ehsan Akhgari d04c18e961 Bug 1159813 - Make sure service worker tests clean up after themselves; r=baku
This makes it possible to run the service workers tests using
--run-until-failure, which will hopefully help with reproducing
intermittent test failures.
2015-04-29 20:22:32 -04:00