The basic idea here is as follows:
* Rule nodes are reference-counted, but releasing them adds them to a linked
list rather than freeing them. This allows for the reuse that motivated the
original GC scheme.
* We get rid of the marking, and instead rely on the reference count.
* Sweeping no longer requires a complicated traversal. We just pop items
off the free list until it's empty. When a child is destroyed, its parent
may go onto the free list.
* We remove special handling for the root node, and use a regular reference-counted
edge from the style set.
* The free list automatically asserts that it's empty (meaning all nodes have been
freed) in its destructor, which runs when the style set is destroyed.
* We get rid of the list of style context roots on the style set. We still need
a count though, because of the HasCachedStyleData check.
disableglobalhistory is an attribute that we support on <xul:browser> that
can be used to signal to the underlying DocShell whether or not it should
record visits in global history.
This patch adds support for this attribute by detecting it at the time
that the TabParent is bound to the browser, and then sending the presence
of the attribute to the TabChild, which then sets the state in its DocShell.
MozReview-Commit-ID: 9miKtdotTho
--HG--
extra : rebase_source : 542fda3be4ae863dd780a02012e45d446310cf09
extra : source : 28e2799f016719e083c16d94f8cfd6a5d56a3650
The command helpfully downloads a docker image created by a taskcluster task,
which can be helpful when trying to replicate subtle bugs that only occur
in-tree.
This also fixes a bug in hashing Dockerfile directories, where the full
pathname was taken into account. While this pathname is consistent from
decision task to decision task, it is not consistent with developers' home
directories. This change omits the directory prefix, which will cause a
one-time shift in all directory hashes.
MozReview-Commit-ID: EamQzUGG5qY
--HG--
extra : rebase_source : 9f35ddd7599bc622a8490133d4fdd1b80e58cb7f
extra : amend_source : 20c5511287d748c44285a3bdebca6e3976b27431
Also, remove no longer used code and update comments to properly reflect the current algorithms used.
MozReview-Commit-ID: GwsGC70xM85
--HG--
extra : rebase_source : 2c1a2cd449eac243d8e3d77cc1bf80c2adc64cdf
20MB appears to work, but just to be safe until we get confirmation from YouTube on what is a safe value to use.
MozReview-Commit-ID: BnGaVLeCRJ5
--HG--
extra : rebase_source : 6333dd4c8dbd6f846344218dd50124797fc5cb23
Bug 1216460 introduced a regression which would cause to always evict from both ends of the current track buffer.
MozReview-Commit-ID: 4f01tNQ2KU8
--HG--
extra : rebase_source : 7da96fc1cbca03d60705fce681ee9259dd81d173