Commit Graph

22018 Commits

Author SHA1 Message Date
Ed Lee
a8044dce1c Bug 1546535 - Add hardcoded layout, special snippet and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D28582

--HG--
extra : moz-landing-system : lando
2019-04-24 00:35:46 +00:00
Mark Banner
c507a11dc6 Bug 1544392 - Allow extension icons to be supplied from localized manifest properties, and fix the Yandex icon in search engines. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D28499

--HG--
extra : moz-landing-system : lando
2019-04-23 21:10:00 +00:00
Ricky Rosario
682f9caf21 Bug 1537736 - Use HomePage.get()/set() more consistently r=nanj
MozReview-Commit-ID: 5PzW6ONmuKd

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

--HG--
extra : moz-landing-system : lando
2019-04-23 18:30:07 +00:00
Gijs Kruitbosch
32599911f8 Bug 1544447 - add support for numpad enter key and add tests to check activation works, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D28431

--HG--
extra : moz-landing-system : lando
2019-04-23 11:44:36 +00:00
Gijs Kruitbosch
00fe7a02db Bug 1539984 - pass along whether a focus change was tripped by a keypress to ensure :-moz-focusring works as designed, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D27874

--HG--
extra : moz-landing-system : lando
2019-04-23 11:12:02 +00:00
Narcis Beleuzu
031b74e52b Bug 1533681 - Disable browser_siteData.js on Win and Linux (debug) r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D28316

--HG--
extra : moz-landing-system : lando
2019-04-22 11:37:07 +00:00
Bogdan Tara
a0ccfdb583 Backed out changeset 6fea732af766 (bug 1539984) for browser_PanelMultiView_keyboard.js failures CLOSED TREE 2019-04-23 06:41:42 +03:00
Gijs Kruitbosch
539daeb738 Bug 1539984 - pass along whether a focus change was tripped by a keypress to ensure :-moz-focusring works as designed, r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D27874

--HG--
extra : moz-landing-system : lando
2019-04-22 23:41:56 +00:00
Brian Grinstead
a938a1ad71 Bug 1545962 - Use <template> instead of CDATA for about:preferences r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28280

--HG--
extra : moz-landing-system : lando
2019-04-22 22:38:57 +00:00
Michael Kaply
0748631f8f Bug 1545592 - Make SanitizeOnShutdown policy more granular. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D28145

--HG--
extra : moz-landing-system : lando
2019-04-19 18:32:15 +00:00
Alexander Surkov
af181e17f0 Bug 1519514 - make sure document.l10n is initialized before triggering conext menu over a tab in browser_ext_menus_activeTab.js test r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D28366

--HG--
extra : moz-landing-system : lando
2019-04-22 20:18:02 +00:00
Ed Lee
6b90ab2c92 Bug 1546190 - Add sharper images, collapsible devtools and bug fixes to Activity Stream r=r1cky
Differential Revision: https://phabricator.services.mozilla.com/D28398

--HG--
extra : moz-landing-system : lando
2019-04-22 20:43:46 +00:00
YUKI "Piro" Hiroshi
eaeb8f7d91 Bug 1541748 - Add tests to verify WebExtensions API compatibility around new tab index r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D27226

--HG--
extra : moz-landing-system : lando
2019-04-22 09:00:57 +00:00
Zibi Braniecki
0d1d982767 Bug 1545399 - Update the Preferences' setControllingExtensionDescription to only alter the DOM when needed. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D28170

--HG--
extra : moz-landing-system : lando
2019-04-21 00:50:41 +00:00
Robert Helmer
92681d5884 Bug 1515712 - add default pref and start corroborator if enabled r=kmag
Depends on D15123

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

--HG--
extra : moz-landing-system : lando
2019-04-20 05:10:23 +00:00
Brindusan Cristian
53ae3683c8 Backed out 3 changesets (bug 1515712) for build bustages at 'cpp_guard'.
Backed out changeset 3e46d5fddd21 (bug 1515712)
Backed out changeset acb99631797a (bug 1515712)
Backed out changeset a2d24fd1fd67 (bug 1515712)
2019-04-20 05:44:41 +03:00
Robert Helmer
2bc9b8f0bc Bug 1515712 - add default pref and start corroborator if enabled r=kmag
Depends on D15123

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

