Commit Graph

673736 Commits

Author SHA1 Message Date
Jonathan Kew
02d0612b29 Bug 1584143 - Don't try to reinitialize platform font list from GetDefaultFont() if we're not on the main thread. r=jwatt
This can happen if we need to use gfxFontGroup::GetDefaultFont() during stylo traversal,
but we initially failed to create the required font because the font list is stale.
In this case, use a "last-resort" default font entry as a stopgap until the font list
update is completed.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 09:49:04 +00:00
Alexander Surkov
e670b51391 Bug 1582590 - Clean up unused <textbox type='autocomplete'> platform code. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D46541

--HG--
extra : moz-landing-system : lando
2019-10-03 11:18:53 +00:00
Henri Sivonen
7a5fa0c5d6 Bug 1585553 - s/wchar_t/char16_t/ for a variable always initialized from char16_t. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D48050

--HG--
extra : moz-landing-system : lando
2019-10-03 10:53:39 +00:00
Simon Giesecke
f613089077 Bug 1168606 - Do not use memutils for nsTArray of IndexCursorResponse. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D43460

--HG--
extra : moz-landing-system : lando
2019-10-03 07:57:04 +00:00
Simon Giesecke
840f75da74 Bug 1168606 - Replaced custom for loops by range-based for or STL algorithms. r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D44988

--HG--
extra : moz-landing-system : lando
2019-10-03 07:56:57 +00:00
Simon Giesecke
cd0b6f05a1 Bug 1168606 - Use const where easily possible. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43631

--HG--
extra : moz-landing-system : lando
2019-10-03 07:56:45 +00:00
Simon Giesecke
16d87d7487 Bug 1168606 - Avoid copying keys on cursor creation. r=ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D43470

--HG--
extra : moz-landing-system : lando
2019-10-03 07:56:32 +00:00
Paul Adenot
caeda6396a Bug 1585671 - Add a WPT to test that the delayTime of a DelayNode in a cycle is clamped to 128 samples. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D47931

--HG--
extra : moz-landing-system : lando
2019-10-03 10:02:56 +00:00
Paul Adenot
e3c57d2f68 Bug 1585671 - Add a WPT to test the minimum duration of cycles with a DelayNode in a feedback loop. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D47930

--HG--
extra : moz-landing-system : lando
2019-10-03 10:04:04 +00:00
Paul Adenot
b1a153a7be Bug 1585671 - Add a WPT to test that cycles without DelayNodes are muted. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D47929

--HG--
extra : moz-landing-system : lando
2019-10-03 10:03:58 +00:00
Perry Jiang
5b28c5606d Bug 1581187 - only shutdown remote Service Workers on browser shutdown r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D48044

--HG--
extra : moz-landing-system : lando
2019-10-03 09:58:46 +00:00
Victor Porof
48062bb200 Bug 1584446 - Add an rkv fuzzing test for bug mdb_cursor_put, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D47396

--HG--
extra : moz-landing-system : lando
2019-10-02 15:17:13 +00:00
Tom Tung
9f89b08062 Bug 1577311 - Close the stream if there is a failure during the creation; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D47118

--HG--
extra : moz-landing-system : lando
2019-10-02 07:58:10 +00:00
Andreea Pavel
ab6c3faf7b Backed out changeset bf0900c02d78 (bug 1577508) for build bustages on a CLOSED TREE 2019-10-03 12:43:21 +03:00
Andy Wingo
c468ba3c9f Bug 1577508 - Allow WebAssembly blocks to return multiple values r=luke
Differential Revision: https://phabricator.services.mozilla.com/D43977

--HG--
extra : moz-landing-system : lando
2019-10-03 08:08:14 +00:00
Matthew Gregan
802e12a38b Bug 1585843 - Don't try to reject disconnected promise in AudioSink::Errored. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D48002

--HG--
extra : moz-landing-system : lando
2019-10-03 07:32:29 +00:00
Shobhit
019cbfbddf Bug 1581799 - fix: disable node or color picker when one is on r=pbro
Before this fix the user could turn on both, the color picker as well as the node picker / inspector.
That leads to the problem where in the node picker works fine but the color picker gets stuck at the
same place on the screen.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 09:03:07 +00:00
Oana Pop Rus
4c353ccfd5 Backed out 2 changesets (bug 1584695, bug 1584751) for Assertion failures at at /builds/worker/workspace/build/src/xpcom/threads/BlockingResourceBase.cpp on a CLOSED TREE
Backed out changeset fac79eb65900 (bug 1584751)
Backed out changeset dd5211c4ded2 (bug 1584695)
2019-10-03 11:38:45 +03:00
Daosheng Mu
c977970308 Bug 1584786 - Checking VR chaperone in OpenVRSession::Shutdown(). r=imanol
Differential Revision: https://phabricator.services.mozilla.com/D47810

