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

645407 Коммитов

Автор SHA1 Сообщение Дата
Barret Rennie c6fc7a9f0d Bug 1510569 - Implement nsIWebProgressListener2 for TabChild r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25648

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:21 +00:00
Barret Rennie df67076aeb Bug 1510569 - Remove onStatusChange handlers from browser_alltabslistener.js r=Gijs
The `browser_talltabslistener.js` test verifies that (a) certain
`nsIWebProgress` events occur in the correct order and (b) that the events come
from the correct browser. However, the part of the test that listend for
`onStatusChange` messages did not actually confirm that they were triggered or
that the correct number of them were triggered. The ordering of the
`onStatusChange` events with respect to the other `nsIWebProgress` events is
non-deterministic because `onStatusChange` events are filtered through the
`nsBrowserStatusFilter`, which may or may not put them on a delay timer (due to
the message being repeated often).

The presence of this timer makes for a lovely race condition. Now that the
TabChild's onStatusChange event handler is registered earlier (in
`TabChild::Init` instead of the `WebProgressChild.jsm`) we are getting more
`onStatusChange` messages and the race more frequently results in a failing
test. This is due to one of the test cases swapping browsers *but* not
explicitly waiting for all `onStatusChange` events to come in, so the test case
will run with swapped browsers and a `onStatusChange` event from a previous
test case will leak through, causing the test to fail.

The simplest way to fix these tests is to just remove the `onStatusChange`
listeners, since they do not assert whether or not they are received -- the
tests will pass even if no `onStatusChange` events are sent.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:32:14 +00:00
Barret Rennie 9c76d87929 Bug 1510569 - Port onStatusChange notifications inside WebProgressChild.jsm to C++ r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25446

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:54 +00:00
Barret Rennie 779f6e3bbf Bug 1510569 - Reconstruct nsIWebProgress and nsIRequest for onContentBlockingEvent in TabParent r=Ehsan
Now that we have access to the RemoteWebProgress from the TabParent and can
construct RemoteWebProgress and RemoteWebProgressRequests in C++, we can
reconstruct the RemoteWebProgress and RemoteWebProgressRequest in the TabParent
instead of RemoteWebProgressManager. This improves the API for nsIBrowser and
RemoteWebProgressManager, removing the need for the
`callWebProgressContentBlockingEventListeners` method in both. It also means we
won't need to implement `callWebProgress*Listeners` for methods on nsIBrowser
and RemoteWebProgressManager for all other nsIWebProgress events.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:41 +00:00
Barret Rennie d4a4ddb2fc Bug 1510569 - Implement nsIWebProgressListener for RemoteWebProgressManager r=Ehsan
The RemoteWebProgressManager is now implemented in terms of a
nsIWebProgressListener. This paves the way for reconstructing the
nsIWebProgress and nsIRequest passed to the event handlers in C++ instead of in
JS and will alllow for a cleaner overall design.

While here, I also cleaned up RemoteWebProgressManager to use the class
syntactic sugar.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:27 +00:00
Barret Rennie 2217e5192a Bug 1510569 - Reimplement RemoteWebProgressRequest as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24940

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:07 +00:00
Barret Rennie 0196dec3ba Bug 1510569 - Add missing includes and using namespace declarations r=Ehsan
WindowGlobalChild.cpp was relying on several headers already included by other
files in its unified build translation unit, but the addition of the
RemoteWebProgressRequest in the next change bumps them into another translation
unit and breaks the build.

The missing `#include` and `using namespace` statements have been added,
allowing builds to succeed.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:31:00 +00:00
Barret Rennie 611cae7854 Bug 1510569 - Reimplement RemoteWebProgress as an XPCOM component in C++ r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D24811

--HG--
extra : moz-landing-system : lando
2019-04-03 17:30:40 +00:00
Barret Rennie c8a6795173 Bug 1510569 - Add missing includes to WindowGlobalParent.cpp r=Ehsan
Due to adding a new CPP file in the next change, the unified build fails due to
files being shuffled around between translation units. This change fixes the
build.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:30:27 +00:00
Barret Rennie b4658569b0 Bug 1510569 - QueryInterface received nsIRequest in promiseBrowserLoaded to an nsIChannel r=kmag
Changing RemoteWebProgress to a C++ XPCOM object will cause the request being
passed into the `onStateChange` handler in `promiseBrowserLoaded` to become a
wrapped XPCOM object for an nsIRequest, instead of the JS object it was
previously. This results in the attribute lookup for `originalURI` on the
request to fail, leading to cascading failures.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:50:58 +00:00
Barret Rennie f5743d5bf7 Bug 1510569 - Include innerDOMWindowID in the WebProgressData sent from TabChild to TabParent r=baku
Differential Revision: https://phabricator.services.mozilla.com/D24808

