Wes Kocher
f15282bf26
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
0c6597b3e0
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
86ad786706
Bug 1162218 - Make worker idle thread timeouts more strict, r=baku.
...
--HG--
extra : rebase_source : 9a8741c4ad67c782e313bc79a8eb87e4d2749649
2015-05-07 10:35:57 -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
Andrea Marchesini
0d81eae126
Bug 1156875 - patch 1 - URL.createObjectURL leaks in JS sandbox, r=bholley
2015-05-07 08:05:43 +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
0472742d0c
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
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
6e93a857f0
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
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
023db96fd8
Bug 1152551, part 3 - Fix more mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Andrea Marchesini
7f54aa583d
Bug 1157627 - about:serviceworkers should show new registered ServiceWorkers. r=nsm
2015-04-30 15:32:47 +01: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
Ben Kelly
f15449e4a2
Bug 1134841 Hold ServiceWorker alive during install event's waitUntil(). r=bz
2015-05-01 08:14:42 -07: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
Daniel Holbert
37bc14ef82
Bug 1156847 followup: annotate workers helper-class "ScriptLoaderRunnable" OnStartRequest/OnStopRequest as override. rs=ehsan
2015-04-30 11:42:16 -07: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
Ehsan Akhgari
b1a88291c2
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
...
--HG--
rename : dom/workers/test/serviceworkers/test_https_fetch.html => dom/workers/test/serviceworkers/test_https_synth_fetch_from_cached_sw.html
2015-04-29 20:22:31 -04:00
Ehsan Akhgari
a3e0449fce
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
cea01af662
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
cd281dd5d2
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
Ehsan Akhgari
a2a584db69
Bug 1156847 - Part 3: When loading a service worker from the network, remember the security info of the channel on the WorkerPrivate; r=nsm
2015-04-29 20:22:28 -04:00
Ehsan Akhgari
9d614e4dc8
Bug 1156847 - Part 2: Store the security info for a service worker on its WorkerPrivate; r=bent,khuey
2015-04-29 20:22:27 -04:00
Tooru Fujisawa
0edbeb71c8
Bug 1102219 - Part 5: Replace more `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till
2015-04-30 00:32:05 +09:00
ziyunfei
e1db0f779e
Bug 1102219 - Part 4: Replace `String.prototype.contains` with `String.prototype.includes` in chrome code. r=till
2015-04-30 00:32:05 +09:00
Ehsan Akhgari
531d28100a
Debugging patch for bug 1157901
2015-04-29 08:31:29 -04:00
Doug Turner
107cf1a962
Bug 1147214 - Allow app: urls to use sw. r=baku
2015-04-25 08:27:50 +02:00
Makoto Kato
bc393a738b
Bug 866301 - Part 4. Turn on Intl API for B2G. r=fabrice,waldo
2015-04-28 18:59:53 +09:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Boris Zbarsky
34d521e285
Bug 1155984. Improve the performance of the "self" getter in both window and workers. r=peterv,jorendorff
2015-04-27 13:38:12 -04:00
Ehsan Akhgari
8861db851c
Bug 1136780 - Re-enable test_fetch_event.html now that bug 1156771 has been fixed; r=nsm
2015-04-27 13:04:24 -04:00
Nathan Froyd
ddbb44d13f
Bug 1158320 - rename nsThread::mRunningEvent to mNestedEventLoopDepth; r=bsmedberg
...
The current name reads to me like a boolean variable, even though it's
actually a counter. Try to make that property more explicit at its uses
by renaming it to something more evocative of counter-ness.
2015-04-24 16:04:50 -04:00
Boris Zbarsky
d36060dc11
Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
839141fb74
Bug 1157898 part 3. Fix the remaining consumers of rv.ErrorCode() in NS_ENSURE_* expressions to not do that. r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
1540774b0c
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Dragana Damjanovic
984272cb6d
Bug 1156397 - some fix for webpush PushServer. r=dougt r=nsm
...
--HG--
extra : rebase_source : 06425ea3c83db38da11e345ee998a470f9e26570
2015-04-24 14:55:00 +02:00
Andrea Marchesini
f2a283777b
Bug 1125205
- Display console API messages from shared or service workers to the web console, r=past
2015-04-26 09:37:59 +01:00
L. David Baron
b263b5134d
Back out bug 1154494 (changeset 94c2f1d254e7 and changeset d1269f811e05) for causing intermittent orange in various service worker tests.
2015-04-25 15:07:54 -07:00
Ehsan Akhgari
9758744721
Bug 1157467 - Work around leaks in test_request_context.html in e10s; r=nsm
2015-04-25 01:12:41 -04:00
Daniel Holbert
ea974bd459
Bug 1154494 followup: Annotate ServiceWorker helper-class 'CompareManager' refcounting functions as 'override'. rs=ehsan
2015-04-24 21:26:51 -07:00
Nikhil Marathe
903081acfe
Bug 1154494 - Hit network only once. r=baku,bkelly
...
--HG--
extra : rebase_source : b7683b543875fae592dc21e292d8807d3e90af45
2015-04-13 21:05:28 -07:00
Nikhil Marathe
a7b64f26f6
Bug 1157692 - Add dom.caches.enabled pref to test. r=bkelly
...
--HG--
extra : rebase_source : f4cad347cb1981a0c537e456150d9bd5716aa629
2015-04-23 08:46:03 -07:00
Wes Kocher
94244970a7
Backed out changeset a12f0f05779c (bug 1125205
) for dt4 failures CLOSED TREE
2015-04-24 13:06:46 -07:00
Ben Kelly
ab4d405a60
Bug 1158218 Follow-up to fix mis-indentation. DONTBUILD, whitespace-only r=me
2015-04-24 11:55:06 -07:00