Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
Go to file
Francois Marier 309a23afc3 Bug 1482950 - Use the correct 3rdparty check in tracking annotations. r=dimi,Ehsan,mayhemer!,ehsan!
The mIsTrackingResource flag on nsIHttpChannel was split into two separate
flags depending on whether or not the resource is third-party. The correct
flag will be set by the channel classifier. Similarly, a new function was
introduced, GetIsThirdPartyTrackingResource(), for those consumers (like TP)
who only care about third-party trackers.

The existing function, GetIsTracking(), will continue to look at both
first-party and third-party trackers (the behavior since first party
tracking was added to annotations in bug 1476324).

The OverrideTrackingResource() function now allows nsHTMLDocument to
override both mIsFirstPartyTrackingResource and
mIsThirdPartyTrackingResource, but since this function is a little dangerous
and only has a single user, I added an assert to make future callers think
twice about using it to opt out of tracking annotations.

Currently, only the default storage restrictions need to look at first-party
trackers so every other consumer has been moved to
mIsThirdPartyTrackingResource or GetIsThirdPartyTrackingResource().

This effectively reverts the third-party checks added in bug 1476715 and
replaces them with the more complicated check that was added in bug 1108017.
It follows the approach that Ehsan initially suggested in bug 1476715. It
also reverts the changes in the expected values of the tracking annotation
test since these were, in hindsight, a warning about this regression.

Depends on D3722

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