--HG--
extra : moz-landing-system : lando
2019-04-03 17:29:58 +00:00
Barret Rennie 203367c7de Bug 1510569 - Ensure TabChild's IPC actor is not dead before sending OnContentBlockingEvent message to TabParent r=nika
Differential Revision: https://phabricator.services.mozilla.com/D24807

--HG--
extra : moz-landing-system : lando
2019-04-03 17:29:40 +00:00
Barret Rennie 08dfb4b9c8 Bug 1510569 - Use Maybe<T> directly in TabChild::PrepareProgressListenerData r=nika,Alex_Gaynor
Differential Revision: https://phabricator.services.mozilla.com/D24806

--HG--
extra : moz-landing-system : lando
2019-04-03 17:29:28 +00:00
Barret Rennie 27a7e12ecc Bug 1510569 - Filter TabChild nsIWebProgress events through a nsBrowserFilter r=kmag
The implementation of WebProgressChild.jsm filters all nsIWebProgress events
through an nsBrowserFilter. We need to do this in the TabChild as well, but
TabChild currently only handles onContentBlockingEvent, for which
nsBrowserFilter only calls the underlying listener.

We also unregister the progress listener much earlier in TabChild::Destroy as
this method causes OnStateChange event to be triggered later on, which we are
not interested in capturing.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 17:29:15 +00:00
Barret Rennie 87e30660c0 Bug 1510569 - Export nsBrowserStatusFilter.h r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D24988

--HG--
extra : moz-landing-system : lando
2019-04-03 17:28:56 +00:00
Tom Prince 9d456978bf Bug 1533939: [release] Move beta-channel RC tasks to release platform in treeherder; r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D25985

--HG--
extra : moz-landing-system : lando
2019-04-04 00:52:00 +00:00
Mike Hommey 8d0464d639 Bug 1541329 - Remove useless localeconv check. r=froydnj
There is already a AC_HAVE_FUNC(localeconv) in js/src/old-configure.in
on non-Windows, and on Windows, HAVE_LOCALECONV is always set.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 13:16:21 +00:00
Karl Tomlinson fe0b4da7b5 Bug 1541311 add support for AudioWorkletNode.numberOfInputs/Outputs r=padenot
There is no specified limit on the number of inputs or outputs, except that
the webidl parameter is unsigned long, but Gecko has an implementation-defined
limit.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 13:38:10 +00:00
Nick Alexander b03aa4ed38 Bug 1533385 - Make GeckoView read configuration options from filesystem. r=droeh
The configuration file format is YAML and looks like:
```
prefs:
  foo.bar.boolean: true
  foo.bar.string: "string"
  foo.bar.int: 500
env:
  MOZ_LOG: nsHttp:5
args: [--marionette]
```
By default, if the consuming App is debuggable, GeckoView will read
configuration from `/data/local/tmp/$PACKAGE-geckoview-config.yaml` at
startup.

For consumers (including browsers) that want to allow the underlying
GeckoView to be remote controlled in some way, the
`GeckoRuntimeSettings.Builder.configFilePath()` method allows to avoid
the default behaviour depending on the `android:debuggable` flag.  For
example, release versions of Firefox for Android will want to allow
this configuration when appropriate App-level settings are toggled.

The additional configuration is appended after any existing configuration
methods, e.g., after anything specified using Intent argument extras
or existing `GeckoRuntimeSettings.Builder` methods.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 23:51:17 +00:00
sotaro 817c9ec8c9 Bug 1529870 - Add handling of single buffer mode android SurfaceTexture r=nical
When SurfaceTexture is single buffer mode, UpdateTexImage() should be called only once for each publish. If UpdateTexImage() is called more than once, it causes hand on puglish side.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 22:05:27 +00:00
Razvan Maries 1cd564b971 Backed out changeset 3b94c20ba873 (bug 1540990) for build bustages. CLOSED TREE 2019-04-04 02:44:00 +03:00
Masayuki Nakano b2bba953cc Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio
A lot of files include `nsIPresShell.h` even though currently they don't
need it.  This patch removes the unnecessary inclusions.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 23:29:38 +00:00
Dana Keeler a483dcca02 Bug 1539415 - make nsICertStorage (cert_storage) asynchronous for functions called from the main thread r=jcj,mgoodwin
The Set* functions of nsICertStorage (SetRevocationByIssuerAndSerial,
SetRevocationBySubjectAndPubKey, SetEnrollment, and SetWhitelist) are called on
the main thread by the implementations that manage consuming remote security
information. We don't want to block the main thread, so this patch modifies
these functions to take a callback that will be called (on the original thread)
when the operation in question has been completed on a background thread.

