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

622659 Коммитов

Автор SHA1 Сообщение Дата
Andreas Tolfsen d0917b9009 bug 1492499: marionette: wait for last event on resizing window; r=automatedtester,whimboo
My delegating to the main thread, waiting for the last DOM resize event
to fire, and requesting an animation frame from the ChromeWindow, we
can ensure the window is (more) synchronously resized.  This ensures
better reliability when setting a window's dimensions.

All this means we can get rid of the heuristics we use for "waiting
for a window resize" to occur by checking if the outerWidth/outerHeight
has changed.  These were obviously bug ridden.

Depends on D8417

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:26 +00:00
Andreas Tolfsen b85c42be2d bug 1492499: marionette: make window positioning idempotent; r=whimboo
When the ChromeWindow is already in the desired x/y position,
WebDriver:SetWindowRect should act as a no-op.  This avoids a
superfluous call to ChromeWindow.moveTo.

Depends on D8416

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:24 +00:00
Andreas Tolfsen a63546f5e2 bug 1492499: marionette: fix buggy window state comparison; r=whimboo
win.Maximized does not exist.  This should be WindowState.Maximized.

Depends on D8415

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:22 +00:00
Andreas Tolfsen 4caae08c48 bug 1492499: marionette: accept sizemodechange may not always fire; r=automatedtester,whimboo
Unlike the visibilitychange event, sizemodechange appears to fire in a
mostly reliable way.  However, in the off-chance that sizemodechange
should not fire, we need an escape path so that Marionette returns
within a timely fashion.

Depends on D8414

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:20 +00:00
Andreas Tolfsen aeb2acfd24 bug 1492499: marionette: bail if visibilitychange does not fire on minimization; r=whimboo
The visibilitychange DOM event does not fire reliably in all
configurations when retrieved from web content.  It appears to fire more
reliably in chrome, but to ensure a call to WebDriver:MinimizeWindow
never hangs, we additionally change it to be a TimedPromise.

There is an assumption here that if the iconification process does
not complete within this duration, there is nothing we can do.

Depends on D8413

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:18 +00:00
Andreas Tolfsen 3d84531a75 bug 1492499: marionette: poll on restoring window; r=whimboo
Instead of waiting for the visibilitychange event to fire, which does
not work in headless mode, we can poll ChromeWindow.windowState which
appears to be a more reliable way of telling the window's current state.

This will resolve the problem where Marionette never returns from
restoration due to visibilitychange never firing, and will additionally
make it more reliable.

Depends on D8412

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:16 +00:00
Andreas Tolfsen 78a0a14d3d bug 1492499: marionette: add debounce sync primitive; r=automatedtester
This adds a new synchronisation primitive to Marionette which will
allow us to wait for the last in a sequence of events to fire.
This is especially useful for high-frequency events such as the DOM
resize event, where multiple resize events may fire as the window
dimensions are being changed.

Depends on D8411

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:14 +00:00
Andreas Tolfsen 5e151181ca bug 1492499: webdriver: add stress tests for window manipulation; r=automatedtester
Depends on D8410

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:06 +00:00
Andreas Tolfsen 51c24a94ae bug 1492499: webdriver: take 22px window border into account on maximizing; r=automatedtester,whimboo
On some systems and window managers, such as macOS and when X11
forwarding an application across systems, there exists a 22px
window border that we cannot detect or do anything about.  As this
test is to verify that the width/height changed beyond 800x600,
this assertion change should make the tests pass on more configurations.

Depends on D8409

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:04 +00:00
shindli 327a967b87 Backed out changeset 60659171e414 (bug 1498246) for geckoview bustages CLOSED TREE 2018-11-08 14:56:40 +02:00
Alex Chronopoulos ae8562694f Bug 1482150 - Create a unit test to verify all corner cases of the helper method. r=padenot
Quering the stored devices list for an ID was not always correct. The stored devices list is expected to be empty before an enumeration takes place or after a collection change notification. In those cases, the method will fail to find an existing ID. The method has been updated to address these cases in previous patch. Here I have implemented a unit test to verify the case. Currently, the method is not being used.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 12:33:41 +00:00
Alex Chronopoulos ba88363c9c Bug 1482150 - Implement enumeration of output devices. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D7605