--HG--
extra : moz-landing-system : lando
2019-04-19 22:54:49 +00:00
Joel Maher
fde1e653b9 Bug 1545552 - fix manifest to allow browser_telemetry.js to run. r=jaws
browser_telemetry.js has a condition that requires healthreport to be active.  This will never be the case.  Removing that gives us a chance to run the test.

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

--HG--
extra : moz-landing-system : lando
2019-04-20 00:24:09 +00:00
Brindusan Cristian
3704a79e13 Backed out changeset b97df75c9365 (bug 1541921) for bc mochitest asan failures. 2019-04-20 01:35:37 +03:00
Drew Willcoxon
8f9a1d4ab3 Bug 1541921 - Remove duplicate-search bailout from quantumbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27859

--HG--
extra : moz-landing-system : lando
2019-04-19 20:57:56 +00:00
Coroiu Cristina
a07986bbcb Bug 1545394 - fix ESlint failure r=me on a CLOSED TREE
--HG--
extra : amend_source : 6bebbd509d77fc92e549438023bbaa74530af4ac
2019-04-19 23:54:08 +03:00
Dão Gottwald
6cf49d57b6 Bug 1545394 - Keep stale rows in the view while receiving new results. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D28049

--HG--
extra : moz-landing-system : lando
2019-04-19 20:09:13 +00:00
Ed Lee
e3dda5bfe1 Bug 1544547 - Some strings/json stretch about:config hiding buttons r=paolo
Differential Revision: https://phabricator.services.mozilla.com/D27575

--HG--
extra : moz-landing-system : lando
2019-04-19 17:27:49 +00:00
Vijay Budhram
39576bf48c Bug 1542334 - Add FxA toolbar menu to app menu r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26377

--HG--
extra : moz-landing-system : lando
2019-04-19 14:05:24 +00:00
Marco Bonardo
ce793a562d Bug 776408 - Do not autofill after a paste. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D28051

--HG--
extra : moz-landing-system : lando
2019-04-19 09:10:40 +00:00
Arpit
474e467436 Bug 1483077 - Replaced reference to getBrowser with gBrowser r=robwu,dao
Differential Revision: https://phabricator.services.mozilla.com/D27418

--HG--
extra : moz-landing-system : lando
2019-04-17 00:04:54 +00:00
Ian Moody
1cabd68a41 Bug 1379466 - Use auxclick event to trigger new tab on middle click. r=smaug
So it is still preventDefault()able once non-primary clicks aren't web visible.

Don't let browser.js' contentAreaClick handle any non-primary clicks.
ClickHandlerChild.jsm handles them first anyway.  Can probably rip it out
entirely in another bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 12:57:36 +00:00
Kirk Steuber
b79db0775d Bug 1544562 - Call onUnload when about:preferences is closed r=rstrong
Differential Revision: https://phabricator.services.mozilla.com/D27591

--HG--
extra : moz-landing-system : lando
2019-04-18 20:52:02 +00:00
Brian Grinstead
9bda39c108 Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593

--HG--
extra : moz-landing-system : lando
2019-04-18 16:41:46 +00:00
Brian Grinstead
7621a8bf3a Bug 1528268 - Make initializeAttributeInheritance and incremental attribute changes do less work r=aswan
This provides a flipped data structure based on the provided inheritedAttributes,
which looks like:

Object<selector, attrs_to_inherit_comma_separated>

To one that looks like:

Object<attr, Array<Array<selector, attr_to_inherit>>

This should improve performance because:

1) We only fetch element at connectedCallback that actually will have attributes inherited.
2) When an attribute changes we can quickly inherit only that one.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:41:39 +00:00
Erica Wright
405307fbc4 Bug 1529659 - Update top-level content blocking description to be more generic. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D27961

