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

642867 Коммитов

Автор SHA1 Сообщение Дата
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
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
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
Julian Descottes 3ecbb513c0 Bug 1487581 - Add localization for Disconnect button;r=daisuke
Depends on D23869. Follow up to https://bugzilla.mozilla.org/show_bug.cgi?id=1505128
Localization is missing for this button, adding it here.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:02:11 +00:00
Julian Descottes 1cade68d3d Bug 1487581 - Stop using selectors for the service worker status;r=daisuke
Depends on D23868

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:00:44 +00:00
Julian Descottes d93b370c05 Bug 1487581 - Stop using selectors for the aboutdebugging page title;r=daisuke
Depends on D23867.

As described in https://projectfluent.org/fluent/guide/selectors.html selectors should rather be used for quantities.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:00:24 +00:00
Julian Descottes c9a700593d Bug 1487581 - Add missing localized strings for Setup page;r=ladybenko
Depends on D23865

Some localized strings missing in the notftl file. Adding them before moving the strings.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:00:02 +00:00
Julian Descottes 8d640df330 Bug 1487581 - Remove the wifi debugging preference;r=ladybenko
Depends on D23864. Wifi preference is not used anymore, removing it as well for consistency.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 17:59:08 +00:00
Julian Descottes 1138139498 Bug 1487581 - Remove preference to disable network locations section;r=ladybenko
Depends on D23863. We want to enable network locations by default.
Remove all the logic and l10n strings related to this before moving the l10n strings.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 17:58:46 +00:00
Julian Descottes ce305bc640 Bug 1487581 - Rename leftover connect-* strings to setup-* strings;r=ladybenko
Follow up to Bug 1505124. L10n cleanup before moving the strings

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

--HG--
extra : moz-landing-system : lando
2019-03-20 17:58:23 +00:00
Eitan Isaacson ec2f69700f Bug 1535701 - Followup to fix checkstyle and eslint.
Differential Revision: https://phabricator.services.mozilla.com/D24232

--HG--
extra : moz-landing-system : lando
2019-03-20 18:17:23 +00:00
Boris Zbarsky 5539520106 Bug 1535124 part 3. Add MOZ_CAN_RUN_SCRIPT annotations to geolocation code as needed. r=jdm
Differential Revision: https://phabricator.services.mozilla.com/D23521

--HG--
extra : moz-landing-system : lando
2019-03-20 18:05:09 +00:00
Boris Zbarsky a998830a71 Bug 1535124 part 2. Mark Web IDL callbacks MOZ_CAN_RUN_SCRIPT by default. r=qdot
We add a [MOZ_CAN_RUN_SCRIPT_BOUNDARY] opt-out for now to keep the tree
compiling.  The naming purposefully matches the C++ annotation that has a
similar effect, top make it easy to search for.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 12:59:54 +00:00
Boris Zbarsky 5c13f9c06d Bug 1535124 part 1. Add a MOZ_KnownLive() around callback-typed arguments in bindings. r=qdot
This allows calling a C++ MOZ_CAN_RUN_SCRIPT method that takes a callback argument.

The changes to TestCanRunScript.cpp are there to catch an incorrect change I was
going to make to the analysis to make this work, until I figured out that
RootedCallback should be MOZ_IS_SMARTPTR_TO_REFCOUNTED.

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

--HG--
extra : moz-landing-system : lando
2019-03-19 12:59:53 +00:00
Jim Blandy f06911fbb4 Bug 1536224: Update Debugger documentation for async function initial yields. DONTBUILD r=jorendorff
Since bug 1530324 removed the wrapper functions for async functions, it is no
longer true that a Debugger.Frame for an async function call calls its onPop
handler once after evaluating default arguments but before beginning execution
of the body.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 18:26:15 +00:00
Eitan Isaacson 65c8912aaf Bug 1535701 - Focus GeckoView when interacting with TalkBack. r=geckoview-reviewers,snorp
When TalkBack receives a focus event, it redirects the accessibility focus (the green cursor) to the focused element. This is an important driver for the screen reader experience.

Since the focus mode of the GeckoView is "focusable in touch", the focused state of the view is very arbitrary when using TalkBack since the user never directly touches the view. The only way for the view to regain focus is if a control or link in the content is interacted with.

TalkBack user, who is explicitly interacting with the webview/geckoview would expect it to have focus, and to have the accessibility focus redirected in the page in the case of script-driven focus events.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:48:40 +00:00
Eitan Isaacson 2b6876f959 Bug 1535701 - Don't clear focus when moving vc away from focused node. r=yzen
This is more consistent with how it works in GeckoView. We need to give
up this behavior because it reset the top-level caret position on each
blur. This interferes with find in page which goes to the next search
result past the current caret.

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

--HG--
extra : moz-landing-system : lando
2019-03-20 16:48:36 +00:00
Alex Gaynor 823516cc43 Bug 1536097 - Part 5 - convert AttestationConveyancePreference to use ParamTraits for deserialization; r=jcj
Depends on D24065

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:25:35 +00:00
Alex Gaynor 12dcc5de20 Bug 1536097 - Part 4 - convert UserVerificationRequirement to use ParamTraits for deserialization; r=jcj
Depends on D24064

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:25:47 +00:00
Alex Gaynor b6f7702cfa Bug 1536097 - Part 3 - convert WebAuthnMaybeGetAssertionExtraInfo to use a native IPDL maybe; r=jcj
Depends on D24063

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:26:00 +00:00
Alex Gaynor 936775f7b8 Bug 1536097 - Part 2 - convert WebAuthnMaybeMakeCredentialExtraInfo to use a native IPDL maybe; r=jcj
Depends on D24062

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

--HG--
extra : moz-landing-system : lando
2019-03-19 23:26:20 +00:00
Alex Gaynor 8db559a3fd Bug 1536097 - Part 1 - convert WebAuthnMaybeAuthenticatorAttachment to use a native IPDL maybe and use ParamTraits for deserialization; r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D24062

--HG--
extra : moz-landing-system : lando
2019-03-20 15:23:44 +00:00