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

2942 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski d1694a0fd4 Bug 1564594 - Add an Enhanced Search webcompat site patch r=nalexander,denschub
This patch ultimately overrides the user-agent which Fennec users send to Google Search pages, choosing a phone- or tablet-specific UA as appropriate.

It involves adding four new metadata keys to the webcompat addon's metadata for user-agent overrides: blocks, permanentPref, experiment, telemetryKey:

- "blocks" specifies URLs for which any requests should be aborted. This allows us to block the Google service worker for now, as it has caused "content corrupted" issues in the past with other enhanced search addons (see https://github.com/wisniewskit/google-search-fixer/issues/1).
- "permanentPref" specifies an about:config preference, which dictates whether the injection is used. Users may set this to `false` to disable the injection outright, and permanently; `true` or `undefined` values allow the injection to function normally.
- "experiment" specifies the name of the experiment this feature is optionally gated behind. Only a Fennec-specific implementation is provided in this patch. The implementation simply queries Switchboard to determine if the experiment is active.
- "telemetryKey" specifies which telemetry key should be flipped to "true" when this injection runs. We will use this to note whether enhanced search has actually been enabled for this profile. Only a Fennec-specific implementation is given in this patch, which actually just sets a Fennec Shared Preference, which Fennec's core telemetry ping later reads in Java to know what the ping should contain.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 20:32:27 +00:00
Ciure Andrei 9a123fb597 Backed out changeset 81156ff3f4fa (bug 1571656) for causing browser_PageActions.js and test_insertTree_fixupOrSkipInvalidEntries.js to perma fail CLOSED TREE 2019-08-19 13:00:44 +03:00
Moritz Birghan 240771fa29 Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-08-19 07:17:12 +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
Ryan VanderMeulen 9edff62f36 Bug 1573149 - Update pdf.js to version 2.3.86. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D41542

--HG--
extra : moz-landing-system : lando
2019-08-12 17:54:22 +00:00
Brendan Dahl 548c18f6fe Bug 1566882 - Update pdf.js to version 2.3.71. r=yury
Differential Revision: https://phabricator.services.mozilla.com/D40661

--HG--
extra : moz-landing-system : lando
2019-08-09 18:31:32 +00:00
Brendan Dahl ce097d1bac Bug 1566882 - Update pdf.js telemetry to use more appropriate types. r=chutten,Snuffleupagus
Use the new 'scalar' and 'categorical' telemetry types to make it easier
to read the graphs.

Moves the majority of the data to expire in 75. The following are set to
never expire since they are good to monitor for regressions and general
usage.
 - PDF_VIEWER_TIME_TO_VIEW_MS
 - pdf.viewer.used

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

--HG--
extra : moz-landing-system : lando
2019-08-09 18:31:25 +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
Ryan VanderMeulen 0fd5f06e79 Bug 1570636 - Update pdf.js to version 2.3.57. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D40197

--HG--
extra : moz-landing-system : lando
2019-08-01 15:48:29 +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
Nihanth Subramanya 81dd87ca1c Bug 1561012 - Don't register fxmonitor events if telemetry is disabled. r=johannh,robwu
Differential Revision: https://phabricator.services.mozilla.com/D36812

--HG--
extra : moz-landing-system : lando
2019-07-30 19:58:40 +00:00
ksenia 8f578bcca2 Bug 1568636 - Import WebCompat GoFaster 5.0.2 sources r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D39351

--HG--
rename : browser/extensions/webcompat/AboutCompat.jsm => browser/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => browser/extensions/webcompat/about-compat/aboutCompat.css
rename : browser/extensions/webcompat/aboutCompat.html => browser/extensions/webcompat/about-compat/aboutCompat.html
rename : browser/extensions/webcompat/aboutCompat.js => browser/extensions/webcompat/about-compat/aboutCompat.js
rename : browser/extensions/webcompat/aboutPage.js => browser/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => browser/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => browser/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : browser/extensions/webcompat/ua_overrides.js => browser/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => browser/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
rename : mobile/android/extensions/webcompat/AboutCompat.jsm => mobile/android/extensions/webcompat/about-compat/AboutCompat.jsm
rename : browser/extensions/webcompat/aboutCompat.css => mobile/android/extensions/webcompat/about-compat/aboutCompat.css
rename : mobile/android/extensions/webcompat/aboutCompat.html => mobile/android/extensions/webcompat/about-compat/aboutCompat.html
rename : mobile/android/extensions/webcompat/aboutCompat.js => mobile/android/extensions/webcompat/about-compat/aboutCompat.js
rename : mobile/android/extensions/webcompat/aboutPage.js => mobile/android/extensions/webcompat/about-compat/aboutPage.js
rename : browser/extensions/webcompat/aboutPage.json => mobile/android/extensions/webcompat/about-compat/aboutPage.json
rename : browser/extensions/webcompat/aboutPageProcessScript.js => mobile/android/extensions/webcompat/about-compat/aboutPageProcessScript.js
rename : mobile/android/extensions/webcompat/ua_overrides.js => mobile/android/extensions/webcompat/data/ua_overrides.js
rename : browser/extensions/webcompat/aboutConfigPrefs.js => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.js
rename : browser/extensions/webcompat/aboutConfigPrefs.json => mobile/android/extensions/webcompat/experiment-apis/aboutConfigPrefs.json
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => mobile/android/extensions/webcompat/injections/css/bug0000000-testbed-css-injection.css
rename : mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => mobile/android/extensions/webcompat/injections/js/bug0000000-testbed-js-injection.js
extra : moz-landing-system : lando
2019-07-30 17:07:40 +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
Ryan VanderMeulen 2599f90f55 Bug 1567891 - Update pdf.js to version 2.3.45. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D38855

--HG--
extra : moz-landing-system : lando
2019-07-23 17:41:52 +00:00
ksenia e8e4790c10 Bug 1567198 - create UA override for corporate.santander.co.uk r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D38509

--HG--
extra : moz-landing-system : lando
2019-07-19 17:40:28 +00:00
ksenia 64dcd6ee69 Bug 1510067 - change structure of console log messages reporting, create preview of objects and arrays r=twisniewski,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D37675

--HG--
extra : moz-landing-system : lando
2019-07-15 20:34:38 +00:00
Ciure Andrei d835b44a76 Merge inbound to mozilla-central. a=merge 2019-07-18 06:46:41 +03:00
Jonas Jenwald 13ef426f2c Bug 1224848 - Attempt to reduce intermittent test failures in the newly added PDF.js `FullZoom` tests by re-ordering the event registrations and zoom calls. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D38289

--HG--
extra : moz-landing-system : lando
2019-07-17 17:33:49 +00:00
Kris Maglione 0962c2b731 Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8
My preference was to annotate most of the failing tests with `fail-if` so that
if they start passing, the `fail-if` needs to be removed and they need to keep
passing. That doesn't work for tests that timeout, or which trigger failures
from their cleanup functions, however, so those tests need skip-if. And tests
with fail in their cleanup functions likely leave the browser in an
inconsistent state for subsequent tests, anyway, so really should be skipped
regardless.

There are some remaining tests which still fail because of crashes. I chose
not to skip them here, but to fix the crashes in separate bugs instead.

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

--HG--
extra : rebase_source : 39ba8fec2e882cfe577c5f2b58ab7e4b461f1178
2019-07-15 16:19:32 -07:00
Noemi Erli af897e281a Merge inbound to mozilla-central. a=merge 2019-07-16 00:42:51 +03:00
Ryan VanderMeulen eb3bf94def Bug 1566024 - Update pdf.js to version 2.3.27. r=bdahl 2019-07-15 07:59:00 -04:00
Ryan VanderMeulen 8d5d37e98c Bug 1565440 - Update pdf.js to version 2.3.13. r=bdahl 2019-07-11 21:54:31 -04:00
Jonas Jenwald 048ab60385 Bug 786674 - Forward browser chrome zoom events to the PDF.js viewer. r=bdahl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D26338

--HG--
extra : moz-landing-system : lando
2019-07-15 13:06:37 +00:00
ksenia 956774ff41 Bug 1563839 - add UA for rolb.santanderbank.com r=twisniewski,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D37455

--HG--
extra : moz-landing-system : lando
2019-07-09 18:14:03 +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
Gijs Kruitbosch aac6c9089a Bug 1559195 - clean up PdfJs enabled checking code, r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D36771

--HG--
extra : moz-landing-system : lando
2019-07-09 15:44:30 +00:00
Gurzau Raul c6fc020ab2 Backed out changeset 2af514f1a7bc (bug 1559195)for failures at browser_startup_mainthreadio.js 2019-07-09 18:10:38 +03:00
Gijs Kruitbosch ac69ec3d6a Bug 1559195 - clean up PdfJs enabled checking code, r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D36771

--HG--
extra : moz-landing-system : lando
2019-07-09 11:34:19 +00:00
Narcis Beleuzu 59c3fccd33 Merge inbound to mozilla-central. a=merge 2019-07-09 06:45:48 +03:00
Sebastian Hengst 654b6e825b merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-07-08 15:11:29 +02:00
Sebastian Hengst 3134e9d91c Backed out 3 changesets (bug 1541557) for failures in SpecialPowersObserverAPI.js. a=backout CLOSED TREE
Backed out changeset 5b91c8869f42 (bug 1541557)
Backed out changeset a636725ad217 (bug 1541557)
Backed out changeset 7e6657f88b76 (bug 1561150)

--HG--
rename : testing/specialpowers/content/MozillaLogger.js => testing/mochitest/tests/SimpleTest/MozillaLogger.js
rename : testing/specialpowers/content/specialpowersAPI.js => testing/specialpowers/content/SpecialPowersAPI.jsm
rename : testing/specialpowers/content/SpecialPowersObserverAPI.js => testing/specialpowers/content/SpecialPowersAPIParent.jsm
rename : testing/specialpowers/content/specialpowers.js => testing/specialpowers/content/SpecialPowersChild.jsm
rename : testing/specialpowers/content/SpecialPowersObserver.jsm => testing/specialpowers/content/SpecialPowersParent.jsm
extra : amend_source : 158c9e896d32778e71f4fd343227f531d693e511
2019-07-08 14:38:45 +02:00
Sebastian Hengst 515d14403f Backed out 34 changesets (bug 1561150, bug 1541557, bug 1561724, bug 1561999, bug 1558298, bug 1561061, bug 1532795, bug 1560400, bug 1561122) for beta simulation failures (bug 1563905, bug 1564001). a=backout
Backed out changeset 210d6d52e8b0 (bug 1541557)
Backed out changeset 3115db154c45 (bug 1561122)
Backed out changeset b42748878b6e (bug 1561122)
Backed out changeset 266160ca8e9d (bug 1561999)
Backed out changeset 00e935828f41 (bug 1561724)
Backed out changeset 4aaf4882780d (bug 1561150)
Backed out changeset 6644e38a6692 (bug 1561150)
Backed out changeset 72cd895b1613 (bug 1561061)
Backed out changeset f0bac27bad8a (bug 1560400)
Backed out changeset 95da39224eab (bug 1560400)
Backed out changeset 3fe4d4942fd2 (bug 1532795)
Backed out changeset 23e90c6fec2b (bug 1532795)
Backed out changeset a7f093fbef06 (bug 1532795)
Backed out changeset c873f0eb94be (bug 1532795)
Backed out changeset cf359a8ec753 (bug 1532795)
Backed out changeset f2c260cae4b5 (bug 1541557)
Backed out changeset 054a0b7aa81d (bug 1541557)
Backed out changeset f808ec45ff9c (bug 1541557)
Backed out changeset 1025eeef0954 (bug 1541557)
Backed out changeset fe88b250e418 (bug 1541557)
Backed out changeset 6680278c231b (bug 1541557)
Backed out changeset 255735c1ff63 (bug 1541557)
Backed out changeset 51969e1c9c44 (bug 1558298)
Backed out changeset d12525990565 (bug 1558298)
Backed out changeset ef4ec8f0f886 (bug 1558298)
Backed out changeset 45a9599d9641 (bug 1558298)
Backed out changeset 4ccecdba1c34 (bug 1558298)
Backed out changeset 0e91fc9541c2 (bug 1558298)
Backed out changeset edd1cc6badf7 (bug 1558298)
Backed out changeset ba24251835fb (bug 1558298)
Backed out changeset ca88016511bb (bug 1558298)
Backed out changeset c95e6e599836 (bug 1558298)
Backed out changeset 9b1a9d802434 (bug 1558298)
Backed out changeset f859e4de0007 (bug 1558298)

--HG--
rename : testing/mochitest/tests/SimpleTest/MozillaLogger.js => testing/specialpowers/content/MozillaLogger.js
rename : testing/specialpowers/content/SpecialPowersParent.jsm => testing/specialpowers/content/SpecialPowersObserver.jsm
rename : testing/specialpowers/content/SpecialPowersAPIParent.jsm => testing/specialpowers/content/SpecialPowersObserverAPI.js
rename : testing/specialpowers/content/SpecialPowersChild.jsm => testing/specialpowers/content/specialpowers.js
rename : testing/specialpowers/content/SpecialPowersAPI.jsm => testing/specialpowers/content/specialpowersAPI.js
extra : rebase_source : 223d2e49710b016c9973765d402c61692004518e
extra : amend_source : ec773fe82334e6da536bb21e83a994a5f2d03091
2019-07-08 10:37:28 +02:00
Jonathan Kingston 31441f82ea Bug 1560455 - rename CodebasePrincipal to ContentPrincipal. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D35504

--HG--
extra : moz-landing-system : lando
2019-07-08 16:37:45 +00:00
Noemi Erli ad06a86a88 Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-07-08 12:53:36 +03:00
Ryan VanderMeulen ba87f763bf Bug 1563814 - Update pdf.js to version 2.2.224. r=bdahl 2019-07-05 16:01:46 -04: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
ksenia 48253641cb Bug 1562248 - scrolling in Gmail fix and some ua overrides removal for webcompat go faster r=denschub,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D36347

--HG--
extra : moz-landing-system : lando
2019-07-01 08:35:53 +00:00
arthur.iakab a549fe0532 Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 144e998695db067f1dad805e5263b591ed98e50f
2019-06-28 13:10:08 +03:00
Dennis Schubert d55ffc8976 Bug 1561299 - Import WebCompat GoFaster 4.3.1 with -webkit-scrollbar interventions. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D35805

--HG--
extra : moz-landing-system : lando
2019-06-27 20:24:20 +00:00