Commit Graph

677123 Commits

Author SHA1 Message Date
Emilio Cobos Álvarez
4825f0f201 Bug 1591297 - Remove -moz-binding, nsStyleDisplay::mBinding and similar. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50556

--HG--
extra : moz-landing-system : lando
2019-10-26 11:37:33 +00:00
Emilio Cobos Álvarez
576949a095 Bug 1591297 - Remove XBL binding loading code in the frame constructor. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D50555

--HG--
extra : moz-landing-system : lando
2019-10-25 18:46:59 +00:00
Emilio Cobos Álvarez
6a021aec24 Bug 1591297 - Remove some XBL code in the style system. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D50554

--HG--
extra : moz-landing-system : lando
2019-10-25 12:19:21 +00:00
Martin Stransky
bf00169ed5 Bug 1589114 [Watland] Set widget EGL window size for WebRender, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D50746

--HG--
extra : moz-landing-system : lando
2019-10-29 09:00:26 +00:00
Emilio Cobos Álvarez
266094764d Bug 1591282 - Add an easier way to skip tests for debugging in tests_reftests_with_caret.html. r=mats
I always end up writing some variation of this for local debugging.

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

--HG--
extra : moz-landing-system : lando
2019-10-26 19:54:47 +00:00
Emilio Cobos Álvarez
40e57d6c9f Bug 1591282 - Display carets in the outline list, so that descendant backgrounds don't occlude it. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D50701

--HG--
extra : moz-landing-system : lando
2019-10-29 04:30:54 +00:00
Martin Stransky
b9873d666a Bug 1583466 - [Linux] Load policies per user from system, r=mkaply,mossop
Differential Revision: https://phabricator.services.mozilla.com/D46921

--HG--
extra : moz-landing-system : lando
2019-10-29 08:58:29 +00:00
Emilio Cobos Álvarez
cc80d088a2 Bug 1591968 - Put window.mozPaintCount behind a default-off pref. r=bzbarsky
It's not the kind of thing we want people to allow observing, generally, and
even less so the kind of thing that we may want people to rely on.

Move internal callers (all of them tests) to a new DOMWindowUtils.paintCount
method.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 10:25:53 +00:00
Marco Bonardo
abe6482b65 Bug 1592126 - Disable the megabar redesign until the next design iteration. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D50864

--HG--
extra : moz-landing-system : lando
2019-10-29 00:25:08 +00:00
Jon Coppeard
7a3f50f068 Bug 1591711 - Fix incorrect calculation of non-incremental GC trigger r=allstarschh
Fix a mistake calculating the heap size to compare against.  It's unlikely this bug had much effect because whether to perform an incremental or non-incremental collection is decided when we start the collection in GCRuntime::budgetIncrementalGC().

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

--HG--
extra : moz-landing-system : lando
2019-10-28 21:16:04 +00:00
Christoph Kerschbaumer
8f2c346f91 Bug 1557712: Fix intermittent test failure for test_frameancestors_userpass.html. r=jkt
Differential Revision: https://phabricator.services.mozilla.com/D50907

--HG--
extra : moz-landing-system : lando
2019-10-29 09:23:57 +00:00
Narcis Beleuzu
a64dcc0c07 Backed out changeset 7a4cf3982659 (bug 1573710) for mda failures on test_getUserMedia_basicScreenshare. CLOSED TREE 2019-10-29 11:28:09 +02:00
Julian Descottes
c7eef2fb70 Bug 1590308 - Add 1s wait and GC before teardown in DAMP inspector custom test r=ochameau
This is the smallest change that helps having a clean baseline when we start using "Inspect Element" in the inspector custom test

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

