gecko-dev/devtools/shared
Dana Keeler 18e9f3ba80 bug 1564481 - reset HSTS/HPKP state to factory settings rather than storing knockout entries for preloaded sites r=jcj r=KevinJacobs
As originally implemented, nsISiteSecurityService.removeState allowed direct
access to remove HSTS state. It also provided the implementation for when the
browser encountered an HSTS header with "max-age=0". In bug 775370, it was
updated to store an entry that would override preloaded information when
processing such headers. However, this meant that the semantics of the direct
access API had changed. Preloaded information could be overridden if a user
invoked the "forget about this site" feature. This change fixes the public API
(and renames it to "resetState") so it actually behaves as its consumers expect.

Reviewers: jcj!, KevinJacobs!

Tags: #secure-revision

Bug #: 1564481

Differential Revision: https://phabricator.services.mozilla.com/D38108

--HG--
extra : rebase_source : 8dd5460d3fd3c0ce92746cc83fae220d6e2a83cf
extra : amend_source : 171ebb015e9f9ae775f0caa22e161d41970f3d51
2019-07-11 13:48:28 -07:00
..
acorn Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
adb Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes 2019-07-11 17:08:20 +00:00
client Bug 1406915 - Convert uses of defer to DOM promises in devtools/shared/client/. r=jdescottes 2019-07-12 14:37:29 +00:00
css Bug 1478156 - Make color picker tooltip screen reader accessible, r=yzen,gl 2019-07-15 11:01:04 +00:00
discovery Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
fronts Bug 1554701 - Replace CssProperties.isValidOnClient() with CSS.supports() r=gl 2019-07-12 15:28:29 +00:00
heapsnapshot Bug 1565175 - Fix HeapSnapshotHandler to not add nodes to |visited| until they're written to the core dump. r=fitzgen 2019-07-11 18:41:43 +00:00
inspector Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
jsbeautify Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
layout Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
locales Bug 1562194 - update <optgroup> text label audit rules and only keep the text label for optgroup from label rule. r=nchevobbe,fluent-reviewers,flod 2019-07-04 15:16:57 +00:00
node-properties
performance Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
platform Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
preferences Bug 1552116 - Move devtools.inspector.inactive.css.enabled to devtools shared preferences r=miker 2019-05-16 09:58:43 +00:00
protocol Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
qrcode Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
screenshot Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
security Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
specs Bug 1559819 - rename threadClient to threadFront; r=jdescottes 2019-07-11 09:45:32 +00:00
sprintfjs
test-helpers Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
tests Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes 2019-07-11 17:08:20 +00:00
transport Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
webconsole bug 1564481 - reset HSTS/HPKP state to factory settings rather than storing knockout entries for preloaded sites r=jcj r=KevinJacobs 2019-07-11 13:48:28 -07:00
worker Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes 2019-07-11 17:08:20 +00:00
.eslintrc.js
DevToolsUtils.js Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes 2019-07-11 17:08:20 +00:00
Loader.jsm Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
Parser.jsm Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
ThreadSafeDevToolsUtils.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
accessibility.js Bug 1478156 - Move shared code to be used by color contrast feature, r=yzen,gl 2019-07-15 11:01:03 +00:00
async-storage.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
async-utils.js
base-loader.js Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes 2019-07-11 17:08:20 +00:00
builtin-modules.js Bug 1543023 - Use ChromeUtils.import only with one argument in all /devtools/ r=jdescottes 2019-07-11 17:08:20 +00:00
constants.js Bug 1562194 - update <optgroup> text label audit rules and only keep the text label for optgroup from label rule. r=nchevobbe,fluent-reviewers,flod 2019-07-04 15:16:57 +00:00
content-observer.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
debounce.js Backed out changeset 3c2a368a4c8b (bug 1552464) for xpcshell failures on test_rotate_viewport.js on a CLOSED TREE 2019-05-22 14:57:46 +03:00
defer.js Bug 1388054 - Stop using Promise.jsm from devtools/shared/defer. r=jryans 2019-07-14 19:46:32 -07:00
dom-node-constants.js
dom-node-filter-constants.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
event-emitter.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
execution-point-utils.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
extend.js
flags.js Backed out 2 changesets (bug 1544976) for causing xpcshell failures in devtools/client/memory/test/unit/test_action_diffing_02.js. a=backout 2019-04-30 04:37:53 +03:00
generate-uuid.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
indentation.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
indexed-db.js Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb 2019-07-08 16:37:45 +00:00
jar.mn
l10n.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
loader-plugin-raw.jsm Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin 2019-02-12 16:08:25 +00:00
moz.build Bug 1478156 - Move shared code to be used by color contrast feature, r=yzen,gl 2019-07-15 11:01:03 +00:00
multi-e10s-helper.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
path.js
plural-form.js Bug 1340971 - Use proper plural form in editor.searchResults and sourceSearch.resultsSummary1 r=davidwalsh,flod 2019-06-11 19:25:15 +00:00
protocol.js Bug 1560445 - Extract classes from protocol.js. r=yulia 2019-06-26 15:53:20 +00:00
system.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
task.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00
throttle.js
wasm-source-map.js Bug 1561435 - Format remaining devtools/, a=automatic-formatting, CLOSED TREE 2019-07-05 11:29:32 +02:00