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

649835 Коммитов

Автор SHA1 Сообщение Дата
Barret Rennie 6994c63945 Bug 1547369 - Support composition recording on CompositorD3D11 r=mstange
CompositorD3D11's implementation of `GetWindowRenderTarget` would return a
`nullptr` if we were not presently recording a profile with screenshots. Now,
CompositorD3D11 correctly will return a window render target when it has been
asked to by the `LayerManagerComposite` via `Compositor::RequestRecordFrames`.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:33:38 +00:00
Barret Rennie 4dfb93e03a Bug 1547369 - Rename Compositor::RequestRecordFrames to Compositor::RequestAllowFrameRecording r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D29708

--HG--
extra : moz-landing-system : lando
2019-05-02 17:33:38 +00:00
Josh Matthews c2627621c9 Bug 1457669 - Support Android system headers for standalone SpiderMonkey builds. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D29698

--HG--
extra : moz-landing-system : lando
2019-05-02 17:07:52 +00:00
Barret Rennie b32c02517c Bug 1510569 - Port onStateChange notifications inside WebProgressChild.jsm to C++ r=baku,kmag
We now also only access the document when the state is
nsIWebProgress::STATE_STOP. The comments in the previous code indicated that
touching the document inside the event handler when the state is not STATE_STOP
would result in the content creating a new about:blank document to retrieve the
values from. However, it then went on to do this in another location, causing a
document to be created whenever we received an onStateChange event. This should
no longer occur.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:20:34 +00:00
Barret Rennie 5474c1f3df Bug 1510569 - Keep track of whether we are navigating to a new URI in nsDocShell r=mconley,kmag,qdot
Previously the `WebNavigationChild` would keep track of when triggering its
`nsIWebNavigation`, `goForward`, `goBack`, `gotoIndex`, and `loadURI` methods.
It's `nsIWebNavigation` instance is always an `nsIDocShell` and as part of
porting `OnStateChange` and `OnLocationChange` events from
`WebProgressChild`/`RemoteWebProgress` to `BrowserChild`/`BrowserParent`, this
informations needs to be available from the `BrowserChild`. As it stands, it is
currently an expando property on the `WebProgressChild`.

Instead of introducing yet another XPCOM interface for the WebProgressChild, we
now store this information directly on the `nsDocShell`. Furthermore, instead
of having the `WebNavigationChild` manage this part of the `nsDocShell`'s
state, we can have the `nsDocShell` manage this state itself so it is always
consistent.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 17:00:51 +00:00
Botond Ballo adcf0c5f2d Bug 1547435 - Ensure NotifyApzTransaction is only called once a transaction is actually sent. r=kats,rhunt
Differential Revision: https://phabricator.services.mozilla.com/D29283

--HG--
extra : moz-landing-system : lando
2019-05-02 16:42:09 +00:00
Harald Kirschner ef4cfc237c Bug 1538404 - Adding button hover to jump-to-definition on event handlers r=nchevobbe
The button (using a div) did not have any hover state before this patch.
While the CSS tried to control the stroke color, the SVG was not set up
for this – also fixed in this bug to correctly use the theme colors.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:35:15 +00:00
Andrea Marchesini 4d844a27d0 Bug 1548580 - Remove a startup warning in PermissionManager, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D29682

--HG--
extra : moz-landing-system : lando
2019-05-02 16:28:14 +00:00
Mathieu Leplatre 358c626f9f Bug 1513854 - Read Normandy recipes from Remote Settings on Nightly r=mythmon
Read Normandy recipes from Remote Settings on Nightly

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

--HG--
extra : moz-landing-system : lando
2019-05-02 13:19:40 +00:00
Aaron Klotz 0684e256c4 Bug 1548324: Improve implementation of force-launcher in the launcher process; r=mhowell
This patch replaces the quick-n-dirty implementation of -force-launcher with
one that makes LauncherRegistryInfo aware of that state, thus correctly setting
the affected registry values.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 20:56:43 +00:00
Aaron Klotz 338dde4754 Bug 1543807 - Part 2: Update the installer to reflect new launcher process registry settings; r=mhowell
* New installs should always have launcher process telemetry enabled by default
  (since it is opt-out telemetry).
