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

680876 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen 9c0f6722a6 bug 1543115: remote: make RemoteAgent.listen() accept strings; r=remote-protocol-reviewers,maja_zf
Crafting nsIURIs in Rust is complicated.  Allow RemoteAgent.listen()
to accept both strings and nsIURIs when called in JavaScript.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 08:03:10 +00:00
Andreas Tolfsen 7c06462151 bug 1543115: remote: emit "remote-listening" system notification on startup; r=remote-protocol-reviewers,maja_zf
When calling RemoteAgent.listen() across XPIDL the function is run
asynchronously.  In order to find out when the remote agent has started
listening we introduce a "remote-listening" system observer notification.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 08:03:08 +00:00
Andreas Tolfsen 3f618e2eda bug 1543115: remote: set needed prefs earlier at startup; r=remote-protocol-reviewers,maja_zf
Although it currently makes no difference, we should ensure the
required preferences are set sooner, in case any of the internal
remote agent features depend on it.

Because we also cannot control when the nsICommandLineHandler for
the remote agent is invoked, setting it sooner rather than later,
seems a lot safer.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 08:03:05 +00:00
Andreas Tolfsen d25d3a1256 bug 1543115: remote: make RemoteAgent.close() safer; r=remote-protocol-reviewers,maja_zf
close() is meant to be failsafe in the sense that it should be
possible to call without side-effects.

We are currently setting up a lot of state in listen() that is not
cleaned up if the server eventually fails to start.  Calling close()
when this happens will ensure any state listen() has accrued is reset.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 08:03:03 +00:00
Andreas Tolfsen 795f248c54 bug 1543115: remote: merge init() and listen(); r=remote-protocol-reviewers,maja_zf
Having init() as a separate function leads to inconsistencies about
how the required state is checked.

init() prevents the remote agent from being loaded when the
remote.enabled preference is false or it is attempted loaded into a
child process, but listen() already manipulates state before these
checks are run.  This is probably not the intention, but an easy
mistake to make when the code flow is not crystal clear.

Since we never have a need to call init() independently, this patch
merges init() into listen().

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

--HG--
extra : moz-landing-system : lando
2019-11-22 08:02:56 +00:00
Andreas Tolfsen 2cf78c4ad5 bug 1543115: remote: rename XPCOM manifest for conformity; r=remote-protocol-reviewers,maja_zf
All other XPCOM component manifests are named components.conf and
this makes the remote agent's conform with those.

It will also become apparent in a later patch in this changeset
that we need to register two XPCOM components: one implementing
the remote agent service, and one for handling command-line arguments.

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

--HG--
rename : remote/RemoteAgent.conf => remote/components.conf
extra : moz-landing-system : lando
2019-11-22 08:02:54 +00:00
Ciure Andrei d73714a862 Backed out changeset a3b107922e81 (bug 1595814) for causing marionette perma failures CLOSED TREE 2019-11-22 10:42:09 +02:00
Toshihito Kikuchi 764bd4d432 Bug 1596930 - Add new patterns to detour. r=handyman
This patch adds the following pattern to our x64 detour so that we can hook APIs
even though a target is already detoured by another application.

```
mov   rax, imm64
push  rax
ret
```

We already have `PatchIfTargetIsRecognizedTrampoline` to detour the pattern
`mov; jmp`.  There is another variation using `push rax;ret` to jump.

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

--HG--
extra : moz-landing-system : lando
2019-11-22 00:36:46 +00:00
Rishi Gupta f8a2da8835 Bug 1595814 - [marionette] Don't import private _ExpectedFailure and _UnexpectedSuccess classes from unittest. r=whimboo,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D53312

--HG--
extra : moz-landing-system : lando
2019-11-21 20:26:12 +00:00
Andrei Oprea 1d81724432 Bug 1598420 - Land PiP image asset used in What's New panel message r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D54178

--HG--
extra : moz-landing-system : lando
2019-11-21 20:10:49 +00:00
Punam Dahiya 138ca3b656 Bug 1597781 - Fix preloaded tab to pick updated message state on click of triplets card r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D53855

--HG--
extra : moz-landing-system : lando
2019-11-21 19:59:57 +00:00
Sylvestre Ledru 08a27588f3 Bug 1596911 - Add browser/extensions/formautofill/content/third-party/ to thirdparty r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D54170