--HG--
extra : moz-landing-system : lando
2018-11-08 12:33:33 +00:00
Alex Chronopoulos aaea0ba012 Bug 1482150 - Make CubebDeviceEnumerator singleton. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D7604

--HG--
extra : moz-landing-system : lando
2018-11-08 12:33:26 +00:00
Alex Chronopoulos bc5ee0931a Bug 1482150 - Move CubebDeviceEnumerator to its own source and header files. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D7603

--HG--
extra : moz-landing-system : lando
2018-11-08 12:33:18 +00:00
Petru Lingurar c18e433f14 Bug 1501648 - Prevent crashes for unregistered receivers from MmaDelegate and GeckoMediaControlAgent; r=jchen,JanH
Although this two receivers are guarded by checks for if they were initialized
(and so registered) there are reports of crashes because of trying to unregister
them without them actually being registered.

The underlying issue will be investigated further in bug 1505685 but for the
moment wrapping the unregister operations in a try-catch saves the users from
a crash and because the unregister is done when the app is closed
(for the MmaDelegate receiver) or when the app finished playing media
(for the GeckoMediaControlAgent receiver) the user doesn't loose any
functionality going forward.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 12:08:40 +00:00
Daniel Stenberg 8da710e1bf bug 1503517 - do not strip 0x0c from X-Content-Type-Options header fields r=dragana
The nsCSstring's StripWhitespace() method is not very HTTP "friendly".

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

--HG--
extra : moz-landing-system : lando
2018-11-08 11:30:13 +00:00
Imanol Fernandez 39c972b3f6 Bug 1498246 - Add GeckoView Media API r=rbarker,snorp,esawin,jchen,cvan
Add GeckoView Media API which provides a way to listen to HTMLMediaElement events in a GeckoSession and control the playback externally

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

--HG--
extra : moz-landing-system : lando
2018-11-08 01:37:56 +00:00
Jared Wein dde3450d5d Bug 1502083 - Move the 'Close Other Tabs' and 'Close Tabs to the Right' back to the main tab context menu and out of a submenu. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11223

--HG--
extra : moz-landing-system : lando
2018-11-08 09:11:42 +00:00
Jared Wein 938dee6e20 Bug 1504274 - Close Tabs to the Right in a multiselect context should close all tabs to the right of the contextual tab that are not selected. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11250

--HG--
extra : moz-landing-system : lando
2018-11-08 11:00:13 +00:00
yulia 6edfdf2ae9 Bug 1495388 - Simplify Inspector Front destruction; r=ochameau
Depends on D8992

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

--HG--
extra : moz-landing-system : lando
2018-11-07 14:35:42 +00:00
Alexandre Poirot 36ade4321e Bug 1503628 - Rename TabTarget to Target. r=yulia
MozReview-Commit-ID: BpmiEm05QIF

Depends on D11015

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:30:59 +00:00
Alexandre Poirot c12a36ee43 Bug 1503628 - Remove WorkerTarget. r=yulia
MozReview-Commit-ID: 8oapi6dtQdf

Depends on D11014

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:09:12 +00:00
Alexandre Poirot 42da350649 Bug 1503628 - Merge TabTarget and WorkerTarget. r=yulia
MozReview-Commit-ID: 58iL6HyXjM4

Depends on D11013

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:09:10 +00:00
Alexandre Poirot 1e489b18b6 Bug 1503628 - Fix the typing of newSource event on the worker target actor. r=yulia
MozReview-Commit-ID: 3tPRSL8OHFY

Depends on D11012

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:09:08 +00:00
Alexandre Poirot 70c180d3f8 Bug 1503628 - Remove checks against non-remote targets. r=yulia
MozReview-Commit-ID: 5v9HaEUE9E6

Depends on D11011

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:09:06 +00:00
Alexandre Poirot 7ede012733 Bug 1503628 - Remove TabTarget checks against non-remote targets. r=yulia
MozReview-Commit-ID: DxTqoIbVle6

