Andrea Marchesini
d991fa6d9b
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
2015-05-12 13:11:03 +01:00
Andrea Marchesini
7a35ed6840
Bug 1159401 - Split Blob and File classes, r=bz
2015-05-12 13:09:51 +01:00
Wes Kocher
6fd66905f8
Backed out 2 changesets (bug 1159401) for b2g build bustage
...
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Wes Kocher
a4c92e377b
Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
2015-05-11 13:17:58 -07:00
Andrea Marchesini
5f0d79c537
Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
2015-05-11 18:50:54 +01:00
Andrea Marchesini
8216a76e2b
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
ab585ee6e8
Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
...
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
3d1cf0758c
Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz
2015-05-11 15:20:06 +01:00
Jordan Santell
9eacf76456
Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey
2015-04-29 12:48:57 -07:00
Ehsan Akhgari
b3e45d95ac
Bug 1162344 - Use the exemptFromPerDomainMax pref in test_importscript.html; r=nsm
2015-05-08 16:33:05 -04:00
Nikhil Marathe
39a7075a32
Bug 1162787 - Check for null before calling Equals. r=ehsan
...
CLOSED TREE
2015-05-07 19:10:06 -07:00
Boris Zbarsky
9411933ac1
Bug 1162013. Process the Promise queue between adjacent setTimeout callback invocations when we're going through the callback list without returning to the event loop. r=smaug
2015-05-07 14:49:31 -04:00
Ehsan Akhgari
f9ee94b84e
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
Ehsan Akhgari
5b8b93bec9
Bug 1130101 - Part 2: Honor the Service-Worker-Allowed header when prefix matching the service worker scope; r=nsm
2015-05-07 21:06:34 -04:00
Ehsan Akhgari
1a3375d154
Bug 1130101 - Part 1: Store the value of the Service-Worker-Allowed header in the CompareManager object; r=nsm
2015-05-07 21:06:33 -04:00
Nikhil Marathe
ec4aaed52f
Bug 1150959 - Log rejected Promise error message to browser console
2015-04-08 16:04:12 -07:00
Nikhil Marathe
d00e1f0428
Bug 1080109 - Clear ServiceWorkers when clearing history or forgetting about site. r=baku,ehsan
2015-03-05 17:37:49 -08:00
Ehsan Akhgari
3cf702a1ce
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
2015-05-07 16:23:50 -07:00
Ehsan Akhgari
a5c897787c
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.
2015-05-04 10:18:19 -04:00
Ehsan Akhgari
06cf844bd9
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.
2015-05-04 10:18:12 -04:00
Ehsan Akhgari
75d02038c7
Bug 1159378 - Part 2: When storing the service worker downloaded after a failed network compare into the cache, store its security info in the cache as well; r=nsm
2015-05-04 10:18:01 -04:00
Nikhil Marathe
b9f39271ea
Bug 1154494 - patch 2 - Hold a ref to the sandbox. r=baku
2015-05-04 13:02:12 -04:00
Nikhil Marathe
ba01e3a362
Bug 1154494 - Hit network only once. r=baku,bkelly
2015-04-13 21:05:28 -07:00
Wes Kocher
e5af10f401
Backed out changeset 57f0b16030e9 (bug 1162013) for m-oth and m-dt3 bustage CLOSED TREE
2015-05-07 13:37:27 -07:00
Boris Zbarsky
1faf3d6765
Bug 1162013. Process the Promise queue between adjacent setTimeout callback invocations when we're going through the callback list without returning to the event loop. r=smaug
2015-05-07 14:49:31 -04:00
Ben Turner
8389e4d753
Bug 1162218 - Make worker idle thread timeouts more strict, r=baku.
2015-05-07 10:35:57 -07:00
Andrea Marchesini
3df5f033c0
Bug 1156875 - patch 2 - Unify the registration of blob URIs in WorkerPrivate and nsIGlobalObject, r=bent
2015-05-07 08:06:24 +01:00
Andrea Marchesini
a90c5be53e
Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley
2015-05-07 08:05:43 +01:00
Ehsan Akhgari
e8240458bc
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
e1b13dac41
Clean up after test_workerupdatefoundevent.html, no bug
2015-05-05 21:45:00 -04:00
Ehsan Akhgari
5c829dd715
Revert the debugging patch for bug 1157901
2015-05-05 21:43:53 -04:00
Boris Zbarsky
2b2824bbc7
Bug 1160628. Speed up the URL constructor in the common case of no base URI. r=baku
2015-05-05 13:38:56 -04:00
Boris Zbarsky
9251502233
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
af7e2c03b6
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
be033191ac
Bug 1161239 - Emit a warning if the respondWith handler is resolved with a non-Object value; r=baku
2015-05-05 09:56:48 -04:00
Ehsan Akhgari
b9872b41a7
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
254dac5936
Bug 1152551, part 3 - Fix more mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrew McCreight
aeff7c99ee
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
b64e5cbce8
Bug 1157627 - about:serviceworkers should show new registered ServiceWorkers. r=nsm
2015-04-30 15:32:47 +01:00
Boris Zbarsky
6d08737247
Bug 1160215. Get rid of the now-unused workerTestGetPrefs bits. r=bkelly
2015-05-01 11:42:37 -04:00
Boris Zbarsky
5af84baf2f
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
Ben Kelly
ee0372aa27
Bug 1134841 Hold ServiceWorker alive during install event's waitUntil(). r=bz
2015-05-01 08:14:42 -07:00
Boris Zbarsky
7988a3d75a
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
Daniel Holbert
22d504ffe5
Bug 1156847 followup: annotate workers helper-class "ScriptLoaderRunnable" OnStartRequest/OnStopRequest as override. rs=ehsan
2015-04-30 11:42:16 -07:00
Phil Ringnalda
1e8e49ef32
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
677818a103
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
Ehsan Akhgari
20732c54da
Bug 1156847 - Part 7: Add unit tests for responding to a FetchEvent with a synthesized Response both in the case where the service worker is loaded from the network and from the cache; r=nsm
2015-04-29 20:22:31 -04:00
Ehsan Akhgari
2e1174adfe
Bug 1156847 - Part 6: When calling FetchEvent.respondWith(), fall back to the security info of the service worker if the Response object that we are responding with doesn't have its own security info; r=nsm
...
This case will only happen if we're responding with a synthesized Response object.
Response objects obtained through fetch() already have their correct security
info.
2015-04-29 20:22:31 -04:00
Ehsan Akhgari
7f089a0114
Bug 1156847 - Part 5: When loading a service worker from the cache, set its security info on the WorkerPrivate; r=nsm
2015-04-29 20:22:30 -04:00
Ehsan Akhgari
7f7fe4d421
Bug 1156847 - Part 4: When storing a service worker script to the cache, store its security info in the cache as well; r=khuey
...
Before this patch, we would call Cache.put() before opening the channel,
which means that we have no way of knowing the security info for the
channel in order to set it on the Response object that we synthesize.
This patch adds an nsIRequestObserver to the tee created for piping the
body of the response to the cache, and delays calling Cache.put() until
we receive the nsIRequestObserver::OnStartRequest() notification, at
which point we set the obtained security info on the Response object to
be stored in the cache.
2015-04-29 20:22:29 -04:00