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

672533 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin b4b1f6820c Bug 1525126 - [marionette] Always use "firefox" and "android" as capabilities for Android browsers. r=jgraham,nalexander
On Android the platform name capability has to report "android" and not "linux".
Also for every application which is embedding GeckoView "firefox" will be used
as browser name. That way it behaves the same like Chrome, which does it for
every WebView embedding application.

Depends on D44896

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

--HG--
extra : moz-landing-system : lando
2019-09-25 23:00:24 +00:00
Henrik Skupin 9ed414986c Bug 1525126 - [geckodriver] Wait for Marionette handshake rather than TCP connection. r=jgraham,webdriver-reviewers,nalexander
This allows to port-forward using adb. Connecting to such ports
always establishes a TCP connection to the ADB daemon, but not all
such connections are to bound ports. Waiting for the Marionette
handshake ensures the connection is real, and not just partially
forwarded.

Depends on D44895

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

--HG--
extra : moz-landing-system : lando
2019-09-25 23:00:10 +00:00
Henrik Skupin 2b151b0ce6 Bug 1525126 - [mozbase] Add Rust `mozdevice` crate speaking ADB over TCP/IP. r=jgraham,webdriver-reviewers,nalexander
This implementation speaks the ADB wire protocol over TCP/IP. This is
in constrast to the Python implementation, which generally invokes adb
on the command line. In thousands of runs across multiple devices,
this implementation has proved surprisingly robust.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 23:01:56 +00:00
Jeff Gilbert 2721bab6be Bug 1583878 - Expose WebGL OVR_multiview2. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D47104

--HG--
extra : moz-landing-system : lando
2019-09-25 21:33:05 +00:00
Tim Nguyen 4adc814859 Bug 1567785 - Convert XUL textbox to HTML input in toolkit/components/prompts/content/commonDialog.xul. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D38823

--HG--
extra : moz-landing-system : lando
2019-09-25 22:45:45 +00:00
Tim Nguyen 8af78c3acc Bug 1562664 - Replace XUL textbox usages with HTML inputs in editBookmarkPanel.inc.xul r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D36495

--HG--
extra : moz-landing-system : lando
2019-09-25 22:39:25 +00:00
Michal Novotny 874ba5d4c5 Bug 1577862 - Websockets should prioritize SOCKS5 proxies over HTTP(S) proxies, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D47105

--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:07 +00:00
Mike Shal 26236dc8c1 Bug 1581248 - Strip //?/ prefixes in mozpath.relpath(); r=firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D46320

--HG--
extra : moz-landing-system : lando
2019-09-25 22:32:58 +00:00
Morgan Reschenberg 33381f2280 Bug 1177014: Modify TransformOffset to correctly report bullet offsets, despite incorrect return from PeekOffset. r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D46490

--HG--
extra : moz-landing-system : lando
2019-09-25 02:10:08 +00:00
Daniel Holbert 8c18bcd991 Bug 1582819: Add diagnostic assert to catch positioned elements with display:-moz-box or -moz-inline-box that were previously blockified to 'block' but won't be anymore. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D46681

--HG--
extra : moz-landing-system : lando
2019-09-25 20:38:55 +00:00
Mike Hommey 998851dbba Bug 1582574 - Make minidump_stackwalk toolchain binary compatible with both older and newer Debian/Ubuntu. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46538

--HG--
extra : moz-landing-system : lando
2019-09-25 22:03:16 +00:00
Bobby Holley 585847b17a Bug 1583998 - Implement a pref to obscure images. r=gw
This approach does have some stacking issues. The way to fix this would
be to instrument the brush_image shader rather than adding debug rects.

Something like: #ifdef WR_FEATURE_SFW frag.color = vec4(0,1,1,1); #endif

That's slightly more involved though, so I'm going to leave it for now.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 21:48:35 +00:00
Bobby Holley d599cb6095 Bug 1583998 - Refactor debug rectangles to allow the outer and inner colors to be explicitly specified. r=gw
The current code doesn't permit fully opaque debug rects.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 21:46:20 +00:00
Alex Catarineu 8d86dd4c94 Bug 1573276 - Always allow localization in error pages r=johannh,peterv
Differential Revision: https://phabricator.services.mozilla.com/D43216

