Commit graph

63 commits

Author SHA1 Message Date
Thomas Wisniewski
d580063aad Bug 1539918 - remove nightly-only guard and allow about:compat to ride the trains; r=miketaylr
remove nightly-only guard and allow about:compat to ride the trains

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

--HG--
extra : moz-landing-system : lando
2019-04-22 15:04:49 +00:00
Thomas Wisniewski
8e80a6d3d8 Bug 1540933 - move the buttons on about:compat's mobile view to the left in rtl mode; r=miketaylr,denschub
move the buttons on about:compat's mobile view to the left in rtl mode

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

--HG--
extra : moz-landing-system : lando
2019-04-18 15:50:03 +00:00
Thomas Wisniewski
90ba7f941b Bug 1545081 - Give the about:compat overrides for bug 1177298 unique ids so they can be properly disabled in the UI; r=denschub
Give the about:compat overrides for bug 1177298 unique ids so they can be properly disabled in the UI

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

--HG--
extra : moz-landing-system : lando
2019-04-17 17:03:36 +00:00
Thomas Wisniewski
6b2784ab70 Bug 1541019 - have 'more information' links in about:compat always open in a new tab; r=miketaylr
have 'more information' links in about:compat always open in a new tab

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

--HG--
extra : moz-landing-system : lando
2019-04-17 20:24:12 +00:00
Thomas Wisniewski
f21778c900 Bug 1541418 - use pointer:fine vs coarse/none to decide whether to show the mobile or desktop UX for about:copmat, rather than min-width media queries; r=denschub
use pointer:fine vs coarse/none to decide whether to show the mobile or desktop UX for about:compat, rather than min-width media queries

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

--HG--
extra : moz-landing-system : lando
2019-04-17 19:09:04 +00:00
Thomas Wisniewski
3c0b32cd63 Bug 1539916 - Update about:compat to show the proper URL and fix page-refresh glitches; r=kmag
Update about:compat to show the proper URL and fix page-refresh glitches

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

--HG--
extra : moz-landing-system : lando
2019-04-04 23:47:03 +00:00
Dennis Schubert
957d469f60 Bug 1536767 - Import WebCompat GoFaster 4.1.0 sources. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D24150

--HG--
extra : moz-landing-system : lando
2019-03-22 18:21:23 +00:00
Dennis Schubert
9e4aca9060 Bug 1532346 - Land WebCompat Release test interventions in tree. r=miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D22159

--HG--
extra : moz-landing-system : lando
2019-03-05 21:29:04 +00:00
Thomas Wisniewski
19cbb97ab8 Bug 1488845 - Add an about:compat page to the Webcompat GoFaster addon. r=denschub,kmag,Pike
Add an about:compat page to the Webcompat GoFaster addon.

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

--HG--
extra : moz-landing-system : lando
2019-02-25 23:10:41 +00:00
Kris Maglione
e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Dennis Schubert
3a160e5189 Bug 1487401 - Remove mobile UA override for eBay. r=twisniewski,kmag,miketaylr
Differential Revision: https://phabricator.services.mozilla.com/D14717

--HG--
extra : moz-landing-system : lando
2018-12-17 21:38:49 +00:00
Dennis Schubert
49e78df13e Bug 1512907 - Import GoFaster v3.0.0 sources to Desktop and Fennec. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D14047

--HG--
extra : moz-landing-system : lando
2018-12-14 00:52:32 +00:00
Dennis Schubert
e0b293e7a1 Bug 1498278 - Import WebExtension sources for the WebCompat GoFaster Addon to Desktop. r=aswan
--HG--
rename : browser/extensions/webcompat/webextension/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css
rename : browser/extensions/webcompat/webextension/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js => browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1457335-histography.io-ua-change.js => browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472075-bankofamerica.com-ua-change.js => browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js
extra : rebase_source : c5a0d86865179dad71cb4f623a8ed695cc92f284
2018-10-17 04:32:05 +02:00
Coroiu Cristina
dd67a9014b Backed out changeset 7c1aecbca3dd (bug 1498278) for causing leaks at at mozilla::extensions::ChannelWrapper::Get
--HG--
rename : browser/extensions/webcompat/injections.js => browser/extensions/webcompat/webextension/background.js
rename : browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/webextension/injections/css/bug0000000-dummy-css-injection.css
rename : browser/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/webextension/injections/js/bug0000000-dummy-js-injection.js
rename : browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js => browser/extensions/webcompat/webextension/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js
rename : browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js => browser/extensions/webcompat/webextension/injections/js/bug1457335-histography.io-ua-change.js
rename : browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js => browser/extensions/webcompat/webextension/injections/js/bug1472075-bankofamerica.com-ua-change.js
rename : browser/extensions/webcompat/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js => browser/extensions/webcompat/webextension/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js
rename : browser/extensions/webcompat/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js => browser/extensions/webcompat/webextension/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js
2018-10-12 23:12:07 +03:00
Dennis Schubert
e4d812b56a Bug 1498278 - Import WebExtension sources for the WebCompat GoFaster Addon to Desktop. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D8422

