Commit Graph

665351 Commits

Author SHA1 Message Date
Ed Lee
bd33349692 Bug 1571624 - Switch awsy tests to measure common case non-triplets new tab page r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D41752

--HG--
extra : moz-landing-system : lando
2019-08-13 18:15:04 +00:00
Lina Cambridge
65dfa84ccd Bug 1573305 - Remove the check for unmerged synced bookmark changes. r=markh
When a local or remote item changed, we'd potentially scan three tables
(with an expensive `LEFT JOIN`!) to check if anything changed...then
scan the same tables again to build the local and remote trees. This
check was originally meant to avoid unnecessary merges. However, the
bottleneck isn't merging now; it's reading from the database.

Since the merger has been rewritten in Rust, is synchronous, doesn't
keep a transaction open for the entire merge (see the
`total_sync_changes` check), and only emits ops for items that actually
changed, it's more efficient to build and merge optimistically, and
bail before applying if nothing changed.

This commit also moves `validateLocalRoots` into Rust.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:58:16 +00:00
Nicholas Nethercote
13a7295574 Bug 1573080 - Supporting indenting of directives in preprocessor.py. r=glandium
Depends on D41494

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:18:55 +00:00
Nicholas Nethercote
4e52c0f072 Bug 1573080 - Fix some incorrect preprocessor.py docs. r=glandium
As shown by python/mozbuild/mozbuild/test/test_preprocessor.py, whitespace is
allowed within expressions, and chained #if/#elif/#else sequences work as you'd
expect.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:20:04 +00:00
Jim Blandy
9adcf8310b Bug 1567313: Give Debugger reflection objects a non-static trace method. r=jorendorff
Replace the loosely-typed 'trace' static member functions with well-typed
non-static trace methods. These can be used by
DebuggerWeakMap::traceCrossCompartmentEdges, called from
Debugger::traceCrossCompartmentEdges.

To produce the plain (JSTracer*, JSObject*) functions still needed for
js::ClassOps::trace values, define a CallTraceMethod function template that does
the downcast to the most derived type, and then defers to the well-typed method.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:06:11 +00:00
Jeff Muizelaar
bfd40a4c0c Bug 1573682. Add FEATURE_D3D11_ANGLE to vendor whitelist ignore. r=jgilbert
This is needed to let WebRender run on ANGLE/WARP because we end up with
the Microsoft vendor.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 23:19:46 +00:00
Hiroyuki Ikezoe
ba1ce0580a Bug 1508177 - Use expanded layout viewport height to tell whether we need to render the vertical overlay scrollbar. r=tnikkel
In the previous commit, we expanded layout viewport height but during reflow
the expanded layout viewport size hasn't reflected in
ScrollReflowInput::mContentsOverflowAreas.ScrollableOverflow(). We explicitly
need to use the expanded height to tell whether we need vertical vertical
scrollbars or not.

Note that the expanded layout viewport height should NOT be used for non-overlay
scrollbars cases since, for example, if the content width is specified by
`width: 100%`, the non-overlay vertical scrollbar narrows down the content's
used width a little bit because of the vertical scrollbar width, which in turn
the minimum scale gets bigger because the content's width became bit narrower,
thus the layout viewport size calculated with the minimum scale gets smaller,
then it results the vertical scrollbar no longer needs to be rendered, thus
the minimum scale gets back to the original value, then the vertical scroll
needs to be rendered again, thus this sequence of processes happens repreatedly.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:38:01 +00:00
Hiroyuki Ikezoe
a2a3c33989 Bug 1508177 - Expand the minimum scale height even if the expanded area doesn't contain any contents. r=botond
As a result of the expansion, position:fixed elements are attached to the
expanded layout viewport.

The expanded value is used behind a pref which is enabled by default on nightly
initially, and the pref will be fliped in bug 1571599 on other channels.

