Граф коммитов

676158 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 6b4b1eb4fb Bug 1589285 part 1. Expose a nicer way to get strings given a Web IDL enum value. r=edgar
Returning a span ensures that consumers don't try to use this without a length,
but does hide the fact that our string is always null-terminated, at least for
the moment...

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

--HG--
extra : moz-landing-system : lando
2019-10-17 23:20:48 +00:00
Gijs Kruitbosch f5e7a6ea1b Bug 1588118 - use the right flag to guard search service use from the URI fixup code, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D50051

--HG--
extra : moz-landing-system : lando
2019-10-22 22:05:53 +00:00
Kashav Madan e063bb080d Bug 1578465 - Update fission annotations, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D49005

--HG--
extra : moz-landing-system : lando
2019-10-22 20:46:00 +00:00
Kashav Madan 5c8068036e Bug 1578465 - Fix some incorrect usages of browserLoaded, r=kmag
Calling browserLoaded without a |wantLoad| after a call to both addTab and
loadURI may resolve with either of the two loaded urls (usually the first). This
patch updates some callsites to remove any possible non-determinism.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 20:45:56 +00:00
Kashav Madan a743e45044 Bug 1578465 - Update browser_windowopen.js, r=mconley
Since BrowserTestUtils.firstBrowserLoaded now resolves slightly later than it
did before, the STATE_STOP notification is dispatched before we get a chance
to add the progress listener in BrowserTestUtils.browserStopped. We should
create both Promises before waiting for the initial load to finish.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 20:45:52 +00:00
Kashav Madan 3ae4d974cd Bug 1578465 - Update browser_startup_content.js, r=kmag,mconley
Adds BrowserTestUtilsChild.jsm to the whitelist, and removes content-utils.js.
The BrowserTestUtils actor now listens for "load" and "DOMContentLoaded" events,
so it gets instantiated earlier than before.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 20:45:50 +00:00
Kashav Madan 3b22805481 Bug 1578465 - Remove the content-utils.js framescript, r=nika
This also updates the two functions (BrowserTestUtils.firstBrowserLoaded,
browser_broadcastchannel.js#browserFrameLoaded) that rely on the previous
event to use the new one.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 20:44:40 +00:00
Kashav Madan b4ca3b2db3 Bug 1578465 - Make BrowserTestUtils.browserLoaded() Fission-compatiable, r=nika
Differential Revision: https://phabricator.services.mozilla.com/D49001

--HG--
extra : moz-landing-system : lando
2019-10-22 20:44:24 +00:00
Botond Ballo 432e039626 Bug 1560770 - Use a method of getting the widget in UseMobileViewportManager() than does not require the frame tree to be constructed. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D50121

--HG--
extra : moz-landing-system : lando
2019-10-22 20:40:35 +00:00
Marco Castelluccio cfdcf5a828 Bug 1476339 - Set coverage LDFLAGS as part of configure. r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D49830

--HG--
extra : moz-landing-system : lando
2019-10-22 21:00:34 +00:00
Jorg K 61ce5f8c70 Bug 1576707 - Follow-up: Fix typo in use_fetches. r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D50043

--HG--
extra : moz-landing-system : lando
2019-10-22 20:34:17 +00:00
Dorel Luca 03762f81ac Backed out changeset bddcd12198e7 (bug 1574506) for Devtools failures in devtools/client/inspector/extensions/test/browser_inspector_extension_sidebar.js. CLOSED TREE 2019-10-23 00:31:21 +03:00
Andrew Halberstadt e9369fc3d9 Bug 1583353 - [moztest.resolve] Move everything from TestMetadata into the TestResolver class (except the load_tests function) r=gbrown
Previously there was a somewhat strange setup where we had both TestResolver
and TestMetadata classes. Both had 'resolve_tests' function and the separation
of concerns between the two were not clear.

With this change, all of the logic that is related to manipulating and
resolving the loaded tests has been moved to the TestResolver class. Also, the
TestMetadata class has been renamed to TestLoader, and it is solely responsible
for loading the metadata (from the build backend).

Future commits will add other types of TestLoaders.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 14:31:50 +00:00
Andrew Halberstadt d7fb00cbc4 Bug 1583353 - [moztest.resolve] Move test_rewrites to a class property r=gbrown
A minor cleanup. Re-write paths will now automatically be joined to
self.topobjdir.

Depends on D49766

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:22:05 +00:00
Andrew Halberstadt 48488f8138 Bug 1583353 - [moztest.resolve] Use MozbuildObject.mozbuild_reader to resolve outgoing files r=gbrown
Similar to the vcs change, the MozbuildObject already has a reader attribute
available. So we can re-use that instead of creating our own.

Depends on D49765

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:26:08 +00:00
Andrew Halberstadt 79bb28fefb Bug 1583353 - [moztest.resolve] Move all mozbuild backend logic into the TestMetadata class r=gbrown
Encapsulates all the logic around generating and loading the build backend
metadata on the TestMetadata class. Previously the TestResolver would trigger
the generation if necessary, and TestMetadata would load it. Now both
generation and loading happens in TestMetadata.load_tests.

This change also adds some convenience properties to make it easier to query
the loaded data.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 21:36:08 +00:00
Andrew Halberstadt ca37f985b6 Bug 1583353 - [moztest.resolve] Create an 'is_puppeteer_loaded' flag r=gbrown
This prevents us from adding the puppeteer tests over and over again. It
follows the wpt example.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:24:06 +00:00
Andrew Halberstadt fb84f5763d Bug 1583353 - [moztest.resolve] Use 'MozbuildObject.repository' in the TestResolver class r=gbrown
Since TestResolver is a subclass of MozbuildObject, there's no need to create
separate repository object. It already has one.

Depends on D49761

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

--HG--
extra : moz-landing-system : lando
2019-10-21 14:20:10 +00:00
Andrew Halberstadt d59b14c3fa Bug 1583353 - [moztest.resolve] Remove unused 'tests_with_flavor' function from metadata class r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D49761

--HG--
extra : moz-landing-system : lando
2019-10-21 14:17:25 +00:00
Geoff Brown de6c41dd8a Bug 1585119 - Re-enable yet more mochitests on android; r=geckoview-reviewers,snorp
Most of these tests have been disabled for a long time; they run well
in the current test environment.
This completes my review of skipped Android tests.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 20:10:27 +00:00
Dão Gottwald d4fb2772ec Bug 1590491 - Use --toolbarbutton-icon-fill-opacity for the megabar search icon. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D50090

--HG--
extra : moz-landing-system : lando
2019-10-22 19:53:03 +00:00
Edwin Takahashi 89d92ba2fe Bug 1590399 - do not attempt to call pulseaudio initialization (linux only) on other platforms r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D50112

--HG--
extra : moz-landing-system : lando
2019-10-22 18:54:46 +00:00
Valentin Gosu fe3c993ae7 Bug 1588219 - Expose DNS suffix list (Linux) r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D49414

--HG--
extra : moz-landing-system : lando
2019-10-22 19:46:28 +00:00
Matt Woodrow b41a3493f1 Bug 1583700 - Listen for DocumentChannel's on-opening-request as well as HTTP's in ExtensionPolicyService. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D50118

--HG--
extra : moz-landing-system : lando
2019-10-22 19:52:16 +00:00
Matt Woodrow e398ffe261 Bug 1583700 - Copy hasNonEmptySandboxingFlags across with DocumentChannel so that it can be set on the nHttpChannel in the parent. r=JuniorHsu,valentin
Depends on D49870

We fail coop-sandbox.https.html  without this, since the changes in bug 1566868 don't apply to DocumentChannel.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 19:16:28 +00:00
Matt Woodrow 51bb5e05f0 Bug 1583700 - Create a new ClientSource from a parent-allocated ClientInfo even for same-origin redirects, since there might have been a prior cross-origin redirect. r=perry,asuth
We fail navigation-redirect.https.html?client without this (with the subtest to redirects to a cross-origin page and then redirects back again to a same-origin page). In this case the ClientChannelHelper running in the child only sees a same-origin redirect (the first URL to the final one), but we've still allocated a new ClientInfo in the parent and we want to create the corresponding ClientSource.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 01:03:22 +00:00
Matt Woodrow 2d5171571e Bug 1583700 - Pass the loading context of the cspToInherit when deserializing LoadInfo, since this isn't necessarily the same as the loading context of the LoadInfo. r=ckerschb
Depends on D47358

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

--HG--
extra : moz-landing-system : lando
2019-10-22 01:03:10 +00:00
Matt Woodrow 0976ef23a1 Bug 1583700 - Update WPT expectations. r=perry
Differential Revision: https://phabricator.services.mozilla.com/D47358

--HG--
extra : moz-landing-system : lando
2019-10-22 01:03:14 +00:00
Matt Woodrow 3199098c57 Bug 1583700 - Make DocumentChannelParent::HasCrossOriginOpenerPolicyMismatch return the union of the state from all channels we redirected through. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D47356

--HG--
extra : moz-landing-system : lando
2019-10-22 01:03:16 +00:00
Matt Woodrow df21aaeee9 Bug 1583700 - Move CSP setup code to run in both processes. r=nika,ckerschb,mattwoodrow
We want this to run in both processes so that we set the cspToInherit on the LoadInfo within the child as well as the parent.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 01:03:18 +00:00
Matt Woodrow 9bdfecfe56 Bug 1583700 - Enable DocumentChannel by default. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D47405

--HG--
extra : moz-landing-system : lando
2019-10-22 01:03:12 +00:00
Tim Nguyen 6d79a27dfb Bug 1590387 - Remove remaining usages of XUL textboxes. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D50063

--HG--
extra : moz-landing-system : lando
2019-10-22 19:27:23 +00:00
Jean-Yves Avenard 24d14518f9 Bug 1590214 - Don't assert that ChannelWrapper will always be used with a nsIHttpChannel. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D50109

--HG--
extra : moz-landing-system : lando
2019-10-22 19:47:35 +00:00
Emilio Cobos Álvarez 1442d5b174 Bug 1590357 - Update overflow areas for visible -> unscrollable clip changes. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D50049

--HG--
extra : moz-landing-system : lando
2019-10-22 19:02:36 +00:00
Gabriel Luong 1bf9113bfe Bug 1590187 - Remove actorhasMethod check for getIsPrintSimulationEnabled. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D49971

--HG--
extra : moz-landing-system : lando
2019-10-21 21:34:27 +00:00
Dão Gottwald ac88ea2827 Bug 1584101 - Clip the navigation toolbar when the address bar can be rendered within the toolbar's bounds. r=Gijs,mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D49861

--HG--
extra : moz-landing-system : lando
2019-10-22 19:02:59 +00:00
Chun-Min Chang d7aacc3bc4 Bug 1589514 - P2: Update cubeb-coreaudio-rs to 92e2e11. r=padenot
Depends on D50002

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

--HG--
extra : moz-landing-system : lando
2019-10-22 11:46:55 +00:00
Chun-Min Chang d8668b05bc Bug 1589514 - P1: Update script importing cubeb-coreaudio-rs. r=padenot
Pick commits:
92e2e11 - minor style fix
5163960 - Update authors
fdb0b1d - Make utf8_from_cfstringref work with empty CFStringRef (#20)
a39bf5f - Remove a fixed issue

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

--HG--
extra : moz-landing-system : lando
2019-10-22 11:46:32 +00:00
Kirk Steuber e937081418 Bug 1584283 - Stop using xul:wizard as a root element and migrate consumers to xul:window[role=dialog] with the wizard as the only child r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D48922

--HG--
extra : moz-landing-system : lando
2019-10-17 21:25:53 +00:00
Gabriel Luong 070bb394ee Bug 1574506 - Migrate usage of gripNodeToFront to toolbox's new getNodeFrontFromNodeGrip function. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D49990

--HG--
extra : moz-landing-system : lando
2019-10-22 18:53:20 +00:00
Daniel Varga 964a732b29 Backed out changeset 055ba7efc9cd (bug 1584401) for rust build bustage. On a CLOSED TREE 2019-10-22 22:04:40 +03:00
Dana Keeler 28cc0dc938 bug 1584401 - build osclientcerts in-tree on Windows r=jcj,kjacobs
This adds a preliminary implementation of a PKCS#11 module that allows Firefox
to access client certificates for TLS client authentication on Windows.
2019-09-18 10:27:50 -07:00
Tom Prince 9237ee4209 Bug 1589706: [firefox-ci] Migrate linux test docker-workers to AWS Provider; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D49999

--HG--
extra : moz-landing-system : lando
2019-10-22 04:30:44 +00:00
Dorel Luca 3d43b20c77 Backed out changeset ca117d13ca06 (bug 1212502) for Windows 2012 build bustage. CLOSED TREE 2019-10-22 20:53:27 +03:00
Sebastian Streich f4b2f14328 Bug 1585664 - Add GetAsciiSpecForLogging and update callers r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D47909

--HG--
extra : moz-landing-system : lando
2019-10-22 16:03:27 +00:00
Christian Holler 7e6ee22f60 Bug 1587463 - Bump mozrunner version for web-platform tests. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D49781

--HG--
extra : moz-landing-system : lando
2019-10-18 17:53:53 +00:00
Wes Kocher 49fba76f39 Bug 1212502 - Switch mozinfo to using the 'distro' package to get linux distribution info r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49366

--HG--
extra : moz-landing-system : lando
2019-10-22 17:33:13 +00:00
Andi-Bogdan Postelnicu 336c0275ee Bug 1590415 - Remove deprecated code from the Coverity model file. r=sylvestre
Depends on D50065

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

--HG--
extra : moz-landing-system : lando
2019-10-22 16:38:50 +00:00
Brian Hackett 611ae752a0 Bug 1589864 - Copy over prefs when starting the browser toolbox, r=ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D49829

--HG--
extra : moz-landing-system : lando
2019-10-22 14:12:35 +00:00
Daosheng Mu 6d8653b0b9 Bug 1564127 - Check if GPU/VR process has connected with the parent process. r=kip
This issue happens when VR/GPU haven't connected with the parent process via IPC protocol, and we are trying to access its IPC Child when it is still null. It is possible to be happened when GPU/VR process is killed/shutdown, and we are trying to launch a new VR process. We need to check these status before completing our VR process's launch.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 16:45:35 +00:00