Commit Graph

662582 Commits

Author SHA1 Message Date
Yaron Tausky
f33a502eb3 Bug 1544750 - Part 2: Refactor Key::EncodeJSValInternal to show direct correspondence to spec r=asuth,tcampbell
This commit adds the text of the spec as inline comments and refactors
the code such that it directly corresponds to the spec's steps. This
makes it easier to understand how the spec's algorithm is implemented.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:05:44 +00:00
georgeroman
ccc3d023a4 Bug 1569466 - Implement Deserialize for ErrorStatus. r=ato
Implement Deserialize for ErrorStatus

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:35:15 +00:00
Bogdan Tara
719acf006d Backed out changeset ba6240f6bc90 (bug 1525373) for speedometer timeouts 2019-07-29 12:32:55 +03:00
Nicolas Chevobbe
88c894d090 Bug 1567832 - Retrieve fission pref and use it in console classes. r=yulia.
We retrieve the preference in the hudservice, where
WebConsoles and BrowserConsoles are created from.
If the pref is set to true, we assign a different
title to the Browser Console window so it will be
easier to spot.
The preference is then passes to the BrowserConsole,
WebConsole, WebConsoleUI and finally WebConsoleConnectionProxy
instances.
Later, we'll check this pref to connect to different
targets and listen to new ones.

Depends on D39646

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:44:08 +00:00
Nicolas Chevobbe
e56950f59d Bug 1567832 - Create a preference for Fission Browser Console. r=yulia.
Differential Revision: https://phabricator.services.mozilla.com/D39646

--HG--
extra : moz-landing-system : lando
2019-07-29 08:43:25 +00:00
Nihanth Subramanya
aab7ed4472 Bug 1569191 - [Protections Panel] Breakage report view visual updates. r=johannh
1. Inline "Learn more" link with the main description text.
2. Remove margin-inline-start from labels
3. Remove textbox styling of the URL

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

--HG--
extra : moz-landing-system : lando
2019-07-29 09:03:44 +00:00
Kershaw Chang
2d553f2a61 Bug 1267643 - Remove client certificate filtering based on CA names r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D39345

--HG--
extra : moz-landing-system : lando
2019-07-29 08:48:01 +00:00
Jon Coppeard
04584a99c6 Bug 1568821 - Pass wasSwept parameter when freeing malloc memory r=sfink
Now ensure that we know whether malloc memory was freed by the collector or the mutator.  Most of the time we can get the |wasSwept| state from from the FreeOp, so mostly this is passing the FreeOp through in more places.  That's not always possible though since some code uses the runtime's default FreeOp, so this sets the approriate flag on the default free while we're sweeping too.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:56 +00:00
Jon Coppeard
f1b1a791ef Bug 1568821 - Use retained bytes for telemetry and replace the original calculation r=sfink
Now we're calculating retained size here we can remove the same calculation from Statistics.  I had to add a flag to say whether a zone was collected in the last collection so that we know which zones to add to add up.  I checked that this produced the same result as the original calculation.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:31 +00:00
Jon Coppeard
415becea0d Bug 1568821 - Add retained bytes count to memory tracking classes and use this to track retained GC bytes r=sfink
The main idea here is to pass a |wasSwept| parameter to memory tracking methods that remove memory.  We know what to pass for GC heap size because this always goes through HeapSize::removeGCArena().  Getting this right for malloc memory is the subject of a later patch.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 08:33:17 +00:00
Daisuke Akatsuka
d6be7f04ea Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 08:32:46 +00:00
Daisuke Akatsuka
bbd3534237 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-29 06:23:09 +00:00
Paul Zuehlcke
f21a6008ac Bug 1568648 - Fixed OS string in test skip config. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D39342

--HG--
extra : moz-landing-system : lando
2019-07-26 08:09:29 +00:00
Ed Lee
f7d0d30b65 Bug 1569306 - Add trailhead cards, accessibile headers and bug fixes to New Tab Page r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D39561

--HG--
extra : moz-landing-system : lando
2019-07-29 06:55:43 +00:00
Tim Nguyen
9f3d5c1f94 Bug 1569435 - Fix background color of content type in download dialog. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39611

--HG--
extra : moz-landing-system : lando
2019-07-29 01:41:56 +00:00
Bogdan Tara
dfedc5dd8a Backed out changeset 2cb4cc20ea9d (bug 1569306) for gecko decision bustage CLOSED TREE 2019-07-29 09:46:16 +03:00
Ed Lee
97c5d52826 Bug 1569306 - Add trailhead cards, accessibile headers and bug fixes to New Tab Page r=k88hudson,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D39561