scrollbars-in-landscape-content.html still fails since the vertical overlay
scrollbar doesn't appear since we are not yet using the expanded value during
reflow to tell whether we need overlay scrollbars or not.  This will be fixed
by the next commit.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:57 +00:00
Hiroyuki Ikezoe
10f4aacd62 Bug 1508177 - Reftests that check scrollbars are properly appeared by the difference between visual and layout viewports. r=botond,tnikkel
scrollbars-in-landscape-content.html doesn't fail on environments where we don't
use overlay scrollbars because scrollbars for the visual viewport are not
rendered there.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:54 +00:00
Hiroyuki Ikezoe
ccb7fd1a3f Bug 1508177 - Add reftests to make sure that expanded layout viewport areas that are initially out of the visual viewport are rendered by setting resolution. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D40767

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:50 +00:00
Hiroyuki Ikezoe
cd3330b737 Bug 1508177 - Add reftests to make sure we can scroll to expaned layout viewport areas where no content exists. r=botond
There needs a position:fixed element at the right bottom to make the test
failure without proper fixes.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:37:48 +00:00
Hiroyuki Ikezoe
9de322f0cf Bug 1508177 - Add reftests to make sure position:fixed elements are attached to the layout viewport even if the layout viewport contains no visible contents area. r=botond
position-fixed-on-half-height-content.html is a test case that the document's
layout viewport contains no visible contents area without scaling.

position-fixed-on-landscape-content.html is a test case that the document's
layout viewport will contain no visible contents area if the document is scaled
down to fit the document to screen size.

position-fixed-on-square-content.html is a test case that the document's layout
viewport will contain no visible contents ares if the document is scaled up to
fit the document to screen size.

The latter two cases currently fail.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:36:39 +00:00
Hiroyuki Ikezoe
483b329892 Bug 1508177 - Tests for various web exposed metrics on the content that the content height is shorter than the layout viewport height. r=botond
The values other than window.innerHeight in this test, visualViewport.height,
documentElement.scrollHeight and documentElement.getBoundingClientRect().height
are same as values on Chrome.  window.innerHeight value will be changed in
bug 1514429.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:36:25 +00:00
Hiroyuki Ikezoe
55cf8ccaed Bug 1508177 - Add an explicit "initial-scale=1,minimum-scale=1" meta viewport tag to avoid expanding scrollable area. r=botond
So that the vertical scrollbar on the root element doesn't accidentally appear
because of the expanding the scrollable area.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:36:11 +00:00
Cosmin Sabou
62a26df9c6 Backed out changeset 55df21f1b7d6 (bug 1566342) for causing build bustages on FuzzyLayer.cpp. CLOSED TREE 2019-08-14 02:20:11 +03:00
Cosmin Sabou
89547a4af6 Backed out 2 changesets (bug 1564359) for linting opt failure on dom/docs/Fission.rst.
Backed out changeset f967c8e7e6dd (bug 1564359)
Backed out changeset f4bbcf1ddadb (bug 1564359)
2019-08-14 02:18:58 +03:00
Connor Brewster
b5f999f5ff Bug 1178765 - Part 5: Add optimization to render task depth assignment r=gw,nical
Fixes an issue when backdrop-filter is used many time on a page where we would
spend a large amount of time reevaluating render tasks when assigning task depths.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:03:16 +00:00
Connor Brewster
ec29ea959d Bug 1178765 - Part 4: Force a display list rebuild when backdrop-filter pref is toggled r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D40665

--HG--
extra : moz-landing-system : lando
2019-08-13 22:03:04 +00:00
Connor Brewster
04d4ece0af Bug 1178765 - Part 3: Add backdrop-filter display items to Gecko r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D39099

--HG--
extra : moz-landing-system : lando
2019-08-13 22:02:57 +00:00
Connor Brewster
dbce0f3810 Bug 1178765 - Part 2: Implement backdrop-filter in WebRender r=gw
Differential Revision: https://phabricator.services.mozilla.com/D39098

--HG--
extra : moz-landing-system : lando
2019-08-13 22:02:44 +00:00
Connor Brewster
afa1fcbaed Bug 1178765 - Part 1: Add backdrop-filter WebRender display items r=gw
Differential Revision: https://phabricator.services.mozilla.com/D39097

--HG--
extra : moz-landing-system : lando
2019-08-13 22:02:37 +00:00
Charlie Marlow
ec37be04da Bug 1573242: fixed scaling issue for line thickness padding r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41616