The Get* functions of nsICertStorage (GetRevocationState, GetEnrollmentState,
and GetWhitelistState) should only be called off the main thread. For the most
part they are, but there are at least two main-thread certificate verifications
that can cause these functions to be called on the main thread. These instances
are in nsSiteSecurityService::ProcessPKPHeader and
ContentSignatureVerifier::CreateContextInternal and will be dealt with in
bug 1406854 bug 1534600, respectively.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 23:24:19 +00:00
Masayuki Nakano 98518a7159 Bug 1540969 - Get rid of nsPICommandUpdater r=bzbarsky
`nsPICommandUpdater` is a scriptable interface, but nobody refers it from JS,
and it's implemented only by `nsCommandManager`.  Therefore, we can get rid
of this interface.

Additionally, `nsCommandManager::Init()` is called only by `nsDocShell`, which
is the only instantiater of the class, and returns error only when given window
is nullptr.  Therefore, we can make the constructor take the window instead.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 12:53:54 +00:00
Masayuki Nakano ac8ecb5c44 Bug 1540965 - Make nsIControllerContext builtinclass and removes its init() method r=bzbarsky
`nsIControllerContext` isn't implemented with JS even in comm-central nor
BlueGriffon.  Therefore, it can be a builtinclass.

Additionally, it's `init()` returns always `NS_OK`, and always called with
`null` from JS, and always called with an instance from C++.  So that its the
only implementation, `nsBaseCommandController` can have 2 constructors which
does what `Init()` currently does.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 12:52:56 +00:00
Chris Manchester d442e40c5e Bug 1540941 - Update artifact build routes for shippable builds. r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D26014

--HG--
extra : moz-landing-system : lando
2019-04-03 22:14:27 +00:00
Gijs Kruitbosch 382c9e2410 Bug 1528335, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D25775

--HG--
extra : moz-landing-system : lando
2019-04-03 21:01:19 +00:00
Gijs Kruitbosch 2930600872 Bug 1528335 - tests, r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D25774

--HG--
extra : moz-landing-system : lando
2019-04-03 21:01:06 +00:00
Mellina Yonashiro d86639abde Bug 1536937 - On hover classes and functions variations outline panel r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D24253

--HG--
extra : moz-landing-system : lando
2019-04-03 20:48:19 +00:00
Junior Hsu 304908db26 Bug 1539766 - handle the cancel case for e10s bp r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D25315

--HG--
extra : moz-landing-system : lando
2019-04-03 20:35:02 +00:00
Ehsan Akhgari de2dd15a33 Bug 1536664 - Re-enable the disabled anti-tracking tests now that bug 1498102 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25936

--HG--
extra : moz-landing-system : lando
2019-04-03 17:52:10 +00:00
Tom Prince b0bfeb656d Bug 1533589: [win64-aarch64] Point win64-aarch64 stub bounce entries at the correct path; r=mtabara
There was special case logic to map the win64 platform to win32, for stub
entries. When win64-aarch64 was added no special case was added for that
plaform, so they stub entries pointed at the incorrect place.  This changes the
configuration so that all stub entries point at the win32 paths, without
needing special case code.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:59 +00:00
Tom Prince f98c3b1e30 Bug 1533589: [win64-aarch64] Add win64 aarch64 bouner-check configuration; r=mtabara
Differential Revision: https://phabricator.services.mozilla.com/D25840