--HG--
extra : moz-landing-system : lando
2019-10-29 09:11:54 +00:00
Glenn Watson
6f43be3422 Bug 1592121 - Ensure prim instances in culled clusters are reset. r=nical
This prevents stale indices into the prim visibility scratch
buffer being reused on subsequent frames, which can cause various
unexpected code paths to be hit.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 08:55:16 +00:00
Nicolas Silva
9e65704d9c Bug 1575734 - Adjust reftest fuzziness for webkit-text-stroke-property-001.html. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D50799

--HG--
extra : moz-landing-system : lando
2019-10-28 13:42:50 +00:00
Mark Banner
5c7347bfee Bug 1556745 - Enable browser_privatebrowsing_about.js on everything apart from test-verify and fission. r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D50868

--HG--
extra : moz-landing-system : lando
2019-10-29 00:51:09 +00:00
Mark Banner
d01a9d2ee9 Bug 1592134 - Turn on the display of default private search engine feature for Nightly users only. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50866

--HG--
extra : moz-landing-system : lando
2019-10-29 08:14:25 +00:00
Julian Descottes
4dd1553284 Bug 1591410 - Remove unused UnsolicitedPauses constants r=jlast,ochameau
Depends on D50616

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

--HG--
extra : moz-landing-system : lando
2019-10-29 08:39:31 +00:00
Julian Descottes
c2d789f1e7 Bug 1591410 - Remove unused root actor traits r=ochameau
Depends on D50605
All the traits removed here are not checked anywhere in the codebase.
There is more cleanup to do around old traits that are no longer relevant for backward compatibility, but that might still be used for feature detection.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 08:39:19 +00:00
Julian Descottes
ed35f0fb14 Bug 1591410 - Remove devtools/shared/client/deprecated-thread-client.js r=ochameau
Differential Revision: https://phabricator.services.mozilla.com/D50605

--HG--
extra : moz-landing-system : lando
2019-10-29 08:36:03 +00:00
Henrik Skupin
e8f5161a31 Bug 1587627 - [marionette] Remove Anon and AnonAttribute strategies from "WebDriver:FindElement" and "WebDriver:FindElements" command. r=webdriver-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D50804

--HG--
extra : moz-landing-system : lando
2019-10-28 18:31:17 +00:00
Henrik Skupin
a5b86e1d96 Bug 1587627 - [fxui] Update firefox-puppeteer for removal of anonymous nodes. r=webdriver-reviewers,maja_zf
The patch removes the usage of elements based on anonymous nodes,
which are soon to be completely removed. Also code which is no longer
in use by Firefox-UI tests can simply be removed.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 18:24:57 +00:00
Bob Owen
a9a7c894d9 Bug 1582372 Part 2: Only clean up Canvas IPC objects when recorder has no stored objects. r=jrmuizel
The recorder can still contain UnscaledFonts, but they are never removed
currently, so we can't wait for them and they will be re-recorded safely anyway.

Depends on D49757

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

--HG--
extra : moz-landing-system : lando
2019-10-29 08:34:34 +00:00
Bob Owen
b4078e6a0d Bug 1582372 Part 1: Ensure recorded texture SurfaceDescriptor is not in map for compositor when texture dies. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49757

--HG--
extra : moz-landing-system : lando
2019-10-22 20:52:51 +00:00
Tim Huang
f97686beae Bug 1591467 - Add a null check when accessing the actor of the browser host in nsFrameLoader::TryRemoteBrowserInternal(). r=smaug
In some cases, the actor of the browser host might be null. So, we need
to check before accessing it in order to avoid crashes.

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

--HG--
extra : moz-landing-system : lando
2019-10-29 01:21:43 +00:00
Itiel
571019ecae Bug 1590212 - More RTL fixes to the console editor r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D49986

--HG--
extra : moz-landing-system : lando
2019-10-29 07:59:04 +00:00
Julian Descottes
a399da3be9 Bug 1588773 - Move css-selector.js helpers back to DevTools css-logic.js r=pbro
Depends on D49303