Depends on D11010

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:09:04 +00:00
Alexandre Poirot d93476b23f Bug 1503628 - Stop storing threadActor on TabTarget. r=yulia
MozReview-Commit-ID: 28A1mNQG9P2

Depends on D11009

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:09:02 +00:00
Alexandre Poirot 85ae5e3944 Bug 1503628 - Remove Target.isRemote. r=yulia
Now all targets are considered as remote, so isRemote attribute is misleading.
Remote means that we are going through the RDP protocol to debug the target
and we now always do. If some callsite wants to do something special for local tabs
it is better to read target.isLocalTab attribute.

MozReview-Commit-ID: IYlj0wO02PO

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:08:59 +00:00
Emily Toop 74e1ca6361 Bug 1500560 - Add Resource ID for `LocationView` URL bar. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D11036

--HG--
extra : moz-landing-system : lando
2018-11-07 17:22:46 +00:00
Marco Zehe b96e455eb6 Bug 1503964 - Prevent crashes when dealing with crazy table row and column role constructs, r=Jamie
Made IsTableCell() only check the generic type, not the ARIA map entry that gets checked in HasGenericType. This prevents the crash and also fixes IsTableCell() and AsTableCell() not being in sync.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 10:54:09 +00:00
Raphael Pierzina d995a4ee33 Bug 1504648 - Set telemetry-tests-client suite to CI tier 2; r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D11286

--HG--
extra : moz-landing-system : lando
2018-11-08 10:06:10 +00:00
Marco Bonardo a929c4971c Bug 1502392 - Remove support for browser.urlbar.autocomplete.enabled. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D11245

--HG--
extra : moz-landing-system : lando
2018-11-08 09:59:27 +00:00
Patrick Brosset db04e237d0 Bug 1504859 - Stop assuming that basis+delta is always positive in the flex minimap; r=gl
Previously, we would always hard-code the basis-start and final-start line names first in
the grid column template used to display the minimap.
Because there may be cases where base+delta is actually negative, we cannot do that anymore.
This fixes that by removing this hard-coding and sorting the entire array of sizes before
generating the grid column template.
The test that I added is only a few lines, but to make it simpler to write, I had to
merge doc_flexbox_simple.html and doc_flexbox_specific_cases.html, which is why you are
seeing several test changed here.
Also, to make sure the test case I added would behave the same across platforms, I used the
Ahem font, which is often use in Layout tests as it only has 1 glyph that's exactly the size
of the font-size.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 05:22:38 +00:00
Brindusan Cristian 45d6367499 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-08 11:39:58 +02:00
Alexander Surkov 17f55aee76 Bug 1493594 - replace customizationTarget XBL property by CustomizableUI method, r=gijs 2018-11-08 13:45:22 +07:00
Bobby Holley 2ea3b7c4a7 Bug 1505664 - Reduce shared texture cache to 32 layers. r=gw
Landing this directly (rather than via GitHub) because rendering is
broken on mac.
2018-11-07 21:31:17 -08:00
Belén Albeza d0fd5d4a85 Bug 1493695 - Extract renderField method to dedicated component. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D11059

--HG--
extra : moz-landing-system : lando
2018-11-08 05:30:41 +00:00
Gabriel Luong 063265c2c9 Bug 1497312 - Use hostname instead of hostName to get the correct the hostname. r=mtigley 2018-11-08 00:18:19 -05:00
arthur.iakab 4d18ac7124 Merge mozilla-central to inbound 2018-11-08 06:54:25 +02:00
arthur.iakab 59ae70486b Merge inbound to mozilla-central a=merge 2018-11-08 06:52:03 +02:00
Lee Salzman 3936de51c8 Bug 1504452 - fix GrGLGpu buffer offset calculations. r=rhunt 2018-11-07 22:01:44 -05:00
Mike Hommey d0ec6a60ce Backout changesets 2e0ed8c61e24, b569742fbbf2 and 6f8c933b7938 (bug 1504906) to give time to docker images to build without blocking other landings. 2018-11-08 10:49:16 +09:00
Mike Hommey 7b276b9a22 Bug 1504906 - Build 32-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
This creates 32-bits variants of the same packages that were added for
64-bits builds, with a few additions:
- python-defaults, so that the python package can be installed as a
  dependency of the libglib2.0-dev package,