--HG--
extra : moz-landing-system : lando
2019-11-21 18:43:59 +00:00
Sylvestre Ledru 0e6160644d Bug 1598013 - mozlint codespell: Add tools/docs/ r=ahal
Depends on D53979

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:57:50 +00:00
Connor Sheehan 6a1f431ad6 Bug 1596479: teach `run-task` to get worker location from `TASKCLUSTER_WORKER_LOCATION` environment var r=tomprince
Previously we inspected the `TASKCLUSTER_WORKER_GROUP` environment variable,
which now only returns the cloud provider of the worker. This commit teaches
`run-task` to instead use the `TASKCLUSTER_WORKER_LOCATION` to gather
information about the location of the worker. We also use the extra data
about the cloud provider for the worker to construct a key for use in the
config, in the form `cloudprovider/region`, so GCP hgweb mirrors can be
amended to the `hgmointernal` config when they are ready.

While we're here we make the error handling for a missing environment
variable slightly nicer.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:48:32 +00:00
Geoff Brown c5fdf45f02 Bug 1582516 - Use TestManifestLoader for 'mach test-info'; r=ahal
Switch 'mach test-info report' and 'mach test-info tests' to use the TestManifestLoader.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 19:43:11 +00:00
Tomislav Jovanovic 3e409cecde Bug 1577498 - Part 4: Batch webRequest events to reduce IPC overhead r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D53332

--HG--
extra : moz-landing-system : lando
2019-11-20 19:20:26 +00:00
Andrei Oprea 3d48aef53b Bug 1597246 - Enable remote l10n for WNPanel messages r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D53671

--HG--
extra : moz-landing-system : lando
2019-11-20 19:45:18 +00:00
Daniel Varga 98807fe5a2 Bug 1593465 - followup for busting gecko decision task. On a CLOSED TREE
--HG--
extra : rebase_source : 0483136a5ea4be8d10938372a7674254a6614af2
2019-11-22 07:15:22 +02:00
Boris Chiou 0616e2cfa2 Bug 1582554 - Ship motion-path without offset-path:ray(). r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D53111

--HG--
extra : moz-landing-system : lando
2019-11-20 22:38:27 +00:00
Boris Chiou 7a959a5da5 Bug 1582554 - Add a preference for offset-path:ray(). r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D53110

--HG--
extra : moz-landing-system : lando
2019-11-20 22:38:26 +00:00
Ed Lee b72f11ecca Bug 1598398 - Clear discovery stream config user pref if it's an old default value r=thecount
Differential Revision: https://phabricator.services.mozilla.com/D54217

--HG--
extra : moz-landing-system : lando
2019-11-22 03:03:47 +00:00
Paul Bone d0d5093eb5 Bug 1594221 - Remove documentchannel pref from browser_httpToFileHistory.js r=jya
Differential Revision: https://phabricator.services.mozilla.com/D54077

--HG--
extra : moz-landing-system : lando
2019-11-22 03:57:42 +00:00
Nika Layzell e026d2f6e0 Bug 1594221 - Ignore useHttpResponseProcessSelection when fission enabled, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D51941

--HG--
extra : moz-landing-system : lando
2019-11-21 04:29:35 +00:00
Daniel Varga c40b39b26d Bug 1593465 - Removing -full for causing build bustage from kind.yml and run_pgo_profile.py. On a CLOSED TREE
--HG--
extra : amend_source : 8ca7be097049e9edd26385716ab0c0cd7dc22c79
2019-11-22 06:53:28 +02:00
Daniel Varga 5500ea37d1 Backed out changeset d1b72f3ac5f6 (bug 1598010) linting failure at messaging_example/app/src/main/assets/messaging/messaging.js:11:7. On a CLOSED TREE 2019-11-22 06:04:04 +02:00
Boris Chiou 7b99b9eb51 Bug 1424900 - Ship individual transform properties: translate, rotate, scale. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D34925

--HG--
extra : moz-landing-system : lando
2019-11-20 21:14:46 +00:00
Mike Shal 47f5ff5520 Bug 1593465 - Upload minidumps from PGO-run task crashes; r=firefox-build-system-reviewers,chmanchester
The minidumps are stored in the temporary profile directory used by
profileserver.py. Before the temporary directory goes away, we use
mozcrash & minidump_stackwalk to process any crashreports and copy them
to the artifacts directory.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 18:44:10 +00:00
Mike Shal bca8fea099 Bug 1593465 - Dump symbols during instrumented builds for crashlogs in the run task; r=firefox-build-system-reviewers,chmanchester
To get an accurate backtrace if the run task crashes, we need the
symbols from the instrumented build.

Depends on D53716

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