--HG--
rename : browser/extensions/webcompat/webextension/background.js => browser/extensions/webcompat/injections.js
rename : browser/extensions/webcompat/webextension/injections/css/bug0000000-dummy-css-injection.css => browser/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css
rename : browser/extensions/webcompat/webextension/injections/js/bug0000000-dummy-js-injection.js => browser/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js => browser/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1457335-histography.io-ua-change.js => browser/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472075-bankofamerica.com-ua-change.js => browser/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js
rename : browser/extensions/webcompat/webextension/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js => browser/extensions/webcompat/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js
extra : moz-landing-system : lando
2018-10-12 15:37:37 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

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

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Dennis Schubert
65a27816a3 Bug 1486885 - Remove error logging inside getBaseDomainFromURI(). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D4684

--HG--
extra : moz-landing-system : lando
2018-08-30 15:50:20 +00:00
Dennis Schubert
1ff837285f Bug 1484796 - Add console logging statements to site patches. r=kmag,rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D3818

--HG--
extra : moz-landing-system : lando
2018-08-21 16:10:23 +00:00
Dennis Schubert
42bc719f06 Bug 1481395 - Import WebCompat GoFaster v2.0.1 to Desktop. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D2835

--HG--
extra : moz-landing-system : lando
2018-08-16 14:00:13 +00:00
YUKI "Piro" Hiroshi
dd7b3aab39 Bug 1457395 - Fix typo "proces" in comments. r=milan
--HG--
extra : amend_source : 36cf036803ff9bffaebb66fc31ff7b960f0c7509
2018-05-10 16:56:09 +09:00
Dennis Schubert
c4990861bf Bug 1386807 - Part 3: Make the UA pref actually disable UA overrides r=Felipe
MozReview-Commit-ID: 25YsSg7P8DP

--HG--
extra : rebase_source : 49766d75008ecb7312fb44de6165d979511c504c
2018-02-09 18:53:33 +01:00
Dennis Schubert
94025d3733 Bug 1386807 - Part 2: Add embedded webextension to enable CSS and JS overrides r=kmag,mconley
MozReview-Commit-ID: JdSUZYHkuiV

--HG--
extra : rebase_source : eaf3e14f7d1b1cd864435a9d7a04a9239b54700e
2018-02-09 18:52:29 +01:00
Dennis Schubert
baf9d6f786 Bug 1386807 - Part 1: Allow platform-specific UA overrides r=Felipe
MozReview-Commit-ID: 8OAVyZ3j9Rn

--HG--
extra : rebase_source : 317c8b53d537f7953c47bde4ba21ad6043d10fd4
2018-02-09 18:44:56 +01:00
Ciure Andrei
4602920dd0 Backed out 4 changesets (bug 1386807) for failing opt-mochitest-chrome-3 M(c3) toolkit/content/tests/chrome/test_maximized_persist.xul CLOSED TREE
Backed out changeset 669b85a6cab8 (bug 1386807)
Backed out changeset 8da96d4d931a (bug 1386807)
Backed out changeset 6cd45f41ee01 (bug 1386807)
Backed out changeset 2b9b6042e586 (bug 1386807)
2018-04-26 12:27:46 +03:00
Dennis Schubert
bfa81ee131 Bug 1386807 - Part 3: Make the UA pref actually disable UA overrides r=Felipe
MozReview-Commit-ID: 25YsSg7P8DP

--HG--
extra : rebase_source : 3ecbc0c97f3458a6afcadc40e0ba27072c360488
2018-02-09 18:53:33 +01:00
Dennis Schubert
cc540543be Bug 1386807 - Part 2: Add embedded webextension to enable CSS and JS overrides r=kmag,mconley
MozReview-Commit-ID: JdSUZYHkuiV

--HG--
extra : rebase_source : e585a26865dbaac082179142422f0fa395fd3087
2018-02-09 18:52:29 +01:00
Dennis Schubert
8df98c10af Bug 1386807 - Part 1: Allow platform-specific UA overrides r=Felipe
MozReview-Commit-ID: 8OAVyZ3j9Rn