--HG--
extra : moz-landing-system : lando
2019-04-18 06:55:15 +00:00
Johann Hofmann
6407007ebd Bug 1536454 - Part 4 - Add event telemetry for permission prompt studies. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D26945

--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:29 +00:00
Rob Wu
4a6f84f91d Bug 1544834 - Replace deprecated generics in test code r=evilpie
- `Array.map` becomes `Array.from`
- Array copying via `Array.slice` becomes `Array.from`.
- `Array.forEach` that did not rely on closures becomes `for`-`of` loops.
- Anything else: `Array.X` becomes `Array.prototype.X`.

Complex cases:

dom/bindings/test/TestInterfaceJS.js and
dom/bindings/test/test_exception_options_from_jsimplemented.html
use `Array.indexOf` to generate an error with a specific error message.
Switched to `Array.prototype.forEach` to generate the same error.

js/src/jit-test/tests/basic/exception-column-number.js
In this test `Array.indexOf()` is used to generate an error. Since the
exact message doesn't matter, I switched to `Array.from()`.

Intentionally not changed:

editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js
Did not modify because this is 3rd-party code and the code uses
feature detection as a fall back when Array generics are not used.

testing/talos/talos/tests/dromaeo/lib/mootools.js
Did not modify because mootools adds the `Array.slice` method to the
`Array` object.

Not changed because they check the implementation of Array generics:
js/src/jit-test/tests/basic/arrayNatives.js
js/src/jit-test/tests/basic/bug563243.js
js/src/jit-test/tests/basic/bug618853.js
js/src/jit-test/tests/basic/bug830967.js
js/src/jit-test/tests/jaeger/recompile/bug656753.js
js/src/jit-test/tests/self-hosting/alternate-static-and-instance-array-extras.js
js/src/tests/non262/Array/generics.js
js/src/tests/non262/Array/regress-415540.js
js/src/tests/non262/extensions/regress-355497.js
js/src/tests/non262/extensions/typedarray-set-neutering.js

Depends on D27802

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:19 +00:00
Rob Wu
1af4c55c01 Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Brian Grinstead
381332c51e Bug 1544051 - Part 3 - Scripted change to remove references to AddTask.js r=ahal
This was generated with the script at https://bug1544051.bmoattachments.org/attachment.cgi?id=9058672

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

--HG--
extra : moz-landing-system : lando
2019-04-18 16:51:01 +00:00
Marco Bonardo
9aece3ca7b Bug 1534738 - Title and url in RTL mode are not properly overflowing in Quantum Bar. r=dao
Moves the mask to the url and title elements, uses a flex layout to ensure
elements properly overflow, and fixes alignments and paddings because the new
layout would be more compact. rows are slightly taller than before, but they were
smaller than the legacy bar, so in the end we should be good.

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

--HG--
extra : moz-landing-system : lando
2019-04-18 08:29:18 +00:00
Dorel Luca
f5a2c905f4 Backed out 2 changesets (bug 1519502, bug 1528268) for Crashtest failures in toolkit/content/tests/chrome/test_popupincontent.xul. CLOSED TREE
Backed out changeset 904cc7903feb (bug 1519502)
Backed out changeset f8770d7eebd1 (bug 1528268)
2019-04-18 18:26:41 +03:00
Barret Rennie
46fd11fd0d Bug 1536170 - Replace Async.jankYielder r=tcsc,markh,eoger
`Async.jankYielder` is known to, unfortunately, cause jank by creating a lot of
immediately resolved promises that must be then GCed. For a collection of 50
items, it will create 50 promises and 49 of them will immediately resolve.

Instead of `Async.jankYielder`, we now have `Async.yieldState`, which simply
keeps track of whether or not the caller should yield to the event loop. Two
higher level looping constructs are built on top of it:

* `Async.yieldingIterator`, which has been rewritten to not create extraneous
  promises; and
* `Async.yieldingForEach`, which is a replacement for awaiting
  `Async.jankYielder` in a loop. Instead, it accepts the loop body as a
  function.