--HG--
extra : moz-landing-system : lando
2019-11-21 18:44:10 +00:00
Mike Shal da85d8aabb Bug 1593465 - Add minidump_stackwalk dependencies to generate-profile tasks; r=firefox-build-system-reviewers,chmanchester
minidump_stackwalk is used to process any crash reports generated by the
PGO run task.

Depends on D52393

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

--HG--
extra : moz-landing-system : lando
2019-11-19 21:00:16 +00:00
Mike Shal 1e610f7310 Bug 1593465 - Upload the whole 'artifacts' directory for PGO-run tasks; r=tomprince
Since we may or may not have minidump files, it is not practical to
specifically name each file. We can just upload all files in the
directory instead.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 18:44:10 +00:00
Sylvestre Ledru d7bc96df97 Bug 1598019 - Do not compile some files in libekr r=drno
Also removed a duplicate declaration in the gyp file

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

--HG--
extra : moz-landing-system : lando
2019-11-21 18:40:54 +00:00
Markus Stange 32299e9f70 Bug 1597585 - Remove GLManager, which is now unused. r=mattwoodrow
Depends on D53772

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

--HG--
extra : moz-landing-system : lando
2019-11-20 23:22:20 +00:00
Markus Stange df49f517a5 Bug 1597585 - Make LayerManagerComposite use mGL to pass the GL context to PreRender, just like WebRender. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D53772

--HG--
extra : moz-landing-system : lando
2019-11-20 23:22:58 +00:00
Markus Stange d582a45148 Bug 1597585 - Remove WidgetRenderingContext's unused field mCompositor. r=mattwoodrow
The only use of this was inside Android's nsWindow::PreRender.
That method was removed in changeset 81de9d1439b0e352729142f6aa2914674073da03 (bug 1335895).

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

--HG--
extra : moz-landing-system : lando
2019-11-20 23:22:18 +00:00
Brendan Dahl b1dbf83a65 Bug 1596990 - Fix tooltips for XUL elements in pages with <html> roots. r=mossop
In pages with root <html> elements we always use the ToolTipTextProvider,
which surfaced a bug in it's implementation for XUL elements.
XUL element's getAttribute returns an empty string even if the attribute
doesn't exist. This caused the ToolTipTextProvider to stop its search
early for the actual tooltip text.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 18:10:50 +00:00
Emily Toop 69138034df Bug 1598010 - Move examples into mozilla-central r=agi
Examples are currently in github. They should be kept alongside the documentation and code and built along with other projects in Android Studio.

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

--HG--
extra : moz-landing-system : lando
2019-11-21 18:04:14 +00:00
Brian Hackett 6f785a4994 Bug 1595400 - Disable browser_dbg-toolbox-workers.js on non-nightly builds, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D54168

--HG--
extra : moz-landing-system : lando
2019-11-21 17:58:47 +00:00
Brian Hackett e3b65b205a Bug 1594699 - Disable browser_dbg-windowless-service-workers.js on non-nightly builds, r=jlast.
Differential Revision: https://phabricator.services.mozilla.com/D54167

--HG--
extra : moz-landing-system : lando
2019-11-21 17:59:05 +00:00
Matthew Gaudet 3d11d94d21 Bug 1598349 - Rename mislabelled test r=cfallin DONTBUILD
🤦🏽‍♂️

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

--HG--
rename : js/src/tests/non262/fields/bug1580246.js => js/src/tests/non262/fields/bug1587574.js
extra : moz-landing-system : lando
2019-11-21 17:15:20 +00:00
Simon Giesecke 725b7b484b Bug 1596129 - Make use of std::accumulate in IDBObjectStore::AddOrPut. r=dom-workers-and-storage-reviewers,ytausky
Depends on D52865

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

--HG--
extra : moz-landing-system : lando
2019-11-21 12:40:54 +00:00
Simon Giesecke be00b51583 Bug 1596129 - Use range-based for, std::find_if, std::unique and avoid insert-sort on a nsTArray in IDBDatabase::Transaction. r=dom-workers-and-storage-reviewers,ytausky
Depends on D52864

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

--HG--
extra : moz-landing-system : lando
2019-11-21 12:38:12 +00:00
Simon Giesecke 2ac5e4e5ab Bug 1596129 - Make use of std::find_if in IDBDatabase::DeleteObjectStore. r=dom-workers-and-storage-reviewers,ttung
Depends on D52863

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

--HG--
extra : moz-landing-system : lando
2019-11-21 11:01:55 +00:00
Simon Giesecke 9b32f09fd2 Bug 1596129 - Make use of std::find_if in IDBDatabase::CreateObjectStore. r=dom-workers-and-storage-reviewers,ttung
Depends on D52862

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