* Upgrades do a reset of the force-disabled launcher state, as that state might
  have been set by SHIELD but is no longer desired in 68.
* We add the `|Telemetry` registry value to the list of values to be removed at
  uninstall.

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

--HG--
extra : moz-landing-system : lando
2019-05-01 21:08:49 +00:00
Aaron Klotz 0e9bf00f2f Bug 1543807 - Part 1: Modify launcher process telemetry to be gated on datareporting.healthreport.uploadEnabled; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D29543

--HG--
extra : moz-landing-system : lando
2019-05-01 20:58:55 +00:00
Nathan Froyd 482490a2df Bug 1548562 - require `nsThread::Init` to take a name; r=baku
There's no good reason why we should let unnamed threads through this interface.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 16:05:50 +00:00
Nika Layzell b5feffc5b9 Bug 1539959 - Ensure origin process is subscribed when attaching remote BC, r=farre
We were incorrectly not performing an EnsureSubscribed for the origin
process which a BrowsingContext came from. Normally this would mean that
the BrowsingContext could die in the parent process before the
WindowGlobalParent listener arrived, but that didn't generally happen
due to the low likelihood of a CC occuring between the two messages.

It's likely that this crash was caused by people on lower-end hardware
triggering a print. This would be a longer-running operation in the
content process between the first and second message than usual. On
systems with memory pressure, there would be a higher chance of a CC
occuring between the messages, which would then cause this crash.

This patch correctly connects the origin ContentParent to the
BrowsingContextGroup, which will prevent the CC from destroying our
objects.

In the future, it may be desirable to ensure that this doesn't happen
more reliably by using a ContentParent-local table for looking up
BrowsingContext IDs sent over IPC. This would prevent our current
dependency on the weak pointer behaviour of the current global ID cache.

Unfortunately, this patch adds no tests, and I'm not aware of a good way
to test this edge case to confirm it has been fixed. I believe that this
patch should fix the issue I mention, however.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 08:50:12 +00:00
Robert Strong c5cbb90922 Bug 1548422 - disable activity stream during the app update tests since it periodically errors in getScreenshot. r=bytesized
The failures when running the app update tests during TV runs print an activity stream error to the console and this will at the least eliminate it as a cause for the failure and possibly will prevent these tests from failing during TV runs.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:35:00 +00:00
yulia 77f46589d6 Bug 1494796 - Use promise pattern rather than callback pattern for threadClient methods; r=ochameau
This is preparation for moving the threadClient to a front. Fronts do not support the
callback style that clients have, they only support promises. As such, this patch migrates all
instances of the threadClient using callback style methods to promises. I have cc'd the debugger
team so that they are aware of this change and it doesn't take them by surprise.

try run : https://treeherder.mozilla.org/#/jobs?repo=try&selectedJob=242251058&revision=dbd6cca9619ca0880e920d5b86fc6d6e0c728113

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:39:20 +00:00
Michael Kaply 4b61694b5e Bug 1548080 - Add a policy to control Firefox Home r=Mardak,flod
Differential Revision: https://phabricator.services.mozilla.com/D29396

--HG--
extra : moz-landing-system : lando
2019-05-02 15:40:41 +00:00
Bastien Abadie fd94f413de Bug 1548502 - Export clang-format diff in source-test-clang-format, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D29662

--HG--
extra : moz-landing-system : lando
2019-05-02 15:19:13 +00:00
Emily Toop 3fd2272331 Bug 1546851 - Ensure that the context menu is closed when performing a paste. r=geckoview-reviewers,droeh
This issue was caused by the updating of the caret position after the paste occurs firing an `updateposition` event resulting in an `GeckoView:ShowSelectionAction` message to reposition context menu without any attempt to close the context menu. The solution is to hide the context menu before the repositioning of the caret occurs such that the `updateposition` event doesn't trigger a redisplay.

I tried several versions of this trying to trigger the menu close from inside `GeckoViewSelectionActionDelegate`, including making the call to `docShell.doCommand("cmd_paste");` asynchronous and firing `ACTION_HIDE` before firing `ACTION_PASTE`, but the result is always the same - one of the events is processed before the other and so the second event is rejected as a stale response.

