author Tim Huang <tihuang@mozilla.com>
Thu, 15 Jun 2017 16:48:27 +0800
changeset 364451 61e7a2279d8170c67c80fa3eee9c846ff0851ab5
parent 362879 ff64a7889c1fac56d48205fc2fad4eb5aa481a73
child 369227 522ed11f6fc1920d37486ac810a6cafd7d7141c5
permissions -rw-r--r--
Bug 1369303 - Part 2: Marking the performance timing API always reports 0 and the access of resource timing and user timing becomes NOP when 'privacy.resistFingerprinting' is true. r=arthuredelstein,baku This patch is going to neutralize the threat of fingerprinting of performance API by spoofing the value of performance timing into 0, making getEntries* functions always returns an empty list and making mark() and measure() into NOP methods. In addition, this patch changes nsContentUtils::ShouldResistFingerprinting() to allow it can be called in both main thread and worker threads. MozReview-Commit-ID: C8Jt7KEMe5e

# .hgignore - List of filenames hg should ignore

# Filenames that should be ignored wherever they appear

# Vim swap files.

# Emacs directory variable files.

# User files that may appear at the root

# Empty marker file that's generated when we check out NSS

# Build directories

# gecko.log is generated by various test harnesses

# Build directories for js shell

# SpiderMonkey configury
# SpiderMonkey test result logs
# SpiderMonkey clone of the webassembly spec repository

# Java HTML5 parser classes

# SVN directories

# Ignore the files and directory that Eclipse IDE creates

# Ignore the files and directory that JetBrains IDEs create.

# Gradle cache.

# Local Gradle configuration properties.

# Python stuff installed at build time.

# Git repositories

# Ignore chrome.manifest files from the devtools loader

# Ignore node_modules directories in devtools

# git checkout of libstagefright

# Tag files generated by GNU Global

# Git clone directory for updating web-platform-tests

# Third party metadata for web-platform-tests

# Android Gradle artifacts.

# XCode project cruft

# Ignore mozharness execution files

# Ignore tox generated dir

# Ignore ESLint node_modules

# Ignore talos virtualenv and tp5n files.
# The tp5n set is supposed to be decompressed at
# testing/talos/talos/tests/tp5n in order to run tests like tps
# locally. Similarly, running talos requires a Python package virtual
# environment. Both the virtual environment and tp5n files end up littering
# the status command, so we ignore them.

# Ignore files created when running a reftest.

# tup database

# Ignore Visual Studio Code workspace files.


# Ignore Infer output