--HG--
extra : moz-landing-system : lando
2019-08-13 22:40:45 +00:00
Karl Tomlinson
3cebe4550f Bug 1473463 remove unnecessary JSAutoRealm as realm is set by AutoEntryScript r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41341

--HG--
extra : moz-landing-system : lando
2019-08-12 11:50:42 +00:00
Karl Tomlinson
7d40632022 Bug 1473463 evaluate worklet scripts as modules without support for nested import r=baku
The separation of parse and evaluate steps permits implementation of behavior
on unhandled exception during evaluation that is different from that on
parsing error.

Implementation of fetching a complete module script graph is tracked in
https://bugzilla.mozilla.org/show_bug.cgi?id=1572644

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

--HG--
extra : moz-landing-system : lando
2019-08-13 11:10:23 +00:00
Karl Tomlinson
859de11460 Bug 1473463 use globalThis in worklet tests because |this| is undefined in toplevel module script r=baku
Differential Revision: https://phabricator.services.mozilla.com/D41338

--HG--
extra : moz-landing-system : lando
2019-08-12 11:46:02 +00:00
Charlie Marlow
78dafd3e0c Bug 1573218: fix scaling for padding between decoration lines and descenders in skip-ink r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D41615

--HG--
extra : moz-landing-system : lando
2019-08-13 21:48:44 +00:00
Charlie Marlow
693746ef3d Bug 1558929: adding from-font support to text-underline-offset and text-decoration-thickness r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D41476

--HG--
extra : moz-landing-system : lando
2019-08-13 17:43:25 +00:00
Mike Conley
4bd32c6a06 Bug 1564359 - Add in-tree documentation on how to port from the message manager to JSWindowActor messaging to be Fission-compatible. r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D40475

--HG--
extra : moz-landing-system : lando
2019-08-13 11:49:21 +00:00
Mike Conley
7c46cf3101 Bug 1564359 - Add additional detail to in-tree Fission documentation. r=jdai
Differential Revision: https://phabricator.services.mozilla.com/D40474

--HG--
extra : moz-landing-system : lando
2019-08-13 11:49:09 +00:00
Christian Holler
295a59729c Bug 1566342 - Implement changes for HTTP2 fuzzing in Necko. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D38182

--HG--
extra : moz-landing-system : lando
2019-08-13 22:00:57 +00:00
Mike Conley
bafcdd7e57 Bug 1567604 - Make VIDEO_PLAY_TIME_MS Telemetry probe opt-out. data-review=bmiroglio,r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D38744

--HG--
extra : moz-landing-system : lando
2019-08-13 17:23:12 +00:00
Michael Cooper
8e102b9293 Bug 1572578 - Convert AddonStudies migration to a general Normandy migration r=rdalal
Differential Revision: https://phabricator.services.mozilla.com/D41300

--HG--
extra : moz-landing-system : lando
2019-08-13 22:04:24 +00:00
Jeff Muizelaar
d637067186 Bug 1573645. Set the force-warp user pref before the others to avoid assertions. r=lsalzman
The user pref already takes precedent over the environment so there's no need
to run the code later. Further, we assert that environment values haven't been
set.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 21:21:22 +00:00
Mike Hommey
c53b03de07 Bug 1572986 - Link libmozavutil against libatomic when needed. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D41483

--HG--
extra : moz-landing-system : lando
2019-08-12 16:47:40 +00:00
sotaro
8ea107367c Bug 1569881 - Short term workaround for Intel GPU r=jrmuizel
When Windows version is mort than 1903 and GPU is intel GPU, it could cause flickering with DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL. See Bug 1556634. As a short term workaround, use DXGI_ALPHA_MODE_PREMULTIPLIED instead of DXGI_ALPHA_MODE_IGNORE at SwapChain.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 22:17:47 +00:00
Boris Zbarsky
52d02ac527 Bug 1573590. Make sure we're in the right compartment before serializing our stack in worker error reporting. r=bhackett
Nothing guarantees that the current compartment of aCx matches the compartment
where the exception was thrown.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 21:00:31 +00:00
Johann Hofmann
a76314c2b9 Bug 1573498 - Add SocialTracking.updateCategoryItem(). r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D41757

