Michael Layzell
d50b0587a8
Bug 1363243 - Avoid checking nsPermissionManager in nsContentBlocker when no preload permissions are set, r=ehsan
...
MozReview-Commit-ID: B8A8QXie8SX
2017-05-11 10:06:25 -04:00
Michael Layzell
d9adddc93f
Bug 1355608 - Part 1: Add tools to nsPermissionManager to await permissions becoming avaliable, r=baku
...
MozReview-Commit-ID: 1HDS8zw6dpF
2017-04-27 13:41:13 -04:00
Michael Layzell
4966d64d16
Bug 1353179
- Fix the content process permission assertion, and add support for pre-load permissions, r=baku
...
MozReview-Commit-ID: DAVPue8krnH
2017-04-27 13:41:11 -04:00
Michael Layzell
ab79668929
Bug 1354635 - Send permissions to the content process when debugging service workers, r=catalinb
...
MozReview-Commit-ID: 8cUh5znQcFN
2017-04-18 14:38:56 -04:00
Florian Queze
f935ddc4b3
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02: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
Sebastian Hengst
738d097aae
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02: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
Ehsan Akhgari
1203da31b5
Bug 1350090 - Turn off the spammy warning that goes off every time we create an about:blank content viewer; r=mystor
2017-03-25 23:41:03 -04:00
Michael Layzell
bd18aec002
Bug 1337056 - Part 11: Change the permission key assertion to a fatal assert on debug builds, r=ehsan
...
MozReview-Commit-ID: HTxvlomRKWy
2017-03-21 11:08:03 -04:00
Michael Layzell
83c788960c
Bug 1345573
- Part 2: Remove old tests for permissions syncing, and add test for new logic, r=baku
...
MozReview-Commit-ID: A2vYqdCpeu6
2017-03-21 11:08:03 -04:00
Michael Layzell
3ffc5e3ecd
Bug 1345573
- Part 1: Key http, https, and ftp URIs on origin instead of eTLD+1, r=baku
...
MozReview-Commit-ID: Gihc4QFf11R
2017-03-21 11:08:03 -04:00
Michael Layzell
0d5232cf03
Bug 1337056 - Part 6: Disable nsPermissionManager::GetEnumerator in the content process, r=kitcambridge
...
This property allows enumerating over all permissions. As the content
process no longer has access to all permissions, this method cannot be
correctly implemented in the content process anymore.
Because of that, we now error with NS_ERROR_NOT_AVALIABLE when it is
accessed in the content process.
MozReview-Commit-ID: BLNeYYcZhIi
2017-03-21 11:08:03 -04:00
Michael Layzell
9803b986e3
Bug 1337056 - Part 5: Add support for finer-grained permission update messages to ContentParent, r=baku
...
MozReview-Commit-ID: 6y6eBLWPTue
2017-03-21 11:08:03 -04:00
Michael Layzell
092eeed6cf
Bug 1337056 - Part 4: Assert that the ipcKey for a principal is avaliable when creating a PermissionKey in the child process, r=baku
...
MozReview-Commit-ID: G9TynCKgCVF
2017-03-21 11:08:03 -04:00
Michael Layzell
ba95fb3f71
Bug 1337056 - Part 2: Replace the synchronous ReadPermissions API with async APIs, r=baku
...
These APIs are intended to use the mechanism defined in Part 1.
Part 3 implements the usage of these APIs to synchronize permissions.
MozReview-Commit-ID: HNKyDPtoaHl
2017-03-21 11:08:03 -04:00
Michael Layzell
ca0fec349f
Bug 1337056 - Part 1: Add a mechanism for grouping permissions into groups to be sent over IPC, r=baku
...
MozReview-Commit-ID: IQiSsVGaAOQ
2017-03-21 11:08:03 -04:00
Tom Tromey
f8ab4ddf02
Bug 1060419 - remove unneeded includes of prprf.h, r=froydnj
...
MozReview-Commit-ID: JifhpA3oOeH
--HG--
extra : rebase_source : 08460997dc3fd91f3065c718e17b41bb4acf8bae
2016-12-09 10:00:01 -10:00
Tooru Fujisawa
4529253bd3
Bug 1338253 - Remove remaining legacy generator from extensions/cookie/test/. r=jdm
2017-02-11 11:47:57 +09:00
Valentin Gosu
fd0c022031
Bug 1275746 - Fix tests that assume a HTTP url without a hostname is valid r=bz,MattN,jdm,markh
...
MozReview-Commit-ID: DzRenakrcAG
2016-07-07 16:20:47 +03:00
Ehsan Akhgari
1f536efb1e
Bug 1337054 - Remove nsIPermissionManager::RefreshPermission(); r=jdm
2017-02-06 19:54:34 -05:00
Joel Maher
afe3e6a86e
Bug 1332423 - add BUG_COMPONENT to extensions/* files. r=bsmedberg
2017-01-27 08:19:19 -05: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
Florian Quèze
85611a7b6d
Bug 1331081
- script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Johann Hofmann
95370d69a3
Bug 1206232 - Add temporary permission states to SitePermissions.jsm. r=jdm,Paolo
...
MozReview-Commit-ID: zQVeEHhIax
--HG--
extra : rebase_source : bebcd31cfbd638c51ff21c7e2b62bcc536b026da
2016-09-22 23:09:30 +02: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
Carsten "Tomcat" Book
98048f1496
Merge mozilla-central to autoland
2017-01-04 16:20:18 +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
Mark Banner
3539bc390b
Bug 1255149
- Remove unused nsICookiePromptService. r=jdm
...
MozReview-Commit-ID: IO07pbRqq2I
--HG--
extra : rebase_source : 7c432454f216797a9937f6b6a30dc683439102d6
2017-01-03 12:14:06 +00:00
Yoshi Huang
2ceecc22f5
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Andrea Marchesini
458019a9d8
Bug 1322518 - PermissionKey should propagate the error if nsIPrincipal::GetOrigin fails, r=ehsan
2016-12-08 10:45:52 -10:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Ehsan Akhgari
d07f79a266
Bug 1318210 - Remove nsIAppsService; r=baku
2016-11-17 10:41:36 -05:00
Ehsan Akhgari
569f181508
Bug 1311149 - Remove the b2g preallocated app support; r=baku
2016-11-16 09:17:35 -05: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
Carsten "Tomcat" Book
3eacc680db
Backed out changeset 7d1f7dd996f7 (bug 1310845)
2016-11-16 14:50:44 +01:00
Carsten "Tomcat" Book
cfcaf71156
Backed out changeset f1ff6d4dca5f (bug 1311149)
2016-11-16 14:50:40 +01:00
Ehsan Akhgari
0e176830ff
Bug 1311149 - Remove the b2g preallocated app support; r=baku
2016-11-15 23:21:28 -05:00
Ehsan Akhgari
cb369370b3
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-15 18:31:46 -05:00
Sebastian Hengst
a29b7edbc4
Bug 1310297 - Remove test annotations using b2g, mulet or gonk: extensions. r=RyanVM
...
MozReview-Commit-ID: H0AlYp2iIkp
--HG--
extra : rebase_source : 075e57481d6b986b4c87ddc7fae334a4c3369b14
2016-11-05 11:29:19 +01:00
Valentin Gosu
db9440de51
Bug 1305204 - (Part 2) Backout bug 1275746 a=backout
...
MozReview-Commit-ID: H8aCKdJzEbR
2016-10-23 14:24:45 +02:00
Ehsan Akhgari
9de6bbbaec
Bug 1261019 - Part 3: Remove Navigator.mozApps and code depending on it; r=myk,jryans,fabrice,mcmanus,peterv
2016-10-13 13:18:41 -04:00
Ehsan Akhgari
d4cf901767
Bug 1308319 - Remove app specific parts of the permission manager; r=baku
2016-10-10 11:11:12 -04:00
Yoshi Huang
2a51f65d99
Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
...
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Jonathan Hao
8a70bfa5fc
Bug 1302047 - Ignore userContextId and firstPartyDomain when matching permissions. r=baku
...
--HG--
extra : rebase_source : da81c21da92810d808ebe865a456cc9d04058ce3
2016-09-20 16:35:21 +08:00
Jonathan Hao
61bd32ab34
Bug 1302047 - Test if permission matches for different userContextId or firstPartyDomain. r=baku
...
--HG--
extra : rebase_source : ffe4fbd2472fb329c46c7e31dd0f1f3776c525bf
2016-09-13 14:50:25 +08:00
Jonathan Hao
43b2addff0
Bug 1301617
- Add tests for firstPartyDomain and userContextId with nsIPermissionManager. r=baku
...
--HG--
extra : rebase_source : c2cdd6b300b750a8d964f73292d81d2fc74dd9cf
2016-09-11 20:36:00 -04:00