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
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
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
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
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
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
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
Kit Cambridge
5206a7002b
Bug 1274326 - Avoid adding history visits with future visit dates in the Push tests. a=testonly
...
MozReview-Commit-ID: 6jHgZg4qoul
2016-05-19 17:43:21 -07:00
Kit Cambridge
4d6b8967c2
Bug 1206424 - Ensure daysElapsed is always non-negative when updating the push quota. r=wchen
2016-05-09 20:54:05 -07:00
Kit Cambridge
1f29167357
Bug 1269436 - Always pass the principal to push observer notifications. r=dragana
...
MozReview-Commit-ID: J1vU3nRKlsa
2016-05-02 09:38:47 -07:00
Kit Cambridge
8692bb2df9
Bug 1269385 - Notify Dev Tools when a push subscription is modified. f=janx r=dragana
...
MozReview-Commit-ID: 3iTl7jH9IkB
2016-05-02 08:20:14 -07:00
Kit Cambridge
e628fbd8d1
Bug 1267889 - Always steal the error result in PushMessage::Json. r=dragana
...
MozReview-Commit-ID: FOpIoIYBCFW
2016-04-26 18:26:30 -07:00
Kit Cambridge
39790da4c8
Bug 1267493 - Replace isURIPotentiallyTrustworthy usage in Push with a testing pref. r=dragana
...
MozReview-Commit-ID: LrjAyVeNMyI
2016-04-25 20:53:06 -07:00
Kit Cambridge
2caa8bf8af
Bug 1266433 - Indicate push subscriptions created by privileged code. r=dragana
...
MozReview-Commit-ID: HYKndQiU98U
2016-04-23 19:41:59 -07:00
Kit Cambridge
0021a5f6fc
Bug 1266433 - Send an observer notification when a push subscription is lost. f=janx r=dragana
...
MozReview-Commit-ID: EjCVWje2jLB
2016-04-21 12:04:15 -07:00
Kit Cambridge
62be9628a4
Bug 1266433 - Send Push observer notifications to parent and content processes. f=janx r=dragana
...
MozReview-Commit-ID: 1aUS8HcQApo
2016-04-21 11:11:03 -07:00
Kit Cambridge
3ec375cbfc
Bug 1265914 - Remove Push UDP wake-up. r=dragana
...
MozReview-Commit-ID: 9uyrp75slCX
2016-04-19 17:29:16 -07:00
Kit Cambridge
436e0f2003
Bug 1265915 - Remove adaptive pings from the Push WebSocket backend. r=dragana
...
MozReview-Commit-ID: 9QuMFgIlOPQ
2016-04-19 16:41:12 -07:00
Kit Cambridge
a7c90fa38a
Bug 1247685 - Send subscription keys to the Push server. r=mt
...
MozReview-Commit-ID: 2i3UqgNGlEt
2016-03-22 16:29:16 -07:00