--HG--
extra : moz-landing-system : lando
2019-07-29 06:30:12 +00:00
Masayuki Nakano
277978e418 Bug 1560032 - part 3: Make EventStateManager allow to drag password if copying selected password is allowed r=smaug
If copying selected password is allowed by `TextEditor`, we should allow to
drag it too because web apps usually request to input new password twice,
but if users used password generator, they may want to use drag and drop the
new password rather than copy and paste.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 06:21:59 +00:00
Masayuki Nakano
fafe168f04 Bug 1560032 - part 2: Make cut/copy in password field available r=m_kato,smaug
First, we need to make `nsCopySupport::FireClipboardEvent()` keep handling
`eCopy` and `eCut` event even in password field, only if `TextEditor` allows
them.

Then, we need to make `nsPlainTextSerializer::AppendText()` not expose
masked password for making users safer.  Although `TextEditor` does not allow
`eCopy` nor `eCut` when selection is not in unmasked range.  Fortunately,
retrieving masked and unmasked password from `nsTextFragment` has already
been implemented in `ContentEventHandler.cpp`.  This patch moves it into
`EditorUtils` and makes `ContentEventHandler.cpp` and `nsPlaintextSerializer`
share it.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 06:21:42 +00:00
Masayuki Nakano
ffbb14909f Bug 1560032 - part 1: Make TextEditor for password allow to copy password when selected range is in unmasked range r=m_kato
It does not make sense to copy masked password with mask characters.
Therefore, we should allow users to copy/cut in password fields only when
selected range is in unmasked range.

Note that for web-compat, copy/cut are always enabled in HTML/XHTML document
in content.  Therefore this patch changes the behavior only in chrome's
password fields.

Additionally, only the test uses `nsIEditor.canDelete()`.  Therefore, this
removes it and make the test use `nsIDocShell.isCommandEnabled()` instead.
Unfortunately, `nsIEditor.canCopy()` and `nsIEditor.canCut()` are used by
BlueGriffon, therefore, we cannot get rid of them for now.

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

--HG--
rename : editor/libeditor/tests/test_bug1067255.html => editor/libeditor/tests/test_cut_copy_delete_command_enabled.html
extra : moz-landing-system : lando
2019-07-29 06:21:14 +00:00
Tim Nguyen
b4a8eaf9e1 Bug 1569328 - Update sort select styling to be closer to the spec. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39569

--HG--
extra : moz-landing-system : lando
2019-07-28 14:19:26 +00:00
Tim Nguyen
1bde67c90d Bug 1569338 - Make login-item rows closer to the spec. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D39573

--HG--
extra : moz-landing-system : lando
2019-07-29 06:14:39 +00:00
Bogdan Tara
05b45758c3 Backed out 2 changesets (bug 1407945) for failures on browser_tooltip.js CLOSED TREE
Backed out changeset 2ea007508cd3 (bug 1407945)
Backed out changeset 43553c5c7033 (bug 1407945)
2019-07-29 09:16:30 +03:00
Makoto Kato
44c1524bcd Bug 1568455 - Detect Android NDK on Windows. r=nalexander
Toolchain path for Windows version is `<NDK ROOT>/toolchains/llvm/prebuilt/windows-x86_64` etc, so it isn't '`winnt`.
So we has to replace `host.kernel.lower()` with `windows`.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 15:54:07 +00:00
Paul Bone
c21b40d483 Bug 1569163 - Call Mutex::Shutdown() before leaving BufferStreamMain r=luke
Differential Revision: https://phabricator.services.mozilla.com/D39493

--HG--
extra : moz-landing-system : lando
2019-07-29 04:45:53 +00:00
Boris Chiou
5c36bd1e41 Bug 1568370 - Fix the alignment of offset-anchor with offset-path. r=jwatt
When we use SVG layout, and transform-box is fill-box, the current
implementation makes the object not align with offset-path because there
may be an offset (SVG x and y values) between the anchor point and offset-path.
We have to tweak the anchor point to fix the alignment.

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