Some methods from css-logic were extracted from the devtools codebase to be used by context-menu files.
This was only needed in order to compute the css-selectors for Inspect Element.
If we use ContentDOMReference instead, those helpers can move back in the devtools codebase
(leaving them in css-selector.js fails the all-files-referenced test for some reason as well)

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

--HG--
rename : toolkit/modules/tests/chrome/test_findCssSelector.html => devtools/shared/tests/mochitest/test_css-logic-findCssSelector.html
extra : moz-landing-system : lando
2019-10-28 09:11:02 +00:00
Julian Descottes
c72c1dcdcc Bug 1588773 - Use ContentDOMReference for context menu Inspect Element r=mconley,pbro
Depends on D49941

Using ContentDOMReference instead of creating an array of selectors makes inspect element more stable in case the page is modified between after the contextmenu opens.
It will also make the feature easier to make fission compatible

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

--HG--
extra : moz-landing-system : lando
2019-10-28 09:10:29 +00:00
Gabriele Svelto
550a8ee421 Bug 1590984 - Use poll() instead of select() in WebRTC code r=drno
The use of select() was leading to crashes when the file descriptor value was
larger than FD_SETSIZE. Recent versions of glibc have checks in the FD_CLR(),
FD_SET() and FD_ISSET() macros that will abort() the program instead of doing
an out-of-bounds access. poll() doesn't have limitations on the file
descriptor values and provides behavior that is otherwise identical to
select() thus solving the problem.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 23:26:12 +00:00
Jan de Mooij
d84e72f929 Bug 1590120 - Avoid repeated bailouts when MToString is used for jsop_tostring or the ToString intrinsic. r=anba
In these stand-alone cases we can handle objects/symbols by calling ToStringSlow.
The TypePolicy uses of MToString will still bail out to Baseline.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 13:20:25 +00:00
Brian Birtles
e50dce95ba Bug 1590971 - Move getAnimations from Document to DocumentOrShadowRoot; r=emilio,baku
This updates the Gecko implementation to match the following change to
the Web Animations spec:

  792453b952 (diff-4c9f5c055fb219a7fcad23a9a7a80b64)

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

--HG--
rename : testing/web-platform/tests/web-animations/interfaces/Document/getAnimations.html => testing/web-platform/tests/web-animations/interfaces/DocumentOrShadowRoot/getAnimations.html
extra : moz-landing-system : lando
2019-10-29 07:13:22 +00:00
Neil Deakin
fed2a8968b Bug 1589664, enable the remaining webrtc tests in fission, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D49737

--HG--
extra : moz-landing-system : lando
2019-10-29 00:32:13 +00:00
Neil Deakin
e2d055a3b8 Bug 1589664, adapt the webrtc tests to work with fission enabled. Remove the webrtc framescript in favour of calling BrowserTestUtils methods or SpecialPowers.spawn instead, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D49736

--HG--
extra : moz-landing-system : lando
2019-10-29 00:32:04 +00:00
Neil Deakin
233e4e8324 Bug 1589664, add BrowserTestUtils methods to listen to observers in the content process, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D49734

--HG--
extra : moz-landing-system : lando
2019-10-29 06:20:40 +00:00
Nihanth Subramanya
684f4a2ee0 Bug 1592091 - [Fission] Enable permissions frontend mochitests with fission. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50848

--HG--
extra : moz-landing-system : lando
2019-10-28 20:21:23 +00:00
Cosmin Sabou
060e53569b Bug 1591810 - Restore deleted wpt metadata after wpt-sync. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D50897

--HG--
extra : moz-landing-system : lando
2019-10-29 05:40:08 +00:00
sotaro
16784c5201 Bug 1573710 - Trigger composite after SetParent() r=Gankro
The patch permits to resize compositor window's size after ::SetParent() call to prevent a conflict between ::SetParent() and ::SetWindowPos(). Then it triggers a composite after SetParent() call to resize compositor window correctly.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 21:33:40 +00:00
Oana Pop Rus
9df2ccc256 Backed out changeset 84d18816918c (bug 1570466) for bc perma failures in browser_protections_report_ui.js on a CLOSED TREE 2019-10-29 06:22:45 +02:00
Erica Wright
f6e9fb7d0b Bug 1570466 - Enhanced Tracking Protection card hides content when some/all protections are off in Custom r=fluent-reviewers,johannh,flod
Differential Revision: https://phabricator.services.mozilla.com/D44713