--HG--
extra : moz-landing-system : lando
2019-10-03 07:53:52 +00:00
Vincent Lequertier
edeb69f1ad Bug 1566527 - Hide the waterfall column when the netmonitor sidebar is opened;r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D45139

--HG--
extra : moz-landing-system : lando
2019-10-03 08:04:39 +00:00
Nico Grunbaum
a9ee1a3154 Bug 1584751 - Only open DataChannelConnections that aren't already open; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D47691

--HG--
extra : moz-landing-system : lando
2019-10-03 04:56:26 +00:00
Nico Grunbaum
294e97c17a Bug 1584695 - Place DataChannelConnection connection state behind an accessor - r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D47690

--HG--
extra : moz-landing-system : lando
2019-10-03 04:56:18 +00:00
Mats Palmgren
6ccb338227 Bug 1583660 - Reinstate default background color / size for -moz-range-track on Android. r=jwatt
This reverts the changes from bug 1481593 / bug 1317870 which broke
the default rendering on Android only (since it doesn't have
a native theme for <input type=range>).

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

--HG--
extra : moz-landing-system : lando
2019-10-02 21:04:32 +00:00
Mark Hammond
47380e1a34 Bug 1581980 - change the text of many Sync notifications so they aren't Sync specific. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47853

--HG--
extra : moz-landing-system : lando
2019-10-03 05:52:58 +00:00
Mark Hammond
05cd605b1a Bug 1585428 - update FxA toolbar heading from 'Manage Account' to 'Settings'. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47852

--HG--
extra : moz-landing-system : lando
2019-10-03 05:36:16 +00:00
Tim Nguyen
016c4ccd5b Bug 1514926 - Followup: remove now unused arrowscrollbox check from MayNeedToLoadXBLBinding. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D48023

--HG--
extra : moz-landing-system : lando
2019-10-03 04:49:15 +00:00
Emilio Cobos Álvarez
c863ef674b Bug 1585819 - Somewhat dubiously appease the hazard analysis. r=bustage
It was complaining about

  "unrooted '<returnvalue>' of type 'JSObject*' live across GC call at dom/base/Element.cpp:588"

Where the GC call is:

Function '_ZN7mozilla3dom7Element10WrapObjectEP9JSContextN2JS6HandleIP8JSObjectEE$JSObject* mozilla::dom::Element::WrapObject(JSContext*, JS::Handle<JSObject*>)' has unrooted '<returnvalue>' of type 'JSObject*' live across GC call '_ZN6RefPtrI12nsXBLBindingED1Ev$RefPtr<T>::~RefPtr() [with T = nsXBLBinding]' at dom/base/Element.cpp:588
    Element.cpp:588: Assign(64,65, return := __temp_29**)
    Element.cpp:588: Call(65,66, binding.~__dt_comp ()) [[GC call]]
    Element.cpp:588: Call(66,67, principal.~__dt_comp ())
    Element.cpp:588: Call(67,68, uri.~__dt_comp ())
    Element.cpp:588: Call(68,69, style.~__dt_comp ())
    Element.cpp:588: Call(69,70, obj.~__dt_comp ())
    Element.cpp:589:  [[end of function]]
GC Function: _ZN6RefPtrI12nsXBLBindingED1Ev$RefPtr<T>::~RefPtr() [with T = nsXBLBinding]
    RefPtr<T>::~RefPtr() [with T = nsXBLBinding] [[base_dtor]]
    static void RefPtr<T>::ConstRemovingRefPtrTraits<U>::Release(U*) [with U = nsXBLBinding; T = nsXBLBinding]
    static void mozilla::RefPtrTraits<U>::Release(U*) [with U = nsXBLBinding]
    uint32 nsXBLBinding::Release()
    uint64 nsCycleCollectingAutoRefCnt::decr(void*, nsCycleCollectionParticipant*, uint8*) [with void (* suspect)(void*, nsCycleCollectionParticipant*, nsCycleCollectingAutoRefCnt*, bool*) = NS_CycleCollectorSuspect3; uintptr_t = long unsigned int]
    NS_CycleCollectorSuspect3
    nsCycleCollector.cpp:void SuspectAfterShutdown(void*, nsCycleCollectionParticipant*, nsCycleCollectingAutoRefCnt*, uint8*)
    nsCycleCollectionParticipant.DeleteCycleCollectable
    void nsIContent::cycleCollection::DeleteCycleCollectable(void*)
    nsIContent.DeleteCycleCollectable
    unresolved nsIContent.DeleteCycleCollectable