--HG--
extra : moz-landing-system : lando
2019-11-20 15:18:33 +00:00
Simon Giesecke f81c6cb091 Bug 1596129 - Make use of std::transform, avoid doing an insert sort into an nsTArray in IDBDatabase::ObjectStoreNames. r=dom-workers-and-storage-reviewers,ttung
Depends on D52861

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

--HG--
extra : moz-landing-system : lando
2019-11-21 08:55:38 +00:00
Simon Giesecke 766fe5ebfe Bug 1596129 - Make use of range-based for in BackgroundRequestChild::ActorDestroy. r=dom-workers-and-storage-reviewers,ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D52861

--HG--
extra : moz-landing-system : lando
2019-11-20 16:21:34 +00:00
Simon Giesecke dd2dfbdb42 Bug 1596129 - Make use of std::transform instead of custom for loop in BackgroundRequestChild::HandleResponse. r=dom-workers-and-storage-reviewers,ttung
Depends on D52859

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

--HG--
extra : moz-landing-system : lando
2019-11-20 15:12:34 +00:00
Simon Giesecke 06d137dba8 Bug 1596129 - Merge BackgroundRequestChild array members mPreprocessHelpers and mCloneDatas into one. r=dom-workers-and-storage-reviewers,ttung,asuth
Differential Revision: https://phabricator.services.mozilla.com/D52859

--HG--
extra : moz-landing-system : lando
2019-11-21 16:46:08 +00:00
Dorel Luca f22af0f64c Backed out 2 changesets (bug 1594035) for Browser-chrome failiures on normandy/test/browser/browser_Normandy.js. CLOSED TREE
Backed out changeset 066674b8313d (bug 1594035)
Backed out changeset 6f93019be0d6 (bug 1594035)

--HG--
extra : rebase_source : 7815196d6ce40c374d2ea1d0438230f0bc7201bc
2019-11-22 05:14:24 +02:00
Andrew Halberstadt 98edc028b6 Bug 1598142 - [tryselect] Prevent pushing to try with both artifact builds and --pernosco, r=jmaher
Pernosco doesn't currently work with artifact builds. This just makes sure we don't waste
time and resources (until it is fixed).

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

--HG--
extra : moz-landing-system : lando
2019-11-20 23:42:41 +00:00
Brian Grinstead d497e5fd20 Bug 1596591 - Rename inc.xul files to inc.xhtml r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53843

--HG--
rename : browser/base/content/browser-allTabsMenu.inc.xul => browser/base/content/browser-allTabsMenu.inc.xhtml
rename : browser/base/content/macWindow.inc.xul => browser/base/content/macWindow.inc.xhtml
rename : browser/components/controlcenter/content/identityPanel.inc.xul => browser/components/controlcenter/content/identityPanel.inc.xhtml
rename : browser/components/controlcenter/content/protectionsPanel.inc.xul => browser/components/controlcenter/content/protectionsPanel.inc.xhtml
rename : browser/components/customizableui/content/customizeMode.inc.xul => browser/components/customizableui/content/customizeMode.inc.xhtml
rename : browser/components/customizableui/content/panelUI.inc.xul => browser/components/customizableui/content/panelUI.inc.xhtml
rename : browser/components/downloads/content/downloadsCommands.inc.xul => browser/components/downloads/content/downloadsCommands.inc.xhtml
rename : browser/components/downloads/content/downloadsContextMenu.inc.xul => browser/components/downloads/content/downloadsContextMenu.inc.xhtml
rename : browser/components/downloads/content/downloadsPanel.inc.xul => browser/components/downloads/content/downloadsPanel.inc.xhtml
rename : browser/components/downloads/content/downloadsStrings.inc.xul => browser/components/downloads/content/downloadsStrings.inc.xhtml
rename : browser/components/places/content/bookmarksHistoryTooltip.inc.xul => browser/components/places/content/bookmarksHistoryTooltip.inc.xhtml
rename : browser/components/places/content/editBookmarkPanel.inc.xul => browser/components/places/content/editBookmarkPanel.inc.xhtml
rename : browser/components/places/content/placesCommands.inc.xul => browser/components/places/content/placesCommands.inc.xhtml
rename : browser/components/places/content/placesContextMenu.inc.xul => browser/components/places/content/placesContextMenu.inc.xhtml
extra : moz-landing-system : lando
2019-11-21 09:46:01 +00:00