--HG--
extra : moz-landing-system : lando
2019-09-25 10:39:45 +00:00
Andreea Pavel 9fd779e03f Merge mozilla-central to autoland on a CLOSED TREE 2019-09-26 01:00:14 +03:00
Andreea Pavel aacd9754e9 Merge mozilla-inbound to mozilla-central a=merge 2019-09-26 00:53:01 +03:00
Andreea Pavel bd0ebde417 Merge autoland to mozilla-central. a=merge 2019-09-26 00:50:57 +03:00
Ryan Hunt 8f20625e61 Bug 1561515 - Wasm: Add typed select instruction. r=lth
Issue: https://github.com/WebAssembly/reference-types/issues/42
Text: https://webassembly.github.io/reference-types/core/text/instructions.html#parametric-instructions
Binary: https://webassembly.github.io/reference-types/core/binary/instructions.html#parametric-instructions

This commit adds 'select t*'. The instruction is allowed to encode/decode
multiple result types for compatibility with multi-value, but only one is
currently supported.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 21:27:14 +00:00
Ryan Hunt d260d515d0 Bug 1561515 - Wasm: Turn AstTernaryOperator into AstSelect. r=lth
NFC. The select operator will be given an array of result types, so this commit
requisitions AstTernaryOperator to be a dedicated select ast node. There's no
other uses of AstTernaryOperator, so this is just a rename.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 21:27:05 +00:00
Ryan Hunt c994f1409d Bug 1561513 - Wasm: Add bottom type and tweak validation algorithm. r=lth
This commit renames TVar to represent the new Bottom type introduced in the
reference types spec.

Issue: https://github.com/WebAssembly/reference-types/issues/42

The only observable spec change so far is in validation of br_table which
requires that the operand type is a subtype of all label types. With a bottom
type, this may allow more code to validate than before.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 21:54:56 +00:00
Ryan Hunt 5b5444ada9 Bug 1561513 - Wasm: Restrict existing select instruction to numeric types. r=lth
Issue: https://github.com/WebAssembly/reference-types/issues/42

The existing select instruction contains no typing information. As more
complicated types are added, we will need to infer the result type as the
least upper bound of the operands. This may be a complicated operation,
so we will restrict the existing untyped instruction to operate only on
the MVP value types, and add a new select instruction with type information.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 21:52:27 +00:00
Tetsuharu OHZEKI 9cc0db75fe Bug 1488551 - Create NumberOperandId to make some number operations in CacheIRWriter/CacheIRCompiler more type safe. r=mgaudet
This changes:

1. Take `NumberOperandId` at the part which can use the result of `CacheIRWriter.guardIsNumber()`.
2. Use `NumberOperandId` as a function signature which would only take a number operand.
    * There are some exceptions, i.e.`CacheIRWriter.writer.truncateDoubleToUInt32()`,
      because `NumberOperandId` is not always `double`.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 21:49:33 +00:00
Timothy Nikkel 61d1597ffc Bug 1580317. Fix calculation of buffer size. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D47123

--HG--
extra : moz-landing-system : lando
2019-09-25 19:24:07 +00:00
Hiroyuki Ikezoe 81918ac172 Bug 1582946 - Skip whole test cases in browser_deck_has_out_of_process_iframe.js if fission.autostart pref is locked. r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D47031

--HG--
extra : moz-landing-system : lando
2019-09-25 21:17:51 +00:00
David Walsh ab6c85987d Bug 1583924 - Make pseudo-class disc brighter in Inspector r=gl
Differential Revision: https://phabricator.services.mozilla.com/D47128

--HG--
extra : moz-landing-system : lando
2019-09-25 18:35:46 +00:00
Nick Alexander 3bf9f51b30 Bug 1575014 - Fix `./mach try --gecko-profile ...`. r=tomprince,ahal
An error crept in, resulting in:
```
[task ...] InterpreterError: InterpreterError: infix: [..] expects integer [..] integer
```

At some point, `suite` became a string name and not an object with a
string `name` member.  However, in the interim, the diversity of
`command` structures has made the template approach untenable.
Therefore, this commit converts `GeckoProfile` to a `TryConfig`.  The
existing test clearly wasn't helpful, and it doesn't really map to a
`TryConfig` test, so it was removed.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:18:17 +00:00
Oana Pop Rus 4b9792db7c Backed out changeset 371641b1010b (bug 1580280) for lints failure on a CLOSED TREE 2019-09-26 00:18:33 +03:00
Harry Twyford a609266a08 Bug 1578436 - Handle enter keypresses and mouse clicks on tip buttons. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D46067

