python/README
author Andrew Osmond <aosmond@mozilla.com>
Wed, 07 Feb 2018 07:27:27 -0500
changeset 402698 c657d87a001166bf42e47580c37919b8b018238d
parent 362879 ff64a7889c1fac56d48205fc2fad4eb5aa481a73
permissions -rw-r--r--
Bug 1383682 - Part 1. Split off imgRequestProxy notification deferrals for validation. r=tnikkel When cache validation is in progress, imgRequestProxy defers its notifications to its listener until the validation is complete. This is because the cache may be discarded, and the current state will change. It attempted to share the same flags with notification deferrals used by ProgressTracker to indicate that there is a pending notification, but this has problematic/confusing. Hence this patch creates dedicated flags for notification deferrals due to cache validation.

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Vendored python modules (use third_party/python instead)
* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243
https://bugzilla.mozilla.org/show_bug.cgi?id=1346025