Boris Zbarsky
152cd3ba6e
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Peter Van der Beken
75d03ab497
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2018-03-01 20:19:56 +01:00
Boris Zbarsky
3352976d14
Bug 1446711 part 5. Get rid of nsIDOMMouseEvent::GetButton. r=qdot
...
MozReview-Commit-ID: AZWzObh01uI
2018-03-20 00:16:06 -04:00
Mark Banner
29e56bce9b
Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
...
MozReview-Commit-ID: IVMeZHGdVBk
2018-03-06 12:01:59 +00:00
Emilio Cobos Álvarez
0ff849122a
Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug
...
aDocument is always content->OwnerDoc().
aContainer is always content->GetParent().
Differential Revision: https://phabricator.services.mozilla.com/D664
MozReview-Commit-ID: 4xwPCOnhyIL
2018-03-01 22:45:17 +01:00
Sebastian Hengst
500c4f7ad2
Backed out 6 changesets (bug 888600) for beta simulation failures: build bustage on Linux and Windows opt (bug 1442036) and devtools failure browser_net_view-source-debugger.js (bug 1441961). a=backout
...
Backed out changeset 83c87140dc3d (bug 888600)
Backed out changeset 2efb9b1753f6 (bug 888600)
Backed out changeset af5303781961 (bug 888600)
Backed out changeset 79ef59047e63 (bug 888600)
Backed out changeset 30d568d628dd (bug 888600)
Backed out changeset c7bd4c6c9741 (bug 888600)
2018-03-01 11:51:09 +02:00
Emilio Cobos Álvarez
7a79ccba52
Bug 1441547: Make character data change notifications use a const reference for the info parameter. r=smaug
...
It's not intended to be mutated.
MozReview-Commit-ID: 5nkD1YkidlV
2018-02-27 15:30:27 +01:00
Peter Van der Beken
972562411b
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2018-02-22 20:22:29 +01:00
Mark Banner
910da570a0
Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
...
MozReview-Commit-ID: HmliR8iNRDq
2018-02-22 16:55:36 +00:00
Sebastian Hengst
453db32e9a
merge mozilla-inbound to mozilla-central. a=merge
2018-02-24 02:58:35 +02: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
Adrian Wielgosik
b3471f9af4
Bug 1440741 - Remove all members from nsIDOMHTMLFormElement. r=qdot
...
MozReview-Commit-ID: 2UcUy4MkVsM
2018-02-23 19:28:08 +01:00
Masayuki Nakano
46555c3338
Bug 1434837 - Make autocomplete and satchel listen to keypress event at the system event group r=mak
...
The autocomplete module listens to keypress event for both printable keys and
non-printable keys a lot. However, we'll stop dispatching keypress event for
non-printable keys in the default event group of web content. So, autocomplete
should listen to keypress events at the system event group.
Note that it's difficult to change keypress event listeners to keydown event
listeners because if we stop keypress events at preceding keydown event in
autocomplete or satchel module, some other modules fail to handle keydown or
keypress event before autocomplete and it's not easy to investigate which
module's which keypress event listener should be changed to keydown event
listener. Therefore, this patch doesn't do it at least for now.
MozReview-Commit-ID: 7e3aklmKrXu
2018-02-08 22:42:29 +09:00
Masayuki Nakano
efaea0aaa7
Bug 1438157 - part 2: Remove unnecessary second argument of EventUtils.synthesizeKey() r=smaug
...
Note that this patch also replaces legacy VK_* with KEY_*, and replaces
synthesizeKey() for inputting some characters with sendString() because
it's better and clearer what it does and it sets shiftKey state properly.
MozReview-Commit-ID: De4enbjux3T
2018-02-15 04:15:39 +09:00
Dorel Luca
9260b212cd
Backed out 6 changesets (bug 888600) for Valgrind and build bustge on a CLOSED TREE
...
Backed out changeset 7c8317f4ad48 (bug 888600)
Backed out changeset 5b990735f1ad (bug 888600)
Backed out changeset 9eafe225b804 (bug 888600)
Backed out changeset 16af80d6cd93 (bug 888600)
Backed out changeset a109987af625 (bug 888600)
Backed out changeset 0949dba396ad (bug 888600)
2018-02-22 13:56:43 +02:00
Peter Van der Beken
5fb60d9c57
Bug 888600 - Move ContentFrameMessageManager to WebIDL. Part 6: Mark some IDL interfaces as non-scriptable. r=bz.
2017-11-23 16:27:27 +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
Tom Ritter
5918a1f53d
Bug 1435296 Address xpcshell test failures from increasing timer precision r=baku
...
See the comment on "Address test failures caused by bumping timer precision to 2 ms"
for more details.
MozReview-Commit-ID: LrsucEPdZIo
2018-02-12 11:41:38 -06:00
Boris Zbarsky
d81bb35cf8
Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki
...
MozReview-Commit-ID: Honw0NrVMuV
2018-02-09 11:17:09 -05:00
Boris Zbarsky
5a2494fba7
Bug 1436508 part 7. Remove nsIDOMKeyEvent usage from formfill and spellcheck. r=masayuki
...
The various event header changes are to avoid forcing random places to include nsGlobalWindowInner.h
MozReview-Commit-ID: 4THIjj6kIXv
2018-02-09 11:17:09 -05:00
Josh Matthews
d169301c59
Bug 1436743 - Dispatch events via the docgroup rather than the tabgroup when possible. r=mystor
2018-02-08 15:54:00 -05:00
shindli
722e3e624e
Merge inbound to mozilla-central. a=merge
2018-02-08 12:04:26 +02:00
Paolo Amadini
aa9592d486
Bug 1427364 - Remove showCommentColumn and showImageColumn. r=mak
...
MozReview-Commit-ID: 8RNVaLvZkrY
2018-01-10 15:22:23 +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
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +01:00
Mark Banner
31b1fb7d6d
Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop
...
MozReview-Commit-ID: 1LlfamNvBEM
2018-02-07 16:16:09 +00:00
shindli
f5399373ee
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-02-01 00:38:55 +02:00
Boris Zbarsky
b46cdaa78d
Bug 1434318 part 13. Remove nsIDOMDocument::CreateEvent. r=mystor
...
MozReview-Commit-ID: EaUjTLeaQ0n
2018-01-31 15:18:11 -05:00
Boris Zbarsky
95a5e42c52
Bug 1434318 part 2. Stop using nsIContentViewer::GetDOMDocument in C++. r=mystor
...
MozReview-Commit-ID: FoMoVgCngGR
2018-01-31 15:18:09 -05:00
Masayuki Nakano
65ecb061b4
Bug 1134540 - Make all tests stop using nsIDOMWindowUtils.sendKeyEvent() r=smaug
...
nsIDOMWindowUtils.sendKeyEvent() can dispatch any keyboard events, i.e.,
may dispatch different key events from actual Gecko's behavior. Instead,
they should use nsITextInputProcessor directly or synthesizeKey() of
EventUtils which wraps nsITextInputProcessor.
MozReview-Commit-ID: EDWqXy1OxJp
2018-01-30 22:05:44 +09: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
Boris Zbarsky
e924590fac
Bug 1418085 part 3. Stop using nsIDOMHTMLElement in form fill. r=mystor
...
MozReview-Commit-ID: Ax7RUZQCosr
2018-01-30 00:25:36 -05: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
Boris Zbarsky
2e39082c0d
Bug 1432186 part 16. Remove nsIDOMNode's ownerDocument attribute. r=mccr8
...
MozReview-Commit-ID: JqfAFxPBz41
2018-01-29 23:10:52 -05: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
Mike Conley
cf66e82132
Bug 888784 - Use Sqlite.shutdown instead of AsyncShutdown to close FormHistory database connection. r=mak
...
MozReview-Commit-ID: GsM0bf8V7XD
2018-01-09 15:47:49 -05:00
Mike Conley
ee0816b4c9
Bug 888784 - Make satchel tests wait for FormHistory to be clear when shutting down. r=mak
...
MozReview-Commit-ID: 9rxyT48VnNj
2018-01-09 18:54:58 -05:00
Mike Conley
1a2eb61e7c
Bug 888784 - Prevent duplicate fieldname/value pairs from being inserted in FormHistory. r=mak
...
MozReview-Commit-ID: 9icdBPW2Px9
2018-01-09 18:54:39 -05:00
Mike Conley
370093112a
Bug 888784 - Get rid of dead mozIStorageService code in FormHistory.jsm. r=mak
...
MozReview-Commit-ID: XLOFLpMsPv
2017-12-01 14:55:24 -05:00
Mike Conley
07e86ebf6c
Bug 888784 - Make FormHistory.expireOldEntries use new Sqlite.jsm database backend. r=mak
...
MozReview-Commit-ID: KSaWz0s6hF1
2017-12-01 14:54:02 -05:00
Mike Conley
8dad1ae6d3
Bug 888784 - Make FormHistory.getAutoCompleteResults use Sqlite.jsm backend. r=mak
...
MozReview-Commit-ID: 7rYj1lMosLW
2017-12-01 10:53:32 -05:00
Mike Conley
6c37776e6d
Bug 888784 - Get rid of FormHistory.shutdown. r=mak
...
FormHistory.shutdown was called via FormHistoryStartup.js's profile-before-change
observer to close the database synchronously.
Now FormHistory uses AsyncShutdown and closes the database asynchronously, so
FormHistory.shutdown is no longer required.
MozReview-Commit-ID: Lok5vx1dOTW
2017-11-30 18:11:18 -05:00
Mike Conley
c3bb5ab25e
Bug 888784 - Make FormHistory.update use Sqlite.jsm database backend. r=mak
...
MozReview-Commit-ID: 7Ku1kFtTYZK
2017-11-30 18:09:54 -05:00
Mike Conley
d173b25cfd
Bug 888784 - Remove FormHistory.getSchemaVersion and update some tests that used it to use add_task. r=mak
...
MozReview-Commit-ID: EQBksMqeNm2
2017-11-30 17:00:07 -05:00
Mike Conley
3919dff4f9
Bug 888784 - Make FormHistory.search use Sqlite.jsm database backend. r=mak
...
MozReview-Commit-ID: J1ElTJpWHza
2017-11-30 15:15:10 -05:00