Commit Graph

642837 Commits

Author SHA1 Message Date
shindli
12c0629a98 Merge mozilla-central to inbound. a=merge CLOSED TREE
--HG--
rename : js/src/tests/non262/fields/basic.js => js/src/jit-test/tests/fields/basic.js
rename : js/src/tests/non262/fields/literal.js => js/src/jit-test/tests/fields/literal.js
rename : js/src/tests/non262/fields/mixed_methods.js => js/src/jit-test/tests/fields/mixed_methods.js
rename : js/src/tests/non262/fields/quirks.js => js/src/jit-test/tests/fields/quirks.js
2019-03-21 06:36:37 +02:00
shindli
987aa4b78c Merge autoland to mozilla-central. a=merge 2019-03-21 06:33:42 +02:00
Brindusan Cristian
62141262e0 Backed out changeset de836d015f32 (bug 1536264) for bc failures at browser_selectpopup_colors.js. CLOSED TREE
--HG--
extra : histedit_source : 572060c8c60b3a71548f85c2d5ffab1d480099a3
2019-03-21 02:29:59 +02:00
Brindusan Cristian
4ecacf2c58 Backed out changeset 9e30503eb033 (bug 1468140) for mochitest-chrome failures at test_selectAtPoint.html and wr failures at abspos-containing-block-initial-004b.xht. CLOSED TREE
--HG--
extra : histedit_source : 7a33e3c90731d32c34606da1585b7de45f9b0715
2019-03-21 02:28:24 +02:00
Mike Hommey
52462938e1 Bug 1527463 - Enable EME on win64-aarch64 nightlies. r=tomprince, a=CristianB
Bug 1534522 added win64-aarch64-eme/opt builds, which are artifact builds
that glue together a win64-aarch64/opt build and a win32/opt build.

This enables EME on the corresponding nightlies in a slightly different
way:
- this adds a no-eme build that corresponds to win64-aarch64/opt.
- this turns the existing nightly into an artifact build that glues
  together that no-eme build and the win32 nightly.

The no-eme build cannot have the nightly attribute set, first because
the beetmover transform fails in that case, and because that would imply
shipping those builds, but they're not meant to be shipped this way.

It also has run-on-projects set to an empty list so that it doesn't
appear by default in `mach try fuzzy`, while still being triggered when
needed due to being a dependency of the nightly build.

It is preferable to keep the win64-aarch64{,-eme}/opt builds untouched
to make things easier for try (the win64-aarch64 ones being the main
ones to try; also, the -eme builds currently fail with --artifacts).

Ideally, like in bug 1534522, we'd add a diffoscope build to ensure
the variations between the nightly and its base no-eme build are within
control, but currently, that would trigger nightlies on every push,
which is not desirable. Ideally, they'd trigger whenever both their
dependencies are in the target task graph. We leave that to a followup.

Differential Revision: https://phabricator.services.mozilla.com/D23640
2019-03-21 09:11:19 +09:00
Mike Hommey
f371e198d1 Bug 1527463 - Get full artifact build symbols for aarch64 EME builds. r=mshal
We need to have full symbols uploaded for the upcoming EME-enabled
win64-aarch64 nightlies, and the tasks to do that are derived from the
nightly itself, which is going to be an artifact build. Bug 1527463 took
care of adding the option to enable that, and we turn it on for
EME-enabled builds.

MOZ_ARTIFACT_TASK_WIN32_OPT is not exactly the right thing, but we're
already using it to enable EME in
browser/config/mozconfigs/win64-aarch64/common-opt and is only set on
those builds.

Differential Revision: https://phabricator.services.mozilla.com/D23639
2019-03-21 08:57:14 +09:00
Jeff Walden
58b7603710 Bug 1535446 - Move realm options into a new js/public/RealmOptions.h header. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D23582