--HG--
extra : moz-landing-system : lando
2019-04-03 20:34:00 +00:00
Tom Prince 4ac1c70fe2 Bug 1541122: Don't create fresh virtualenv for bouncer-check; r=mtabara
In automation, the script is run with `mach python`, and all the dependencies
are vendored, so just use them directly.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:47 +00:00
Tom Prince 7138026d04 Bug 1541122: [mozharness] Simplify bouncer-check configuration to not include paths; r=mtabara
These existed for when bouncer was updated via mozharness, and they are unused in bouncer-check.
By removing the paths, we make the configuration easier to read and update.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:48 +00:00
Tom Prince 585a5a60bf Bug 1541122: [mozharness] Remove unused bouncer configuration for fennect; r=mtabara
Fennec doesn't have a bouncer check task, and bouncer is update via bouncerscript.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:33 +00:00
Tom Prince 559515ed12 Bug 1541122: [mozharness] Remove unused bouncer_check config entries; r=mtabara
I beleive these entries date from when bouncer config was handled by mozharness
rather than bounerscript and are now obsolete.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:28 +00:00
Tom Prince b1dca8980b Bug 1541122: [try-staging] Support bouncer-check in staging; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D25835

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:23 +00:00
Tom Prince f652d0a3de Bug 1533589: Add win64-aarch64 update verify configuration; r=aki
Differential Revision: https://phabricator.services.mozilla.com/D25834

--HG--
extra : moz-landing-system : lando
2019-04-03 20:43:14 +00:00
Tom Prince 323ed9e2e0 Bug 1533589: Support generating update-verify-config for new configuration; r=aki
When adding a new platform, the first release will be at the watershed, and
there will be no update paths. Rather than failing in this case (requiring the
update-verify setup happen after the first release), generate an empty config
which will allow the later tasks to turn green.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:10 +00:00
Tom Prince f5d48b04f2 Bug 1541121: [try-staging] Allow staging release to not have partials; r=aki
We check that partials as a safety check. But we don't need that for staging builds,
and it is often useful to be able to test things that don't depend on partials.

The shipit UI currently still requires partials, but that can be worked around using
the react dev tools.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:33:05 +00:00
Tom Prince c2e4f7bd1c Bug 1541121: [try-staging] Simplify the logic for getting partial update configration; r=aki
The original code was converting to json, then comparing against `{}`. This switches things
around so that json is only generated where it is directly used a json.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:32:59 +00:00
Edwin Gao 4ab7fa656e Bug 1540213 - turn on green suites of windows10-aarch64 on taskgraph r=jmaher,gbrown
Enables the list of suites as defined in Bug 1540213.

- added new item in `test-sets.yml` for windows10-aarch64.
- reference the new test-set in `test-platforms.yml`.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 21:22:55 +00:00
Edwin Gao 2945074373 Bug 1530895 - skip test_iframe_event_listener_leaks test for windows10-aarch64 due to high intermittance r=jmaher
Skip this test due to high intermittence.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:59:38 +00:00
Adam Holm bef3ba4a24 Bug 1493189 - Collapse ICCacheIR_UpdatedStub into ICUpdatedStub. r=mgaudet
Collapsed ICUpdatedStup into ICCacheIR_Updated.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:27:07 +00:00
Henrik Skupin 855136af7f Bug 1504308 - [mach] Pass path to Python interpreter to python-tests. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D25760

--HG--
extra : moz-landing-system : lando
2019-04-03 21:02:55 +00:00
Andrew Halberstadt a06828d301 Bug 1532747 - [ci] Create try-only raptor reference-browser tasks, r=jmaher,rwood
These will run on android-hw against the latest reference browser nightly.
Since they are try-only, they can only be scheduled with |mach try fuzzy
--full|.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 19:21:58 +00:00
Kyle Machulis 971f298ed0 Bug 1525583 - Add more null checks for NPN_RetainObject; r=jmathies
Don't try to change refcount on null pointer if one is passed.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 19:52:40 +00:00
Edwin Gao 4ef9fcc3d1 Bug 1532813 - expect fail for last_test_to_unload_testsuite for windows10-aarch64 r=jmaher
Changes:
- skipped problematic tests in crashtest suite on windows10-aarch64
- removed unnecessary pixel fuzzy values from previous iterations of greening tests

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

--HG--
extra : moz-landing-system : lando
2019-04-03 20:36:41 +00:00
Dzmitry Malyshau eef888097b Bug 1538711 - Fix tile cache clip chain in WR r=gw
Differential Revision: https://phabricator.services.mozilla.com/D25667

--HG--
extra : moz-landing-system : lando
2019-04-03 16:28:19 +00:00