Mark Banner
d5029e0dae
Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23850
2019-03-28 09:38:14 +00:00
Dhyey Thakore
b1279b35cf
Bug 1444133 - Have an option to have view-source open in a separate (browser) window, not separate tab, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D18071
2019-03-19 11:17:18 +00:00
Edwin Gao
33d266792b
Bug 1531590, 1531598, 1534811, 1336075, 1531571, 1531572, 1531572, 1531574, 1534855, 1534857, 1535082 - skip tests in mochitest-dev-tools and mochitest-browser-chrome suites for windows10-aarch64 r=jmaher
...
Bug 1531598 - disable browser_markup_copy_image_data.js
Bug 1531598 - disable browser_markup_links_04.js
Bug 1531598 - disable browser_inspector_menu-01-sensitivity.js
Bug 1534811 - disable accessible/tests/browser/general
Bug 1336075 - disable browser_largeAllocation_non_win32.js
Bug 1531571 - disable browser_jsterm_context_menu_labels.js
Bug 1531572 - disable browser_jsterm_helper_dollar_x.js
Bug 1531573 - disable browser_jsterm_no_input_and_tab_key_pressed.js
Bug 1531574 - disable browser_jsterm_syntax_highlight_output.js
Bug 1534855 - disable accessible/tests/browser/
Bug 1534857 - disable browser_ext_slow_script.js
Bug 1535082 - disable browser_jsterm_helper_dollar_dollar.js
Differential Revision: https://phabricator.services.mozilla.com/D23369
2019-03-13 19:47:25 +00:00
Myk Melez
5ecc2c1225
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
2019-01-30 17:26:25 +00:00
Kris Maglione
856fa07b17
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
2019-01-17 10:18:31 -08:00
Tooru Fujisawa
f415c74b57
Bug 1442465 - Part 4.2: Stop unnecessarily awaiting on BrowserTestUtils.removeTab (simple part). r=dao
2018-03-19 11:16:45 +09:00
Brendan Dahl
5ef80eaf60
Bug 1418403 - Remove viewing source in a standalone window. r=jryans
...
Along with removing the view source standalone windows and prefs this patch:
1) Re-structures several of the view source tests that were only testing the old
standalone windows to now test view source in tab.
2) Adds support viewSourceUtils.viewSource() to open a browser window when there
aren't any open (for browser toolbox view source).
3) Cleans up some of the API for viewSourceUtils and removes the old deprecated
ways of calling it.
MozReview-Commit-ID: DI6sgZwbCf
2018-02-05 13:33:58 -08:00
Brendan Dahl
958dc975be
Bug 1418403 - Remove old view source window title test. r=jryans
...
The behavior that this test expects is not the same as when viewing
source in a browser tab.
MozReview-Commit-ID: EwzrCz0VCJY
2018-02-05 13:36:21 -08:00
Kris Maglione
0bb74efdf1
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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
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
fd67f090b2
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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
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
683a97d172
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
2018-01-29 15:20:18 -08:00
Gijs Kruitbosch
ce36c9b44f
Bug 1425363 - remove onWindowTitleChanged given that nobody uses it, r=bgrins
...
MozReview-Commit-ID: ALslAwZo4K9
2017-12-14 21:55:44 -06:00
Tooru Fujisawa
b9ec0f734c
Bug 1416153 - Part 0: Fix tests that uses BrowserTestUtils.waitForNewTab to perform the registration of the next event handler instantly inside the new tab event handler. r=Gijs
2017-11-24 07:50:12 +09:00
Brian Grinstead
cc7d0cc0cd
Bug 1416372 - Remove line line:col display in separate view source windows;r=jryans
...
This is the only consumer of <statusbar> and <statusbarpanel> in m-c, and isn't visible
without changing the view_source.tab pref.
MozReview-Commit-ID: 60VbsnBEkcK
2017-11-20 10:40:33 -08:00
Mark Banner
cfa9659d1d
Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
...
MozReview-Commit-ID: 8pidN7x6MYh
2017-10-30 09:55:39 +00:00
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Marco Castelluccio
eb8c8f1d82
Bug 1357517 - Avoid leaking Preferences property in viewsource test. r=MattN
2017-07-28 21:23:12 +02:00
Mark Banner
b1b7a75372
Bug 1380009 - Enable the ESLint no-return-await call to avoid unnecessary intermediate promise creation. r=mossop
...
MozReview-Commit-ID: EnhSBHMjurr
2017-07-11 22:49:55 +01:00
Florian Quèze
ff53eb9a63
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
Mark Banner
44d0568f41
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst
c8bd0b3620
Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout
2017-05-11 10:15:55 +02:00
Mark Banner
dae8146427
Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
...
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Mike Conley
be01a0a0a4
Bug 1354698 - Add tests for View Source in both the tab and window mode when doing DocGroup checks. r=jryans
...
MozReview-Commit-ID: BDTYuEMho6L
2017-04-09 01:31:10 -04:00
Mark Banner
ec9074e132
Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
...
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Florian Quèze
0a4ee94a29
Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws.
2017-01-27 10:51:02 +01:00
Florian Quèze
91f7a2ef3a
Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws.
2017-01-25 07:01:52 +01:00
Florian Quèze
63de711857
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
2017-01-17 11:50:25 +01:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Andrea Marchesini
a0f9b83d87
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-18 09:33:33 +01:00
Sebastian Hengst
85e0c09e58
Backed out changeset d43b778d95c6 (bug 1318273) for failing mochitest fetch/test_formdataparsing.html. r=backout on a CLOSED TREE
2016-11-17 20:58:38 +01:00
Andrea Marchesini
8b521463f7
Bug 1318273 - Improve the use of SpecialPowers.pushPrefEnv() - part 1, r=qdot
2016-11-17 19:36:01 +01:00
Mark Banner
8ddd9bb511
Bug 1315951 - Fix no-unused-vars issues in toolkit/components (except places). r=mossop
...
MozReview-Commit-ID: 8svkCKZHxsq
2016-11-08 12:49:32 +00:00
Mark Banner
233309fbe2
Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
...
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Joel Maher
aadfd37353
Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg a=merge
...
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Mike de Boer
c4df8b7188
Bug 1241930: Part 6 - convert all assertion methods used inside content tasks to the Assert.* family in toolkit tests. r=mconley
2016-03-04 14:32:34 +01:00
Neil Deakin
e47a0a0319
Bug 1246669 - Enable browser_viewsourceprefs.js for e10s. r=mconley
2016-03-04 09:01:00 +01:00
Dave Townsend
8dc7f59eb3
Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
2015-11-30 13:05:00 -08:00
Dave Townsend
dd9da1fea1
Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
2015-12-03 10:02:45 -08:00
J. Ryan Stinnett
64ab28d1b9
Bug 1210381 - Remove view-source: when copying links. r=mconley
2015-10-01 17:21:29 -05:00
J. Ryan Stinnett
2347dd475a
Bug 1203395 - Repair view selection source in window mode. r=mconley
2015-09-29 14:12:54 -05:00
J. Ryan Stinnett
ddba327380
Bug 1201535 - Test view source of srcdoc frames. r=mconley
2015-09-24 12:39:09 -05:00
Shu-yu Guo
37989840cd
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Neil Deakin
d49e7b6617
Bug 1134585, remove cpow usage from view selection source, r=mconley
2015-08-10 09:42:51 -04:00
J. Ryan Stinnett
d96ba9c294
Bug 1168084 - Persist view source tab options. r=mconley
2015-06-01 16:26:33 -05:00
J. Ryan Stinnett
8713aac2b6
Bug 1067325 - Context menu actions for view source tabs. r=mconley
2015-05-23 18:17:50 -05:00
J. Ryan Stinnett
90c30dc157
Bug 1067325 - Extract view source core to support tabs. r=mconley
2015-05-23 18:17:50 -05:00