Граф коммитов

592 Коммитов

Автор SHA1 Сообщение Дата
Tom Tromey 99f4608655 Bug 1334278 - change mozilla::Smprintf to return a UniquePtr; r=froydnj
Change mozilla::Smprintf and friends to return a UniquePtr, rather than
relying on manual memory management.  (Though after this patch there are
still a handful of spots needing SmprintfFree.)

MozReview-Commit-ID: COa4nzIX5qa

--HG--
extra : rebase_source : ab4a11b4d2e758099bd0794d5c25d799a7e42680
2017-03-03 08:17:27 -07:00
Yoshi Huang 622f14f5d9 Bug 1356165 - Log origin attributes for cookie. r=jduell
So that when I do export MOZ_LOG="cookie:3", I can also see origin attributes
of the cookie.
2017-04-17 11:08:54 +08:00
Florian Queze 37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Ehsan Akhgari ad11e2f4ca Remove a stale comment, no bug, DONTBUILD 2017-04-14 16:03:57 -04:00
Ehsan Akhgari 95653b9117 Bug 1355631 - Cache the network.cookie.staleThreshold in nsCookie, and compute it lazily; r=jdm 2017-04-14 16:02:02 -04:00
Florian Queze 95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Andrea Marchesini e9195daa8d Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr 2017-03-08 07:41:51 +01:00
Amy Chung fd9951f4c7 Bug 1319403 - Modified nsCookieService::FindStaleCookie() and test cases, r=jdm 2017-02-27 18:31:33 +08:00
Tom Tromey 5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Tom Tromey 8b46780e10 Bug 1060419 - make nsCookieService.cpp use Printf.h, r=froydnj
MozReview-Commit-ID: G2ge9NFbDV6

--HG--
extra : rebase_source : 0f83efba40734408fab3e3b523349202c7b448fb
2016-12-09 10:21:55 -10:00
Sylvestre Ledru 0b79b69876 Bug 1338086 - Remove useless else blocks in order to reduce complexity in netwerk/ r=dragana
MozReview-Commit-ID: 2TSxhHWmL2H