I don't think the analysis is right since the Rooted<> thing will go out of the
scope after the RefPtr.

MANUAL PUSH: Bustage fix for broken (I think) analysis
2019-10-03 06:38:22 +02:00
Brian Grinstead
34fa4fa528 Bug 1514926 - Convert the arrowscrollbox binding to a Custom Element r=dao
This uses Shadow DOM slotting instead of XBL, and migrates styles from
using XBL anonymous traversal to using CSS Shadow Parts.

This also removes the basecontrol binding, since this was the last
binding to extend it.

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

--HG--
rename : toolkit/content/widgets/scrollbox.xml => toolkit/content/widgets/arrowscrollbox.js
extra : moz-landing-system : lando
2019-10-03 04:21:15 +00:00
Dorel Luca
d1c4f9139e Backed out changeset 5e221240fc1d (bug 1514926) for mochitest failures in browser/tools/mozscreenshots/primaryUI/browser_primaryUI.js
--HG--
rename : toolkit/content/widgets/arrowscrollbox.js => toolkit/content/widgets/scrollbox.xml
2019-10-03 06:08:18 +03:00
Coroiu Cristina
e1c578961a Backed out changeset 631ae4f7da71 (bug 1585428) for browser-chrome failures at browser/base/content/test/sync/browser_sync.js 2019-10-03 05:51:33 +03:00
Emilio Cobos Álvarez
d4d8e98bd6 Bug 1585819 - Restrict loading XBL bindings from WrapObject to the little amount of XUL elements that remain with bindings. r=bzbarsky
People keep shooting themselves in the feet because of this codepath and writing
slow code.

There are just a few elements with bindings left, so just check those.

Also simplify a bit the code. The XUL element + tagname check should be pretty
fast now, and ComputedStyle objects no longer keep weak pointers to pres
contexts and such, so can be safely kept on a RefPtr across an style flush.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 02:31:16 +00:00
Emilio Cobos Álvarez
c09aa065ce Bug 1585818 - Don't check for <html:object> or <html:embed> in MayNeedXBLBinding. r=bzbarsky
They no longer load bindings since quite a while ago.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 02:34:30 +00:00
Mark Hammond
51a55ec4ba Bug 1585299 - ensure only 1 fxaccounts:onverified notification when a new account verifies. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D47861

--HG--
extra : moz-landing-system : lando
2019-10-03 01:18:09 +00:00
Dorel Luca
4ce638ade8 Backed out changeset 343178f58cf9 (bug 1581980) for Eslint failure on gecko/browser/components/BrowserGlue.jsm. CLOSED TREE 2019-10-03 04:47:43 +03:00
Glenn Watson
611160e516 Bug 1585240 - Add a composite code path for picture cache tiles. r=kvark
Previously, picture cache tiles were added to normal batches, and drawn
via the brush_image shader. Since all content is now in picture cache
tiles, we can instead draw the tiles via a separate code path. The tiles
for all picture caches are collected into a single composite config, that
is stored in the Frame structure. These two changes provide a number of
advantages:

 * The composite shader is very simple - it doesn't need to deal with
   transforms, anti-aliasing, repetition etc.
 * Since we create the tile batches in render(), rather than in the
   backend, we can take advantage of information not available until
   the render() call. For example, Gecko will provide information here
   when the partial presentation rects need to be reset. This will be
   used to enable partial presentation parameters on Windows.
 * In future, we can access this list of tiles to be composited, and use
   them to configure the OS compositor integration, and hand the tiles
   directly to the OS compositor.
 * In future, we can apply global optimizations to the set of picture
   cache tiles (e.g. occlude background tiles on CPU to skip paying
   the z-reject cost of drawing them).
 * In future, we can take advantage of the simpler composite path
   for software rasterizer implementations.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 01:14:42 +00:00