--HG--
extra : rebase_source : 3802f688591e7afdcdcaeb2dfdcf4dba994fa5ed
2018-02-09 18:44:56 +01:00
Kris Maglione
a7b308c3a2 Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.

MozReview-Commit-ID: DCChktTc5TW

--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Kris Maglione
aa807e0aee Bug 1454202: Follow-up: Fix straggler callback-based API caller. r=me,test-only DONTBUILD
MozReview-Commit-ID: 4ZEwlfuu6Hy
2018-04-21 17:03:32 -07:00
Dorel Luca
3647244c64 Backed out 3 changesets (bug 1386807) for Mochitest failure on accessible/tests/mochitest/events/docload/test_docload_root.html. CLOSED TREE
Backed out changeset 19cd9d4bd25d (bug 1386807)
Backed out changeset 8b07ab65a690 (bug 1386807)
Backed out changeset aa4d27576edb (bug 1386807)
2018-04-21 00:59:49 +03:00
Dennis Schubert
dd5f390a02 Bug 1386807 - Part 3: Make the UA pref actually disable UA overrides r=Felipe
MozReview-Commit-ID: 25YsSg7P8DP

--HG--
extra : rebase_source : a4f772b5d8084621feca8686301e01267a65f65c
2018-02-09 18:53:33 +01:00
Dennis Schubert
14e4acd6cb Bug 1386807 - Part 2: Add embedded webextension to enable CSS and JS overrides r=kmag,mconley
MozReview-Commit-ID: JdSUZYHkuiV

--HG--
extra : rebase_source : 66d5d0c6c7b386ca70b6abfeb50090d8cf00f7b6
2018-02-09 18:52:29 +01:00
Dennis Schubert
bb40cfc765 Bug 1386807 - Part 1: Allow platform-specific UA overrides r=Felipe
MozReview-Commit-ID: 8OAVyZ3j9Rn

--HG--
extra : rebase_source : 08ccc2cfb6e2a5f6e7513e3888eb8b80e7a1b71c
2018-02-09 18:44:56 +01:00
Brian Grinstead
97119973ca Bug 1440094 - Remove imports to Console.jsm that only access the 'console' object;r=mossop
Importing this object is unnecessary after the updates to the WebIDL console from Bug 1425574
and the follow-ups blocking Bug 1430810. There are still callers that access Console.jsm
to create custom ConsoleAPI objects, but those will be handled separately.

MozReview-Commit-ID: 9ojFxtkpPId

--HG--
extra : rebase_source : 971bf99f709b8d2afe300f3693665724f747aa5e
2018-02-27 11:29:59 -08:00
Florian Quèze
682b1ec3b2 Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8. 2018-02-23 20:50:01 +01:00
Andrew McCreight
5dec0e0beb Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
This patch was autogenerated by my decomponents.py

It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.

It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.

It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)

MozReview-Commit-ID: DeSHcClQ7cG

--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Dennis Schubert
ac5010020d Bug 1376602 - Part 1: Import sources for WebCompat Go Faster 1.2. r=Felipe
MozReview-Commit-ID: cLuF81S7H4

--HG--
extra : rebase_source : af263648784f8b71db41d35e1c658b682ab436ae
2017-08-04 14:30:25 +02:00
Ryan VanderMeulen
291167d9ca Backed out changesets c95150c0fe9d and 9c1e1102bbc3 (bug 1376602) for ESLint failures. 2017-08-09 22:33:52 -04:00
Dennis Schubert
6e5bf84c9f Bug 1376602 - Part 1: Import sources for WebCompat Go Faster 1.2. r=Felipe
MozReview-Commit-ID: cLuF81S7H4

--HG--
extra : rebase_source : 3a92adf155da360e42c8fddc59d131907124b7df
2017-08-04 14:30:25 +02:00
Wes Kocher
033561f5ff Bug 1383567 - Fix web compatibility BUG_COMPONENTs r=miketaylr
MozReview-Commit-ID: DoCWeHOsYTq

--HG--
extra : rebase_source : b9974e19d240304a726a729e7fae000591eb1202
2017-07-23 14:20:19 -07:00
Mark Banner
4fb45e5b8c Bug 1365412 - Clean up various ESLint global definitions in browser/. r=mossop
MozReview-Commit-ID: JqAm9x1XGCM

--HG--
extra : rebase_source : e9215288195f1fe683832db53d87dbe77c697b4c
2017-05-16 22:22:42 +01:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00