--HG--
rename : browser/components/urlbar/tests/browser/browser_tip_keyboard_selection.js => browser/components/urlbar/tests/browser/browser_tip_selection.js
extra : moz-landing-system : lando
2019-09-25 17:37:09 +00:00
Andreea Pavel 6b992d1869 Backed out changeset 76d03f0c306d (bug 1578750) to restore old bug annotations 2019-09-26 00:06:28 +03:00
Haik Aftandilian 445acf98e9 Bug 1565738 - Re-enable disabled WebRTC tests on macOS Mojave r=jib
Re-enable skipped webRTC tests on Mac which were disabled due to the macOS 10.14 permission prompts causing timeouts.

Don't trigger OS camera and microphone permission prompts for fake devices (used for tests).

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:43:46 +00:00
Andrew Halberstadt fdc7d0afac Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:14 +00:00
James Graham f6819f7712 Bug 1583603 - Set formatter defaults correctly for mozlog, r=maja_zf
Gecko was trying to pass formatter options in by default, which
doesn't work if the user overrides the formatter. Instead pass in the
default options explicitly using the designed mechanism, which
previously wasn't exposed in wpt.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:37:38 +00:00
Boris Zbarsky 7ccdf0a53c Bug 1574201. Remove support for IDL "implements" statements. r=edgar
A bunch of loop-detection, etc, complexity goes away because mixins are not
interfaces and the mixin syntax does not allow various things we had to guard
against in terms of maplikes and whatnot.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:59:00 +00:00
Emilio Cobos Álvarez 161cb16ca8 Bug 1551659 - Remove MVMContext::ResizeEventFlag and related code. r=botond,hiro
D46944 / bug 1583534 is what fixes the root cause of bug 1528052 by not
having the first call to ResizeReflow have a wrong old size of 0x0.

This removes the code that bug introduces to suppress resize events, which
fixes this bug. I think our behavior now is pretty sane.

In particular, consider the test-case:

<!doctype html>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<a href="" target="_blank">Open me in a separate tab</a>
<pre id="log"></pre>
<script>
  // This shouldn't be needed, but otherwise Fenix doesn't show the tooltip on
  // longpress...
  document.querySelector("a").href = location.href;

  function logSize() {
    log.innerText += window.innerWidth + "x" + window.innerHeight + "\n";
  }
  logSize();
  onresize = logSize;
</script>

