Nicholas Nethercote
5e22e64603
Bug 1573720
- Convert security.view-source.reachable-from-inner-protocol to a static pref. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D41912
--HG--
extra : moz-landing-system : lando
2019-08-15 05:29:35 +00:00
Brendan Dahl
0a8d6f243d
Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D41239
--HG--
extra : moz-landing-system : lando
2019-08-09 17:47:41 +00:00
Tom Schuster
0e913c22c4
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
--HG--
extra : moz-landing-system : lando
2019-08-07 19:49:40 +00:00
Cosmin Sabou
c3430326e6
Backed out changeset ca88862d6b63 (bug 1558915) for causing build bustages on StartupCacheUtils. CLOSED TREE
2019-08-07 13:20:32 +03:00
Tom Schuster
8bc1f5ada8
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
--HG--
extra : moz-landing-system : lando
2019-08-07 09:36:56 +00:00
Razvan Maries
eedbf1137f
Backed out changeset b197ca57677a (bug 1558915) for build bustages. CLOSED TREE
2019-08-07 01:04:43 +03:00
Tom Schuster
03c7998ef2
Bug 1558915 - Use infallible nsIURI::SchemeIs in various places r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D40677
--HG--
extra : moz-landing-system : lando
2019-08-06 20:19:41 +00:00
Tom Ritter
20c32a0175
Bug 1570738 - Record Telemetry if eval() is used in the Parent Process r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D40332
--HG--
extra : moz-landing-system : lando
2019-08-06 19:56:23 +00:00
Tom Ritter
ef67c0b08b
Bug 1567623 - Update AssertEvalNotUsingSystemPrincipal and re-enable it r=ckerschb
...
We now correctly handle the following cases:
- Thunderbird
- the Browser Toolbox/Console
- Two safe and common idioms
- when general.config.filename is set and userChromeJS does shenanigans
We also change the function to only crash in Debug mode, and for Release channels
we report diagnostic information in a way that does not reveal user data.
Differential Revision: https://phabricator.services.mozilla.com/D39557
--HG--
extra : moz-landing-system : lando
2019-08-01 20:45:01 +00:00
Nicholas Nethercote
c27392026e
Bug 1570212 - Convert security.all_resource_uri_content_accessible to a static pref. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D40004
--HG--
extra : moz-landing-system : lando
2019-08-01 06:01:40 +00:00
Nicholas Nethercote
c0069262ff
Bug 1570212 - Convert privacy.firstparty.isolate* prefs to static prefs. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D40001
--HG--
extra : moz-landing-system : lando
2019-08-01 06:00:22 +00:00
Tom Ritter
87cbad22ea
Bug 1564527 - Enable AssertEvalNotUsingSystemPrincipal on Nightly builds r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D37460
--HG--
extra : moz-landing-system : lando
2019-07-18 18:22:06 +00:00
Boris Zbarsky
5062731c15
Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37968
--HG--
extra : moz-landing-system : lando
2019-07-15 13:39:51 +00:00
Razvan Maries
affddc7861
Backed out changeset 6e4d13741a0f (bug 1564527) for perma AddressSanitizer failures. CLOSED TREE
2019-07-13 02:05:25 +03:00
Tom Ritter
0ca0f2dea1
Bug 1564527 - Enable AssertEvalNotUsingSystemPrincipal on Nightly builds r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D37460
--HG--
extra : moz-landing-system : lando
2019-07-11 08:46:18 +00:00
Jonathan Kingston
31441f82ea
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Boris Zbarsky
9de72a3ac6
Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D34196
--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Jonathan Kingston
a9be4620ee
Bug 1508939 - cpp serialization r=ckerschb,mccr8,mikedeboer
...
Migrating to pure Cpp
Differential Revision: https://phabricator.services.mozilla.com/D29221
--HG--
extra : moz-landing-system : lando
2019-06-03 12:37:12 +00:00
Christoph Kerschbaumer
b633427366
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
--HG--
extra : moz-landing-system : lando
2019-05-21 23:14:27 +00:00
Jonas Allmann
adabaeabe2
Bug 1541858, AssertEvalNotUsingSystemPrincipal into the ContentSecurityManager and also call it for worker code r=ckerschb
...
Bug 1541858 - Extended eval()-Assertion whitelist, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D28052
--HG--
extra : moz-landing-system : lando
2019-04-18 13:54:43 +00:00
Andrea Marchesini
a438b12ebd
Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24025
--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Cosmin Sabou
af07021e88
Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
...
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Andrea Marchesini
5cfeeda19e
Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24025
--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:12 +00:00
Eden Chuang
72b79c6fbd
Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
...
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process
Differential Revision: https://phabricator.services.mozilla.com/D23330
--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Sylvestre Ledru
ef0bfc3822
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
--HG--
extra : moz-landing-system : lando
2019-03-31 15:12:55 +00:00
Cosmin Sabou
78fc71e3c3
Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE
2019-03-26 20:27:55 +02:00
Eden Chuang
5e4df764d9
Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
...
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process
Differential Revision: https://phabricator.services.mozilla.com/D23330
--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
sakshaat
d781937a67
Bug 1517483 - Get rid of nsIScriptSecurityManager::IsSystemPrincipal r=bzbarsky
...
Replaced instances of callers in both C++ and JS files to query the state from the principal directly.
Differential Revision: https://phabricator.services.mozilla.com/D22532
--HG--
extra : moz-landing-system : lando
2019-03-24 20:36:25 +00:00
Christoph Kerschbaumer
23b1d42b45
Bug 1534971: Add helper function within CSP to check if two CSPs are equal. r=jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D23567
--HG--
extra : moz-landing-system : lando
2019-03-15 12:20:52 +00:00
Christoph Kerschbaumer
980f75a172
Bug 1530854: Always create CSP on Principal so the explicit CSP in the nsISHEntry holds a reference to the potentially dynamically modified CSP in case of a meta CSP. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D21919
--HG--
extra : moz-landing-system : lando
2019-03-14 06:26:29 +00:00
Ryan Hunt
945f9686c0
Bug 1523969 part 2 - Move method definition inline comments to new line in 'caps/'. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D21102
--HG--
extra : rebase_source : b425a584c7f754a52a32362ea08ebcecc5941c78
2019-02-25 16:03:35 -06:00
Christoph Kerschbaumer
54df1cb98c
Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku
2019-02-20 13:27:25 +01:00
shindli
011ea038cb
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-29 23:54:31 +02:00
Shane Caraveo
3e429f056f
Bug 1521573 web_accessible incognito support, r=kmag,smaug
...
Prevent web_accessible_resources resources loading in private contexts when extension does not have permission.
Differential Revision: https://phabricator.services.mozilla.com/D17138
--HG--
extra : moz-landing-system : lando
2019-01-29 15:40:09 +00:00
Andreea Pavel
b839d65d3c
Backed out changeset 546ee20723b6 (bug 1521573) for failing test_ext_web_accessible_incognito.html
2019-01-29 06:07:40 +02:00
Shane Caraveo
6004d08141
Bug 1521573 web_accessible incognito support, r=kmag,smaug
...
Prevent web_accessible_resources resources loading in private contexts when extension does not have permission.
Differential Revision: https://phabricator.services.mozilla.com/D17138
--HG--
extra : moz-landing-system : lando
2019-01-29 01:42:34 +00:00
Gijs Kruitbosch
ceecd61c16
Bug 1515863, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D15221
--HG--
extra : rebase_source : 64431f64e9af7a961ffcd47c7b8e01dbecc71b07
2018-12-21 11:56:47 +00:00
Kris Maglione
eb14dd1d2c
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
--HG--
extra : rebase_source : d89ac470241cb6f6a43c29c6e90b1c0e4fc78028
extra : source : b0444e0bc801f828b49f9953a73498cf5ff5024b
2018-12-16 17:27:58 -08:00
arthur.iakab
c1fae83952
Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
...
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Kris Maglione
586d1722ec
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
--HG--
extra : rebase_source : 4de6207229742168f534f618fe4881f19e3135c9
extra : absorb_source : 63106bea2b2a9c9a90e2d8cd08429b5de0f2cd09
extra : histedit_source : 02a263131b092b1d1ac4901f1a37a1b842b3103f
2018-12-16 17:27:58 -08:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Emilio Cobos Álvarez
63814207cb
Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D15498
--HG--
extra : moz-landing-system : lando
2018-12-31 14:10:19 +00:00
vinoth
7a5f2bb9db
Bug 1508282 - Temporary whitelist of files to skip Eval Assertion r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D13520
--HG--
extra : moz-landing-system : lando
2018-12-14 13:21:41 +00:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Boris Zbarsky
9691e7ba88
Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin
2018-11-19 20:17:53 -05:00
Jonathan Kingston
2a8b750345
Bug 1502743 - Replace black/whitelist within caps to block/allowlist r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D10013
--HG--
extra : moz-landing-system : lando
2018-10-31 17:56:43 +00:00
Andrea Marchesini
4439acd683
Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb
2018-10-23 08:17:13 +02:00
vinoth
7b887cfbbc
Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D8683
--HG--
extra : moz-landing-system : lando
2018-10-15 08:02:04 +00:00
Christoph Kerschbaumer
60e3239dee
Bug 1490874: Log Principal based Security Errors to the Security pane in the console. r=smaug
2018-09-25 07:25:05 +02:00