Bill McCloskey
f69608368b
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Mats Palmgren
dd5298e9b8
Bug 1372317 part 2 - Replace LookupRemoveIf() calls with Lookup() + entry.Remove() where needed. r=froydnj
...
MozReview-Commit-ID: AoRNdbzh66c
2017-06-18 17:07:54 +02:00
Mats Palmgren
5d6900fd88
Bug 1370674 part 2 - Optimize hashtable lookups on mRegistrationInfos, mInfos and mJobQueues. r=froydnj
...
Specifically,
* replace a few Get+Put with LookupForAdd
* remove an unnecessary Get before Remove, and
* replace an Get+Remove with LookupRemoveIf
MozReview-Commit-ID: HBeIK9CZC00
2017-06-14 01:03:39 +02:00
Mats Palmgren
4409916375
Bug 1370674 part 1 - Use mUpdateTimers.LookupRemoveIf() to avoid a second hashtable lookup for Remove(). Use mUpdateTimers.GetOrInsert() to avoid a second hashtable lookup for Put(). r=froydnj
...
MozReview-Commit-ID: 1lp2s4NQfvR
2017-06-14 01:03:38 +02:00
Andrea Marchesini
80bc31371c
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
c4daf63d34
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
2017-05-08 09:54:38 +02:00
Andrea Marchesini
71aba8e0ee
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Michael Layzell
0a199fa342
Bug 1355608 - Part 2: Eagerly transmit permissions to the content process for service worker registrations, r=catalinb
...
This requires running code which checks whether or not the permissions have
arrived, potentially delaying a fetch request for a very short period of time if
the permissions are still in-flight.
MozReview-Commit-ID: E6OTY6IDThb
2017-04-27 13:41:15 -04:00
Ben Tian
05d944bf0a
Bug 1350459 - Remove the [Throws] annotation from Window.navigator, r=qdot
...
MozReview-Commit-ID: 8vjyVrfa3xT
2017-04-14 10:40:03 +08:00
Tom Tung
649b68135d
Bug 1251238 - Part 5: Store installed/activated time for a service worker and last updated time for a service worker's registration into serviceWorkerRegistrar. r=bkelly
2017-04-05 09:59:48 +08:00
Tom Tung
1b510bc9bf
Bug 1251238 - Part 4: Remove calling SetActivateStateUncheckedWithoutEvent() after calling SetActive(), since we've called it on SetActive(). r=bkelly
2017-04-06 15:27:59 +08:00
Andrea Marchesini
fb7383d3ee
Bug 1346247 - Avoid race conditions when SW are updated - part 3 - MozPromise, r=bkelly
2017-03-28 11:49:16 +02:00
Andrea Marchesini
b33210c44a
Bug 1346247 - Avoid race conditions when SW are updated - part 1 - PServiceWorkerUpdater actor, r=bkelly
2017-03-28 11:48:38 +02:00
Ben Kelly
d078a74225
Bug 1343308 P1 Make Clients.matchAll() only return Clients controlled by the current service worker. r=baku
2017-03-01 13:08:54 -05:00
Ben Kelly
bc8430a393
Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug
2017-02-28 22:12:27 -05:00
Sebastian Hengst
6742a18dac
Backed out changeset 274999e28c07 (bug 1266747)
2017-02-28 18:54:20 +01:00
Ben Kelly
b0c03e2291
Bug 1266747 P3 Sort output of Clients.matchAll(). r=smaug
2017-02-28 10:48:51 -05:00
Ben Kelly
368c49fb52
Bug 1341040 Rename ServiceWorkerInfo::GetPrincipal() to Principal(). r=baku
2017-02-20 10:31:32 -05:00
Ben Kelly
9870ee52bd
Bug 1339823 Create a pristine principal in ServiceWorkerPrivate::SpawnWorkerIfNeeded(). r=baku
2017-02-20 09:31:24 -05:00
Carsten "Tomcat" Book
4d70a3c289
Backed out changeset 59e30ba1b38f (bug 1339823) on a CLOSED TREE
2017-02-20 15:26:36 +01:00
Ben Kelly
ba8958dea5
Bug 1339823 Create a pristine principal in ServiceWorkerPrivate::SpawnWorkerIfNeeded(). r=baku
2017-02-20 09:05:55 -05:00
Ben Kelly
a94d509588
Bug 1337543 P0 Sanitize the nsIPrincipal used to register a service worker to ensure CSP is not persisted. r=baku
2017-02-14 10:06:38 -05:00
Andrea Marchesini
48c7650f3b
Bug 1335678 - Revert patch for bug 1302566, r=ehsan
2017-02-06 16:37:15 +01:00
Tom Tung
c08930401f
Bug 1220936 - Flush console report to innerWindowID by using nsIDocument and nsILoadGroup. r=bkelly.
2017-02-06 09:19:34 +08:00
Ben Kelly
4d4e22fbfd
Bug 1336529 Handle ServiceWorkerInfo destruction while released KeepAliveToken. r=asuth
2017-02-03 14:36:27 -05:00
Ben Kelly
e86b60fd3e
Bug 1335414 Make ServiceWorkerManager::CreateNewRegistration() safer. r=asuth
2017-01-31 07:29:34 -08:00
Andrea Marchesini
468f997f6f
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-27 16:53:44 +01:00
Sebastian Hengst
e21ce67e10
Backed out changeset 2e942ed64921 (bug 1302566) for mass test failures after asserting isPrivate == mRespectPrivacy at imgLoader.cpp:2072. r=backout on a CLOSED TREE
2017-01-23 13:25:19 +01:00
Andrea Marchesini
dab8349d74
Bug 1302566 - Get rid of nsContentUtils::IsInPrivateBrowsing, r=ehsan
2017-01-23 12:36:01 +01:00
Ben Kelly
a76506c622
Bug 1331656 Make ServiceWorkerManager handle PBackground init failure. r=baku
2017-01-18 12:18:51 -08:00
David Parks
aad6af2292
Bug 1312788 - Log to browser console and telemetry if the parent content to a ServiceWorker is a file. r=bkelly
...
Info is useful to sandboxing. Logs when ServiceWorker is registered (i.e. each run), not just when it is installed.
2017-01-10 15:17:13 -08:00
Ben Kelly
e93380c6c0
Bug 1330679 Don't force crash if ServiceWorkerManager tries to init during browser shutdown. r=baku
2017-01-13 07:39:30 -08:00
Ben Kelly
f338b42112
Bug 1330673 Gracefully handle ServiceWorkerRegistrar not being active. r=baku
2017-01-13 07:39:28 -08:00
Ben Kelly
98ea6e67f7
Bug 1330747 Always nullptr check return value from ServiceWorkerManager::GetInstance(). r=asuth
2017-01-12 14:00:36 -08:00
Andrea Marchesini
46a9207d60
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Ben Kelly
27b7ec41a8
Bug 1329716 Try to ensure we don't dispatch a SW event if the registration has been removed. r=asuth
2017-01-09 13:40:46 -08:00
Ben Kelly
a50f3bedc3
Bug 1329759 Gracefully handle a missing active service worker during interception. r=asuth
2017-01-09 13:40:46 -08:00
Ho-Pang Hsu
e6a5e45d91
Bug 1290944 - Part 3.2: Pass LOAD_BYPASS_CACHE caused by script expiration timer to ServiceWorkerInfo. r=bkelly
2017-01-04 17:08:58 +08:00
Ho-Pang Hsu
bdcbdfa0ee
Bug 1290944 - Part 3.1: Propogate load flags to ServiceWorkerInfo. r=bkelly
2017-01-04 17:08:55 +08:00
Ho-Pang Hsu
531cc278ae
Bug 1290944 - Part 2.3: Set the load flags when registering a service worker. r=bkelly
2017-01-04 17:08:51 +08:00
Ho-Pang Hsu
9531839afe
Bug 1290944 - Part 2.1: Save load flags in ServiceWorkerRegistration. r=bkelly
2017-01-04 17:08:43 +08:00
Yoshi Huang
13130453ba
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Catalin Badea
89dcbf3918
Bug 1181127 - Don't run service workers for fetch events if no fetch handlers were added during script's evaluation. r=bkelly
...
Display a warning when event listeners are added after the script's evaluation.
2016-12-19 04:38:53 +02:00
Catalin Badea
acbc14d028
Bug 1317266 - Transition ServiceWorker instances when the SW changes states instead of just invalidating them. r=bkelly
2016-11-21 02:14:54 +00:00
Andrea Marchesini
9543422488
Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth
2016-11-03 08:18:51 +01:00
Sebastian Hengst
f752a66b1e
Backed out changeset 0473f2d0d024 (bug 1289001) for eslint failures. r=backout on a CLOSED TREE
2016-11-02 23:04:44 +01:00
Andrea Marchesini
14fd7d346f
Bug 1289001 - NeckoParent::GetValidatedAppInfo should consider ServiceWorkers when validating HttpChannel requests, r=bkelly, r=valentin, f=asuth
2016-11-02 21:57:45 +01:00
Geoff Brown
131dda1304
Bug 1313397 - Move browser/components/sessionstore/Utils.jsm to toolkit/modules; r=mikedeboer
2016-11-02 10:56:20 -06:00
Yoshi Huang
85db56b906
Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
...
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Tom Tung
1f61d7f9c3
Bug 1187335 - P1 - Add a way to report error to all clients for ServiceWorker and SharedWorker. r=bkelly.
2016-05-23 14:56:46 +08:00