Christoph Kerschbaumer
60c8666a31
Bug 1555050: Write test for large-allocation. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33611
--HG--
extra : moz-landing-system : lando
2019-06-07 11:07:28 +00:00
Bogdan Tara
bde97b25f5
Backed out 2 changesets (bug 1555050) for test_reloadInFreshProcess.html failures CLOSED TREE
...
Backed out changeset f5e954d593f8 (bug 1555050)
Backed out changeset b5b99e78b753 (bug 1555050)
2019-06-06 23:13:52 +03:00
Christoph Kerschbaumer
d8e1a292ea
Bug 1555050: Write test for large-allocation. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D33611
--HG--
extra : moz-landing-system : lando
2019-06-06 18:09:03 +00:00
Thomas Nguyen
01ff0bf93f
Bug 1534681 Use ReferrerInfo class in document r=ckerschb,baku,Gijs
...
Also, in many place, we use document uri as referrer. It is not right
for the case srdoc iframe. We should use the last non-srdoc parent
document's uri
Differential Revision: https://phabricator.services.mozilla.com/D30191
--HG--
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-data.html
rename : testing/web-platform/tests/referrer-policy/generic/iframe-inheritance.html => testing/web-platform/tests/referrer-policy/generic/inheritance/iframe-inheritance-srcdoc.html
extra : moz-landing-system : lando
2019-06-06 07:23:37 +00:00
Andrea Marchesini
0f177b50b5
Bug 1551798 - SameSite=lax by default and SameSite=none only if secure - tests, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31216
--HG--
extra : moz-landing-system : lando
2019-06-05 12:19:52 +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
7cdbee6cd7
Bug 1496418: Update Content Policy checks and allow CSP checks for system principal triggered loads. r=mccr8,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D32217
--HG--
extra : moz-landing-system : lando
2019-06-03 06:04:25 +00:00
Csoregi Natalia
a51ae3670f
Backed out 5 changesets (bug 1551798) for failures on test_rawSameSite.js. CLOSED TREE
...
Backed out changeset 11ddc433b632 (bug 1551798)
Backed out changeset f2ac8efb023d (bug 1551798)
Backed out changeset 0f6e797b434f (bug 1551798)
Backed out changeset eae7f88660c8 (bug 1551798)
Backed out changeset 2ba747afb3d0 (bug 1551798)
2019-05-30 10:17:01 +03:00
Andrea Marchesini
25006292a6
Bug 1551798 - SameSite=lax by default and SameSite=none only if secure - tests, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31216
--HG--
extra : moz-landing-system : lando
2019-05-29 15:55:39 +00:00
arthur.iakab
944263f18a
Backed out 5 changesets (bug 1551798) for multiple build bustages on StaticPrefList.h CLOSED TREE
...
Backed out changeset c89daff34d97 (bug 1551798)
Backed out changeset bbc3f88b8c03 (bug 1551798)
Backed out changeset b87996b8a411 (bug 1551798)
Backed out changeset d88b0002d736 (bug 1551798)
Backed out changeset 0fe740c90e2b (bug 1551798)
2019-05-29 18:07:26 +03:00
Andrea Marchesini
310e7f246c
Bug 1551798 - SameSite=lax by default and SameSite=none only if secure - tests, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D31216
--HG--
extra : moz-landing-system : lando
2019-05-24 15:19:34 +00:00
Cosmin Sabou
d2dc3fe4d7
Bug 1552477 - Add "=" to the skip-if syntax. r=bustage CLOSED TREE
...
--HG--
extra : amend_source : 4a979521cb075b7a265883d23c5a6c65149937ee
2019-05-29 14:04:23 +03:00
Frederik Braun
2ff0dff5c2
Bug 1552477 - Disallow System Principal to load remote documents in nightly/early beta r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D31763
--HG--
extra : moz-landing-system : lando
2019-05-29 10:06:15 +00:00
Ehsan Akhgari
70dba3be94
Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30117
--HG--
extra : moz-landing-system : lando
2019-05-25 01:25:43 +00:00
Christoph Kerschbaumer
796a800303
Bug 965637: Move CSP from Principal into Client, part 4: test updates. r=mccr8,jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D27657
--HG--
extra : moz-landing-system : lando
2019-05-21 23:15:08 +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
Andrea Marchesini
289365e128
Bug 1551821 - Get rid of pref network.cookie.same-site.enabled, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D31217
--HG--
extra : moz-landing-system : lando
2019-05-15 13:33:45 +00:00
Christoph Kerschbaumer
e454783943
Bug 1548385
: Test CSP blocks scripts correctly within template. r=jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D30480
--HG--
extra : moz-landing-system : lando
2019-05-13 20:20:58 +00:00
Sebastian Streich
99e0852267
Bug 1402530 - Use IsOriginPotentiallyTrustworthy in ShouldLoad r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D30917
--HG--
extra : moz-landing-system : lando
2019-05-13 14:40:40 +00:00
Jonathan Kingston
ad11ea7746
Bug 1549754 - Prevent external protocol handlers from being considered insecure. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D30247
--HG--
extra : moz-landing-system : lando
2019-05-10 14:17:40 +00:00
Noemi Erli
6430d23336
Backed out 12 changesets (bug 1547813) for failures in browser_partitionedIndexedDB.js CLOSED TREE
...
Backed out changeset 98989127264b (bug 1547813)
Backed out changeset f9d790139a26 (bug 1547813)
Backed out changeset a29f58cef022 (bug 1547813)
Backed out changeset c1288949de1c (bug 1547813)
Backed out changeset 8cad4fd197b1 (bug 1547813)
Backed out changeset 807ce59e7e6e (bug 1547813)
Backed out changeset 06943593738c (bug 1547813)
Backed out changeset 4ced8d49ddc3 (bug 1547813)
Backed out changeset 77a040f527e9 (bug 1547813)
Backed out changeset b4651cfaff30 (bug 1547813)
Backed out changeset 279c140a4d71 (bug 1547813)
Backed out changeset 0e0241f3d366 (bug 1547813)
2019-05-09 20:04:16 +03:00
Ehsan Akhgari
c7cb5521d1
Bug 1547813 - Part 8: Introduce a CookieSettings API to query whether cookies from third-party trackers must be rejected and use it in Gecko; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D30117
--HG--
extra : moz-landing-system : lando
2019-05-08 20:22:18 +00:00
Noemi Erli
1c65279044
Backed out changeset 38ce182f68ea (bug 1402530) for build bustages in nsMixedContentBlocker.cpp CLOSED TREE
2019-05-09 17:29:38 +03:00
Sebastian Streich
db1660661f
Bug 1402530 - Use IsOriginPotentiallyTrustworthy in ShouldLoad r=ckerschb,jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D28870
--HG--
extra : moz-landing-system : lando
2019-05-07 18:08:19 +00:00
Chris Pearce
00a43a7a06
Bug 1540573 - p7. Modify CSP tests to use preload=2 on (emulated) cellular connections. r=jya
...
The Content Security Policy tests were handling the smaller android preload
values that were #defined on Android by setting media.preload.default=2. Now
that we're detecting whether we're on cellular or not, and the android
emulators that our tests run on emulate a cellular connection, just setting
media.preload.default is no longer enough.
So set media.preload.default.cellular=2 in the CSP mochitests instead of
media.preload.default, to make the CSP mochitests pass in the Android
emulators.
Differential Revision: https://phabricator.services.mozilla.com/D29617
--HG--
extra : moz-landing-system : lando
2019-05-06 22:43:18 +00:00
Andreea Pavel
e2388edd9f
Backed out 7 changesets (bug 1540573) for causing bug 1548441
...
Backed out changeset dd882b8cd73e (bug 1540573)
Backed out changeset b10d2cae45f2 (bug 1540573)
Backed out changeset 270a8917377f (bug 1540573)
Backed out changeset 3db059b34e40 (bug 1540573)
Backed out changeset fe196b2dfc62 (bug 1540573)
Backed out changeset 1bde5042e507 (bug 1540573)
Backed out changeset 4ff116b9d729 (bug 1540573)
2019-05-03 20:35:27 +03:00
Chris Pearce
fb8bc549b9
Bug 1540573 - p7. Modify CSP tests to use preload=2 on (emulated) cellular connections. r=jya
...
The Content Security Policy tests were handling the smaller android preload
values that were #defined on Android by setting media.preload.default=2. Now
that we're detecting whether we're on cellular or not, and the android
emulators that our tests run on emulate a cellular connection, just setting
media.preload.default is no longer enough.
So set media.preload.default.cellular=2 in the CSP mochitests instead of
media.preload.default, to make the CSP mochitests pass in the Android
emulators.
Differential Revision: https://phabricator.services.mozilla.com/D29617
--HG--
extra : moz-landing-system : lando
2019-05-03 02:45:06 +00:00
Thomas Nguyen
23e61a2595
Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
...
Differential Revision: https://phabricator.services.mozilla.com/D22783
--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:52 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
Dana Keeler
c90cfeaf74
bug 1441989 - remove ContentVerifier r=baku,mayhemer
...
ContentVerifier has been dead code since bug 1355166 (which, incidentally, means
it has no tests). Its presence is preventing improvements to
ContentSignatureVerifier (see e.g. bug 1534600), so this patch removes it.
As a result, the nsILoadInfo attributes verifySignedContent and enforceSRI are
also unused, so this patch removes those as well.
Differential Revision: https://phabricator.services.mozilla.com/D28885
--HG--
extra : moz-landing-system : lando
2019-04-26 22:21:36 +00:00
Honza Bambas
5f945421d4
Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D23150
--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Ryan Hunt
d6509bb237
Bug 1534395 - Rename TabChild to BrowserChild. r=nika
...
This commit renames TabChild to BrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28135
--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt
e9e7d608be
Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
...
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28134
--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05: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
Brian Grinstead
c4fa4cfc0c
Bug 1544322 - Part 4 - Remove the [type] attribute for multiline <script> tags loading files in /tests/SimpleTest/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 4` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27459
--HG--
extra : moz-landing-system : lando
2019-04-16 04:01:46 +00:00
Brian Grinstead
911776d674
Bug 1544322 - Part 3 - Remove the [type] attribute for multiline <script> tags loading files in chrome://mochikit/content/ r=bzbarsky
...
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the case where the script src is on the line below the script tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 3` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27458
--HG--
extra : moz-landing-system : lando
2019-04-16 03:59:25 +00:00
Brian Grinstead
0d460e3432
Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky
...
This is split from the previous changeset since if we include dom/ the file size is too
large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27457
--HG--
extra : moz-landing-system : lando
2019-04-16 03:53:28 +00:00
Frederik Braun
8a6f82023e
Bug 1544008: follow-up: clang-format. CLOSED TREE
...
Differential Revision: https://phabricator.services.mozilla.com//D27479
--HG--
extra : amend_source : e791c1ed730aaaecba4253980ba6f9a71af5cbd4
2019-04-15 11:10:00 +02:00
Frederik Braun
0c5c6ee474
Bug 1544008 - re-allow systemprincipal load for discovery pane r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D27291
--HG--
extra : moz-landing-system : lando
2019-04-15 08:03:58 +00:00
Masayuki Nakano
fdbbccd877
Bug 1542664 - Make TabChild use mozilla::PresShell directly rather than via nsIPresShell r=nika
...
This patch makes `TabChild` use `mozilla::PresShell` directly.
Then, renames `TabChild::GetPresShell()` and `TabChild::GetDocument()` to
`TabChild::GetTopLevelPresShell()` and `TabChild::GetTopLevelDocument()` to
make what they do clearer (e.g., see the change in `PresShell.cpp`).
Differential Revision: https://phabricator.services.mozilla.com/D26455
--HG--
extra : moz-landing-system : lando
2019-04-13 01:53:10 +00:00
Narcis Beleuzu
bbf97a2497
Backed out changeset 4cf10c7b68ad (bug 1544008) for XPCShell crashes on test_csp_upgrade_insecure_request_header.js. CLOSED TREE
2019-04-12 18:52:39 +03:00
Frederik Braun
d372b94f5f
Bug 1544008 - re-allow systemprincipal load for discovery pane r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D27291
--HG--
extra : moz-landing-system : lando
2019-04-12 15:06:13 +00:00
Frederik Braun
23a6ba351f
Bug 1513445: add tests r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D26681
--HG--
extra : moz-landing-system : lando
2019-04-10 14:20:21 +00:00
Frederik Braun
e3dae73936
Bug 1513445 - Disallow web documents loaded with the SystemPrincipal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D26680
--HG--
extra : moz-landing-system : lando
2019-04-10 14:20:12 +00:00
Ciure Andrei
f19457b73f
Backed out 2 changesets (bug 1513445) for causing xpc perma fails CLOSED TREE
...
Backed out changeset 499f5b4d205d (bug 1513445)
Backed out changeset 568de07e5c40 (bug 1513445)
2019-04-09 05:04:45 +03:00
Frederik Braun
49337094ec
Bug 1513445: add tests r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D19351
--HG--
extra : moz-landing-system : lando
2019-04-08 14:58:27 +00:00
Frederik Braun
9252b11f49
Bug 1513445 - Disallow web documents loaded with the SystemPrincipal r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D19350
--HG--
extra : moz-landing-system : lando
2019-04-08 14:58:20 +00:00
Sylvestre Ledru
03fc65347c
Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26280
--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00
Narcis Beleuzu
24dbe577a5
Backed out changeset 389b6bbd76db (bug 1519636) for bustages on MarkupMap.h . CLOSED TREE
2019-04-05 00:27:56 +03:00
Sylvestre Ledru
399dbd28fe
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 20:12:23 +00:00
Thomas Wisniewski
78b73b590c
Bug 1538456 - Don't fire an XHR HEADERS_RECEIVED event in the event of a network error; r=baku
...
Don't fire an XHR HEADERS_RECEIVED event in the event of a network error
Differential Revision: https://phabricator.services.mozilla.com/D25831
--HG--
extra : moz-landing-system : lando
2019-04-03 05:19:06 +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
Christoph Kerschbaumer
118fc8a930
Bug 1529893: Set correct CSP within nsWindowWatcher. r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D25260
--HG--
extra : moz-landing-system : lando
2019-03-28 19:20:00 +00:00
Mark Banner
dba6983e75
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Sebastian Streich
82fb5d3ddf
Bug 1386214 - Remove require-sri from the CSP-Module r=ckerschb,qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D24880
--HG--
extra : moz-landing-system : lando
2019-03-26 21:58:48 +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
dlee
9878ae650d
Bug 1522412 - P2. Remove nsIChannel.LOAD_CLASSIFY_URI flag. r=Ehsan
...
nsIChannel.LOAD_CLASSIFY_URI is no longer required so we can remove it from
the codebase.
In the mean time, we add a new LOAD_BYPASS_URL_CLASSIFIER load flag for
channel creator to be able to force channel to bypass URL classifier check.
The use of the new LOAD_BYPASS_URL_CLASSIFIER flag will be addressed in
the other patches.
Differential Revision: https://phabricator.services.mozilla.com/D22111
--HG--
extra : moz-landing-system : lando
2019-03-25 12:47:57 +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
Gurzau Raul
2666e16a53
Backed out 7 changesets (bug 1522412) for xpcshell failures at test_shouldclassify.js on a CLOSED TREE.
...
Backed out changeset 7c998456e1fd (bug 1522412)
Backed out changeset ebb581ddf1d1 (bug 1522412)
Backed out changeset 850e1c68d978 (bug 1522412)
Backed out changeset fe288a48cecb (bug 1522412)
Backed out changeset 5399bca472b1 (bug 1522412)
Backed out changeset 91e5b339fe11 (bug 1522412)
Backed out changeset b80098d0a5c4 (bug 1522412)
2019-03-21 11:02:09 +02:00
Dimi Lee
8f1caf4049
Bug 1522412 - P2. Remove nsIChannel.LOAD_CLASSIFY_URI flag. r=Ehsan
...
nsIChannel.LOAD_CLASSIFY_URI is no longer required so we can remove it from
the codebase.
In the mean time, we add a new LOAD_BYPASS_URL_CLASSIFIER load flag for
channel creator to be able to force channel to bypass URL classifier check.
The use of the new LOAD_BYPASS_URL_CLASSIFIER flag will be addressed in
the other patches.
Differential Revision: https://phabricator.services.mozilla.com/D22111
--HG--
extra : moz-landing-system : lando
2019-03-21 07:30:51 +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
Dorel Luca
0e9ffb4c4f
Merge mozilla-inbound to mozilla-central. a=merge
2019-03-14 18:25:40 +02: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
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Andrea Marchesini
8e20bbbc9a
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-08 09:04:11 +00:00
Ciure Andrei
712dd2bb8c
Backed out 16 changesets (bug 1525245) for perma failing test_document_cookie.html CLOSED TREE
...
Backed out changeset 3fd27215698f (bug 1525245)
Backed out changeset d9a9e8e77873 (bug 1525245)
Backed out changeset 0e6f7be92e3f (bug 1525245)
Backed out changeset 6790802e2fa5 (bug 1525245)
Backed out changeset a5a9e01116ed (bug 1525245)
Backed out changeset 66e19a0c38dd (bug 1525245)
Backed out changeset fb90d51ba853 (bug 1525245)
Backed out changeset 4772db3625b3 (bug 1525245)
Backed out changeset 9affaf0cb998 (bug 1525245)
Backed out changeset a91b7ebe8bdd (bug 1525245)
Backed out changeset c2a13a7480e1 (bug 1525245)
Backed out changeset abe4482fa137 (bug 1525245)
Backed out changeset b3920c0bcf84 (bug 1525245)
Backed out changeset 0821b81f2724 (bug 1525245)
Backed out changeset 70bed2ad7899 (bug 1525245)
Backed out changeset 5f72ba232cc8 (bug 1525245)
2019-03-07 17:54:18 +02:00
Andrea Marchesini
6856f88972
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-07 10:21:15 +00:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Andrea Marchesini
4fabb4a2a8
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:06 +00:00
Ryan Hunt
00e98538aa
Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21106
--HG--
extra : rebase_source : ea3f51c2c11247114deccbc86e90fb02b8a97257
2019-02-25 16:05:29 -06:00
Boris Zbarsky
9c5da5f234
Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D17327
--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Jonathan Kingston
f6680698bd
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston
dd4c731d8c
Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20771
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:54 +00:00
Jonathan Kingston
c4853316e7
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:31 +00:00
Jonathan Kingston
f7e35ae39e
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:04 +00:00
Nathan Froyd
e4a1cd2df1
Bug 1530369 - part 3 - do less copying in generateTokens; r=ckerschb
...
We don't need to copy `dirAndSrcs` when appending it to `outTokens`, and
we can reasonably retain the storage we've built up in `dirSrcs`, so we
don't continually reallocate it.
2019-02-25 13:58:53 -05:00
Nathan Froyd
ef665544c6
Bug 1530369 - part 2 - bulk-append characters in generateNextToken; r=ckerschb
...
Instead of appending each individual charater, we can delay the append
until after the loop, which saves on function calls.
2019-02-25 13:58:53 -05:00
Nathan Froyd
63e3631fcc
Bug 1530369 - part 1 - don't needlessly write characters when skipping; r=ckerschb
...
The skipWhiteSpace* family of functions write the characters they're
skipping, only to truncate the string after skipping. This appending is
needless work, so let's skip it.
2019-02-25 13:58:54 -05:00
Magnus Melin
fd833bbb3d
Bug 1528498 - check principal->GetURI rv to prevent Crash in [@ nsContentSecurityManager::IsOriginPotentiallyTrustworthy] via nsContentUtils::HttpsStateIsModern. r=ckerschb
2019-02-25 14:15:15 +02:00
Junior Hsu
b7e28eddd2
Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D19325
--HG--
extra : moz-landing-system : lando
2019-02-19 21:53:22 +00: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
Sylvestre Ledru
41d1d79094
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D19663
--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Christoph Kerschbaumer
ee12e14f43
Bug 1077201: No need to return if there is no loadinfo in the mixed content blocker - we have loadinfo everywhere. r=jkt
2019-02-14 07:38:51 +01:00
Christoph Kerschbaumer
d65faafb09
Bug 1509738: CSP snapshot nonce at load start time. r=baku
...
--HG--
extra : rebase_source : ea232b7a3aeae9c18895e885d1536ca58c8de1bd
extra : amend_source : b0c351f8c0c1a5eb7865a735f8dc5bafb42384f1
2019-02-13 20:45:29 +01:00
Christoph Kerschbaumer
c51c70fcbc
Bug 1509738 - Test nonce snapshot for CSP loades. r=jkt
...
--HG--
extra : rebase_source : 902e3f77336120c01af470952e67055dadf4c783
extra : amend_source : 9f2d1773d49e8d9173bf1c7405bd178a9bbd8750
2019-02-13 20:42:34 +01:00
Noemi Erli
0a63dd9be6
Backed out 2 changesets (bug 1509738) for failures in propagate-nonce-external-classic.html
...
Backed out changeset fbf4b73c8786 (bug 1509738)
Backed out changeset 53f624bc7c22 (bug 1509738)
2019-02-13 16:22:44 +02:00
Christoph Kerschbaumer
7859700e5d
Bug 1509738 - CSP snapshot nonce at load start time. r=baku
...
--HG--
extra : rebase_source : b532f519b79a3bc14ece0c0ee829edd400149e48
extra : amend_source : d4b8fba240a9d28437ee436b94313fd1602426c4
extra : histedit_source : 6af35eb388f6c23d80d8412533fec02abe2d4cff
2019-02-13 13:46:50 +01:00
Christoph Kerschbaumer
610b2a4590
Bug 1509738 - Test nonce snapshot for CSP loades. r=jkt
...
--HG--
extra : rebase_source : 8d52be231e55478be5903529a1d4fd61e05469fe
extra : amend_source : 46775fcf5f434bf5ee531da9f2f3a2ed83abc381
extra : histedit_source : 7d0d8720e039f05e7031e0ff9c8fa4c3e1c27489
2019-02-13 13:43:34 +01:00
Andreea Pavel
e09dd2a72d
Backed out 2 changesets (bug 1509738) for failing propagate-nonce-external-classic.html on a CLOSED TREE
...
Backed out changeset 5cbc3f79a126 (bug 1509738)
Backed out changeset 44a945b21f87 (bug 1509738)
2019-02-13 02:18:28 +02:00
Christoph Kerschbaumer
fcfde902c4
Bug 1509738 - Summary: Test nonce snapshot for CSP loades r=jkt
...
Differential Revision: https://phabricator.services.mozilla.com/D19357
--HG--
extra : moz-landing-system : lando
2019-02-12 18:01:30 +00:00
Christoph Kerschbaumer
6111ccf5fd
Bug 1509738: CSP snapshot nonce at load start time r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D19519
--HG--
extra : moz-landing-system : lando
2019-02-12 18:01:32 +00:00
Thomas Nguyen
92cca5e26c
Bug 1517703 - Part 1 - Implement ReferrerInfo class r=smaug
...
The class contains original full referrer and referrer policy will be
applied to the referrer.
Differential Revision: https://phabricator.services.mozilla.com/D17923
--HG--
extra : moz-landing-system : lando
2019-02-12 19:35:32 +00:00
Alastor Wu
7f2cafcb86
Bug 1516598 - remove 'feature-policy' checking for autoplay policy. r=cpearce,baku
...
From the following table, we can know the feature policy have no any effect for the autoplay result.
That is, if the document has been gesture activated, we want to playback, regardless of the status of the feature policy.
If the site has denied autoplay permission via feature policy, if the user gesture activates (clicks play) we still want to be able to play.
Therefore, we can remove `feature-policy` checking.
| gesture activated | autoplay feature policy status | allowed to play |
|-------------------|--------------------------------|-----------------|
| activated | allowed | true |
| not activated | not allowed | false |
| activated | not allowed | true |
| not activated | allowed | false |
Differential Revision: https://phabricator.services.mozilla.com/D18098
--HG--
extra : moz-landing-system : lando
2019-02-12 18:21:58 +00:00
Jonathan Kingston
3421b8fcff
Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
...
Replacing js and text occurences of asyncOpen2
Replacing open2 with open
Differential Revision: https://phabricator.services.mozilla.com/D16885
--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Tom Schuster
a60d06b5ef
Bug 1525006 - Add a new internal ContentPolicyType for ES6 modules. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D19269
--HG--
extra : moz-landing-system : lando
2019-02-12 13:16:32 +00:00
Jan-Ivar Bruaroey
0ed9f377cc
Bug 1523958
- FeaturePolicy: display-capture. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D18083
--HG--
extra : moz-landing-system : lando
2019-02-11 23:02:38 +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