Andrea Marchesini
792189dd57
Bug 1120178 - Migrate DOMError to DOMExtension in FileReader, IndexedDB, DOMRequest and so on, r=smaug
2017-08-06 20:47:00 +03:00
Ben Kelly
948ebc622d
Bug 1336364 P9 Block storage denied windows from ServiceWorker.postMessage() and clients.matchAll(). r=asuth
2017-09-20 09:24:07 -07:00
Ben Kelly
f5bc2bd861
Bug 1336364 P6 Ensure that we don't control a document if its window cannot access storage. r=asuth
2017-09-20 09:24:07 -07:00
Ben Kelly
bd8ef4ab41
Bug 1336364 P5 Disable service worker getRegistrations() if storage is disallowed for a window. r=asuth
2017-09-20 09:24:07 -07:00
Ben Kelly
e41672cc04
Bug 1336364 P4 Disallow service worker register() is storage is forbidden for the window. r=asuth
2017-09-20 09:24:07 -07:00
David Parks
d67acde44c
Bug 1397445: Remove expiring FILE_EMBEDDED_SERVICEWORKERS telemetry probe. r=bkelly
...
This measured service workers registered in https iframes contained in file:// pages.
2017-09-08 11:21:27 -07:00
Bevis Tseng
ebd315c07c
Bug 1384034 - Label UpdateTimerCallback in ServiceWorkerManager. r=bkelly
...
Label with SystemGroup because UpdateTimerCallback only sends an IPC message
to the parent without touching any web contents.
2017-08-29 17:59:01 +08:00
Ho-Pang Hsu
1153df23ab
Bug 1353636 - Part 3: Update SERVICEWORKERREGISTRAR_VERSION and a related gtest. r=bkelly
2017-08-17 15:29:26 +08:00
Ho-Pang Hsu
a6182fce1d
Bug 1353636 - Part 1: Move from nsLoadFlags to UpdateViaCache. r=bkelly
2017-08-16 14:18:52 +08:00
Nicholas Nethercote
723f585d9c
Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
...
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.
The patch also removes a couple of unused declarations from
nsIStringBundle.idl.
Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.
2017-08-04 14:40:52 +10:00
Bevis Tseng
59627df038
Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
2017-07-27 02:18:20 +08:00
Mats Palmgren
64658a0f83
Bug 1376498 part 4 - Make all nsClassHashtable::RemoveAndForget() consumers use Remove() instead. r=froydnj
...
MozReview-Commit-ID: G64YQLlgm6r
2017-07-05 02:01:45 +02:00
Bill McCloskey
ce42826bdf
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book
238bf154d5
Backed out changeset 4f6302a98ae4 (bug 1372405)
2017-06-21 13:59:26 +02:00
Bill McCloskey
67e8af4720
Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
...
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book
bbe9441993
Backed out changeset 9846de3bd954 (bug 1372405)
2017-06-20 08:27:02 +02:00
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