Commit Graph
196 Commits
Author SHA1 Message Date
Ryan VanderMeulen b9aaac219e Bug 1265233 - Skip test_updateRecordNoEncryptionKeys_ws.js on Linux for frequent failures. 2017-09-29 12:56:42 -04:00
Masatoshi Kimura b5473a8193 Bug 1387805 - Remove [deprecated] nsIScriptSecurityManager.getCodebasePrincipal(). r=bz
MozReview-Commit-ID: CY47PBaQ5oy
2017-08-06 15:31:31 +09:00
Valentin Gosu b650fda6c5 Bug 1380617 - Fix tests that expect unicode encoding of hostname r=smaug
MozReview-Commit-ID: 6EGhUJmtjTc
2017-08-09 17:44:08 +02:00
Masatoshi Kimura c0943e4f30 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Geoff Brown b526dc12d4 Bug 1373346 - Skip some dom/push tests on Windows Debug too; r=me,test-only 2017-06-27 12:01:25 -06:00
Florian Quèze c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze d0406d270c Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
Joel Maher c15a9d6558 Bug 1373346 - dom/push/test has many perma failing mochitests, disable for now. r=gbrown
MozReview-Commit-ID: JrnJRocoooB
2017-06-20 13:25:02 -04:00
Joel Maher 6c99fdc3ed Bug 1373346 - Intermittent dom/push/test/test_data.html - temporarily disable. r=gbrown
MozReview-Commit-ID: 8g7H9nYob6g
2017-06-19 14:03:15 -04:00
Andrea Marchesini 7b03c9b2b8 Bug 1369314 - Get rid of nsScriptSecurityManager::GetAppCodebasePrincipal, r=bholley 2017-06-02 11:05:28 +02:00
Kit Cambridge ca71a30438 Bug 1345665 - Improve push crypto tests. r=mt
MozReview-Commit-ID: 5zkqDEryGsA
2017-05-10 10:35:42 -07:00
Kit Cambridge 606eccbeb5 Bug 1345665 - Implement the "aes128gcm" push decryption scheme. r=mt
MozReview-Commit-ID: 3touVfeSDwE
2017-05-11 22:03:26 -07:00
Kit Cambridge e9ea6769da Bug 1345665 - Refactor push decryption into separate decoder classes. r=mt
This patch moves the decryption methods into a base `Decoder` class,
and an intermediate `OldSchemeDecoder` with subclasses for aesgcm and
aesgcm128. The base class provides a `decrypt` method that computes the
ECDH shared secret, derives the key and nonce, decrypts each record,
and removes padding. Subclasses implement `deriveKeyAndNonce`,
`unpadChunk`, `chunkSize`, and `padSize`.

MozReview-Commit-ID: IuGPaofWKNq
2017-05-10 10:44:51 -07:00
Florian Queze 451928e614 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst 42670ceca0 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst f75839c723 Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze 61aabdf237 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze 9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Bill McCloskey 5bc9242ee7 Bug 1337577 - Ensure that console listeners never touch web content, including in tests (r=mccr8)
MozReview-Commit-ID: 7UVaNUyj5yq
2017-02-13 17:03:01 -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
Florian Quèze c32c931bc9 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Mark Banner 55868dde7c Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ
2017-01-18 10:30:39 +00:00
Florian Quèze b36a8b8f42 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Florian Quèze 6459975a67 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Masatoshi Kimura 9d0b61beb3 Bug 1321252 - Stop setting "network.http.spdy.enforce-tls-profile" in tests. r=nwgh
MozReview-Commit-ID: 6qbgQxG32Kj
2016-11-30 19:33:46 +09:00
Nicholas Hurley 87c16d8d6c Bug 1310855 - Remove hasNode xpcshell.ini variable r=mcmanus
MozReview-Commit-ID: Hx2e1JYfUfy
2016-10-18 10:54:33 -07:00
Phil Ringnalda 28a0e4723b Backed out changeset 143f26b923d0 (bug 1310855) for WinXP xpcshell failures starting with test_register_success_http2.js 2016-11-07 18:42:57 -08:00
Nicholas Hurley 0b381a0479 Bug 1310855 - Remove hasNode xpcshell.ini variable r=mcmanus
MozReview-Commit-ID: Hx2e1JYfUfy
2016-10-18 10:54:33 -07:00
Sebastian Hengst 186f323779 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: dom/push. r=RyanVM
MozReview-Commit-ID: Ku8mviLoJsT
2016-11-05 11:29:17 +01:00
Kit Cambridge 0d4f7af321 Bug 1311739 - PushDB.update should reject instead of returning undefined for invalid records. r=dragana
MozReview-Commit-ID: HCLOSz4FHWO
2016-10-20 08:45:44 -07:00
Kit Cambridge dcc4003f69 Bug 1311739 - Fail push tests with an informative error if the H/2 server port is missing. r=dragana
MozReview-Commit-ID: 97rOKjbDlTu
2016-10-20 09:25:36 -07:00
Kit Cambridge ca70cf8e17 Bug 1307577 - Switch to createCodebasePrincipal in PushRecord. r=mt
`createCodebasePrincipalFromOrigin` mangles the origin after extracting
the suffix. The proper long-term fix is to serialize and store the
original principal, instead of reconstructing a new codebase principal
from the scope and origin suffix.

