The sNPObjWrappers table can contain entries for dead JSObjects that have not yet been finalised. We need to take care not to trigger mJSObj's read barrier for such entries since that will attempt to expose the object to JS and cause this assertion.
The patch does this by calling unbarrieredGetPtr() which avoids the barrier.
Note converting a TenuredHeap to bool and testing equality against a pointer don't trigger the barrier.
Currently ChooseScaleAndSetTransform calls
ComputeDesiredDisplaySizeForAnimation to ensure that the scale chosen
for an individual transform's animation does not result in a layer too
large. However, it does not take in to account the scale chosen for
ancestors. This means that when lots of containers with reasonable
scales are nested we end up with too large a value. This change takes
the incoming scale in to account, meaning the resulting layer size is
capped appropriately.
MozReview-Commit-ID: MTzlMnOARQ
--HG--
extra : rebase_source : 3637ac0a36d5a583826e5f82c443f06275cc1b51
This commit also adds a test for secureConnectionStart which was missing, and rewords
the error messages to be more readable when reviewing test failures.
MozReview-Commit-ID: LpkRGe81eq1
--HG--
extra : rebase_source : c2ab870cd6e8e215353d3695b8ba112863826877
This pref does not override privacy.resistFingerprinting, but when it is set (and
privacy.resistFingerprinting is not) we will still adjust the precision of almost
all timers. The adjustment amount is the second pref, which is defaulted to
20us but now dynamically adjustable (in the scale of microseconds.)
This patch does _not_ address the performance API, which privacy.resistFingerprinting
disables.
We are landing this preffed on at the current value we clamp performance.now() at
which is 20us.
MozReview-Commit-ID: ESZlSvH9w1D
--HG--
extra : rebase_source : a8afead1bdba958c6c7b383b2216dacb3a1b135c
This replaces the eslintvalidate hooks with an error message
prompting the user to upgrade to tools/lint/hooks.py.
The reasons for deprecating eslintvalidate are twofold:
1) It only runs eslint, so developers might miss errors from
other linters.
2) It isn't as well maintained, and I've started to see
reports of problems in the wild. It doesn't make sense to
maintain two sets of hooks that do the same thing.
MozReview-Commit-ID: CseeVIof2om
--HG--
extra : rebase_source : e859c368d14cd1bf7e7d85f0de5bbb89e88402d9
https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815(v=vs.85).aspx
Relax the resolution limitation from "width <= 4096 and height <= 2304" to "any width and height combination as long as the total pixel count is under 4096x2304".
MozReview-Commit-ID: 5wHiJfLaJkp
--HG--
extra : rebase_source : 11bf99d0eb3b50ea0199a7f65e0491e43318d29c
Make the clipboard data getter function more explicitly named and also create a counterpart to release clipboard data.
MozReview-Commit-ID: 3pWsQgCFDuG
--HG--
extra : rebase_source : c4eae554f5a24d998801550ac91b0859ac8e116e
For draw target, the initial clip region should be the draw target's size.
MozReview-Commit-ID: 2z2EobkYFs2
--HG--
extra : rebase_source : 9631cf189330b089992b8458113800ea9a3fd4a0
- WebVR will continue to be enabled on macOS for Nightly
and Dev Edition
MozReview-Commit-ID: LpEX13yZVbb
--HG--
extra : rebase_source : 07b93a9f0cbb57fb00f17404f0cf4a37f78f6a5c