Alex Catarineu
dbce01f2ff
Bug 467035 - Add new internal DTD content types r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D35232
--HG--
extra : moz-landing-system : lando
2019-07-03 17:28:25 +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
Alex Gaynor
7a604b3851
Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D22546
--HG--
extra : moz-landing-system : lando
2019-03-21 11:09:44 +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
Jan Varga
105d16dc03
Bug 1526891 - Part 3: Get origin and base domain strings using MozURL for all URIs; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D20912
2019-02-23 17:01:22 +01:00
Jan Varga
473d8c3a68
Bug 1517089 - Part 9: Add baseDomain to ContentPrincipalInfo; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D19203
2019-02-08 21:01:50 +01:00
Alex Gaynor
d3a1bdd83c
Bug 1532368 - replace OptionalPrincipalInfo with PrincipalInfo? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21972
--HG--
extra : moz-landing-system : lando
2019-03-05 14:41:42 +00:00
Nika Layzell
516741b393
Bug 1507991 - Part 2: Serialize domain in ContentPrincipalInfo, r=baku
...
This is needed to maintain full feature parity with the existing
nsIPrincipal serializer while switching to using the PrincipalInfo-based
one.
Depends on D14434
Differential Revision: https://phabricator.services.mozilla.com/D20854
--HG--
extra : moz-landing-system : lando
2019-02-28 16:50:28 +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
Dave Townsend
4e82401311
Bug 1515863, r=valentin,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D15728
--HG--
extra : rebase_source : 2e1c705dd97d458080387896fd7a1f0e88523e06
2018-04-11 12:52:47 -07:00
Andrea Marchesini
f47925dbf9
Bug 1508699 - Fetch() should not send lowercase header names, r=asuth
2018-12-19 15:48:30 +01: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
Nika Layzell
da7423dfa5
Bug 1444151 - Part 4: Remove the now-unnecessary xpcom-style segment getters, r=valentin
2018-04-10 17:49:50 -04:00
Dave Townsend
e2dffad4ac
Bug 1448500: Add speculative request content policy type. r=bz, r=kmag
...
Adds a new TYPE_SPECULATIVE to nsIContentPolicy uses it as the type for
speculative connection channels from the IO service. I believe I've added it to
all the content policies in tree to make sure it behaves the same as TYPE_OTHER
used to.
The webextension test shows that the webextension proxy API sees speculative
lookups requested through the IO service.
MozReview-Commit-ID: DQ4Kq0xdUOD
--HG--
extra : rebase_source : d9460fdac118bc68f0db79749a16f181b580f2e7
2018-03-23 15:27:08 -07:00
Andrea Marchesini
97baa05333
Bug 1398229 - Save-link-as feature should use the loading principal - part 3 - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb, r=tanvi
2017-11-16 12:27:01 +01:00
Sebastian Hengst
6c1d6be6fb
Backed out 3 changesets (bug 1398229) for failing own browser-chrome browser/components/contextualidentity/test/browser/browser_saveLink.js. r=backout on a CLOSED TREE
...
Backed out changeset 5b3b0a38b2d1 (bug 1398229)
Backed out changeset a726fc7506ca (bug 1398229)
Backed out changeset 53dae7764e58 (bug 1398229)
2017-11-15 20:49:09 +02:00
Andrea Marchesini
11eefa61bb
Bug 1398229 - Save-link-as feature should use the loading principal - part 3 - implementation of nsIContentPolicy.TYPE_SAVE_AS_DOWNLOAD, r=ckerschb
2017-11-15 18:16:29 +01:00
Andrea Marchesini
155b15b8e0
Bug 1414755 - Get rid of ContentPrincipalInfoOriginNoSuffix, r=bz, r=bkelly
...
This patch uses MozURL in ServiceWorkerRegistrar and in DBScheme to obtain the
origin of a URL. This is safe because the URL is always http/https/ftp.
It also changes the serialization of Principal in nsJSPrincipals in order to
pass the originNoSuffix together with the OriginAttributes and the spec.
2017-11-15 11:19:26 +01:00
Tom Tung
4e98cbf03e
Backed out changeset 9cf194a1ae45 (bug 1398167) for causing crash in assertion r=backout a=backout
...
--HG--
extra : amend_source : 44183a0a9edf179f12dd338f2008ade9dee4cdbd
2017-10-19 21:46:21 +08:00
Andrew Sutherland
e936592b39
Bug 1404344 - Part 2: DOM Cache API schema 57-56 downgrade support. r=bkelly
...
Alter 57 and 58 DOM Cache API to use an on-disk schema version of 25 again,
as was used prior to the landing of bug 1290481 that bumped the disk schema
version to 26. Patched versions will recognize this internally as schema 27
based on the presence of the column introduced by the 26 upgrade.
--HG--
extra : rebase_source : 03d6e361ef71de03e99bd27bc27a95ed65ecb846
extra : source : 523debab77daab9f69ca9ea19412c655e6d1e02f
2017-10-03 10:02:49 -04:00
Tom Tung
deed50af7d
Bug 1398167 - Remove the temporary fix for not upgrading shema version from 25 to 26. r=bkelly
2017-10-09 11:36:14 +08:00
Tom Tung
c3b6fcbefc
Bug 1398649: Capture the result from MigrateFrom25To26(). r=bkelly
...
MozReview-Commit-ID: DoVqSs53is5
--HG--
extra : rebase_source : 69aad8fae9821371bd0f47c6c13c961469199557
2017-09-11 14:57:06 +08:00
Tom Tung
fe80897097
Bug 1398043 - P2: Temporary fix for updating the existing response_padding_size to 0 when it's an opaque response with null padding size. r=bkelly
...
MozReview-Commit-ID: EKcUwqfTWvj
--HG--
extra : rebase_source : df3b416e8ff3763f37576c0a148dedcfe2f6afc4
2017-09-08 17:23:52 +08:00
Tom Tung
663a45bfc4
Bug 1398043 - P1: Add a space between strings concatenation. r=bkelly
...
MozReview-Commit-ID: mHQq4J2Kv6
--HG--
extra : rebase_source : 010819fecc690c1b8bfc456b6cc082110fa71c21
2017-09-08 15:56:53 +08:00
Tom Tung
67d7727ec0
Bug 1290481 - P9: Implement a function to get overall padding size for an origin from cache.sqlite. r=bkelly
...
MozReview-Commit-ID: KlVsaGhpABk
--HG--
extra : rebase_source : a6956325cfdf6f11a4bcf66d41b8d4706ae4e1e7
2017-07-18 18:58:56 +08:00
Tom Tung
280d7fa36c
Bug 1290481 - P3: Record padding size into cache.sqlite. r=bkelly
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : 2c53b2891cc6da4e1688bd7f93cf79314554e1f1
2017-07-10 16:54:20 +08:00
Tom Tung
c9e3e0f1c0
Bug 1290481 - P2: Upgrade the version of cache.sqlite to store opaque responses' padding size in SQLite. r=bkelly
...
MozReview-Commit-ID: 6poDeyErBjc
--HG--
extra : rebase_source : 5c9748ac9d4b269666f66bfb1661b095eb099bc1
2017-07-10 16:45:56 +08:00
Chris Peterson
fa7dea9295
Bug 1373525 - dom: Remove some unused member functions. r=billm
...
dom/asmjscache/AsmJSCache.cpp:371:3 [-Wunused-member-function] unused member function 'IsOnOwningThread'
dom/cache/DBSchema.cpp:303:3 [-Wunused-member-function] unused member function 'IdCount'
dom/filesystem/GetFilesHelper.cpp:26:3 [-Wunused-member-function] unused member function 'ReleaseRunnable'
dom/webbrowserpersist/WebBrowserPersistLocalDocument.cpp:298:10 [-Wunused-member-function] unused member function 'IsFlagSet'
MozReview-Commit-ID: 2A11iqF7u9X
--HG--
extra : source : abc07611c7cc994685cf151a47c90e3e9d3712a1
extra : intermediate-source : 44a7cfc31d995c50846aec3050514aea70ba2e2f
extra : histedit_source : 2ed361299e763d969619d3916ff20d9553d620f2
2017-06-11 15:34:21 -07:00
Sylvestre Ledru
d525178ff0
Bug 1368106 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines r=glandium
...
MozReview-Commit-ID: KOM35SQnoRh
--HG--
extra : rebase_source : 6ece3e3e7c287ef1bfc133470a8cd451f8e3971e
2017-05-26 18:53:35 +02:00
Andrea Marchesini
50f7937e84
Bug 1340163 - Introducing originNoSuffix as attribute in ContentPrincipalInfo, r=smaug
2017-03-20 16:03:45 +01:00
Sebastian Hengst
a472d9b04f
Backed out changeset 54a1f0cb64d9 (bug 1340163) for crashing e.g. in browser/components/originattributes/test/browser/browser_cacheAPI.js. r=backout
2017-03-20 15:38:19 +01:00
Andrea Marchesini
38c6ab4035
Bug 1340163 - Introducing originNoSuffix as attribute in ContentPrincipalInfo, r=smaug
2017-03-20 14:51:54 +01:00
Ben Kelly
7888480cbc
Bug 1341206 Relax Cache API schema version assertion since mismatches can happen in release profiles. r=asuth
2017-02-21 10:14:31 -05:00
Ben Kelly
8fbd3ec4ed
Bug 1322111 P4 Update the Cache API schema to account for new nsIContentPolicy type. r=asuth
2017-02-15 09:55:58 -05:00
Ben Kelly
0e176007bb
Bug 1322111 P1 Add TYPE_INTERNAL_WORKER_IMPORT_SCRIPTS content policy type. r=ckerschb
2017-02-15 09:55:58 -05:00
Ben Kelly
ace278d884
Bug 1331949 Make service worker and cache diagnostic assert code compile on beta. r=asuth
2017-01-19 08:11:41 -08:00
Andrea Marchesini
359ae91eac
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Ben Kelly
180d53d0e9
Bug 1328686 Add diagnostic assertions to dom/cache. r=asuth
2017-01-06 12:41:15 -08:00
Tom Tung
e1a074c2bc
Bug 1290933 - Part 1 - Cache API should not match() non-GET requests. r=bkelly.
...
--HG--
extra : rebase_source : 2fa5d05925c81441b912b226a04da600468fa5d6
2016-12-14 16:26:48 +08:00
Thomas Nguyen
b169621e2e
Bug 1264792 - Update request'referrer policy when redirect.r=bkelly,dragana.
...
MozReview-Commit-ID: 3V6W0fuRomZ
--HG--
extra : rebase_source : 4b708f9646ea42ef40c60ba0b7a86e14edf621e3
2016-11-14 15:15:32 +08:00
Tom Tung
a63de77d6a
Bug 1264178 - Part 1: Expose URL fragment to request but not response. r=bkelly
...
--HG--
extra : rebase_source : ee0cac184ac64b1fa9185f912753f10b61a55383
2016-11-07 10:16:34 +08:00
Jan Varga
d9df4039bf
Bug 768074 - A follow-up fix. Increase schema version of DOM cache databases to prevent a Cache with the data serialized using the newer snappy from trying to be opened in a firefox that only understands the older version; r=bkelly
2016-10-25 15:27:01 +02:00
Tim Huang
372ec56ff4
Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
2016-10-13 15:43:54 +08:00
Wes Kocher
2142de26c1
Backed out 8 changesets (bug 1277803) for browser-chrome test failures a=backout
...
Backed out changeset 477890efdb88 (bug 1277803)
Backed out changeset 49da326bfe68 (bug 1277803)
Backed out changeset 2d17a40a9077 (bug 1277803)
Backed out changeset b1cb0a195ca1 (bug 1277803)
Backed out changeset c7d82459d152 (bug 1277803)
Backed out changeset 3be9a06248af (bug 1277803)
Backed out changeset 8d119ca96999 (bug 1277803)
Backed out changeset be767a6f7ecd (bug 1277803)
2016-10-12 14:26:00 -07:00
Tim Huang
0ceca5575d
Bug 1277803 - Part 1 : Add a new ContentPolicy TYPE_INTERNAL_IMAGE_FAVICON for indicating a favicon loading. r=ckerschb
2016-10-12 17:32:03 +08:00
Tom Tung
a167b66e90
Bug 1187335 - P4 - Integrate fetch and cache with SRI & add nsIConsoleReportCollector to show console report. r=bkelly.
2016-09-07 10:20:23 +08:00
Chris Peterson
43c2748f66
Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
2016-07-08 14:39:53 -07:00
Andrew Sutherland
af016de2cb
Bug 1272436 - P0: Implement "only-if-cached" RequestCache mode. r=mayhemer, r=bkelly, r=bzbarsky for WebIDL change
...
The fetch spec has re-introduced "only-if-cached" mode which loads only from
the cache. There are privacy implications to this so for the time being it
is required that "same-origin" mode is used.
2016-06-08 12:10:15 -04:00
Ben Kelly
62ecdfc256
Bug 1093357 P3 Convert Cache to use IPCStream and AutoIPCStream. r=asuth
...
* * *
Bug 1093357 P3 interdiff 001 Use AutoIPCStream in dom/cache
2016-05-15 10:32:09 -07:00
Tom Tung
cbc57001d9
Bug 1271069 - caches.match with wrong name should resolve to undefined. r=bkelly
2016-05-11 09:52:48 +08:00