Commit Graph

43 Commits

Author SHA1 Message Date
Kris Maglione
fd7e9e6a69 Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Andrew McCreight
272cee1e65 Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
683a97d172 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl
2018-01-29 15:20:18 -08:00
Florian Queze
aca1103c68 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Sebastian Hengst
4189eac09e Backed out changeset e1f191aad863 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
6c119a88d3 Bug 1356569 - Remove appendElement's last parameter when it is false, r=jaws. 2017-04-14 21:51:39 +02:00
Kit Cambridge
a57142aeb8 Bug 1345001 - Remove expiring Push telemetry probes. r=liuche
We haven't found these probes useful for understanding the value of
Push, and many can be better determined from server metrics.

MozReview-Commit-ID: GM9K59OAbMT
2017-03-06 19:06:32 -08:00
Kit Cambridge
9853574f83 Bug 1337348 - Ensure array buffers and Base64-encoded strings can be passed as app server keys. r=baku
MozReview-Commit-ID: HgpSjhCKGgI
2017-02-07 13:56:01 -08:00
Gabriele Svelto
71d5cdbf24 Bug 1296579 - Remove the SimplePush API r=kitcambridge,baku 2016-09-01 20:17:03 +02:00
Andrea Marchesini
2df8020081 Bug 1288903 - PushManager should create arrayBuffers and keys using the target window - part 2, r=kcambridge 2016-08-18 08:07:17 +02:00
Andrea Marchesini
d2387c8d6a Bug 1288903 - PushManager should create arrayBuffers and keys using the target window, r=kcambridge 2016-08-16 11:15:45 +02:00
Kit Cambridge
6a2413422e Bug 1273260 - Add a pref to override push permissions. r=wchen
MozReview-Commit-ID: 8nJzACxIJmI
2016-05-17 08:32:05 -07:00
Kit Cambridge
fae244086f Bug 1272054 - Replace "PermissionDeniedError" with "NotAllowedError" in the Push API. r=mt
MozReview-Commit-ID: Bn0bE3eALj4
2016-05-11 10:48:31 -07:00
Kit Cambridge
f9c161b402 Bug 1247685 - WebIDL and DOM implementation changes for app server keys. r=mt,baku
MozReview-Commit-ID: 1xYjSuLMnV4
2016-03-22 13:38:03 -07:00
Kit Cambridge
a397c771b4 Bug 1257401 - Remove the worker descriptor for PushManager. r=khuey
MozReview-Commit-ID: 4nZElH1K3W5
2016-04-01 15:25:49 -07:00
Kit Cambridge
0b620ea522 Bug 1257401 - Remove the worker descriptor for PushSubscription. r=khuey
MozReview-Commit-ID: 9rTJn4KU2Es
2016-03-31 10:49:07 -07:00
Kit Cambridge
1942c86774 Bug 1189998, Part 1 - Consolidate Push client interfaces. r=mt,dragana 2015-12-08 15:41:41 -05:00
Martin Thomson
134a387481 Bug 1225968 - Add authentication secret to push API, r=kitcambridge,smaug 2015-12-09 07:26:42 +11:00
Kit Cambridge
19d116d2b0 Bug 1210896, Part 1 - Use Console.jsm to log Push errors. r=mt 2015-11-09 13:58:32 -08:00
Kit Cambridge
3019e8045b Bug 1206302 - Use DOMException for Push errors. r=mt 2015-11-05 10:38:35 -08:00
Kit Cambridge
b0160496ff Bug 1159641, Part 1 - Skip the permission check in pushManager.getSubscription(). r=mt 2015-10-30 09:37:22 -07:00
Kit Cambridge
f87c3cbd23 Bug 1192458, Part 1 - Consolidate push and desktop notification permissions. r=nsm,wchen,MattN 2015-10-05 16:39:34 -07:00
Nikhil Marathe
b04f803a4b Bug 914481 - Patch 1 - Push usage and permissions telemetry. r=kitcambridge 2015-08-05 15:12:11 -07:00
Carsten "Tomcat" Book
87b233b571 Backed out 4 changesets (bug 914481) for xpc and push service test failures
Backed out changeset 6165f6eba17f (bug 914481)
Backed out changeset a8c47e9431d0 (bug 914481)
Backed out changeset f03e8c42861e (bug 914481)
Backed out changeset 84b11173d98f (bug 914481)
2015-09-17 12:31:49 +02:00
Nikhil Marathe
ef4b249d6e Bug 914481 - Patch 1 - Push usage and permissions telemetry. r=kitcambridge 2015-08-05 15:12:11 -07:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Dragana Damjanovic
579751a2b2 Bug 1172502 - Add message encription for WebPush. r=mt r=kitcambridge r=keeler r=smaug 2015-09-11 07:51:32 -07:00
Nikhil Marathe
f97ec5f637 Bug 1193365 - Disable push debug. r=kitcambridge 2015-08-11 12:53:14 -07:00
Nikhil Marathe
6ede93ec7c Bug 1184574 - Allow access to PushManager on ServiceWorker. r=kitcambridge,smaug,catalinb
Refactoring to allow access to PushManager in ServiceWorkerGlobalScope. See comment in PushManager.h for details.
2015-07-23 08:30:15 -07:00
Nikhil Marathe
07ac305f96 Bug 1183867 - Fix PushSubscription.unsubscribe() semantics r=mt
resolve with false when subscription does not exist. true when successfully unregistered. reject with NetworkError in other cases.
2015-07-14 15:01:41 -07:00
Nikhil Marathe
1c19c0bd91 Bug 1183853 - Rename hasPermission() to permissionState(). r=mt,smaug 2015-07-14 14:27:32 -07:00
Nikhil Marathe
386ed172ac Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-24 13:34:54 -07:00
Ryan VanderMeulen
2768d1ce46 Backed out changeset 98c7277a8fb5 (bug 1166350) for xpcshell failures. 2015-06-24 16:10:45 -04:00
Nikhil Marathe
6475190f81 Bug 1166350 - Push fixes for principals. r=kitcambridge,bholley
Fix xpcshell tests.
Add support for webapps-clear-data.
Trash old regs on idb version upgrade.
Use principal for permission check.
use principal in PushSubscription.
2015-06-02 15:56:33 -07:00
Nikhil Marathe
a7e2eb57ec Bug 1170817 - Fix unsubscribe() resolution value. r=dougt 2015-06-02 15:53:55 -07:00
Doug Turner
a5aa854714 Bug 1160333 - When denying permission, use the string 'PermissionDeniedError'. r=nsm 2015-05-01 11:01:17 -07:00
Doug Turner
e5c568a09b Bug 1149271 - Remove subscriptionid. r=baku 2015-04-26 03:59:38 -07:00
Doug Turner
3a80e71cbc Bug 1038811 - Push Notifications - Push implementation changes. r=nsm 2015-04-10 20:19:28 -07:00
Birunthan Mohanathas
7fe470a8f4 Bug 1058101 - Flatten dom/push/src/ into parent directory. r=mccr8 2014-08-27 10:13:45 -07:00