Therefore we are firing the `pagehide` from inside the code that performs the paste. This has to be done before the paste occurs otherwise the `updateposition` event is fired before the page hide event and the context menu redisplays before being hidden.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 15:06:58 +00:00
Gian-Carlo Pascutto 3c771d5a8b Bug 1537781 - Test for trailing guard pages for normal allocations. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D27913

--HG--
extra : moz-landing-system : lando
2019-05-02 14:19:19 +00:00
Gian-Carlo Pascutto 3b43637e56 Bug 1537781 - Trailing guard pages for normal allocations. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D27912

--HG--
extra : moz-landing-system : lando
2019-05-02 14:19:17 +00:00
Ehsan Akhgari 27938631aa Bug 1548349 - Make sure the image cache for third-party tracking subresources is keyed to the top-level document's eTLD+1; r=baku,aosmond
Differential Revision: https://phabricator.services.mozilla.com/D29546

--HG--
extra : moz-landing-system : lando
2019-05-02 12:27:07 +00:00
Valentin Gosu 50b2b648b6 Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26884

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:45 +00:00
Valentin Gosu f96dbbf019 Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26883

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:38 +00:00
Valentin Gosu e649e93aa1 Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D26882

--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:36 +00:00
Emilio Cobos Álvarez b3d6b2d368 Bug 1547851 - Ensure we have a pres shell to send events to by the time load ends. r=mconley
See the regressing bug for similar fixes that were needed in other tests.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 13:54:03 +00:00
Julian Descottes d6ec45959c Bug 1548461 - Set about:debugging sidebar width to 280px to fit connection warning r=Ola
Connection warnig is too tall in the current 260px-wide sidebar.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 09:35:59 +00:00
Kartikaya Gupta 0064188850 Bug 1548261 - Run wrench reftests in debug also. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D29663

--HG--
extra : moz-landing-system : lando
2019-05-02 14:18:21 +00:00
Mitchell Hentges a9872b341b No bug - Updates Fenix Raptor configuration r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D29489

--HG--
extra : moz-landing-system : lando
2019-05-01 15:01:23 +00:00
Byron Campen [:bwc] 2d9b7eb405 Bug 1547278 - Part 1: Ensure that transports are created for a repeated sLD(offer). r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D29405

--HG--
extra : moz-landing-system : lando
2019-05-01 15:46:05 +00:00
Byron Campen [:bwc] cb2f09c730 Bug 1547278 - Part 0: Test case for the bug. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D29404

--HG--
extra : moz-landing-system : lando
2019-05-01 14:54:03 +00:00
Rob Thijssen c00716af37 Bug 1543026 - enable sccache on gcp r=wcosta
this change comprises the in-tree changes required to make use of sccache in gcp.
specifically:
- a gcp metadata lookup for availability-zone is added to mozconfig, enabling a build to determine its regional gcp sccache bucket
- the sccache cargo build command is modified to include the gcs feature when the environment contains gcs configuration