--HG--
extra : moz-landing-system : lando
2019-10-29 03:26:10 +00:00
Ting-Yu Lin
914a980331 Bug 1588025 - Change an argument to nsContainerFrame* for ConstructAnonymousContentForCanvas. r=jfkthame
The only caller SetRootElementFrameAndConstructCanvasAnonContent()
already passes nsContainerFrame* to aFrame.

A minor cleanup discovered while working on this bug.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:40:30 +00:00
Ting-Yu Lin
7fd6d04f2b Bug 1588025 - Make the custom content container a font inflation root. r=emilio
font-inflation-1e.html is adapted from font-inflation-1a.html with the
writing-mode set on <html> instead of <body>. It can trigger the
assertion "current writing mode should match that of our flow root" in
nsFontInflationData::FindFontInflationDataFor().

The root cause is: nsCanvasFrame can generate the position:absolute
custom content container to contain elements like AccessibleCaret. When
the container is constructed, the container's writing-mode is always
horizontal-rl, which is getting from nsCanvasFrame that uses
ViewportFrame's style.

If <html> has a vertical writing-mode, custom content container's used
mWritingMode becomes orthogonal to ViewportFrame, because <html>'s used
mWritingMode is propagated all the way up to ViewportFrame.

This patch solves the above issue by making the custom content container
a font inflation root, so FindFontInflationDataFor() stops at it instead
of finding all the way up to the ViewportFrame.

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

--HG--
extra : moz-landing-system : lando
2019-10-28 20:42:06 +00:00
Glenn Watson
1a277253b9 Bug 1591534 - Ensure native surfaces are destroyed on renderer deinit. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D50775

--HG--
extra : moz-landing-system : lando
2019-10-29 00:32:50 +00:00
Ehsan Akhgari
a8a01884db Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-29 01:56:25 +00:00
Ehsan Akhgari
f69aaf72a7 Bug 1591803 - Part 1: Remove the dead code in NotificationTelemetryService; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50752

--HG--
extra : moz-landing-system : lando
2019-10-29 01:56:23 +00:00
Glenn Watson
7f20e257e6 Bug 1591524 - Clean up native compositor surfaces that are not retained. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D50773

--HG--
extra : moz-landing-system : lando
2019-10-29 00:32:20 +00:00
Arthur Iakab
9c93bb3a7a Backed out 2 changesets (bug 1591803) for causing build bustages on XULAlerts.cpp CLOSED TREE
Backed out changeset 7eff50262110 (bug 1591803)
Backed out changeset c0b6f37d24d2 (bug 1591803)
2019-10-29 03:37:07 +02:00
Ehsan Akhgari
214c8d96df Bug 1590922 follow-up: the parts that didn't land in the first landing
Differential Revision: https://phabricator.services.mozilla.com/D50889

--HG--
extra : moz-landing-system : lando
2019-10-29 01:12:28 +00:00
Ehsan Akhgari
8c1d9bf15d Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-28 20:26:21 +00:00
Ehsan Akhgari
6b1d1d6821 Bug 1591803 - Part 1: Remove the dead code in NotificationTelemetryService; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50752

--HG--
extra : moz-landing-system : lando
2019-10-28 20:26:23 +00:00
Ehsan Akhgari
05b288d47f Bug 1591746 - Make nsIPermissionManager.getAllForPrincipal() return an Array<> instead of an XPCOM enumerator; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50717

--HG--
extra : moz-landing-system : lando
2019-10-29 01:13:57 +00:00