--HG--
extra : rebase_source : a8a70bfc3aec34b85d20021036bd2c13cdcfe5f3
2017-02-09 11:21:38 +01:00
Ehsan Akhgari c5652aad98 Bug 1339129 - Remove access to HTTP-only cookies from the child process; r=jdm 2017-02-14 10:01:47 -05:00
Sebastian Hengst ebe4ae4dc3 Backed out changeset c27179ee59e9 (bug 1339129) for failing xpcshell tests netwerk/cookie/test/unit_ipc/test_ipc_parser_0001.js and test_ipc_parser_0019.js. r=backout 2017-02-13 21:23:52 +01:00
Ehsan Akhgari cbdcae43c2 Bug 1339129 - Remove access to HTTP-only cookies from the child process; r=jdm 2017-02-13 14:08:38 -05:00
Joel Maher d85b37d5f5 Bug 1335181 - add BUG_COMPONENT to netwerk/* and dom/network/* files. r=mcmanus
MozReview-Commit-ID: AeIuBnLx6IF
2017-02-02 06:33:47 -05:00
amy f7dbfb4e81 Bug 1325909 - Added a new bucket and modify the bucket name on telemetry COOKIE_LEAVE_SECURE_ALONE, r=dveditz
--HG--
extra : rebase_source : 8e44ed82db34ca669e2736d732a4492eae6976aa
2017-01-23 18:18:47 +08:00
Florian Quèze b11907c7aa Bug 1334156 - script-generated patch to replace .ownerDocument.defaultView with .ownerGlobal, r=jaws. 2017-01-27 10:51:03 +01:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Andrea Marchesini 359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Florian Quèze fc6379e827 Bug 1329182 - remove trailing newURI null parameters in the rest of the tree, r=jaws. 2017-01-09 20:27:26 +01:00
Ehsan Akhgari 4d287a0042 Bug 1321912 - Remove the appId field from the moz_cookies table; r=jdm 2017-01-03 22:34:46 -05:00
dimi bcd217b3c0 Bug 1320402 - Move url-classifier off of using appIds. r=ehsan, gcp
MozReview-Commit-ID: IqnAVrv2c9W
2017-01-03 14:21:58 +08:00
Ehsan Akhgari fd99cf4221 Bug 1318888 - Remove a few other mentions of appId's from Necko; r=mcmanus 2016-11-21 15:00:49 -05:00
Ehsan Akhgari d07f79a266 Bug 1318210 - Remove nsIAppsService; r=baku 2016-11-17 10:41:36 -05:00
Ehsan Akhgari 1488007b30 Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus 2016-11-17 08:30:21 -05:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Sylvestre Ledru 3358b4e704 Bug 1317250 - Avoid a copy in nsCookieService::FindStaleCookie r=jdm
MozReview-Commit-ID: G61TtsTNU7x

--HG--
extra : rebase_source : 59d8006773a134b400a6063fa9de83f8a685161e
2016-11-14 11:01:34 +01:00
Sylvestre Ledru a8539821a2 Bug 1317430 - Avoid a unnecessary copy by passing a const & in netwerk/ r=valentin
MozReview-Commit-ID: LKgXjObeXOZ

--HG--
extra : rebase_source : b10835297d8fb345ce9ba81c94d9a7c0397a4e1d
2016-11-14 23:16:40 +01:00
amy a58ca1d174 Bug 976073 - Part 1 : Implement spec, r=jdm r=dveditz 2016-11-09 17:14:21 +08:00
Bill McCloskey d9f445e359 Bug 792652 - Get rid of CloneProtocol (r=dvander)
CloneProtocol is leftover code from Nuwa. We can remove it now.
2016-11-08 15:22:33 -08:00
Wes Kocher 4b3d16605a Backed out 18 changesets (bug 792652) for build bustage on linux64 a=backout CLOSED TREE
Backed out changeset 90eaf6aec002 (bug 792652)
Backed out changeset ddd915ab4a48 (bug 792652)
Backed out changeset 95eff6c45cae (bug 792652)
Backed out changeset 75855b5a9ab9 (bug 792652)
Backed out changeset b658ebaad5d7 (bug 792652)
Backed out changeset 2ba36b8ac60c (bug 792652)
Backed out changeset 94fcd3bf3f34 (bug 792652)
Backed out changeset cf9c4164eb43 (bug 792652)
Backed out changeset 59e6d0a4f35b (bug 792652)
Backed out changeset bdf86b8b9c43 (bug 792652)
Backed out changeset 8edf4b247250 (bug 792652)
Backed out changeset 63a3c8e4016e (bug 792652)
Backed out changeset e3e496eab991 (bug 792652)
Backed out changeset 5a1e3136323a (bug 792652)
Backed out changeset dbbe3a8c00e7 (bug 792652)
Backed out changeset 1829d5358808 (bug 792652)
Backed out changeset 004cd692ba6d (bug 792652)
Backed out changeset 92e7fee81fa2 (bug 792652)
2016-11-08 12:05:28 -08:00
Bill McCloskey 1a00da8679 Bug 792652 - Get rid of CloneProtocol (r=dvander)
CloneProtocol is leftover code from Nuwa. We can remove it now.
2016-11-08 11:32:23 -08:00
Andi-Bogdan Postelnicu c62f16bdda Bug 1311669 - Use C++11's override and remove virtual where applicable. r=valentin
MozReview-Commit-ID: Ab5BC8NhbIO
2016-11-08 16:36:58 +02:00
Sebastian Hengst db89e7fcf4 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: netwerk. r=RyanVM
MozReview-Commit-ID: F2Wm2m6Wrkf

--HG--
extra : rebase_source : bcc9ccffedc16682d872cf8748c2c185bb453fa2
2016-11-05 11:29:21 +01:00
Andi-Bogdan Postelnicu 9d9d070b27 Bug 1311669 - Replace integer literals which are cast to bool. r=valentin
MozReview-Commit-ID: LdvpF0mFA5V

--HG--
extra : rebase_source : 831e71b9f40015636cbea9a6d72c96e7dfd070af
2016-11-01 14:44:10 +02:00
Andi-Bogdan Postelnicu 702a3fbf63 Bug 1311669 - replace default bodies of special member functions with = default; r=valentin
MozReview-Commit-ID: YxHWVHUyDq

--HG--
extra : rebase_source : 24dbb81862770d82a3dc139ba8041bb576cf7cc4
2016-11-01 14:44:09 +02:00
Bill McCloskey f478d1188c Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 20:34:54 -07:00
Bill McCloskey b83db28a45 Revert "Bug 1306708 - Rename prio to nested in IPDL (r=dvander)" on a CLOSED TREE
This reverts commit b1460c626078afbb9290e7d9ecaf3af605d5e893.
2016-10-04 15:55:19 -07:00
Bill McCloskey eddd80027c Bug 1306708 - Rename prio to nested in IPDL (r=dvander) 2016-10-04 15:28:14 -07:00
Jesper Kristensen 05fa4f284c Bug 777620 - Support access to private prowsing cookies in nsICookieManager. r=jduell
MozReview-Commit-ID: G97YHqCOpM6

--HG--
extra : rebase_source : 9faaa28f12e8e25dcf1b951fa86a1b40d65b251c
2016-03-31 18:29:27 +02:00
Andrea Marchesini a3e7227683 Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes - part 2, r=me 2016-09-30 08:30:15 +02:00
Andrea Marchesini 14d32a0990 Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-30 08:24:21 +02:00
Carsten "Tomcat" Book c89ca66d22 Backed out changeset 826cc48624a3 (bug 1280590) for windows m-oth and xpc crashes
--HG--
extra : rebase_source : 895634096f3c1e275ab4f74f1d93691f5b55e22c
2016-09-29 15:28:53 +02:00
Andrea Marchesini f69927d55d Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-29 12:02:30 +02:00
Carsten "Tomcat" Book baff2f0613 Backed out changeset 885e361d4c73 (bug 1280590) for xpcshell bustage 2016-09-28 15:08:45 +02:00
Andrea Marchesini cd5d3f1870 Bug 1280590 - nsICookieManager2.cookieExists must use the originAttributes, r=smaug 2016-09-28 08:05:12 +02:00
Umesh Panchaksharaiah 056d5a6135 Bug 1301629 - Fix incorrect parameter name in comments. r=ettseng
--HG--
extra : rebase_source : a45c6c9641ceb70301e8bcd957a3e21c95aef423
2016-09-14 19:57:20 +02:00