--HG--
extra : moz-landing-system : lando
2019-08-13 21:16:27 +00:00
Cosmin Sabou
85a8083871 Backed out 22 changesets (bug 1231213) for build bustages on /mozilla/Attributes.h CLOSED TREE
Backed out changeset 4a45f2c447fd (bug 1231213)
Backed out changeset bcb4d348a847 (bug 1231213)
Backed out changeset ae78ac86cc86 (bug 1231213)
Backed out changeset d681c92a7f05 (bug 1231213)
Backed out changeset 1ac9661e7fb4 (bug 1231213)
Backed out changeset 796c617b989f (bug 1231213)
Backed out changeset c46b31113adb (bug 1231213)
Backed out changeset ea7334da65d9 (bug 1231213)
Backed out changeset 6e9273940bf5 (bug 1231213)
Backed out changeset 7df0e0ff9a82 (bug 1231213)
Backed out changeset 12aba06d169c (bug 1231213)
Backed out changeset e7d6d8d64e8a (bug 1231213)
Backed out changeset 097a29f3ff9a (bug 1231213)
Backed out changeset 1b7169b75760 (bug 1231213)
Backed out changeset 0fd1fd7c3f06 (bug 1231213)
Backed out changeset 3d539eb7faff (bug 1231213)
Backed out changeset 419f9bb7be3c (bug 1231213)
Backed out changeset caede0e4e888 (bug 1231213)
Backed out changeset 778eade5085d (bug 1231213)
Backed out changeset a84b262ff6f8 (bug 1231213)
Backed out changeset 97328368da02 (bug 1231213)
Backed out changeset 9c845d7e3b29 (bug 1231213)
2019-08-14 00:10:48 +03:00
J.C. Jones
32759c8ed5 Bug 1573662 - Rename sanctions test routines to make it easier to add new ones r=keeler
1) Multipurpose-ing the TLSServer specialization to `SanctionsTestServer`
2) Renaming the `security/manager/ssl/tests/unit/test_symantec_apple_google` folder of certs to `test_sanctions`
3) Prepend a `symantec-` to the start of all relevant certs in the new `test_sanctions` folder
4) Renaming the existing xpcshell test to `test_sanctions_symantec_apple_google.js`

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

--HG--
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key => security/manager/ssl/tests/unit/test_sanctions/default-ee.key
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.key.keyspec => security/manager/ssl/tests/unit/test_sanctions/default-ee.key.keyspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem => security/manager/ssl/tests/unit/test_sanctions/default-ee.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/default-ee.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/default-ee.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/moz.build => security/manager/ssl/tests/unit/test_sanctions/moz.build
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-after-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-after-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-after-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-after-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-before-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-before-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-from-whitelist-before-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-from-whitelist-before-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-after-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-after-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-after-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-after-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-before-cutoff.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-before-cutoff.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/ee-not-whitelisted-before-cutoff.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-ee-not-whitelisted-before-cutoff.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other-crossigned.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other-crossigned.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other-crossigned.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other-crossigned.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-other.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-other.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-whitelisted.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-whitelisted.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/intermediate-whitelisted.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-intermediate-whitelisted.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/real-google-g2-intermediate.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-real-google-g2-intermediate.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/real-googlecom.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-real-googlecom.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/test-ca.pem => security/manager/ssl/tests/unit/test_sanctions/symantec-test-ca.pem
rename : security/manager/ssl/tests/unit/test_symantec_apple_google/test-ca.pem.certspec => security/manager/ssl/tests/unit/test_sanctions/symantec-test-ca.pem.certspec
rename : security/manager/ssl/tests/unit/test_symantec_apple_google.js => security/manager/ssl/tests/unit/test_sanctions_symantec_apple_google.js
rename : security/manager/ssl/tests/unit/tlsserver/cmd/SymantecSanctionsServer.cpp => security/manager/ssl/tests/unit/tlsserver/cmd/SanctionsTestServer.cpp
extra : moz-landing-system : lando
2019-08-13 20:59:17 +00:00
Frédéric Wang
0359ecb2de Bug 1572211 - Remove MathML imported mochitests. r=emilio
These are duplicate and out-of-date version of the following web platform tests:

