Commit Graph

622682 Commits

Author SHA1 Message Date
James Graham
d98f3d6c79 Bug 1505739 - Enable wpt CSS reftests on Mac, r=automatedtester
Differential Revision: https://phabricator.services.mozilla.com/D11309

--HG--
extra : moz-landing-system : lando
2018-11-08 18:16:15 +00:00
Dão Gottwald
8ae5795140 Bug 1505801 - Use --lwt-accent-color behind --toolbar-bgcolor in the find bar background. r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D11348

--HG--
extra : moz-landing-system : lando
2018-11-08 17:43:23 +00:00
shindli
dac06861c5 Backed out changeset b87e5f53d029 (bug 1505328) for bc failures in toolkit/components/extensions/test/browser/browser_ext_themes_alpha_accentcolor.js 2018-11-08 19:41:56 +02:00
shindli
e94bad01ea Backed out changeset 39825c67e39c (bug 1497179) in devtools/client/inspector/flexbox/test/browser_flexbox_item_outline_renders_basisfinal_points_correctly.js CLOSED TREE 2018-11-08 19:21:35 +02:00
Alexandre Poirot
8e6a787c3d Bug 1505172 - Remove references to devtools.debugger.forbid-certified-apps preference. r=jdescottes,jryans
MozReview-Commit-ID: JV8MXvIuXaa

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

--HG--
extra : moz-landing-system : lando
2018-11-08 16:46:58 +00:00
Andreas Farre
9345293ba7 Bug 1501138 - Make sure that timeout iterator advances. r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D11327

--HG--
extra : moz-landing-system : lando
2018-11-08 17:10:59 +00:00
James Graham
9bf3c6a089 Bug 1500158 - Implement marionette support for fuzzy reftests, r=ato
This adds an extra field to the reftest comaprisons to hold the
minumum/maximum allowed differences per pixel channel and the
minumum/maximum number of pixels that may differ.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 17:04:55 +00:00
Collin Wing
22809b0ee5 Bug 1504751 Migrate about:networking to Fluent r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D10977

--HG--
extra : moz-landing-system : lando
2018-11-08 16:57:14 +00:00
Jared Wein
cf7a1248cf Bug 1505328 - Remove the theme transition from the title bar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D11282

--HG--
extra : moz-landing-system : lando
2018-11-08 16:56:30 +00:00
Kirk Steuber
d7b88ffd5d Bug 1503362 - Clear the app.update.enabled pref from profiles now that it is no longer in use r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D11128

--HG--
extra : moz-landing-system : lando
2018-11-08 16:41:07 +00:00
Micah Tigley
9dd96cfda2 Bug 1497179 - Avoid overlapping labels in the flex item outline. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D9431

--HG--
extra : moz-landing-system : lando
2018-11-08 10:29:19 +00:00
Nicolas Chevobbe
8886ca62e0 Bug 1505393 - Add better handling of unsafe getters in JsPropertyProvider; r=bgrins.
This patch adds two things to JsPropertyProvider:
- when provided an input which try to access an unsafe
getter properties, the function will indicate that an
unsafe getter should be invoked, with its name.
- a new boolean argument that when set to true would
invoke any unsafe getter that might be in the expression
to be completed.

For simplicity sake, the function only warns the user
of the presence of an unsafe getter when it's the last
property of the expression:

`object.myGetter.` will return that `myGetter` should be invoked
`object.myGetter.a.b.` will not (because then, a and b could
also be getters, and it's getting complex to handle both in
the function itself as in the UI).

Tests are added to ensure this works as expected.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 15:47:53 +00:00
Andreas Tolfsen
09d4c848b5 bug 1492499: webdriver: disable maximize_window/stress.py on windows; a=stefan_hindli r=jgraham
The Maximize Window command's stress test is broken on Windows due
to a socket problem on Windows specifically.  I think the problem
is that the socket buffer is too small because of a very intensive
check for the window size not changing.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1505806 for more details.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 15:38:15 +00:00
Andrew Halberstadt
4157983d1f Bug 1460914 - [xpcshell] Add --setpref to the command line, r=ted
Depends on D9796

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

--HG--
extra : moz-landing-system : lando
2018-11-08 14:50:32 +00:00
Andrew Halberstadt
ecadfa3e3d Bug 1460914 - [mozprofile] Move mochitest's 'parseKeyValue' function into mozprofile.cli, r=ted
Parsing prefs and env on the command line is a common task performed by our harnesses, let's
move it into mozbase.

Depends on D9717

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

--HG--
extra : moz-landing-system : lando
2018-11-08 14:51:26 +00:00
WR Updater Bot
27e3bcc621 Bug 1505544 - Update webrender to commit 6e445b0422075f66be4a2009745cad3fefe3429f (WR PR #3267). r=kats
Differential Revision: https://phabricator.services.mozilla.com/D11323

--HG--
extra : moz-landing-system : lando
2018-11-08 14:25:30 +00:00
ffxbld
3a972019e4 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D11314

--HG--
extra : moz-landing-system : lando
2018-11-08 13:54:03 +00:00
Emilio Cobos Álvarez
7fd8b03229 Bug 1505213 - Allow ::slotted()::placeholder. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D11132

--HG--
extra : moz-landing-system : lando
2018-11-08 13:33:59 +00:00
Daniel Stenberg
c76f47455a bug 1505752 - fix whitespace trim of Timing-Allow-Origin header value r=dragana
StripWhitespace() is not suitable for HTTP whitespace trimming.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:14:43 +00:00
Andreas Tolfsen
4d97ed0425 bug 1492499: marionette: increase TimedPromise timeout on debug; r=whimboo
The things that rely on TimedPromise, such as awaiting a sizemodechange
event on exiting fullscreen, takes a lot longer to perform in Asan
and debug builds than in optimised builds.

This patch increases the TimedPromise timeout duration by three
times in debug builds, which is the same amount WPT uses.

Depends on D10569

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:40 +00:00
Andreas Tolfsen
fdddd29e71 bug 1492499: marionette: drop broken window maximization test; r=automatedtester
This test is duplicated by WPT tests.

Depends on D10568

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:38 +00:00
Andreas Tolfsen
d67daa8b34 bug 1492499: marionette: restore from maximized before setting rect; r=whimboo
On certain window manager configurations a window may be resized
to fit the full available dimensions of the screen without going
into the maximised state.  Similarily, a maximised window may be
the exact dimensions of the screen.

If the window outerWidth/outerHeight is 800x600 and in maximised
state, resizing it to 800x600 through WebDriver:SetWindowRect will
not work because the window has already reached its requested dimensions.

This patch ensures to wait for the resizeEnd event when the window
state is not normal.

Depends on D8419

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:31 +00:00
Andreas Tolfsen
de7f55fcf0 bug 1492499: marionette: empty event queue on window manipulation; r=automatedtester,whimboo
This requests an animation frame off ChromeWindow and waits for
the main thread's event queue to become idle in relation to window
manipulation commands.

It additionally clears the event queue before resizing, because
this is a particularly hazardous operation.  We don't know the
exact science as to why this is needed, so it may just be that this
introduces enough latency for the operation to complete successfully.
File this under "secret sauce".

This ensures all potential synchronisation code between e.g. the
parent process and the child processes have had time to run before
we return from WebDriver:{MinimizeWindow,MaximizeWindow,FullscreenWindow}.

Depends on D8418

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

--HG--
extra : moz-landing-system : lando
2018-11-08 13:11:28 +00:00
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