Commit Graph

623066 Commits

Author SHA1 Message Date
Dão Gottwald
615e53a7d3 Bug 1499706 - Remove external calls to TabsInTitlebar.update and make it private. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D11311

--HG--
extra : moz-landing-system : lando
2018-11-08 18:41:04 +00:00
Csoregi Natalia
dd3666f9d4 Backed out changeset 09ceaf8491d8 (bug 1505328) for browser_ext_management.js failures. CLOSED TREE 2018-11-08 22:54:10 +02:00
Csoregi Natalia
ce1a763fd8 Backed out 2 changesets (bug 1505739) for css failures e.g. /css/css-ui/caret-color-013.html. CLOSED TREE
Backed out changeset 135bb7f0d1a8 (bug 1505739)
Backed out changeset ea50b8a6a2a7 (bug 1505739)
2018-11-08 22:19:57 +02:00
Csoregi Natalia
c6f2eb772c Backed out changeset e83fe676d538 (bug 1505801) for failures on /browser_ext_themes_findbar.js. CLOSED TREE 2018-11-08 22:05:24 +02:00
Csoregi Natalia
86ce20e46a Backed out changeset 5cb52fcd2fb0 (bug 1504751) for browser_misused_characters_in_strings.js failures. CLOSED TREE 2018-11-08 21:47:38 +02:00
Gurzau Raul
9766c8e643 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-11-08 21:14:37 +02:00
Bogdan Tara
388d7c8b5a Merge inbound to mozilla-central. a=merge 2018-11-08 20:48:31 +02:00
Jared Wein
c887792c09 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 18:43:02 +00:00
Chris Manchester
0160b3540d Bug 1505072 - Automation and mozconfig changes to convert rusttests builds to use non-default build target. r=froydnj
Two mozconfg additions are necessary for these jobs on linux:
1.) Turning off the clang plugin, which will not get built during these builds
and will cause failures when C/C++ needed by the rust build tries to find it.
2.) Adding --output-sync=line to our make invocation: at some point the
"export" phase started relying on this, and it's missing because the
non-default build targets invoked by the rusttests builds don't go through
client.mk.

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

--HG--
extra : moz-landing-system : lando
2018-11-08 18:38:26 +00:00
Chris Manchester
45c16653f9 Bug 1505072 - Allow mozharness build jobs to specify non-default build targets. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11241

--HG--
extra : moz-landing-system : lando
2018-11-08 17:03:11 +00:00
Chris Manchester
0ea5080e85 Bug 1505072 - Implement rusttests as a non-default sub-graph of the build. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D11240

--HG--
extra : moz-landing-system : lando
2018-11-08 17:02:27 +00:00
Jan de Mooij
84ff81618c Bug 1504979 part 2 - Use resumeIndex/resumeOffsets for JSOP_TABLESWITCH. r=tcampbell
Reasons for doing this:

(1) Bug 1501316 becomes easier to fix.

(2) JSOP_TABLESWITCH is no longer a variable-length bytecode op so we can get
    rid of js::GetVariableBytecodeLength.

Depends on D11018

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

--HG--
extra : moz-landing-system : lando
2018-11-08 18:28:07 +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
Jason Laster
edf43f5289 Bug 1505434 - The splitter has a couple of bugs in vertical mode. r=dwalsh
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D11178
2018-11-08 09:53:58 -05: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
Jason Laster
068d60b2c1 Bug 1505581 - stop transforming rest/spread. r=lsmyth
Tags:

Differential Revision: https://phabricator.services.mozilla.com/D11244
2018-11-08 09:50:10 -05: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
Jan de Mooij
2cab1ab0a7 Bug 1504979 part 1 - Use offset to 'default' target instead of zero in JSOP_TABLESWITCH offsets. r=nbp
With this change we no longer have to handle the offset == 0 case everywhere.

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

--HG--
extra : moz-landing-system : lando
2018-11-07 16:53:25 +00:00
James Graham
fd0811e3f7 Bug 1505739 - Update wpt expectation data for mac reftests, r=automatedtester
Depends on D11309

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

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