testing/web-platform/tests/mathml/presentation-markup/fractions/frac-parameters-1.html
testing/web-platform/tests/mathml/presentation-markup/fractions/frac-parameters-2.html
testing/web-platform/tests/mathml/relations/css-styling/lengths-2.html

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

--HG--
extra : moz-landing-system : lando
2019-08-13 19:28:01 +00:00
Frédéric Wang
f4642f5b6d Bug 1572211 - Update test expectation for layout of mfrac elements without bar. r=emilio
Depends on D41189

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

--HG--
extra : moz-landing-system : lando
2019-08-13 15:05:24 +00:00
Frédéric Wang
74a90f08e6 Bug 1572211 - Do not rely on AxisHeight for the layout of mfrac elements without bar. r=emilio
AxisHeight is not involved in the layout of <mfrac> with zero linethickness:
https://mathml-refresh.github.io/mathml-core/#fraction-with-zero-line-thickness

Confirmed by Microsoft:
https://lists.w3.org/Archives/Public/public-mathml4/2019Aug/0019.html

See https://github.com/mathml-refresh/mathml/issues/123

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

--HG--
extra : moz-landing-system : lando
2019-08-13 15:05:26 +00:00
Frédéric Wang
a8ca8b2301 Bug 1573575 - Remove duplicate MathML tests for OpenType parameters. r=emilio
* All but the last parameter of test_opentype-limits.html are verified by
  mathml/presentation-markup/scripts/underover-parameters-1.html
* test_opentype-fraction.html is equivalent to
  mathml/presentation-markup/fractions/frac-parameters-1.html
  (however, fraction-1.otf is used by other tests).
* mathml/tests/test_opentype-radical.html is equivalent to
  mathml/presentation-markup/radicals/root-parameters-1.html
* test_opentype-scripts.html is equivalent to
  mathml/presentation-markup/scripts/subsup-parameters-1.html
* mathml/tests/test_opentype-stack.html is equivalent to
  mathml/presentation-markup/fractions/frac-parameters-2.html

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

--HG--
extra : moz-landing-system : lando
2019-08-13 19:29:26 +00:00
Nathan Froyd
b36d695f93 Bug 1573646 - avoid nsCOMPtr temporary in nsContentList::PopulateSelf; r=mccr8
Due to C++ rules about how the ternary `?:` operator works, the third
operand here was getting coerced to an `nsCOMPtr`, which was then
immediately destroyed.  We can avoid the refcounting traffic by making
the type of both operands match.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 20:33:21 +00:00
Lina Cambridge
19557885f6 Bug 1572615 - Abort bookmark merges that take longer than 5 minutes. r=markh
This commit introduces a new `Watchdog` class that signals an abort,
either after a delay or at shutdown, and wires up the buffered engine
to use it.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:48:25 +00:00
Lina Cambridge
af04508091 Bug 1572615 - Make bookmark merges abortable. r=markh
This commit changes `mozISyncedBookmarksMerger.merge` to return a
cancelable operation, and adds an abort `signal` option to
`SyncedBookmarksMirror.apply`. Aborting the signal's
`AbortController`, or finalizing the mirror, interrupts the merge.

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

--HG--
extra : moz-landing-system : lando
2019-08-13 18:48:10 +00:00
John Lin
656842376a Bug 1571586 - p3: return proper error when initializating. r=jya
Depends on D41106

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

--HG--
extra : moz-landing-system : lando
2019-08-13 04:51:33 +00:00
John Lin
752f10f4e3 Bug 1571586 - p2: set realtime properties when initializing. r=jya
With minor code cleanup.

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

--HG--
extra : moz-landing-system : lando
2019-08-08 22:51:54 +00:00
John Lin
8dd4e83f54 Bug 1571586 - p1: cast bitrate to correct type and set it when initializing. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D41105

--HG--
extra : moz-landing-system : lando
2019-08-08 22:55:12 +00:00
Dhyey Thakore
b768ed3d0f Bug 1573580 - Handle corner case which caused inline preview to stop working r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D41794

--HG--
extra : moz-landing-system : lando
2019-08-13 19:56:06 +00:00