- xkeyboard-config, so that the xkb-data package can be installed as a
  dependency of the libxkbcommon0 package.

Additionally, because the 32-bits and 64-bits packages are built
separately (the 32-bits packages can't, on Wheezy, be built on a 64-bits
host), they don't end up with the same
changelog.Debian/changelog.Debian.gz file because of a timestamp within
it. One way to address this would be to make the taskgraph more complex,
by adding a task creating the source package, and then two tasks
building the 32-bits and 64-bits binary packages from that source, but
that's not worth the overhead, when a simple hack works around the
problem: We make dpkg skip installing the changelog.Debian* files.

Differential Revision: https://phabricator.services.mozilla.com/D11140
2018-11-08 10:44:53 +09:00
Mike Hommey 488847b3a5 Bug 1504906 - Add support for building non-amd64 Debian packages. r=gps
Differential Revision: https://phabricator.services.mozilla.com/D11139
2018-11-08 10:44:29 +09:00
Mike Hommey ca374653a7 Bug 1504906 - Build 64-bits Gtk+ 3.10 packages for Debian Wheezy. r=gps
Along with all the updated dependencies that are necessary to achieve
this.

Differential Revision: https://phabricator.services.mozilla.com/D11138
2018-11-08 10:44:10 +09:00
Mike Hommey f263795333 Bug 1504906 - Use a separate docker image for base toolchain builds. r=gps
We're going to bump our shipped builds to build against Gtk+ 3.10, but
still want to ensure we can still build against Gtk+ 3.4. As we're using
Gtk+ packages installed in the build docker image, we need to have a
separate image where the Gtk+ packages are kept at version 3.4.

Differential Revision: https://phabricator.services.mozilla.com/D11137
2018-11-08 10:42:42 +09:00
Mike Hommey 9551f8369c Bug 1504951 - Fix static analysis errors that arise when enabling wayland support. r=jhorak
Add missing explicit to avoid implicit conversion constructors.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 01:41:33 +00:00
Michael Cooper 5538808771 Bug 1502182 - In Normandy, never close IndexedDB databases, and be explicit about objectStore modes r=Gijs,asuth
I suspect that the root cause of bug 1502182 is that we try open a database
connection before the old one is fully closed. Instead of dealing with
complicatedasync bookkeeping to make sure this doesn't happen, this patch
simply never closes the database connection.  I don't think any of the
benefits of closing IndexedDB databases apply to Normandy, and it isn't
a significant cost to simply keep them open.

Additionally, the patch distinguishes between readonly and readwrite
transactions with the database. This was originally done to try and fix
the bug. When it didn't help, I decided to leave the change in because
it is a beneficial change anyways.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 23:21:52 +00:00
Rob Wood 34ed2a4281 Bug 1505526 - Rename existing raptor tp6 to tp6-1 and raptor gdocs to tp6-2; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D11234

--HG--
rename : testing/raptor/raptor/playback/mitmproxy-recordings-raptor-tp6.manifest => testing/raptor/raptor/playback/mitmproxy-recordings-raptor-tp6-1.manifest
rename : testing/raptor/raptor/playback/mitmproxy-recordings-raptor-gdocs.manifest => testing/raptor/raptor/playback/mitmproxy-recordings-raptor-tp6-2.manifest
rename : testing/raptor/raptor/tests/raptor-tp6.ini => testing/raptor/raptor/tests/raptor-tp6-1.ini
rename : testing/raptor/raptor/tests/raptor-gdocs.ini => testing/raptor/raptor/tests/raptor-tp6-2.ini
extra : moz-landing-system : lando
2018-11-07 21:33:21 +00:00
Cosmin Sabou 48b065db99 Backed out changeset 3bc25efb5703 (bug 1504457) for linting opt failures. 2018-11-08 00:32:07 +02:00