Each of these can share an instance of an `Async.yieldState`, which allows an
object with multiple loops to yield every N iterations overall, instead of
every N iterations of each loop, which keeps the behaviour of using one
`Async.jankYielders` in multiple places.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 03:00:35 +00:00
Luke Crouch
241edb5fa9 contextualIdentity: add gray color and fence icon (Bug 1532746); r=jkt,flod
Adds a gray color and fence icon for Containers. This is originally from
Facebook Container: https://addons.mozilla.org/firefox/addon/facebook-container/

User Research showed a strong affinity for the fence icon as an indicator of
the kind of "boundary" protection that Containers provide.
https://docs.google.com/spreadsheets/d/1bnqjcWTV893RESMPJzAXOrDN0juN_Z0-EE93Mvn3Z5g/edit#gid=0

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

--HG--
extra : moz-landing-system : lando
2019-04-17 16:43:30 +00:00
Brian Grinstead
d48d388df2 Bug 1519502 - Convert menu bindings to a Custom Element r=surkov
Differential Revision: https://phabricator.services.mozilla.com/D19593

--HG--
extra : moz-landing-system : lando
2019-04-17 15:56:41 +00:00
Brian Grinstead
fffaa7e5a8 Bug 1528268 - Make initializeAttributeInheritance and incremental attribute changes do less work r=aswan
This provides a flipped data structure based on the provided inheritedAttributes,
which looks like:

Object<selector, attrs_to_inherit_comma_separated>

To one that looks like:

Object<attr, Array<Array<selector, attr_to_inherit>>

This should improve performance because:

1) We only fetch element at connectedCallback that actually will have attributes inherited.
2) When an attribute changes we can quickly inherit only that one.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 18:48:46 +00:00
Mark Banner
0cd1778285 Bug 1545124 - Disable add-on manager logging for some tests. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D27917

--HG--
extra : moz-landing-system : lando
2019-04-17 15:48:07 +00:00
Drew Willcoxon
607920f718 Bug 1524550 - Remove UrlbarQueryContext's lastKey property. r=mak
This assumes that the current direction in bug 1522278 is the one we want, which it's looking like it is.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 15:19:23 +00:00
Drew Willcoxon
1bc115e695 Bug 1522278 - Use nsIEditActionListener to detect when the user deletes autofilled substrings. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D27637

--HG--
extra : moz-landing-system : lando
2019-04-17 15:19:23 +00:00
Erica Wright
fff8471d84 Bug 1544746 - Cookies label in Strict mode now reflects the state of cookie behavior. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27733

--HG--
extra : moz-landing-system : lando
2019-04-16 21:21:39 +00:00
Erica Wright
d302c30583 Bug 1545074 - Future-proof the strict category expectations. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27906

--HG--
extra : moz-landing-system : lando
2019-04-17 16:39:31 +00:00
Tim Nguyen
8007739b0a Bug 1544114 - Make about:policies integrate better with dark mode support. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27741

--HG--
extra : moz-landing-system : lando
2019-04-17 09:18:15 +00:00
Tim Nguyen
0987d5d4e2 Bug 1544887 - Fix some in-content page icon colors in dark mode. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27774

--HG--
extra : moz-landing-system : lando
2019-04-17 09:19:35 +00:00
Nika Layzell
50a5699074 Bug 1539163 - Part 2: Support changing the process of subframes, r=qdot
When a remote type mismatch is found for a subframe, this patch checks if
fission is enabled for that window. If it is, it triggers a process switch,
continuing the load in a new process.

With this patch, subframes will only change process when navigating to a HTML
subframe, and not when navigating to a non-HTML subframe. That will be fixed in
a follow-up. This patch also does not change the remote type selection logic,
so only very limited types of remote iframes are supported.

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

--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:32 +00:00
Mike de Boer
5d842c0354 Bug 1518545 - Remove the superfluous 'engine-current' Search Service observer topic in favour of 'engine-default'. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D27857

--HG--
rename : toolkit/components/places/tests/unifiedcomplete/test_search_engine_current.js => toolkit/components/places/tests/unifiedcomplete/test_search_engine_default.js
extra : moz-landing-system : lando
2019-04-17 09:45:24 +00:00