--HG--
extra : moz-landing-system : lando
2018-08-20 23:53:45 +00:00
.cargo Bug 1468950 - Update serde_derive patch for changes in WR PR 2819. r=Gankro 2018-06-21 08:15:40 -04:00
.vscode
accessible Bug 1484248 - Accessible name calculation from label content should include cells. r=surkov 2018-08-17 08:14:00 +03:00
browser Merge inbound to mozilla-central. a=merge 2018-08-21 01:00:01 +03:00
build Bug 1484473 - Add a cbindgen version check. r=firefox-build-system-reviewers,froydnj 2018-08-20 15:20:42 +00:00
caps Bug 1431255 - Part III, Create per-origin sandboxes from XPCJSRuntime and load UA widgets scripts r=bholley,jaws,sfink 2018-06-27 11:34:07 -07:00
chrome Bug 1479544. Remove nsIXULChromeRegistry::ReloadChrome. r=mossop 2018-08-03 15:14:43 +00:00
config Bug 1484503 - Ensure spidermonkey style check output is deterministic. r=jandem 2018-08-20 06:44:07 -04:00
db
devtools Backed out changeset fda28e376a50 (bug 1483166) for mochitest-chrome failures on devtools/shared/webconsole/test/test_jsterm.html. CLOSED TREE 2018-08-20 19:11:02 +03:00
docshell Bug 1423959 - Disable browser_loadURI.js on linux and osx. r=jmaher 2018-08-17 05:53:00 -04:00
dom Bug 1482950 - Use the correct 3rdparty check in tracking annotations. r=dimi,Ehsan,mayhemer!,ehsan! 2018-08-20 23:53:45 +00:00
editor Bug 1449564 - part 4: Make users can show Gecko specific editing UIs with new prefs r=m_kato 2018-08-16 13:51:36 +09:00
embedding
extensions Bug 1483541 - DeCOMtaminate nsAutoConfig; r=mkaply 2018-08-16 12:56:54 -04:00
gfx Bug 1482109 - Hook the memory pressure observer up with WebRender. r=sotaro 2018-08-20 15:23:54 +02:00
gradle/wrapper Bug 1476165 - Part 2: Update Android Gradle plugin to version 3.1.0. r=nalexander,snorp 2018-07-17 13:20:19 +01:00
hal Bug 1482753 - Introduce two macros to implement HAL observers handy. r=gsvelto 2018-08-13 10:57:50 +09:00
image Bug 1483765 - Fix the image cache key computation logic to only consider first-party storage access for third-party windows; r=smaug 2018-08-17 15:26:43 -04:00
intl Bug 1473340 - Use bulk_write() in encoding_glue. r=nika 2018-08-20 19:55:10 +00:00
ipc Bug 1361330 - Part 4: Core implementation; r=asuth 2018-08-20 14:33:03 +02:00
js Bug 1484394 - Remove two unused XPCOM component registrations from XPConnect; r=mccr8 2018-08-20 09:05:16 -04:00
layout Bug 1483649 - Do not skip display items for flattened effects in ContainerState::FindOpaqueBackgroundColorInLayer r=mattwoodrow 2018-08-20 20:29:09 +00:00
media Bug 1465617: (Speculative fix because STR are missing) Don't crash if no video send codecs are negotiated. r=mjf 2018-08-14 14:35:50 +00:00
memory Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj 2018-08-17 01:27:29 +09:00
mfbt Bug 1306642 - Backed out changeset 5bd8445b019f as final NSPR fix has landed. r=dmajor 2018-08-16 19:06:42 +09:00
mobile Merge inbound to mozilla-central. a=merge 2018-08-21 01:00:01 +03:00
modules Bug 1449564 - part 4: Make users can show Gecko specific editing UIs with new prefs r=m_kato 2018-08-16 13:51:36 +09:00
mozglue Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov 2018-07-05 15:42:11 +02:00
netwerk Bug 1482950 - Use the correct 3rdparty check in tracking annotations. r=dimi,Ehsan,mayhemer!,ehsan! 2018-08-20 23:53:45 +00:00
nsprpub Bug 1477680, land NSPR 4.20 beta snapshot 6e31156d7002, r=me 2018-08-15 22:10:18 +02:00
other-licenses Bug 1478568 part 1: Update IAccessible2 so we can use new roles (IA2_ROLE_BLOCK_QUOTE, etc.). r=MarcoZ 2018-07-27 10:27:44 +10:00
parser Bug 1480465: Infer the namespace for custom elements at definition time by following the class hierarchy. r=smaug 2018-08-15 10:31:16 +00:00
python Bug 1481178: Retry downloading chainOfTrust.json.asc in mach artifact toolchain; r=gps a=tomprince 2018-08-17 15:20:37 -06:00
security Bug 1484051 - Limit Mac Flash sandbox file-access mds rules r=Alex_Gaynor 2018-08-17 15:05:47 -07:00
services Bug 1483979 - Enable fxa commands r=markh 2018-08-17 17:56:52 +00:00
servo Bug 1484575 - Simplify PropertyDeclarationBlock::get a little. r=xidorn 2018-08-20 04:11:37 +00:00
startupcache
storage Bug 1348273 - Convert crash annotations into a machine-readable list of constants; r=ted.mielczarek,njn,dholbert,mak,cpearce,mcmanus,froydnj,Dexter,jrmuizel,jchen,jimm,bz,surkov 2018-07-05 15:42:11 +02:00
taskcluster Merge inbound to mozilla-central. a=merge 2018-08-21 01:00:01 +03:00
testing Merge inbound to mozilla-central. a=merge 2018-08-21 01:00:01 +03:00
third_party Bug 1480841 - Raptor support for running speedometer on geckoview r=jmaher 2018-08-17 18:06:22 +00:00
toolkit Bug 1459212 - Save memory reports for use in crash reports when low on memory r=dmajor,mccr8 2018-08-20 21:53:27 +00:00
tools bug 785922: Emit column numbers for JS frames and functions in the gecko profiler r=sfink,mstange 2018-08-17 19:45:39 +00:00
uriloader Bug 1482950 - Use the correct 3rdparty check in tracking annotations. r=dimi,Ehsan,mayhemer!,ehsan! 2018-08-20 23:53:45 +00:00
view
widget Bug 1484463 - Remove GeckoAppShell.setScreenDepthOverride(). r=jchen 2018-08-20 19:11:09 +00:00
xpcom Bug 1459212 - Save memory reports for use in crash reports when low on memory r=dmajor,mccr8 2018-08-20 21:53:27 +00:00
xpfe/appshell Bug 1479570. Get Add a getter to get a docshell from nsIWindowlessBrowser. r=kmag 2018-08-03 00:05:07 +00:00
.arcconfig
.clang-format
.clang-format-ignore
.cron.yml Bug 1477021 - Schedule pipfile updates to run once per week. r=sfraser 2018-07-27 15:12:36 +00:00
.eslintignore Bug 1481442 - Remove followonsearch system add-on. r=Standard8 2018-08-20 11:50:27 +00:00
.eslintrc.js Bug 1481932 - Fully enable ESLint rule mozilla/reject-requires-await. r=mossop 2018-08-11 07:27:35 +00:00
.flake8 Bug 1473951: Add infer to taskcluster and build. r=gps 2018-07-06 17:37:16 +01:00
.gdbinit
.gdbinit_python
.gitignore Bug 1475904 - Add .swp files (for open, unnamed vim buffers) to .gitignore. r=froydnj 2018-07-16 12:26:13 +10:00
.hgignore
.hgtags No bug - Tagging mozilla-central 4f6e597104dabedfecfafa2ab63dc79fd7f8bc7a with FIREFOX_NIGHTLY_62_END a=release DONTBUILD CLOSED TREE 2018-06-25 09:31:32 -07:00
.lldbinit Bug 1481555: Use lldb's python API to summarise nsAtoms. r=froydnj 2018-08-08 15:11:22 +00:00
.mailmap
.taskcluster.yml Bug 1470886 - only produce tasks for recognized tasks_for; r=tomprince 2018-07-03 18:07:42 +00:00
.yamllint
.ycm_extra_conf.py
aclocal.m4
AUTHORS Bug 1481409 - Use HTTPS protocol for Mozilla's Credits link in AUTHORS file r=mossop 2018-08-13 16:39:30 +00:00
build.gradle Backed out changeset d3978309484a (bug 1480920) For Android build bustages CLOSED TREE 2018-08-09 23:59:05 +03:00
Cargo.lock Bug 1484459: Update num-traits in style. r=me 2018-08-18 19:07:05 +02:00
Cargo.toml Bug 1474871 - Link dump_syms against rustc-demangle. r=ted 2018-07-12 10:23:12 +09:00
client.mk
client.py
CLOBBER Bug 1346211 - Part 7: Clobber after modifying ICU data file. r=clobber 2018-08-17 14:30:37 -07:00
configure.in
configure.py
GNUmakefile
gradle.properties
gradlew
LEGAL
LICENSE
mach
Makefile.in Bug 1473821 - The MOZ_PGO_INSTRUMENTED environment variable is not used anymore so remove all remaining mentions of it r=gps 2018-08-17 16:40:10 +00:00
moz.build
moz.configure Bug 1481340 - Don't generate combinations of make and tup backends in configure. r=gps,firefox-build-system-reviewers 2018-08-10 22:30:35 +00:00
mozilla-config.h.in
old-configure.in Bug 1484184 - Remove now unused _RAISE macro check to deal with MSVC 2017 15.8. r=froydnj 2018-08-17 01:27:29 +09:00
package-lock.json Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop 2018-08-07 14:46:19 +00:00
package.json Bug 1456078 - Upgrade ESLint to version 5.3.0, and eslint-plugin-html to 4.0.5. r=mossop 2018-08-07 14:46:19 +00:00
Pipfile bug 1461992 - update vendored copy of voluptuous to 0.11.5. r=gps 2018-08-06 06:45:33 -04:00
Pipfile.lock bug 1461992 - update vendored copy of voluptuous to 0.11.5. r=gps 2018-08-06 06:45:33 -04:00
README.txt
settings.gradle
test.mozbuild

An explanation of the Mozilla Source Code Directory Structure and links to
project pages with documentation can be found at:

    https://developer.mozilla.org/en/Mozilla_Source_Code_Directory_Structure

For information on how to build Mozilla from the source code, see:

    https://developer.mozilla.org/en/docs/Build_Documentation

To have your bug fix / feature added to Mozilla, you should create a patch and
submit it to Bugzilla (https://bugzilla.mozilla.org). Instructions are at:

    https://developer.mozilla.org/en/docs/Creating_a_patch
    https://developer.mozilla.org/en/docs/Getting_your_patch_in_the_tree

If you have a question about developing Mozilla, and can't find the solution
on https://developer.mozilla.org, you can try asking your question in a
mozilla.* Usenet group, or on IRC at irc.mozilla.org. [The Mozilla news groups
are accessible on Google Groups, or news.mozilla.org with a NNTP reader.]

You can download nightly development builds from the Mozilla FTP server.
Keep in mind that nightly builds, which are used by Mozilla developers for
testing, may be buggy. Firefox nightlies, for example, can be found at:

    https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
            - or -
    https://www.mozilla.org/firefox/channel/desktop/#nightly