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

993 Коммитов

Автор SHA1 Сообщение Дата
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Neil Deakin e27bc63563 Bug 1595154, make sure the message observer is removed after focus is complete in form autofill tests, also move removing of observer from willDestroy to didDestroy so it is more consistently called, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D54945

--HG--
extra : moz-landing-system : lando
2019-12-11 13:38:35 +00:00
Neil Deakin a3b79c2f38 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-12-11 13:38:13 +00:00
Neil Deakin c93677f198 Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-12-11 13:37:59 +00:00
Neil Deakin 75efe08ebc Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-11 13:37:51 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Kris Maglione cee320b5fb Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:41 +00:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Kirk Steuber 589b7532ea Bug 1585482 - Restructure all <xul:dialog> usages such that they are not the top level element r=bgrins
This patch also includes necessary JS changes to support this. Most commonly, the dialog was accessed with document.documentElement, which needed to be changed now that the dialog is not the top level element.

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

--HG--
extra : moz-landing-system : lando
2019-12-10 18:25:59 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione 84fa9ffb2a Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:35 +00:00
Kris Maglione fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione cd579034cc Bug 1596918: Part 4g - Misc cleanup/fixes. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D53748

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:43 +00:00
Kris Maglione b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

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

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Ciure Andrei 7229b5803b Backed out 5 changesets (bug 1595154) for causing talos performance tests failures CLOSED TREE
Backed out changeset 498f750ed88a (bug 1595154)
Backed out changeset 45481561c120 (bug 1595154)
Backed out changeset 8ca3c106fc8d (bug 1595154)
Backed out changeset 7ffa8f958d0a (bug 1595154)
Backed out changeset 444505b4936b (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-12-04 21:07:05 +02:00
Neil Deakin 93bebc1ca0 Bug 1595154, make sure the message observer is removed after focus is complete in form autofill tests, also move removing of observer from willDestroy to didDestroy so it is more consistently called, r=MattN
Depends on D54944

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

--HG--
extra : moz-landing-system : lando
2019-12-03 16:18:04 +00:00
Neil Deakin f1796bcf55 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-12-04 11:45:17 +00:00
Neil Deakin 84e9411376 Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-12-04 11:45:15 +00:00
Neil Deakin 0fe11bd612 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-04 11:45:10 +00:00
Andreea Pavel 03a2c54d6f Backed out 3 changesets (bug 1595154) for failing bc at browser_autocomplete_marked_detached_tab.js on a CLOSED TREE
Backed out changeset f512953534ac (bug 1595154)
Backed out changeset 803a2dfdda82 (bug 1595154)
Backed out changeset ddd336d5bf1a (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-11-20 05:03:37 +02:00
Neil Deakin 626faebde9 Bug 1595154, add a test for form fillin that uses a child iframe loaded in a separate process, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52723

--HG--
extra : moz-landing-system : lando
2019-11-20 01:25:40 +00:00
Neil Deakin 0541c1228b Bug 1595154, change FormAutofillParent to inherit from JSWindowActor, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52722

--HG--
extra : moz-landing-system : lando
2019-11-20 01:25:27 +00:00
Neil Deakin a6095ebaf4 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-11-20 01:25:20 +00:00
Itiel dc8477eb57 Bug 1592367 - Fix Edit Address's label-text location for RTL r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D50974

--HG--
extra : moz-landing-system : lando
2019-10-29 20:16:49 +00:00
Itiel 16588d2164 Bug 1588367 - Convert all relevant uses of float: right/left to logical properties on browser/ r=johannh,MattN
Differential Revision: https://phabricator.services.mozilla.com/D49087

--HG--
extra : moz-landing-system : lando
2019-10-28 18:46:38 +00:00
Emma Malysz efcbc0d09d Bug 1588135, replace .xul test files in browser/ to .xhtml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D48986

--HG--
rename : browser/base/content/test/chrome/test_aboutCrashed.xul => browser/base/content/test/chrome/test_aboutCrashed.xhtml
rename : browser/base/content/test/chrome/test_aboutRestartRequired.xul => browser/base/content/test/chrome/test_aboutRestartRequired.xhtml
rename : browser/base/content/test/contextMenu/subtst_contextmenu_xul.xul => browser/base/content/test/contextMenu/subtst_contextmenu_xul.xhtml
rename : browser/base/content/test/general/browser_tab_dragdrop2_frame1.xul => browser/base/content/test/general/browser_tab_dragdrop2_frame1.xhtml
rename : browser/components/places/tests/chrome/test_0_bug510634.xul => browser/components/places/tests/chrome/test_0_bug510634.xhtml
rename : browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xul => browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xhtml
rename : browser/components/places/tests/chrome/test_bug549192.xul => browser/components/places/tests/chrome/test_bug549192.xhtml
rename : browser/components/places/tests/chrome/test_bug549491.xul => browser/components/places/tests/chrome/test_bug549491.xhtml
rename : browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xul => browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xhtml
rename : browser/components/places/tests/chrome/test_treeview_date.xul => browser/components/places/tests/chrome/test_treeview_date.xhtml
rename : browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xul => browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xhtml
rename : browser/components/preferences/in-content/tests/subdialog.xul => browser/components/preferences/in-content/tests/subdialog.xhtml
rename : browser/components/preferences/in-content/tests/subdialog2.xul => browser/components/preferences/in-content/tests/subdialog2.xhtml
rename : browser/extensions/formautofill/test/browser/focus-leak/doc_iframe_typecontent_input_focus.xul => browser/extensions/formautofill/test/browser/focus-leak/doc_iframe_typecontent_input_focus.xhtml
extra : source : 9de4958b65f183a452937f1e7e6b526df36e02f1
2019-10-14 22:24:12 +00:00
Cosmin Sabou 372660d92d Backed out changeset 9de4958b65f1 (bug 1588135) for browser chrome failures on test_aboutRestartRequired.xhtml
--HG--
rename : browser/base/content/test/chrome/test_aboutCrashed.xhtml => browser/base/content/test/chrome/test_aboutCrashed.xul
rename : browser/base/content/test/chrome/test_aboutRestartRequired.xhtml => browser/base/content/test/chrome/test_aboutRestartRequired.xul
rename : browser/base/content/test/contextMenu/subtst_contextmenu_xul.xhtml => browser/base/content/test/contextMenu/subtst_contextmenu_xul.xul
rename : browser/base/content/test/general/browser_tab_dragdrop2_frame1.xhtml => browser/base/content/test/general/browser_tab_dragdrop2_frame1.xul
rename : browser/components/places/tests/chrome/test_0_bug510634.xhtml => browser/components/places/tests/chrome/test_0_bug510634.xul
rename : browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xhtml => browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xul
rename : browser/components/places/tests/chrome/test_bug549192.xhtml => browser/components/places/tests/chrome/test_bug549192.xul
rename : browser/components/places/tests/chrome/test_bug549491.xhtml => browser/components/places/tests/chrome/test_bug549491.xul
rename : browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xhtml => browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xul
rename : browser/components/places/tests/chrome/test_treeview_date.xhtml => browser/components/places/tests/chrome/test_treeview_date.xul
rename : browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xhtml => browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xul
rename : browser/components/preferences/in-content/tests/subdialog.xhtml => browser/components/preferences/in-content/tests/subdialog.xul
rename : browser/components/preferences/in-content/tests/subdialog2.xhtml => browser/components/preferences/in-content/tests/subdialog2.xul
rename : browser/extensions/formautofill/test/browser/focus-leak/doc_iframe_typecontent_input_focus.xhtml => browser/extensions/formautofill/test/browser/focus-leak/doc_iframe_typecontent_input_focus.xul
extra : rebase_source : 95271ab213263da82a35c1fc52e1dedc3bfc4789
2019-10-15 03:06:38 +03:00
Emma Malysz 62c9920956 Bug 1588135, replace .xul test files in browser/ to .xhtml r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D48986

--HG--
rename : browser/base/content/test/chrome/test_aboutCrashed.xul => browser/base/content/test/chrome/test_aboutCrashed.xhtml
rename : browser/base/content/test/chrome/test_aboutRestartRequired.xul => browser/base/content/test/chrome/test_aboutRestartRequired.xhtml
rename : browser/base/content/test/contextMenu/subtst_contextmenu_xul.xul => browser/base/content/test/contextMenu/subtst_contextmenu_xul.xhtml
rename : browser/base/content/test/general/browser_tab_dragdrop2_frame1.xul => browser/base/content/test/general/browser_tab_dragdrop2_frame1.xhtml
rename : browser/components/places/tests/chrome/test_0_bug510634.xul => browser/components/places/tests/chrome/test_0_bug510634.xhtml
rename : browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xul => browser/components/places/tests/chrome/test_bug1163447_selectItems_through_shortcut.xhtml
rename : browser/components/places/tests/chrome/test_bug549192.xul => browser/components/places/tests/chrome/test_bug549192.xhtml
rename : browser/components/places/tests/chrome/test_bug549491.xul => browser/components/places/tests/chrome/test_bug549491.xhtml
rename : browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xul => browser/components/places/tests/chrome/test_selectItems_on_nested_tree.xhtml
rename : browser/components/places/tests/chrome/test_treeview_date.xul => browser/components/places/tests/chrome/test_treeview_date.xhtml
rename : browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xul => browser/components/preferences/in-content/tests/browser_bug1184989_prevent_scrolling_when_preferences_flipped.xhtml
rename : browser/components/preferences/in-content/tests/subdialog.xul => browser/components/preferences/in-content/tests/subdialog.xhtml
rename : browser/components/preferences/in-content/tests/subdialog2.xul => browser/components/preferences/in-content/tests/subdialog2.xhtml
rename : browser/extensions/formautofill/test/browser/focus-leak/doc_iframe_typecontent_input_focus.xul => browser/extensions/formautofill/test/browser/focus-leak/doc_iframe_typecontent_input_focus.xhtml
extra : moz-landing-system : lando
2019-10-14 22:24:12 +00:00
Neil Deakin ec8b2c4f13 Bug 1573836, make autocomplete component fission compatible, r=mak,MattN
Differential Revision: https://phabricator.services.mozilla.com/D47093

--HG--
rename : toolkit/modules/AutoCompletePopupContent.jsm => toolkit/actors/AutoCompleteChild.jsm
rename : toolkit/components/satchel/AutoCompletePopup.jsm => toolkit/actors/AutoCompleteParent.jsm
extra : moz-landing-system : lando
2019-10-09 19:02:57 +00:00
Alexander Surkov e12771ba94 Bug 1581588 - remove unnecessary moz-binding style from richlistitems r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D46158

--HG--
extra : moz-landing-system : lando
2019-09-17 18:22:37 +00:00
Mark Banner 9569721e58 Bug 1579420 - Fix remaining ESLint no-async-promise-executor issues in browser/ and toolkit/. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D45010

--HG--
extra : moz-landing-system : lando
2019-09-16 17:26:58 +00:00
monikamaheshwari 9d60e0d578 Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629

--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Mark Banner b1970e6a2f Bug 1571466 - Cleanup unnecessary ESLint global definitions. r=mossop
These are raised as redeclares or unused variables by ESLint 6.

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

--HG--
extra : moz-landing-system : lando
2019-08-19 07:11:56 +00:00
Brendan Dahl 0a8d6f243d Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D41239

--HG--
extra : moz-landing-system : lando
2019-08-09 17:47:41 +00:00
Julian Descottes e315fba2e7 Bug 1570885 - Remove focusout event from FormAutofillFrameScript r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D40386

--HG--
extra : moz-landing-system : lando
2019-08-02 10:40:28 +00:00
Jared Wein 989f3ce4f7 Bug 1569963 - Fix styling of credit card inputs in preferences. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D40089

--HG--
extra : moz-landing-system : lando
2019-08-01 07:43:30 +00:00
Julian Descottes 8070e9389c Bug 1569897 - Only keep weak references on the active element from FormAutofillContent r=MattN
Depends on D39716

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

--HG--
extra : moz-landing-system : lando
2019-07-30 14:26:14 +00:00
Julian Descottes be46de6464 Bug 1566870 - Fix FormAutoFill leak when focusing input in HTML frame r=kmag,MattN
Cleaning the FormAutofillContent on blur seems to fix the leak.

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

--HG--
extra : moz-landing-system : lando
2019-07-30 06:08:01 +00:00
Matthew Noorenberghe e8b9384922 Bug 1554458 - Increase min-width for login autocomplete popups. r=sfoster,flod
Regular login popups go to 17em whereas a popup containing password generation goes to 21em.

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

--HG--
extra : moz-landing-system : lando
2019-07-29 19:35:53 +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
Gijs Kruitbosch f114ac3f4a Bug 1567095 - fix styling of address inputs in preferences, r=dao
Differential Revision: https://phabricator.services.mozilla.com/D39160

--HG--
extra : moz-landing-system : lando
2019-07-25 14:35:34 +00:00
Sylvestre Ledru 90fac8fa22 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 12:03:37 +00:00
Andreea Pavel b698eeec56 Backed out changeset 3d59cb02b6ff (bug 1562642) for eslint failure on a CLOSED TREE 2019-07-10 14:44:29 +03:00
Sylvestre Ledru fd95abf361 Bug 1562642 - Part 3 - Add missing MPL2 headers in browser & toolkit r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37217

--HG--
extra : moz-landing-system : lando
2019-07-10 11:15:25 +00:00
Victor Porof ad522e3aae Bug 1561435 - Fix linting errors for browser/, r=standard8
# ignore-this-changeset

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

--HG--
extra : source : ff6aa88097df9836d93d6aa5554ffcd160f07167
extra : intermediate-source : 2130a9484ece03d835939359c4a07966aa8d790c
2019-06-28 20:02:37 +02:00
Victor Porof 2995d5960c Bug 1561435 - Format browser/extensions/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : 0d17c165e0453b1e05ee73771f7a6e18af093578
2019-07-05 09:54:47 +02:00
Victor Porof b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Kris Maglione f340650652 Bug 1561150: Follow-up: Fix buggy chrome scripts in form autofill tests. r=me,test-only
These tests mostly worked by accident in the past because assertions from
chrome scripts were not processed after a chrome script was destroyed, and
assertions were not treated as assertions anyway. But once those issues were
fixed, they started failing because of races in the RPC code in these tests,
which caused the first resolved call of a given method to resolve all other
calls as well, and not wait for them to finish and their assertions to fire
before ending the test.

--HG--
extra : rebase_source : 0578dd90e538ff0a8df3b8d9d0fbc426148e6ccd
extra : source : 19e0edc9207746c7987b98f3c7787b7c363d651d
2019-06-27 15:44:55 -07:00
Kris Maglione 3e44c16cf9 Bug 1541557: Part 5 - Update callers of ChromeScript.sendSyncMessage to use sendQuery instead. r=nika
Since JSWindowActors don't have direct access to synchronous messaging,
ChromeScript callers are going to need to migrate to asynchronous messaging
and queries instead.

Since there's no comparable API to sendQuery for frame message managers, this
patch adds a stub that uses synchronous messaging, but makes the API appear
asynchronous, and migrates callers to use it instead of direct synchronous
messaging. This will be replaced with a true synchronous API in the actor
migration.

Fortunately, most of the time, this actually leads to simpler code. The
`sendQuery` API doesn't have the odd return value semantics of
`sendSyncMessage`, and can usually just be used as a drop-in replacement. Many
of the `sendSyncMessage` callers don't actually use the result, and can just
be changed to `sendAsyncMessage`. And many of the existing async messaging
users can be changed to just use `sendQuery` rather than sending messages and
adding response listeners.

However, the APZ code is an exception. It relies on intricate properties of
the event loop, and doesn't have an easy way to slot in promise handlers, so I
migrated it to using sync messaging via process message managers instead.

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

--HG--
extra : rebase_source : d5707e87f293a831a5cf2e0b0a7e977090267f78
extra : source : 75ebd6fce136ab3bd0e591c2b8b2d06d3b5bf923
2019-06-12 12:40:51 -07:00
Boris Zbarsky 2e99da1fb9 Bug 1558650. Stop using [array] in nsIOSKeyStore. r=keeler
This also removes the two extra copies of the byte buffer that we had; we don't
need to copy it more than once.  Once we have it in an std::vector, we can pass
that around by reference, not by value or by creating new vectors from copies
of its buffer.

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

--HG--
extra : moz-landing-system : lando
2019-06-12 23:25:27 +00:00
Boris Zbarsky 9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Kevin Jacobs 7234bae169 Bug 1492305 - Fix LibSecret unlocking & NSS return values r=keeler,MattN
This fixes issues with the NSS and LibSecret keystore not correctly rejecting unlocking of the key store.

Updated for dynamic loading of LibSecret and a bug workaround added elsewhere (updated green try below)

Depends on D9969.

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

--HG--
extra : moz-landing-system : lando
2019-05-22 18:25:59 +00:00
Andrew Swan a2a47acbcd Bug 1549192 Remove extension shutdownReason footgun r=kmag
Checking extension.shutdownReason for any purpose other than detecting
app shutdown is unreliable, since actions such as disabing, uninstalling,
etc. may happen ito an extension after it has shut down.  Remove the
temptation for api authors to write incorrect code by removing
extension.shutdownReason and replacing it with an isAppShutdown boolean
passed to shutdown handlers.

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

--HG--
extra : rebase_source : 07ff7710757150d011fec6bc3ed134c6509e9a12
2019-05-09 19:46:38 -07:00
Razvan Maries 444ee13e14 Merge mozilla-inbound to mozilla-central a=merge 2019-04-26 12:46:15 +03:00
Jonas Allmann 2fddbb5d45 Bug 1545415 - Remove `new Function` from parent_utils.js, r=MattN
Remove `new Function` from parent_utils.js and refactor affected code.
Remove parent_utils.js from eval()-whitelist.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 14:10:05 +00:00
Kestrel 09bcf261f4 Bug 1546585 - Fix about:preferences Saved Addresses list alternate row background color for dark mode r=ntim. CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D28802

--HG--
extra : source : 82a99a3ad6682ed02122d4444795010a691c55e8
extra : amend_source : cb63ae9f64af23907a9b90036ba133cd179629c6
2019-04-25 12:32:17 +00:00
Dorel Luca 0b98a7c8dc Backed out changeset 82a99a3ad668 (bug 1546585) for Browser-chrome failures in browser/base/content/test/static/browser_parsable_css.js. CLOSED TREE 2019-04-25 22:00:18 +03:00
Kestrel 5747f363b1 Bug 1546585 - Fix about:preferences Saved Addresses list alternate row background color for dark mode r=ntim
Differential Revision: https://phabricator.services.mozilla.com/D28802

--HG--
extra : moz-landing-system : lando
2019-04-25 12:32:17 +00:00
Brian Grinstead 08992fb8e8 Bug 1546501 - Remove unnecessary type attributes (i.e. [type="application/javascript"]) on non-test script tags r=mossop
This is an autogenerated commit, generated with https://bug1546501.bmoattachments.org/attachment.cgi?id=9060222

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

--HG--
extra : moz-landing-system : lando
2019-04-24 19:43:57 +00:00
Tim Nguyen b8ef936aa6 Bug 1545757 - Fix contrast of text on 'Edit Address' dialog in dark mode. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D28381

--HG--
extra : moz-landing-system : lando
2019-04-22 17:57:13 +00:00
Oana Pop Rus c39500b97e Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-26 01:20:21 +03:00
Andrew Swan 24c3452da6 Bug 1538983 Rework highlightable buttons r=jaws
Our standard <button> binding has been carrying around an extra <label>
just to support search highlighting in about:preferences.  This patch
removes that overhead by moving the tweaks that about:preferences needs
into a custom element used only within about:preferences.

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

--HG--
extra : rebase_source : f7fe120f29630c76a1af77ddf16a422d3c946c58
2019-04-19 14:08:33 -07:00
prathiksha f56e3c8ac0 Bug 1539677 - Do not highlight the password field when pressing enter on the footer or the insecure field warning. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D27405

--HG--
rename : toolkit/components/passwordmgr/test/mochitest/test_autocomplete_highlight.html => toolkit/components/passwordmgr/test/mochitest/test_autocomplete_highlight_non_login.html
extra : rebase_source : ee0a97b70c46aa0e42811a4e3b0445814cb851aa
2019-04-19 11:54:32 -07: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
Brian Grinstead 7ab932d712 Bug 1544051 - Part 2 - Remove some references to AddTask.js that aren't caught by the script in part 3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D27760

--HG--
extra : moz-landing-system : lando
2019-04-18 16:50:39 +00:00
Brian Grinstead ede8c44ef2 Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
This excludes dom/, otherwise the file size is too large for phabricator to handle.

This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.

This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.

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

--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Trushita 89435f2ad4 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 20:40:26 +00:00
Mark Banner dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Mark Banner 53b3788bba Bug 1415265 - Implement a central configuration for setting ESLint environments for test directories. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23849

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:02 +00:00
Florian Quèze dbd7ac1015 Bug 1523609 - avoid triggering nsChromeRegistryChrome::CheckForNewChrome (which does main thread I/O) during shutdown of system add-ons, r=kmag.
Differential Revision: https://phabricator.services.mozilla.com/D22380

--HG--
extra : moz-landing-system : lando
2019-03-22 14:19:59 +00:00
Ciure Andrei 8197ed228b Backed out changeset 99b6adafbfa3 (bug 1523609) for causing nsCOMPtr asertion failures and nsIAppStartup failures CLOSED TREE 2019-03-22 15:43:00 +02:00
Florian Quèze f8b8bdbaf5 Bug 1523609 - avoid triggering nsChromeRegistryChrome::CheckForNewChrome (which does main thread I/O) during shutdown of system add-ons, r=kmag.
Differential Revision: https://phabricator.services.mozilla.com/D22380

--HG--
extra : moz-landing-system : lando
2019-03-22 12:11:51 +00:00
Ian Moody 167f623a3e Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D24088

--HG--
extra : moz-landing-system : lando
2019-03-19 22:02:42 +00:00
Alexander Surkov 822a58f809 Bug 1534685 - make all custom elements to use the attribute inheritance base implementation, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D23541

--HG--
extra : moz-landing-system : lando
2019-03-14 21:44:54 +00:00
Mauricio Araujo 660d60eb2e Inconsistency between "&" (ampersand) vs "and" in Options (Bug 1530771) r=jaws,flod
Bug 1530771 - Replaced instances where "&" (ampersand) was used instead of "and" to join two words in the preferences menu, and added Oxford comma where appropriate in certain labels to ensure consistency. r?jaws, r?flod

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

--HG--
extra : moz-landing-system : lando
2019-03-13 06:35:24 +00:00
Edouard Oger d391c790bc Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 19:32:40 +00:00
Dorel Luca eb794cd9b8 Backed out changeset 4b280518c7b1 (bug 1532514) for Browser-chrome failures in browser/components/syncedtabs/test/browser/browser_sidebar_syncedtabslist.js. CLOSED TREE 2019-03-12 03:59:56 +02:00
Edouard Oger 565385661c Bug 1532514 - Update sinon to v7.2.7. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D22046

--HG--
extra : moz-landing-system : lando
2019-03-12 00:18:16 +00:00
Matthew Noorenberghe af69d17ff0 Bug 1531443 - Clear the `lastProfileAutoCompleteResult` during a form history fallback search. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D21587

--HG--
extra : moz-landing-system : lando
2019-03-04 19:22:00 +00:00
Matthew Noorenberghe 892a65479b Bug 1474143 - Don't load FormAutofillContent.jsm until it's needed. r=Felipe
Switch to using DOMFormBeforeSubmit event instead of earlyformsubmit observer notifications.

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

--HG--
extra : moz-landing-system : lando
2019-02-23 00:26:03 +00:00
Matthew Noorenberghe b15b8a8c36 Bug 1474143 - Use sharedData instead of initialProcessData for autofillEnabled. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16647

--HG--
extra : moz-landing-system : lando
2019-02-23 00:22:57 +00:00
Matthew Noorenberghe 9509d5a093 Bug 1474143 - Use sharedData instead of initialProcessData for autofillSavedFieldNames. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16646

--HG--
extra : moz-landing-system : lando
2019-02-23 00:22:39 +00:00
Ciure Andrei f7412ac1f2 Backed out 10 changesets (bug 1474143) for perma failing browser_markup_events_01.js CLOSED TREE
Backed out changeset 1b5d04866585 (bug 1474143)
Backed out changeset 78bfb4dd1f6a (bug 1474143)
Backed out changeset 85ec4f1f5f60 (bug 1474143)
Backed out changeset 5c112b77e489 (bug 1474143)
Backed out changeset 5d35599598bb (bug 1474143)
Backed out changeset 9fd0d7a7946f (bug 1474143)
Backed out changeset 1a83be7a75ca (bug 1474143)
Backed out changeset 2fc9b13171d0 (bug 1474143)
Backed out changeset 3983d7b6d9ad (bug 1474143)
Backed out changeset 9fe55dd58cd8 (bug 1474143)

--HG--
rename : browser/actors/FormValidationChild.jsm => browser/actors/FormSubmitChild.jsm
rename : toolkit/components/satchel/FormSubmitChild.jsm => toolkit/components/satchel/formSubmitListener.js
2019-02-22 21:16:49 +02:00
Matthew Noorenberghe 7100b7f1d9 Bug 1474143 - Don't load FormAutofillContent.jsm until it's needed. r=Felipe
Switch to using DOMFormBeforeSubmit event instead of earlyformsubmit observer notifications.

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

--HG--
extra : moz-landing-system : lando
2019-02-22 15:13:40 +00:00
Matthew Noorenberghe b614f620c7 Bug 1474143 - Use sharedData instead of initialProcessData for autofillEnabled. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16647

--HG--
extra : moz-landing-system : lando
2019-02-22 15:11:34 +00:00
Matthew Noorenberghe 969eeadf84 Bug 1474143 - Use sharedData instead of initialProcessData for autofillSavedFieldNames. r=Felipe
Differential Revision: https://phabricator.services.mozilla.com/D16646

--HG--
extra : moz-landing-system : lando
2019-02-22 15:11:15 +00:00
Matthew Noorenberghe ce4c5eb30b Bug 1446876 - Use waitForCondition to watch for managed state changes. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D20555

--HG--
extra : moz-landing-system : lando
2019-02-20 21:52:11 +00:00
Masayuki Nakano 474225038e Bug 998941 - part 2-2: Make HTMLEditor set InputEvent.dataTransfer when InputEvent.inputType is "insertFromPaste", "insertFromDrop" or "insertReplacementText" r=smaug,m_kato
InputEvent.dataTransfer should be set to non-null when InputEvent.inputType
is "insertFromPaste", "insertFromDrop" or "insertReplacementText" and
editor is an HTMLEditor instance:
https://rawgit.com/w3c/input-events/v1/index.html#dfn-data
https://w3c.github.io/input-events/#dfn-data

("insertTranspose" and "insertFromYank" are not currently supported on Gecko.)

This patch makes nsContentUtils::DispatchInputEvent() take dataTransfer value
and EditorBase set it via AutoEditActionDataSetter like data value.

However, we need to create other constructors of DataTransfer to create its
read-only instances initialized with nsITransferable or nsAString.  This will
be implemented by the following patch.

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:33:42 +00:00
Masayuki Nakano 2eaf64e594 Bug 998941 - part 1-3: Make TextEditor (only when not HTMLEditor instance) set InputEvent.data to inserting string when InputEvent.inputType is "insertFromPaste", "insertFromDrop" or "insertReplacementText" r=smaug,m_kato
https://rawgit.com/w3c/input-events/v1/index.html#dfn-data
https://w3c.github.io/input-events/#dfn-data

Both Input Events Level 1 and Level 2 declare that InputEvent.data should be
set to inserting string only on TextEditor when InputEvent.inputType is
"insertFromPaste", "insertFromPasteAsQuotation", "insertFromDrop",
"insertTranspose", "insertReplacementText" or "insertFromYank".

Currently, we support only "insertFromPaste", "insertFromDrop",
"insertReplacementText".  Therefore, this patch makes TextEditor set
EditorBase::mEditActionData::mData only for them (and the instance is not
HTMLEditor's).

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

--HG--
extra : moz-landing-system : lando
2019-02-19 06:28:57 +00:00
Alexander Surkov 1649231cef Bug 1527495 - migrate text-link binding to CE, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D19595

--HG--
rename : toolkit/content/widgets/text.xml => toolkit/content/widgets/text.js
2019-02-12 19:14:40 -05:00
Alexander Surkov c60f2971fc Bug 1519533 - convert formautofill autocomplete-profile-listitem bindings to CE, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D19257

--HG--
rename : browser/extensions/formautofill/content/formautofill.xml => browser/extensions/formautofill/content/customElements.js
2019-02-08 22:57:03 -05:00
Matthew Noorenberghe 5c86778689 Bug 1439023 - Don't reset autocomplete controller state when autofill fell back to form history. r=jaws
Otherwise the cached value won't be used for filling by satchel and _fillFromAutocompleteRow won't fill a result that isn't a `autofill-profile` style:
https://searchfox.org/mozilla-central/rev/03ebbdab952409640c6857d835d3040bf6f9e2db/browser/extensions/formautofill/FormAutofillContent.jsm#283,295

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

--HG--
extra : rebase_source : 113370b05761e474a526da5afafe8b9db5a7aca7
2019-02-08 17:46:51 -08:00
Gijs Kruitbosch b58acd745d Bug 1445739 - stop invalidating the startup cache when extensions change, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18356

--HG--
extra : moz-landing-system : lando
2019-02-08 08:55:27 +00:00
Brian Grinstead 04c18529e4 Bug 1487065 - Implement popup-notification as a Custom Element r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17699

--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/popupnotification.js
extra : moz-landing-system : lando
2019-02-07 22:16:26 +00:00
Bogdan Tara 374b57edaf Backed out changeset 41a84186eb77 (bug 1445739) for test_startup.js failures CLOSED TREE 2019-02-07 03:22:07 +02:00