--HG--
rename : js/src/jsapi.h => js/public/RealmOptions.h
extra : moz-landing-system : lando
2019-03-20 20:28:43 +00:00
Drew Willcoxon
66b8f1c131 Bug 1529931 - Avoid autofill flicker: Fix reflow performance tests. r=mconley
Replace a couple of popup methods so that they call dirtyFrame(), so that reflows happen deterministically.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:08:21 +00:00
Drew Willcoxon
674a2ade96 Bug 1529931 - Prevent autofill flicker and fix cases where we're not autofilling but should be. r=mak
* In nsAutoCompleteController, the logic that determines whether the new search is a prefix of the old search is only done in HandleText, i.e., on input, not when the value is set programmatically.

* That logic is a lot more complex in nsAutoCompleteController.

* nsAutoCompleteController autofills in one case where quantumbar doesn't: when completing the "placeholder" string before starting a new search and waiting for the async results (thereby preventing flicker).

* Some nsAutoCompleteController state gets reset each time the awesomebar is focused (see calls to attachController() in the autocomplete binding, which sets the controller's input, which calls ResetInternalState()). That state is important in regard to autofill and the placeholder string. If it's not reset, then the autofill of one search will incorrectly affect the autofill of a later search.

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

--HG--
rename : browser/components/urlbar/tests/browser/browser_UrlbarInput_autofill.js => browser/components/urlbar/tests/browser/browser_autoFill_caretNotAtEnd.js
extra : moz-landing-system : lando
2019-03-20 17:07:15 +00:00
dlee
32e02c3158 Bug 1535307 - Remove an extra bracket when set update status in aboutUrlClassifier. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D24172

--HG--
extra : moz-landing-system : lando
2019-03-20 13:57:11 +00:00
Barret Rennie
36cd17958e Bug 1444434 - Bump webrender and webrender_bindings gleam dependency to 0.6.14 r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D23958

--HG--
extra : moz-landing-system : lando
2019-03-20 19:52:53 +00:00
Jason Orendorff
fe24be5220 Bug 1452473 - Fix assertion in js::ThrowUninitializedThis with debugger eval-in-frame and direct eval. r=tcampbell
I like the error message just as well without the class name. In fact, I think
the word "derived" is important to include here, so the message is even a
little better. The stack and line number make it super clear which constructor
we're talking about, so we're not really losing anything.

In Chrome, the error message is "ReferenceError: Must call super constructor in
derived class before accessing 'this' or returning from derived constructor".

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:33:48 +00:00
Jason Orendorff
c7cc4c6c91 Bug 1534776 - Don't leak the world if the shell's main() exits early. r=jwalden
This changes the order of some cleanup operations, harmlessly, to make
initialization and teardown more FIFO.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:20:06 +00:00
Miko Mynttinen
b143cd0aa1 Bug 1536778 - Part 2: Optimize descending into lines r=mattwoodrow
Depends on D24166

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:03:13 +00:00
Miko Mynttinen
76e11fa13d Bug 1536778 - Part 1: Use aLists instead of linesDisplayListCollection r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D24166

--HG--
extra : moz-landing-system : lando
2019-03-20 18:45:11 +00:00
Emilio Cobos Álvarez
95bceb7380 Bug 1536264 - Only reset color / background / text-shadow for active options. r=jaws
Otherwise you see font changes when hovering, which is not really desirable.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:40 +00:00
Ting-Yu Lin
1809f8352e Bug 1468140 - Call AccessibleCaretEventHub::Init in a ScriptRunner. r=mats
Differential Revision: https://phabricator.services.mozilla.com/D9568

--HG--
extra : moz-landing-system : lando
2019-03-20 18:15:55 +00:00
Noemi Erli
165f0d8c1c Backed out 3 changesets (bug 1533293) for causing Bug 1536595 a=backout
Backed out changeset d011dfe83683 (bug 1533293)
Backed out changeset e536f6e123d8 (bug 1533293)
Backed out changeset 19cff61f4fed (bug 1533293)
2019-03-20 13:29:17 +02:00
Andreea Pavel
ac4374c473 Bug 1534541 - disabled basic.html on win and linux debug r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D24121

--HG--
extra : moz-landing-system : lando
2019-03-20 10:06:28 +00:00
Christian Frey
19be7642c7 Bug 1521800 - Convert passwordManager.xul and passwordManager.js to Fluent, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D19613

--HG--
extra : moz-landing-system : lando
2019-03-20 19:27:11 +00:00
Andrew Halberstadt
422288906f Bug 1530038 - [tryselect] Move taskgraph cache to new srcdir state location, r=tomprince
Depends on D24187

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

--HG--
extra : moz-landing-system : lando
2019-03-20 15:33:56 +00:00
Andrew Halberstadt
20deb1451e Bug 1530038 - [tryselect] Use target_task_set instead of target_task_graph, r=tomprince
The graph contains some extra things like toolchains, fetches and packaging
tasks that people will almost never want to run on their own. This change gets
them out of the default fuzzy selection interface, and makes it so --full is
needed to schedule them.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:38 +00:00
Andrew Halberstadt
da7628c7e8 Bug 1536621 - [tryselect] Limit the 'sample-suites' preset to a single raptor/talos task, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D24097

--HG--
extra : moz-landing-system : lando
2019-03-20 19:16:36 +00:00
Felipe Gomes
581be0ee79 Bug 1533405 - Do not create the hidden window if it's too early on startup or during shutdown. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D24252

--HG--
extra : moz-landing-system : lando
2019-03-20 19:35:59 +00:00
Jason Orendorff
b0968b1c83 Bug 1536887 - Remove obsolete getter syntax in an old test file. r=jwalden
Noticed by Ian Moody [:Kwan] while watching test output. (!)

The test was introduced in bug 515475, 10 years ago. However, the syntax used
in this patch seems to have been removed from SpiderMonkey around that time,
maybe even before the patch landed; that is, this is not among the syntax
removed in bug 517580. As far as I can tell, this test has never functioned
properly.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 20:41:01 +00:00
Cosine
830d6ee5ac Bug 1296236 - The revoke function created by Proxy.revocable() should be anonymous. r=jwalden
The current standard requires this function to have no own `name` property at
all; its `.name` would be inherited from `Function.prototype`. However, V8 and
JSC both already do what we do, so we're working to change the standard instead
of changing our behavior. See <https://github.com/tc39/ecma262/issues/1049>.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:35:22 +00:00
Narcis Beleuzu
a7d7024c93 Backed out changeset a14e5a146b8d (bug 1505368) for causing asan devtools failures. CLOSED TREE 2019-03-20 22:34:19 +02:00
Brindusan Cristian
3d5d7a9315 Backed out 2 changesets (bug 1484640) for ESlint failure at browser.js. CLOSED TREE
Backed out changeset 54f421232d08 (bug 1484640)
Backed out changeset 5914426902ac (bug 1484640)
2019-03-20 21:24:22 +02:00
rdalal
c63aeb040b Bug 1536911 - Increment normandy-action-argument-schemas package version r=glasserc
Differential Revision: https://phabricator.services.mozilla.com/D24235

--HG--
extra : moz-landing-system : lando
2019-03-20 18:39:55 +00:00
Bastien Abadie
9e0cc34738 Bug 1535355 - Add clang-tidy & clang-format in CI for code-review, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23524

--HG--
extra : moz-landing-system : lando
2019-03-19 14:42:32 +00:00
Bastien Abadie
ca516956bc Bug 1535355 - Add --output & --format=json|text to ./mach static-analysis check, r=ahal,firefox-build-system-reviewers,chmanchester
Differential Revision: https://phabricator.services.mozilla.com/D23523

--HG--
extra : moz-landing-system : lando
2019-03-19 18:26:50 +00:00
Bastien Abadie
bd81147042 Bug 1535355 - Add --output option to ./mach clang-format, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D23522

--HG--
extra : moz-landing-system : lando
2019-03-19 20:33:39 +00:00
alwu
b47db5a111 Bug 1524065 - part3 : remove unused message. r=baku
`resumeMedia` is used for resuming delayed autoplay, which have been replaced by notifying via the browsing context.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 18:45:37 +00:00
alwu
247fac2aa0 Bug 1524065 - part2 : use browsing context to resume delayed autoplay media. r=farre
Replace the current way and use the new way in order to make this working well after enable Fission.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 18:45:36 +00:00
Alastor Wu
bbb2e64dde Bug 1524065 - part1 : implement the way to resume delayed autoplay media via browsing context. r=farre
After enable Fission, we're not able to resume media in the different process, because the current way we use can only notify one process and would cause the media on other process can't be resumed.

Therefore, we should use the browsing context to notify the web content which might be on different processes.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 03:15:36 +00:00
Barret Rennie
d1cbdf8699 Bug 1536466 - Fix nsTDependentString with non-null-terminated buffer assertion r=bholley
`gecko_profiler_add_text_marker` was being passed a character pointer and a
length to construct a `nsDependentCString`. However, these values were coming
from a Rust `&str`, which is not null-terminated, causing an debug assertion to
be hit (and possible memory safety issues if mishandle the string). We now
construct an `nsDependentCSubstring` instead.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:51:22 +00:00
Edwin Gao
6ca73c42a3 Bug 1536573 - disable manifest toolkit/content/tests/browser/browser.ini for windows10-aarch64 r=jmaher
Disable the entire manifest file `toolkit/content/tests/browser/browser.ini` that deals with audio playback tests for windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 05:18:23 +00:00
Andreea Pavel
dd962029e9 Backed out 2 changesets (bug 676268) for failing android checkstyle
Backed out changeset 85d03febdb70 (bug 676268)
Backed out changeset cfa2c6443a6d (bug 676268)

--HG--
extra : rebase_source : 603eb3f1d13a11a98e2f92c3fc41c92d408cec6d
2019-03-20 07:16:34 +02:00
Edwin Gao
bd038cd9fe Bug 1536729 - disable browser_screenshots_cropping.js for windows10-aarch64 r=MattN
Disable `browser_screenshots_cropping.js` due to constant failure of this test on windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 05:16:22 +00:00
championshuttler
e2970d86c2 Bug 1484640 - Enable ESLint for mobile/android/chrome/content/browser.js (Manual Changes). r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D22891

--HG--
extra : moz-landing-system : lando
2019-03-16 13:13:00 +00:00
championshuttler
ff578b9c57 Bug 1484640 - Enable ESLint for mobile/android/chrome/content/browser.js (Automatic Changes). r=snorp
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-03-20 19:00:03 +00:00
Julian Descottes
7efda3d02e Bug 1487581 - Stop using hardcoded Firefox string in aboutdebugging;r=flod,ladybenko
Depends on D23879

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:08:36 +00:00
Julian Descottes
6987dbacc5 Bug 1487581 - Remove aboutdebugging.notftl file;r=daisuke
Depends on D23878

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:08:18 +00:00
Julian Descottes
30151e5bbe Bug 1487581 - Move l10n strings for Debug Targets to aboutdebugging.ftl;r=flod
Depends on D23877

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:03:29 +00:00
Julian Descottes
a6654a53ee Bug 1487581 - Move l10n strings for the Runtime page to aboutdebugging.ftl;r=flod
Depends on D23876

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:03:12 +00:00
Julian Descottes
2464c9c1b1 Bug 1487581 - Move l10n strings for page title to aboutdebugging.ftl;r=flod
Depends on D23875

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:02:54 +00:00
Julian Descottes
0f15a32735 Bug 1487581 - Move l10n strings for Sidebar to aboutdebugging.ftl;r=flod
Depends on D23874..

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:02:35 +00:00
Julian Descottes
be77a68ca5 Bug 1487581 - Move l10n strings for Setup page to aboutdebugging.ftl;r=flod
Depends on D23872.

If you want to test the patch, I will post a try link afterwards to pull a valid queue
since my work depends on another bug that is almost ready to land but not yet landed.

Then you can open aboutdebugging-new by going to about:debugging-new

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:02:22 +00:00
Julian Descottes
2f4d942547 Bug 1487581 - Create aboutdebugging.ftl and use it as localization file in aboutdebugging-new;r=daisuke,flod
Depends on D23871

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:02:15 +00:00
Julian Descottes
4f0cf47b6d Bug 1487581 - Fix localization for extension fields;r=daisuke
Depends on D23870

@daisuke this comes from your bug at https://bugzilla.mozilla.org/show_bug.cgi?id=1529518
You have not landed yet, so you can either review the patch here or fold it in your queue.
I am fine with both solutions.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:02:13 +00:00