Nicholas Nethercote
412d2130e3
Bug 1570212 - Convert security.all_resource_uri_content_accessible to a static pref. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D40004
2019-08-01 06:01:40 +00:00
Nicholas Nethercote
2fe6525c93
Bug 1570212 - Convert privacy.firstparty.isolate* prefs to static prefs. r=tjr
...
Differential Revision: https://phabricator.services.mozilla.com/D40001
2019-08-01 06:00:22 +00:00
Tom Ritter
b3804d474c
Bug 1564527 - Enable AssertEvalNotUsingSystemPrincipal on Nightly builds r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D37460
2019-07-18 18:22:06 +00:00
Boris Zbarsky
942187fe9e
Bug 1565688. Remove unused IOService arg from NS_NewURI. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D37968
2019-07-15 13:39:51 +00:00
Razvan Maries
553910fda4
Backed out changeset 6e4d13741a0f (bug 1564527) for perma AddressSanitizer failures. CLOSED TREE
2019-07-13 02:05:25 +03:00
Tom Ritter
ec41c998fd
Bug 1564527 - Enable AssertEvalNotUsingSystemPrincipal on Nightly builds r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D37460
2019-07-11 08:46:18 +00:00
Jonathan Kingston
32524b62e2
Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35504
2019-07-08 16:37:45 +00:00
Boris Zbarsky
95de682140
Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
...
Differential Revision: https://phabricator.services.mozilla.com/D34196
2019-06-11 15:51:51 +00:00
Jonathan Kingston
9ae59de314
Bug 1508939 - cpp serialization r=ckerschb,mccr8,mikedeboer
...
Migrating to pure Cpp
Differential Revision: https://phabricator.services.mozilla.com/D29221
2019-06-03 12:37:12 +00:00
Christoph Kerschbaumer
29451e9f5e
Bug 965637: Move CSP from Principal into Client, part 1: backend changes. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D27654
2019-05-21 23:14:27 +00:00
Jonas Allmann
d9ee3b131d
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
2019-04-18 13:54:43 +00:00
Andrea Marchesini
e99038651f
Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24025
2019-04-12 05:31:32 +00:00
Cosmin Sabou
959db755c6
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
cdd6040ca5
Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24025
2019-04-11 16:27:12 +00:00
Eden Chuang
805df63f08
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
2019-04-01 22:42:34 +00:00
Sylvestre Ledru
d42e742a3e
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D24168
2019-03-31 15:12:55 +00:00
Cosmin Sabou
de6f748a09
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
4427a101b6
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
2019-03-26 15:18:20 +00:00
sakshaat
8b67bd2a1d
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
2019-03-24 20:36:25 +00:00
Christoph Kerschbaumer
887a31ee01
Bug 1534971: Add helper function within CSP to check if two CSPs are equal. r=jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D23567
2019-03-15 12:20:52 +00:00
Christoph Kerschbaumer
0aa01b1941
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
2019-03-14 06:26:29 +00:00
Ryan Hunt
766a90b47f
Bug 1523969 part 2 - Move method definition inline comments to new line in 'caps/'. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D21102
2019-02-25 16:03:35 -06:00
Christoph Kerschbaumer
1a72eb2a6b
Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku
2019-02-20 13:27:25 +01:00
shindli
776effa650
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-29 23:54:31 +02:00
Shane Caraveo
97a70164ac
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
2019-01-29 15:40:09 +00:00
Andreea Pavel
afc840d071
Backed out changeset 546ee20723b6 (bug 1521573) for failing test_ext_web_accessible_incognito.html
2019-01-29 06:07:40 +02:00
Shane Caraveo
4202995d18
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
2019-01-29 01:42:34 +00:00
Gijs Kruitbosch
a42836e5f8
Bug 1515863, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D15221
2018-12-21 11:56:47 +00:00
Kris Maglione
8ccab89886
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
2018-12-16 17:27:58 -08:00
arthur.iakab
127fb281ff
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
605e3719de
Bug 1478124: Part 8b - Update DocShell module to use a static component manifest. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D15040
2018-12-16 17:27:58 -08:00
Emilio Cobos Álvarez
dc336a73ba
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
e461afa617
Bug 1516853 - Merge nsIDocument and nsDocument. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D15498
2018-12-31 14:10:19 +00:00
vinoth
89449d1f1b
Bug 1508282 - Temporary whitelist of files to skip Eval Assertion r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D13520
2018-12-14 13:21:41 +00:00
Tooru Fujisawa
5ef6d9cc06
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
e5a134f73a
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Boris Zbarsky
a115e66ba1
Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin
2018-11-19 20:17:53 -05:00
Jonathan Kingston
b3d010794f
Bug 1502743 - Replace black/whitelist within caps to block/allowlist r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D10013
2018-10-31 17:56:43 +00:00
Andrea Marchesini
57bd031744
Bug 1498510 - Move nsICSPEventListener out of CSP object, r=ckerschb
2018-10-23 08:17:13 +02:00
vinoth
e1766674ba
Bug 1498885 - Assertion added in ContentSecurityPolicyPermitsJSAction() to not allow eval with SystemPrincipal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D8683
2018-10-15 08:02:04 +00:00
Christoph Kerschbaumer
619aeb7fa1
Bug 1490874: Log Principal based Security Errors to the Security pane in the console. r=smaug
2018-09-25 07:25:05 +02:00
shindli
23c0be1304
Backed out changeset 510e95767aeb (bug 1490874) for security failures in browser/components/payments/test/mochitest/test_basic_card_form.html CLOSED TREE
2018-09-24 11:43:30 +03:00
Christoph Kerschbaumer
72e1ad4898
Bug 1490874: Log Principal based Security Errors to the Security pane in the console. r=smaug
2018-09-24 09:34:04 +02:00
Andrea Marchesini
c2055bb4ff
Bug 1476306 - Moving NullPrincipal/ContentPrincipal/SystemPrincipal under mozilla namespace - part 1 - NullPrincipal, r=ckerschb
2018-07-17 21:37:48 +02:00
Kris Maglione
8c0fe35c9e
Bug 1473631: Part 10 - Replace pref observers with callbacks in ScriptSecurityManager. r=njn
...
MozReview-Commit-ID: COEgATfeEj
2018-07-05 14:53:14 -07:00
Andrea Marchesini
ad099acfe2
Bug 1473587 - CSP Violation events should have the correct sample for inline contexts, r=jorendorff, r=ckerschb
2018-07-16 17:58:04 +02:00
Andrea Marchesini
ab091b9f95
Bug 1418236 - Correct EventTarget for CSP violation events, r=ckerschb
2018-07-10 17:40:21 +02:00
Andrea Marchesini
e4ccc82e67
Bug 1418246 - Return valid columnNumber value in CSP violation events, r=ckerschb
2018-07-05 08:21:04 +02:00
Jan de Mooij
3ad1344631
Bug 1464374 part 4 - Remove unused nsScriptSecurityManager::doGetObjectPrincipal. r=bz
2018-05-31 11:28:49 +02:00
Brian Grinstead
9f30d4873d
Bug 1460685 - Backed out changeset 09ee763947c3 (bug 1352513);r=Gijs
...
The security.allow_chrome_frames_inside_content pref was added to support
XUL extension compat after the hiddenWindow special case was removed in
Bug 1145470. Since we don't need to support that use-case anymore, this
changeset backs out the change that relanded the special case with the pref.
MozReview-Commit-ID: 4keMEIQvt1Y
2018-05-11 16:26:07 -07:00