Mark Hammond
534414ccc2 Bug 1585428 - update FxA toolbar heading from 'Manage Account' to 'Settings'. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47852

--HG--
extra : moz-landing-system : lando
2019-10-03 01:24:20 +00:00
Mark Hammond
15dc6a8aae Bug 1585426 - remove heading from 'choose what to sync' dialog. r=eoger,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D47850

--HG--
extra : moz-landing-system : lando
2019-10-02 14:41:29 +00:00
Mark Hammond
b96fbe7716 Bug 1581980 - change the text of many Sync notifications so they aren't Sync specific. r=flod,eoger
Differential Revision: https://phabricator.services.mozilla.com/D47853

--HG--
extra : moz-landing-system : lando
2019-10-03 01:21:45 +00:00
Eitan Isaacson
cc288d94bb Bug 1582619 - Return DocAccessible if doc root element is passed to GetAccessibleOrDescendant. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D47365

--HG--
extra : moz-landing-system : lando
2019-10-03 00:31:13 +00:00
Eitan Isaacson
18deeb8110 Bug 1582561 - Don't access lazily created descendants in GetAccessibleOrDescendant. r=Jamie
Lazily creating children might cause us to make layout calls at unsafe times.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 00:30:06 +00:00
Dorel Luca
46491fb5f0 Backed out changeset 62b78793d12e (bug 1583867) for WPT failures in webrtc/RTCRtpReceiver-getSynchronizationSources.https.html 2019-10-03 02:43:28 +03:00
Emilio Cobos Álvarez
59196e7850 No bug - remove silly assertion as OwnerDoc() never returns null.
Differential Revision: https://phabricator.services.mozilla.com/D47994

--HG--
extra : moz-landing-system : lando
2019-10-02 23:29:51 +00:00
Brian Grinstead
98a08a3ce4 Bug 1514926 - Convert the arrowscrollbox binding to a Custom Element r=dao
This uses Shadow DOM slotting instead of XBL, and migrates styles from
using XBL anonymous traversal to using CSS Shadow Parts.

This also removes the basecontrol binding, since this was the last
binding to extend it.

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

--HG--
rename : toolkit/content/widgets/scrollbox.xml => toolkit/content/widgets/arrowscrollbox.js
extra : moz-landing-system : lando
2019-10-02 22:57:39 +00:00
Brian Hackett
aa6db0d7ab Bug 1585775 - Fix undefined reference, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D47987

--HG--
extra : moz-landing-system : lando
2019-10-02 22:48:24 +00:00
Mark Striemer
1cad67ef67 Bug 1533858 - Add a border to the about:config add row r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D46344

--HG--
extra : moz-landing-system : lando
2019-10-02 22:58:27 +00:00
Jason Laster
15cc722a58 Bug 1582870 - Reduxify console actions. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D46674

--HG--
extra : moz-landing-system : lando
2019-10-02 22:50:25 +00:00
Wes Kocher
c4acd9439a Bug 1573271 - Run the iris test suite in CI on Windows and Linux r=grenade,tomprince
This patch enables the iris test suite to run in CI against Windows and Linux shippable builds on mozilla-central and try. The framework is in place for Iris to run against MacOS in CI, but it is currently disabled while bootstrapping issues are sorted out.

Linux uses a new docker image based on the debian10-test parent image that installs preinstalls most of Iris's dependencies. Windows installs a few dependencies using the scoop package manager. Both then install the rest of the python dependencies via pip.

This adds a new toolchain artifact to fetch the iris_firefox git repo without touching the outside network.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 01:58:31 +00:00
Nico Grunbaum
6722b1c2c1 Bug 1583867 - add rtpTimestamp field to RTP sync/contrib sources; r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D47096

--HG--
extra : moz-landing-system : lando
2019-10-02 21:55:33 +00:00
Valentin Gosu
69224531f0 Bug 1585748 - Update test_trr.js to account for network.trr.request-timeout being renamed r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D47965

--HG--
extra : moz-landing-system : lando
2019-10-02 20:47:05 +00:00
Jeff Muizelaar
b01dc0a82e Bug 1584375. Remove unused origin from recording. r=nical
This was added as part of an intermediate step to blob
recoordination. It's not used anymore.

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

--HG--
extra : moz-landing-system : lando
2019-10-02 21:47:11 +00:00