--HG--
rename : testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box.html => testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-001.html
rename : testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box.html => testing/web-platform/tests/css/motion/offset-anchor-transform-box-fill-box-002.html
extra : moz-landing-system : lando
2019-07-27 16:18:53 +00:00
Boris Chiou
df9aa05d06 Bug 1291187 - Add tests for testing the computed values of flex-basis. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D39558

--HG--
extra : moz-landing-system : lando
2019-07-29 04:19:13 +00:00
Makoto Kato
9285dad516 Bug 1545393 - Remove layout.reflow.synthMouseMove setting from GeckoView r=geckoview-reviewers,agi
`layout.reflow.synthMouseMove` was added by Fennec/Maemo era (bug 657844) since this was low-end device. Since `layout.reflow.synthMouseMove` is false even if now, sampling rate of GeckoView's mouse event is still very sparse.

Since today is 2019, so we should change this to match sampling rate of mouse event with desktop.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 16:59:08 +00:00
Daisuke Akatsuka
0933ac4c24 Bug 1407945: Add a test for the tooltip in RDM. r=pbro
Differential Revision: https://phabricator.services.mozilla.com/D38827

--HG--
extra : moz-landing-system : lando
2019-07-29 02:29:44 +00:00
Daisuke Akatsuka
756317c698 Bug 1407945: Calculate screenX and screenY in case of HTML element. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D38826

--HG--
extra : moz-landing-system : lando
2019-07-23 17:20:49 +00:00
shindli
2311ab23b6 Backed out changeset bdb7f8baac7e (bug 1569101) for causing wrench bustages in /builds/worker/workspace/build/tooltool.tt 2019-07-29 04:53:11 +03:00
shindli
1c380bd4ec Backed out changeset a2c0bed45b89 (bug 1568460) for causing spidermonkey failures "[Errno 2] No such file or directory" 2019-07-29 04:51:41 +03:00
Connor Brewster
f74585e5e5 Bug 1569101 - Add red zone padding to built display list during deserialization r=kamidphish
Differential Revision: https://phabricator.services.mozilla.com/D39464

--HG--
extra : moz-landing-system : lando
2019-07-29 00:33:11 +00:00
Nicholas Nethercote
7774e3aaea Bug 1569036 - Remove all the aSkipAssignment parameters. r=KrisWright
`AddVarCache()` has a `bool aSkipAssignment` parameter. This patch removes that
parameter by splitting the function in two: `AddVarCache()` and
`AddVarCacheNoAssignment()`. (The former calls the latter.)

There are also tons of `Add*VarCache()` functions with `aSkipAssignment`
parameters that default to `false`. These defaults are never overridden, so
this patch removes the unnecessary arguments.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 21:11:18 +00:00
Mike Hommey
54a61a549b Bug 1568460 - Set MOZ_FETCHES_DIR more appropriately. r=tomprince
For some tasks, the workdir known to the decision task doesn't actually match
the workdir used in the task, which makes MOZ_FETCHES_DIR wrong when the
decision task derives it from the workdir.

On other tasks, MOZ_FETCHES_DIR is set to a relative directory, which
may work in some places where MOZ_FETCHES_DIR is used, but not in
others, that happen to be executed from a different directory.

To solve both problems, we set MOZ_FETCHES_DIR as a relative directory
everywhere, and we make run-task normalize it to an absolute path
before executing the task.

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

--HG--
extra : moz-landing-system : lando
2019-07-28 22:05:42 +00:00
Mike Hommey
bf3db9e84f Bug 1569331 - Update bindgen to 0.51. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39580

--HG--
extra : moz-landing-system : lando
2019-07-27 00:36:18 +00:00
Mike Hommey
7acef03e16 Bug 1569331 - Use the more traditional way to override dependencies for coreaudio-sys. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D39579

--HG--
extra : moz-landing-system : lando
2019-07-27 00:35:09 +00:00
Narcis Beleuzu
ea22d67ec7 Merge inbound to mozilla-central. a=merge 2019-07-29 00:49:09 +03:00
Brindusan Cristian
4fa8adae5d Backed out 8 changesets (bug 1556813) for xpcshell and devtool failures at test_logpoint-01.js.
Backed out changeset 6e0c40509959 (bug 1556813)
Backed out changeset eeeab13f3b16 (bug 1556813)
Backed out changeset fce998a05369 (bug 1556813)
Backed out changeset 9a6171df1f78 (bug 1556813)
Backed out changeset 40744b3611a5 (bug 1556813)
Backed out changeset d1d6fad7467b (bug 1556813)
Backed out changeset e4bd68b4094b (bug 1556813)
Backed out changeset 93d5840653ae (bug 1556813)
2019-07-28 21:14:15 +03:00
Nick Alexander
06fcf5043d Bug 1569032 - Support private fetches. r=tomprince
Just like Bug 1405408, which was for private toolchains.

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