(Hosted at https://crisal.io/tmp/gecko-mobile-resize.html for convenience)

Right now on trunk, when you click the link from GVE or Fenix, we're only
getting an initial size of 0x0 (which is not great, btw), and only after first
paint we get the real device size, but content doesn't get a resize event.

This is obviously wrong, every time the layout viewport changes we should fire
resize events.

Pages that get opened in new tabs and get refreshed when resized may get an
extra reload with this approach, but this seems not avoidable unless widget sets
the viewport size right in advance (which from discussion with snorp and agi
doesn't seem possible in the general case).

What used to happen is that we were triggering a redundant resize reflow from
the initial paint which didn't update the layout viewport (because the content
viewer and co had the right viewport from the previous navigation).

Now that we optimize those away, I think our behavior should be correct.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:35:29 +00:00
Thomas Nguyen d8374938eb Bug 1578750 - Mark correct expected result idlharness tests on different builds r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D46754

--HG--
extra : moz-landing-system : lando
2019-09-25 19:49:42 +00:00
Henrik Skupin f0dd0f477a Bug 1580689 - [geckodriver] Build linux32 geckodriver binaries via toolchain build task. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D47109

--HG--
extra : moz-landing-system : lando
2019-09-25 20:01:16 +00:00
Carolina ec06983b79 Bug 1580455 - Uses normalizeToKebabCase in adjustCertInformation for the result labels.r=johannh,fluent-reviewers,flod
Depends on D46101

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

--HG--
extra : moz-landing-system : lando
2019-09-25 17:10:35 +00:00
Junior Hsu 4f580f8027 Bug 1583929 - remove unused skipResume in FTPChannelParent r=valentin
mSuspendedForDiversion is for the same purpose.
All function involved happened in the same thread.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:00:40 +00:00
Emilio Cobos Álvarez 848d89d65f Bug 1583534 - Further simplify PresShell::ResizeReflow. r=botond
In particular, not let ResizeReflow take the old and new size. Most of the
callers pass dummy values anyway.

Instead, use the old size of the layout viewport. This ensures we fire resize
events only if the layout viewport actually changes.

This is important because the first resize of the mobile viewport manager
after a navigation has an "old size" of 0x0, even though the layout viewport
is initialized on presshell initialization to the right size.

Thus, we fire resize events unnecessarily in that case, which is the root cause
for bug 1528052.

To do this, we need to shuffle a bit of code in nsDocumentViewer that deals with
delayed resizes, to set the visible area _and_ invalidate layout, rather than
setting the visible area and _then_ relying on doing a resize reflow.

Further cleanup is possible, though not required for my android resizing fix, so
will do separately.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 19:12:44 +00:00
Coroiu Cristina 2ab6108eb4 Merge autoland to mozilla-central a=merge 2019-09-25 19:30:14 +03:00
Michael Kaply 41934bd790 Bug 1577223 - Add specific error for missing scheme in URL policies. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D46985

--HG--
extra : moz-landing-system : lando
2019-09-25 15:55:24 +00:00
Emma Malysz 6a0111db7b Bug 1369436, Load PushComponents.js after startup. r=lina,mconley
Differential Revision: https://phabricator.services.mozilla.com/D45079

--HG--
extra : moz-landing-system : lando
2019-09-25 15:50:58 +00:00
Cosmin Sabou 6da90eb0b7 Backed out 9 changesets (bug 1551088) for causing Bug 1583848. a=backout
Backed out changeset d0ab25c226a7 (bug 1551088)
Backed out changeset 9ef391e20fa6 (bug 1551088)
Backed out changeset 3e6f25b21f8c (bug 1551088)
Backed out changeset 5d72c8de4daf (bug 1551088)
Backed out changeset f77c43bcc75b (bug 1551088)
Backed out changeset 9e954d6765de (bug 1551088)
Backed out changeset d90a571e581f (bug 1551088)
Backed out changeset 25a5f5563e9d (bug 1551088)
Backed out changeset bed9c93eeb2d (bug 1551088)
2019-09-25 18:42:48 +03:00
Matthew Noorenberghe 936753e05c Bug 1583625 - Don't dispatch AboutLoginsInit after redirecting to remove the entryPoint. r=jaws
Depends on D47101

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

--HG--
extra : moz-landing-system : lando
2019-09-25 15:40:12 +00:00
Matthew Noorenberghe cdf3dbe21b Bug 1583043 - Wait for telemetry events before asserting in browser_entry_point_telemetry. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D47101

--HG--
extra : moz-landing-system : lando
2019-09-25 15:38:52 +00:00
Tom Ritter 4c863c9c5b Bug 1557074 - Enable process isolation for AMO and FXA on Nightly r=nika
And Nightly only, this isn't riding trains yet.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 15:27:48 +00:00
Michael Froman a32233c9b1 Bug 1582271 - pt4 - add ffvpx mp3 decoding for android32. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D46426

--HG--
extra : moz-landing-system : lando
2019-09-25 14:50:02 +00:00
Andi-Bogdan Postelnicu 5f02cc9b02 MANUAL PUSH: Fix for Bug 1573211 - Re-generate the autotest results for clang-tidy analysis. r=myself.
--HG--
extra : rebase_source : d360e92b0da5701e1cfd4e1f49032283bd288ed5
extra : amend_source : edf7899f8bce61f4a5120713bd04cedc83085ea7
2019-09-25 17:30:19 +03:00
Simon 4539468d6e Bug 1536402 - Let trees and richlistboxes use the same focus ring as input fields. r=dao
MANUAL PUSH: contributor patch file

--HG--
extra : amend_source : bbdb147adf77ff2e81d1227a846e0cc7814e923f
2019-09-25 15:07:28 +02:00
Jonas Allmann ce89ff6a7a Bug 1419222, Add test for correct handling of iFrame CSPs, r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D46452

--HG--
extra : moz-landing-system : lando
2019-09-25 12:30:23 +00:00