MozReview-Commit-ID: bS2lRx3n7j
2016-10-20 10:29:58 -07:00
Kit Cambridge 430e2e7a21 Bug 1301469 - Add localized decryption errors for invalid headers and padding. r=mt
Web Crypto returns an unhelpful "operation failed for an
operation-specific reason" error if the actual decryption fails, but
we can report more useful errors for missing and invalid header
values.

MozReview-Commit-ID: JRdGHBUodmb
2016-10-05 08:57:52 -07:00
Ben Kelly 02cc4f92be Bug 1262702 Avoid racing with initial shutdown in test_service_worker_lifetime.html. r=kitcambridge 2016-08-30 10:04:27 -07:00
Ben Kelly 5d285fd57e Bug 1290116 P7 Fixed activation races in push service worker tests. r=kitcambridge 2016-08-18 07:12:09 -07:00
Phil Ringnalda 6ef267a68f Backed out 10 changesets (bug 1290116, bug 1293690) for build bustage
CLOSED TREE

Backed out changeset bbc14d107fca (bug 1290116)
Backed out changeset a81b6ce5c25f (bug 1290116)
Backed out changeset e0b9c25b6125 (bug 1290116)
Backed out changeset 8e9a9ba04ce5 (bug 1290116)
Backed out changeset 2d5ad5e9ed20 (bug 1290116)
Backed out changeset eb7da0dbfc72 (bug 1290116)
Backed out changeset 6a4e8c92faae (bug 1290116)
Backed out changeset 0342d98afa10 (bug 1293690)
Backed out changeset d84b0768f0ce (bug 1293690)
Backed out changeset f9f62ade9508 (bug 1293690)
2016-08-17 21:16:43 -07:00
Ben Kelly 402620a202 Bug 1290116 P7 Fixed activation races in push service worker tests. r=kitcambridge 2016-08-17 20:03:21 -07:00
Tim Huang 9d0bd9c921 Bug 1285889 - Moving the ContextualIdentityService.jsm from from browser/components/contextualidentity into tookit/components/contextualidentity. r=baku 2016-07-11 20:03:00 +02:00
Kit Cambridge a194e5964b Bug 1285311 - Mark PushSubscriptionOptions.applicationServerKey as [SameObject]. r=baku
MozReview-Commit-ID: D8wtnkFunRQ
2016-07-07 10:14:25 -07:00
Tim Huang 2567487468 Bug 1238183 - Part 2 - Add a test case for testing the ForgetAboutSite with userContextId. r=jimm 2016-07-07 23:15:00 +02:00
Phil Ringnalda b8954b65f8 Back out 2 changesets (bug 1238183) for leaks from browser_forgetaboutsite.js
Backed out changeset 1207df32d737 (bug 1238183)
Backed out changeset 663a083774f4 (bug 1238183)
2016-07-04 10:11:21 -07:00
Tim Huang c787f29c14 Bug 1238183 - Part 2 - Add a test case for testing the ForgetAboutSite with userContextId. r=jimm 2016-07-04 00:36:00 +02:00
Kit Cambridge 6bfbe8296c Bug 1207744 - Track and re-send push unregister requests on reconnect. r=dragana
MozReview-Commit-ID: 2rFLm07n4EU
2016-06-08 06:13:15 -07:00
Kit Cambridge 38fc3d6771 Bug 1280106 - Don't send push events to service workers without a principal. r=dragana
MozReview-Commit-ID: JwTU633hENl
2016-06-27 08:22:59 -07:00
Kit Cambridge 4406b726d2 Back out changeset f7e1ab1bd99c (bug 1207744) for X(3) failures.
MozReview-Commit-ID: 5mgyh20yXiI
2016-06-07 20:34:54 -07:00
Kit Cambridge 5b5cb994ec Bug 1207744 - Track and re-send push unregister requests on reconnect. r=dragana
MozReview-Commit-ID: 2rFLm07n4EU
2016-06-06 16:29:36 -07:00
Kit Cambridge e1e96313ef Bug 1207743 - Track recent push messages to avoid duplicate notifications on reconnect. r=dragana
MozReview-Commit-ID: KezPfa0yyO1
2016-06-04 13:17:12 -07:00
Kit Cambridge 9a306d9099 Bug 1275436 - Remove push subscriptions from the server after clearing permissions and site data. r=mt
Previously, we removed records locally, but didn't notify the server.
We can be nice and avoid making the server buffer messages for
subscriptions that the client will never use again.

MozReview-Commit-ID: 5iohGQPHXuz
2016-05-20 09:38:26 -07:00
Kit Cambridge a5719c8d19 Bug 1275434 - Add remote push observer tests. r=dragana
MozReview-Commit-ID: 4BVWwEbI2FX
2016-05-19 21:41:15 -07:00