--HG--
extra : moz-landing-system : lando
2019-07-26 20:12:43 +00:00
Noemi Erli
9a75054b2f Bug 1454211 - Disable test test_basic_autocomplete_form.html on windows and macos r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D39631

--HG--
extra : moz-landing-system : lando
2019-07-28 16:29:27 +00:00
Csoregi Natalia
5e660d3dfc Merge inbound to mozilla-central. a=merge 2019-07-28 00:31:27 +03:00
Matthew Noorenberghe
f48809f1f8 Bug 1569414 - Don't hardcode a too old history visit date in test_Chrome_history.js.
Differential Revision: https://phabricator.services.mozilla.com/D39606

MANUAL PUSH: Trees are all burning

--HG--
extra : amend_source : faaef5de588ee6bf4a3cf03486815be6a238e736
2019-07-27 09:00:06 -07:00
Arun Kumar Mohan
e0595d81ef Bug 1554901 - Refactor onInputKeyDown method to remove disabled complexity eslint rule. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D39488

--HG--
extra : moz-landing-system : lando
2019-07-27 14:59:36 +00:00
Matthew Noorenberghe
4501fe3c9e Bug 1569414 - Don't hardcode a too old history visit date in test_Chrome_history.js.
Differential Revision: https://phabricator.services.mozilla.com/D39606

--HG--
extra : moz-landing-system : lando
2019-07-27 15:57:53 +00:00
Marco Bonardo
44ccf4da4e Bug 1569217 - Use single quoted literals in IFNULL, NULLIF, COALESCE. r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D39514

--HG--
extra : moz-landing-system : lando
2019-07-26 15:53:55 +00:00
Matthew Gregan
68ff8b6963 Bug 1569090 - Vendor Rust after AudioIPC update. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D39454

--HG--
rename : third_party/rust/memmap-0.5.2/LICENSE-APACHE => third_party/rust/memmap-0.6.2/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/memmap-0.6.2/LICENSE-MIT
rename : third_party/rust/memmap-0.5.2/ci/install.sh => third_party/rust/memmap-0.6.2/ci/install.sh
rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/miow-0.2.1/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/miow-0.2.1/LICENSE-MIT
rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/socket2/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/socket2/LICENSE-MIT
rename : third_party/rust/fs2/LICENSE-APACHE => third_party/rust/tokio-named-pipes/LICENSE-APACHE
rename : third_party/rust/memmap-0.5.2/LICENSE-MIT => third_party/rust/tokio-named-pipes/LICENSE-MIT
extra : moz-landing-system : lando
2019-07-27 13:14:41 +00:00
Matthew Gregan
e0fdf04539 Bug 1569090 - Update audioipc to 177ebd96. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D39453

--HG--
rename : media/audioipc/audioipc/src/async.rs => media/audioipc/audioipc/src/async_msg.rs
extra : moz-landing-system : lando
2019-07-27 13:14:23 +00:00
Daniel Varga
47358b914e Merge mozilla-central to autoland 2019-07-27 13:13:14 +03:00
Daniel Varga
eadf32a8eb Backed out 2 changesets (bug 1569090) for causing debug SM build fail with error: failed to load source for a dependency on mio-named-pipes. On a CLOSED TREE
Backed out changeset 6aa27e77e38f (bug 1569090)
Backed out changeset 5251efcd4ac1 (bug 1569090)

--HG--
rename : media/audioipc/audioipc/src/async_msg.rs => media/audioipc/audioipc/src/async.rs
rename : third_party/rust/tokio-named-pipes/LICENSE-APACHE => third_party/rust/fs2/LICENSE-APACHE
rename : third_party/rust/memmap-0.6.2/LICENSE-APACHE => third_party/rust/memmap-0.5.2/LICENSE-APACHE
rename : third_party/rust/tokio-named-pipes/LICENSE-MIT => third_party/rust/memmap-0.5.2/LICENSE-MIT
rename : third_party/rust/memmap-0.6.2/ci/install.sh => third_party/rust/memmap-0.5.2/ci/install.sh
2019-07-27 12:58:34 +03:00