note that further changes are required on infra to support sccache use. the required changes already [exist](https://github.com/mozilla-releng/OpenCloudConfig/commit/1d515dc) and are enabled for gcp windows infra, including:
- a json credential file on the build instance filesystem, containing credentials valid for the appropriate scm level bucket for the gcp region
- an `SCCACHE_GCS_KEY_PATH` env variable containing the path to the json credential file
- an `SCCACHE_GCS_RW_MODE` env variable containg the text `READ_WRITE`
- sccache buckets must exist for each region and scm levels 1 & 3
- credentials for scm level 1 buckets **must not** be valid for scm level 3 buckets

on gcp systems which do not contain credential files and the above mentioned env variables (eg gecko-[1-3]-b-linux), sccache should fail gracefully without breaking builds.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 12:56:20 +00:00
Mark Banner 5dd6faf49b Bug 1545706 - Avoid displaying an extra dash for keyword searches in QuantumBar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D29418

--HG--
extra : moz-landing-system : lando
2019-05-02 13:00:16 +00:00
Jean-Yves Avenard f558e67dd0 Bug 1548409 - Use MOZ_DIAGNOSTIC_ASSERT. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D29587

--HG--
extra : moz-landing-system : lando
2019-05-02 13:24:31 +00:00
Thomas Nguyen 23f12685bd Bug 1532318 - Part 3 : update js code related to the change of nsIHttpChannel r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D22787

--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:06 +00:00
Thomas Nguyen b0bfbd85aa Bug 1532318 - Part 2 : update changes of nsIHttpChannel in codebase r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D22786

--HG--
extra : moz-landing-system : lando
2019-05-02 12:33:55 +00:00
Thomas Nguyen 23e61a2595 Bug 1532318 - part 1: use ReferrerInfo class in nsIHttpChannel instead of referrer and referrer policy r=valentin,ckerschb,michal
Differential Revision: https://phabricator.services.mozilla.com/D22783

--HG--
extra : moz-landing-system : lando
2019-05-02 12:34:52 +00:00
ffxbld 7667ecf1f2 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D29660

--HG--
extra : moz-landing-system : lando
2019-05-02 12:44:14 +00:00
shindli f58e49c03e Backed out changeset 082c0dba73cb (bug 1544710) for causing dt permafailures in devtools/client/netmonitor/test/browser_net_propertiesview-copy.js CLOSED TREE 2019-05-02 15:33:01 +03:00
Kershaw Chang 3aad5c69c2 Bug 1541114 - Check mIPCOpen before sending messages r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D27869

--HG--
extra : moz-landing-system : lando
2019-05-02 12:00:57 +00:00
Ivan Yung 9914e7d5ec Bug 1519884: Improve help text for --test argument r=rwood
Differential Revision: https://phabricator.services.mozilla.com/D29541

--HG--
extra : moz-landing-system : lando
2019-05-01 19:26:41 +00:00
Alexandre Poirot 4acc49f558 Bug 1543098 - Emit executionContextDestroyed and executionContextCreated when the page goes into/out of the BF Cache. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D28959

--HG--
extra : moz-landing-system : lando
2019-05-02 10:22:13 +00:00
Alexandre Poirot 292f73b2d1 Bug 1543098 - Implement Runtime.executionContextDestroyed. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D27524

--HG--
extra : moz-landing-system : lando
2019-05-02 10:22:06 +00:00
Alexandre Poirot 2e7bacc0d1 Bug 1543098 - Emit executionContextCreated for existing context when calling Runtime.enable. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D28958

--HG--
extra : moz-landing-system : lando
2019-05-02 10:22:04 +00:00
Alexandre Poirot 308a953c12 Bug 1543098 - Implement Runtime.executionContextCreated. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D27523

--HG--
extra : moz-landing-system : lando
2019-05-02 10:21:56 +00:00
Jonas Allmann 7fa6018a95 Bug 1547713 - Remove chrometask_chromescript from eval()-whitelist, r=ckerschb
Flip pref to allow the use of eval() in this purely test-related case.

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

--HG--
extra : moz-landing-system : lando
2019-05-02 08:58:32 +00:00
Jan de Mooij 9818272c76 Bug 1548223 - Don't assert in Realm's destructor if we have shutdown GC leaks. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D29623

--HG--
extra : moz-landing-system : lando
2019-05-02 11:35:52 +00:00
Yura Zenevich 3a6c1c6a49 Bug 1544710 - ensure that selected row is always visible within TreeView after update. Clean up scroll into view operations across all uses of TreeView. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D29342

--HG--
extra : moz-landing-system : lando
2019-05-02 04:32:33 +00:00
Julian Descottes 46a3720013 Bug 1531315 - Rename aboutdebugging test classnames from js-* to qa-* r=Ola
Differential Revision: https://phabricator.services.mozilla.com/D28946

--HG--
extra : moz-landing-system : lando
2019-05-02 10:14:47 +00:00
Jan de Mooij 6f28e94619 Bug 1537908 part 4 - Replace overflow check with a static_assert. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D29470

--HG--
extra : moz-landing-system : lando
2019-05-01 15:40:11 +00:00