Mark Banner
9af64d461a
Bug 1456762 - Remove now unnecessary import-globals-from statements in html files. r=mossop
...
Depends on D1643
MozReview-Commit-ID: 84M50HDg0wl
Differential Revision: https://phabricator.services.mozilla.com/D1644
2018-06-16 08:21:33 +00:00
Joel Maher
d0823df1ef
Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown
2018-06-10 05:01:47 -04:00
Kris Maglione
fd7e9e6a69
Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
...
This also removes any redundant Ci.nsISupports elements in the interface
lists.
This was done using the following script:
acecb401b7/processors/chromeutils-generateQI.jsm
MozReview-Commit-ID: AIx10P8GpZY
2018-04-22 20:55:06 -07:00
Andreas Farre
8678a1d856
Bug 1440262 - Enter/exit modal state on scriptable top window. r=smaug
...
If inner windows are torn down before modal dialog close messages have
propagated fully we loose the possibility of getting a hold of an
windows's scriptable top, which is needed to leave modal state. By
making sure that the prompt fetches top on its own we guarantee that
we have the correct window to suspend/resume.
2018-04-26 05:44:00 +03:00
Kris Maglione
59b2dd801c
Bug 1454813: Part 2b - Rename SpawnTask.js to AddTask.js. r=florian
...
The old name no longer makes sense, since it no longer exports an spawn_task
symbol, and add_task is what we really care about.
MozReview-Commit-ID: IE7B8Czv8DH
2018-04-18 11:43:45 -07:00
Boris Zbarsky
9a1a04e3f8
Bug 1453487 part 2. Remove useless implements="nsIDOMEventListener" from XBL bindings. r=smaug
...
MozReview-Commit-ID: 4OjGuYkpXMM
2018-04-12 00:05:49 -04:00
Boris Zbarsky
56da337b37
Bug 1449631 part 1. Remove JS uses of nsIDOMEventTarget. r=smaug
...
MozReview-Commit-ID: CCHCZjMgInu
2018-04-05 13:42:40 -04:00
Florian Quèze
5715aadbec
Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:35 +01:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Masayuki Nakano
53a40055b6
Bug 1436926 - part 2: Remove unnecessary KeyboardEvent.code specification of callers of EventUtils.synthesizeKey() r=smaug
...
Now, callers of EventUtils.synthesizeKey() don't need to specify
KeyboardEvent.code value anymore if they assume that active keyboard layout
is US keyboard layout.
Note that this patch changes the meaning of only test_bug551434.html.
Some callers in it don't match the key value and code value but that looks
like that they don't checking such odd keyboard events. So, they must be
bug of the test.
MozReview-Commit-ID: Itxo7yZ9rkK
2018-02-09 19:17:26 +09:00
Mark Banner
6ab28d012c
Bug 1436389 - Switch xbl related files to a different method for determining their environment. r=mossop
...
MozReview-Commit-ID: JLqFrKZykw
2018-02-07 16:02:25 +00:00
Andrew McCreight
272cee1e65
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
2018-02-06 09:36:57 -08:00
Kris Maglione
5298bb7ac5
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
...
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -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
5e845929cf
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
...
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08: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
3aa3c6fff8
Bug 1431533: Part 5b - Fix ESLint errors left over after rewrite. r=florian
...
MozReview-Commit-ID: 7bVI1iM6hor
2018-01-18 16:27:26 -08: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
Andrea Marchesini
339c703613
Bug 1425559 - nsPrompter must use nsIThreadManager::spinEventLoopUntilOrShutdown, r=smaug
2018-01-28 08:41:36 +01:00
gorovoja
ef7a044631
Bug 1416875 - Renamed prompt IDs from the form of info.body to InfoBody so they won't need escaping. r=jaws
2017-11-17 13:59:30 -05:00
dluca
d2121b7fb1
Backed out 1 changesets (bug 1413522) for failing a11y on OS X accessible/tests/mochitest/relations/test_ui_modalprompt.html r=backout on a CLOSED TREE.
...
Backed out changeset a74c645411e7 (bug 1413522)
2017-11-09 19:02:26 +02:00
Jared Wein
cd80086506
Bug 1413522 - Use HiDPI icons on Windows for the toolkit warning and question icons, and lower the size of the icons on OSX so the HiDPI versions are not shown blurry. r=nhnt11
...
MozReview-Commit-ID: 8u3zxE9HiSx
2017-11-02 12:11:42 -04:00
Mark Banner
6067ef1cb5
Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 2. r=florian
...
MozReview-Commit-ID: 44oBXPP88Lc
2017-10-30 17:22:17 +00:00
Mark Banner
7ff28ae4b4
Bug 1410362 - Merge nsIPromptService and nsIPromptService2. r=enndeakin+6102
...
MozReview-Commit-ID: 5gKiuWF4LeA
2017-10-24 21:40:59 +01: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
steveck-chung
ee14176b18
Bug 1388238 - Implement waitForMasterPasswordDialog helper which handles open dialogs. r=MattN
...
MozReview-Commit-ID: A8jx8s37f1k
2017-08-16 18:45:11 +08:00
Kris Maglione
81d6b6f832
Bug 1375490: Part 1 - Correctly support alerts in OOP popups. r=mixedpuppy
...
MozReview-Commit-ID: KgqAKMLmuTI
2017-08-02 12:49:25 -07:00
Sebastian Hengst
c4ad0ce869
Backed out changeset c0ab60d3c1f8 (bug 1375490) for failing browser_ext_popup_corners.js on OSX and Windows. r=backout on a CLOSED TREE
2017-08-02 13:12:55 +02:00
Kris Maglione
23871a6c13
Bug 1375490: Part 1 - Correctly support alerts in OOP popups. r=mixedpuppy
...
MozReview-Commit-ID: KgqAKMLmuTI
2017-08-01 15:28:25 -07:00
Luciano Italiani
7480cc09d7
Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
...
MozReview-Commit-ID: 4WkNg0YrgHx
2017-07-27 23:01:13 -03:00
Rajesh Kathiriya
bfb3762076
Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
...
MozReview-Commit-ID: RT5QTipaOW
2017-07-04 21:30:18 +05:30
Gijs Kruitbosch
0236d45672
Bug 1365875, r=smaug
...
MozReview-Commit-ID: 9CaAliVQwYe
2017-06-06 19:57:49 +01:00
Nathan Froyd
8335babfc9
Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian
2017-06-21 12:59:28 -04:00
Florian Quèze
b2499a4c57
Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop.
2017-05-12 14:45:01 +02: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
Florian Queze
ddf0cda8da
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Sebastian Hengst
4cd95d4a02
Backed out changeset 18d45aa984d6 (bug 1355161)
2017-04-14 23:39:23 +02:00
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02:00
Florian Queze
35cd8ba883
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Joel Maher
d2be399571
Bug 1351067 - add BUG_COMPONENT to toolkit/* files. r=myk,enndeakin,mossop
...
MozReview-Commit-ID: 8mv5Oed68JL
2017-04-09 05:43:43 -04:00
Jared Wein
5a181760cc
Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
...
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.
MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -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
Mark Banner
358fce1e31
Bug 1343519 - Change the ESLint rule 'import-browserjs-globals' to be an environment (mozilla/browser-window) to better describe the purpose of it. r=mossop
...
MozReview-Commit-ID: FTDV8BcMGeF
2017-03-01 21:29:52 +00:00
Masatoshi Kimura
7f7e7b1b45
Bug 1342144 - Fix ESLint errors in toolkit/. r=Yoric
...
MozReview-Commit-ID: 9sp2uMryv8U
2017-02-24 22:02:11 +09:00
Masatoshi Kimura
4f2e64ad3d
Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
...
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;
MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Mark Banner
703aa9e231
Bug 1341029 - Turn on the ESLint no-undef rule for all of toolkit/. r=jaws
...
MozReview-Commit-ID: Ed9FfkskDos
2017-02-20 11:45:58 +00:00