Wes Kocher
168eaceb20
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: IHPBV4z9vPi
2017-08-22 17:14:32 -07:00
Wes Kocher
6dd42e2664
Merge inbound to central, a=merge
...
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Kate Ustiuzhanina
5382ee1c76
Bug 1390441
- Fix usePingSenderOnShutdown test via reseting TelemetrySend in tests. r=gfritzsche
2017-08-22 15:28:18 +01:00
Nicholas Nethercote
780a2e4aec
Bug 1390428
(part 4) - Remove still more nsXPIDLCString local variables. r=erahm.
...
These are all easy cases where an nsXPIDLCString local variable is set via
getter_Copies() and then is null checked. The patch uses IsVoid() to replace
the null checks (and get() and EqualsLiteral() calls to replace any implicit
conversions).
--HG--
extra : rebase_source : 484ad42a7816b34b86afbe072e04ba131c1619c6
2017-08-16 13:58:55 +10:00
Masatoshi Kimura
35399ee9fc
Bug 1392070 - Stop using the StopIteration object in Sqlite.jsm. r=mak
...
MozReview-Commit-ID: BP3RuM5EweE
--HG--
extra : rebase_source : 1e0a6ba438e51a851013356faf84d8eb91ff78b6
2017-08-19 22:10:44 +09:00
Sebastian Hengst
75955d0246
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 8fJX1xXgzhD
2017-08-22 11:49:04 +02:00
Wes Kocher
02a5ad9edd
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: dovwD1TzZR
2017-08-21 17:10:59 -07:00
Wes Kocher
88c4efea2a
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: 7PZEeFIzle5
2017-08-21 16:39:56 -07:00
Nicholas Nethercote
8a72cf2251
Bug 1390428
(part 2, attempt 2) - Remove more nsXPIDLCString local variables. r=erahm.
...
--HG--
extra : rebase_source : 69d58b0cfb56efc6b03d8e2d7be2ce3c3e6cd843
2017-08-21 20:01:27 +10:00
Simon Lindholm
8b0e1c2942
Bug 1387780 - Optimize string searching in MatchAutoCompleteFunction. r=adw, r=emk
2017-08-20 17:21:00 -04:00
Simon Lindholm
56d59da636
Bug 1387780 - Avoid memory allocations when calling MatchAutoCompleteFunction. r=adw, r=froydnj
2017-08-20 17:19:00 -04:00
Sebastian Hengst
02a34cdd40
merge mozilla-central to mozilla-inbound. r=merge a=merge
2017-08-21 13:43:53 +02:00
Nicholas Nethercote
4a623e6df4
Bug 1385172 - Replace nsEscapeHTML{,2}() with new nsAppendEscapedHTML() function. r=erahm.
...
The existing functions work with C strings but almost all the call sites use
Mozilla strings.
The replacement function has the following properties.
- It works with Mozilla strings, which makes it much simpler and also improves
the call sites.
- It appends to the destination string because that's what a lot of the call
sites need. For those that don't, we can just append to an empty string.
- It is declared outside the |extern "C"| section because there is no need for
it to be in that section.
Note: there is no 16-bit variant of nsAppendEscapedHTML(). This is because
there are only two places that need 16-bit variants, both rarely executed,
and so converting to and from 8-bit is good enough.
The patch also adds some testing of the new function, renaming
TestEscapeURL.cpp as TestEscape.cpp in the process, because that file is now
testing other kinds of escaping.
--HG--
rename : xpcom/tests/gtest/TestEscapeURL.cpp => xpcom/tests/gtest/TestEscape.cpp
extra : rebase_source : 51145ae2c9b0b4573c7ea0c342dcb246f9f14fb9
2017-08-18 12:00:59 +10:00
Sebastian Hengst
54d8b1efae
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: 1yS8D5e0Ejz
2017-08-20 23:24:15 +02:00
Thomas Wisniewski
99ee6030a0
Bug 1392003
- Support estimatedEndTime in DownloadItem; r=aswan
...
MozReview-Commit-ID: 4Yzj52qI1Mz
--HG--
extra : rebase_source : ccfa669ec432887f3459a13758c42206ccb2d85c
2017-08-19 15:06:46 -04:00
Dragana Damjanovic
b274c67092
Bug 1390881 - Improve the TFO telemetry. r=mcmanus
2017-08-20 09:45:26 +02:00
Sebastian Hengst
f575346459
Backed out changeset ed1101844eea (bug 1381460) for eslint failure at browser/modules/test/browser/browser_UsageTelemetry_content.js:148: 'getSearchCountsHistogram' is not defined. r=backout
2017-08-21 18:27:57 +02:00
Phil Ringnalda
366675feaa
Merge m-c to autoland
...
MozReview-Commit-ID: GCxEZcmHL2w
2017-08-19 15:34:44 -07:00
Phil Ringnalda
9359f5bf39
Merge inbound to m-c, a=merge
...
MozReview-Commit-ID: LCCoXUsCtmv
2017-08-19 15:29:10 -07:00
Sebastian Hengst
5655014d2e
Backed out changeset 9f03844eb810 (bug 1387569)
2017-08-19 20:22:05 +02:00
Wes Kocher
bb19458d5f
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: EgYue63nSkv
2017-08-18 16:29:11 -07:00
Wes Kocher
b1fc5e008c
Merge inbound to central, a=merge
...
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm
0938982c90
Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
...
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Andrei Oprea
dafc6cbd15
Bug 1381460 - Add telemetry search event for Activity Stream. r=Dexter data-r=bsmedberg
...
MozReview-Commit-ID: GLbDNLglvDY
--HG--
extra : rebase_source : 2aee316d1b8354f67c7b3236f75f5e4b104f8705
2017-08-05 17:59:49 +02:00
Sylvestre Ledru
fa779f9261
Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in jsoncpp (exists from gcc 7) r=kip
...
MozReview-Commit-ID: BhxZ3acIopN
--HG--
extra : rebase_source : c15e0ef9d549902440b8cb62dd7f11a17d94bc7b
2017-08-04 21:38:16 +02:00
Sylvestre Ledru
b7de964055
Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in jsoncpp (exists from gcc 7) r=kip
...
MozReview-Commit-ID: BhxZ3acIopN
--HG--
extra : rebase_source : c15e0ef9d549902440b8cb62dd7f11a17d94bc7b
2017-08-04 21:38:16 +02:00
Phil Ringnalda
1ca83fd296
Backed out 5 changesets (bug 1387569) for Windows static build bustage
...
Backed out changeset eeda521ba0ad (bug 1387569)
Backed out changeset 8d23caf2ccc7 (bug 1387569)
Backed out changeset b5f969313f81 (bug 1387569)
Backed out changeset f642bc883aa5 (bug 1387569)
Backed out changeset 20151eabffea (bug 1387569)
MozReview-Commit-ID: IH0XXePvhiL
2017-08-19 12:20:26 -07:00
Sylvestre Ledru
1d6f922a6e
Bug 1387569 - Also enable -Wno-implicit-fallthrough for gcc in jsoncpp (exists from gcc 7) r=kip
...
MozReview-Commit-ID: BhxZ3acIopN
--HG--
extra : rebase_source : c15e0ef9d549902440b8cb62dd7f11a17d94bc7b
2017-08-04 21:38:16 +02:00
Dan Banner
2497992dcf
Bug 1379256 - Enable the rest of the recommended ESLint rules for toolkit/components/osfile. r=mossop
...
MozReview-Commit-ID: F5GmnvS9LpM
--HG--
extra : rebase_source : 0e25d8b232e228c044417a41975736da5e263f9b
2017-08-09 15:23:19 +01:00
Dan Banner
14b6c58472
Bug 1379256 - fix no-undef issues for toolkit/components/osfile. r=mossop
...
MozReview-Commit-ID: B0vImMrMGF6
--HG--
extra : rebase_source : 511f246dd4b7544b88e221dd03b6a2bc78d7c213
2017-08-09 14:42:27 +01:00
Dan Banner
ac2cdf0adb
Bug 1379256 - Enable more ESLint rules for toolkit/components/osfile (automatic fixes). r=mossop
...
MozReview-Commit-ID: EBIwfqkaSnD
--HG--
extra : rebase_source : d9498c5b9f29ebac9396ca198401f733bbd7a2c0
2017-08-09 14:21:27 +01:00
Shane Caraveo
4437e84fb7
Bug 1391720 remove _blank support for background pages, r=kmag
...
MozReview-Commit-ID: aRpNSrE483
--HG--
extra : rebase_source : f6a037937350ee7d8f502a9060459a073bd60190
2017-08-18 11:30:01 -07:00
Wes Kocher
c043502159
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: 7sFZmPUXSx6
2017-08-18 17:21:29 -07:00
Sebastian Hengst
0c64aa02e1
Backed out changeset 7905ab8c8041 (bug 1391720) for failing mochitest caps/tests/mochitest/test_extensionURL.html. r=backout
2017-08-18 23:38:20 +02:00
Kris Maglione
284215aa51
Bug 1389840: Part 2 - Store last optional permissions state in the startup cache. r=aswan
...
MozReview-Commit-ID: 95krDpu1JZr
--HG--
extra : rebase_source : 94772c6cf184fe78715eda018841a3b0d58f3d42
2017-08-12 14:42:44 -07:00
Kris Maglione
b4e8a4e72d
Bug 1391472: Part 2 - Cache normalized icon data for non-string values. r=mixedpuppy
...
It turns out that stringifying a paths object is much cheaper than normalizing
it, and has the added benefit of allowing us to use cached CSS text for the
result.
MozReview-Commit-ID: 5gIqcDmPiKr
--HG--
extra : rebase_source : 59f6a75eac976abb85fe37440469e589282f7b01
2017-08-18 11:54:18 -07:00
Kris Maglione
40665c5e59
Bug 1391472: Part 1 - Remove integer property check from IconDetails.normalize. r=mixedpuppy
...
We already do this check at the schema level, so the added check in
IconDetails is unnecessary.
MozReview-Commit-ID: JTEE0xWH0a4
--HG--
extra : rebase_source : baad0a75438cdf126e0ba8df4055be50f3281d2a
2017-08-18 12:25:40 -07:00
Kris Maglione
426dea9932
Bug 1391353: Try to avoid keeping message data alive while waiting for responses. r=zombie
...
MozReview-Commit-ID: 5JAUBWufpsf
--HG--
extra : rebase_source : 379c6fbf6661ca8d05dff55547ac2c60c2e1e23b
2017-08-17 11:41:55 -07:00
Kris Maglione
34cfa555d7
Bug 1391310: Optimize runSafe/wrapPromise to avoid wrapper/spread arg/rest arg overhead. r=zombie
...
Lots of little bits of overhead add up to a significant amount of overhead
over the many, many times this function is called.
MozReview-Commit-ID: BYTWxqc8rH9
--HG--
extra : rebase_source : 3b22f9ca1de504a383eef5760e43dc783c2b3b93
2017-08-18 11:53:25 -07:00
Kris Maglione
e24e9d802d
Bug 1391158: Optimize checkLoadURL for the common case of extension URLs. r=mixedpuppy
...
MozReview-Commit-ID: KGFFcHxQSvZ
--HG--
extra : rebase_source : f4b62ad095077a65e11c6b8354ce54fa2d2ff252
2017-08-16 23:03:15 -07:00
Kris Maglione
041996d10e
Bug 1391153: Get rid of Sandbox clone for cross-process API calls. r=mixedpuppy
...
MozReview-Commit-ID: A9g6s5jqd78
--HG--
extra : rebase_source : a80e6e81d8b21ebb6125f38b8efb89db17b47b75
2017-08-16 22:16:31 -07:00
Alessio Placitelli
c5ce8cd5be
Bug 1386619 - Add documentation for 'update' pings edge cases. r=gfritzsche
...
MozReview-Commit-ID: 77Ahi9wr76O
--HG--
extra : rebase_source : e85098448f0e2b19dceb32f6688fc767486a79ce
2017-08-21 12:00:36 +02:00
Wes Kocher
91f1f19054
Merge m-c to autoland, a=merge
...
MozReview-Commit-ID: IMdYxijQ9ie
2017-08-21 17:20:06 -07:00
Julian Descottes
60c637855b
Bug 1374735 - stop exposing devtools require to extensions ext-* files;r=kmag CLOSED TREE
...
There is no longer any file in components/extensions/ext-* that use require().
Therefore it should be ok to stop exposing it.
MozReview-Commit-ID: EgZYBludlcy
--HG--
extra : source : 50a36fb7c7f97682ea9d2651b0edec306d466b5c
extra : amend_source : af2184bbf188df138b3a2b23d7031b2de5534e25
2017-06-22 21:04:02 +02:00
Julian Descottes
d148f3f8c0
Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
...
MozReview-Commit-ID: GJQ7fcw1L8i
--HG--
extra : source : da075933f7bcd9e3b7ff735879c521bb50f28b7a
2017-07-24 12:12:47 +02:00
Wes Kocher
76d7cf451f
Backed out changeset 871476099df7 (bug 1383299) for xpcshell failures a=backout CLOSED TREE
...
MozReview-Commit-ID: WuWcXfYz3V
2017-08-18 09:43:36 -07:00
Ryan VanderMeulen
b708734864
Backed out 4 changesets (bug 1374735) for test_ext_i18n.js failures on a CLOSED TREE.
...
Backed out changeset 50a36fb7c7f9 (bug 1374735)
Backed out changeset da075933f7bc (bug 1374735)
Backed out changeset b7435cd66ce3 (bug 1374735)
Backed out changeset 22baf4e67730 (bug 1374735)
2017-08-18 12:34:22 -04:00
Evelyn Hung
9bdec94905
Bug 1383299 - Ensure we start to set up network connection before content process requests. r=mconley
...
In chrome process, we often know which url is going to be loaded.
As a performance optimization, we can start initiating network
connection before sending out the 'LoadURI' message to the content
process.
MozReview-Commit-ID: CtTik19NyiM
--HG--
extra : rebase_source : 91801215efa8fbb50f51e79eabc6435472d23622
2017-08-04 12:29:35 +08:00
Julian Descottes
804e145ac8
Bug 1374735 - stop exposing devtools require to extensions ext-* files;r=kmag
...
There is no longer any file in components/extensions/ext-* that use require().
Therefore it should be ok to stop exposing it.
MozReview-Commit-ID: EgZYBludlcy
--HG--
extra : rebase_source : f83d8bf4bb413c246efe3c25767cc203f127423e
2017-06-22 21:04:02 +02:00
Julian Descottes
e88a15e62e
Bug 1374735 - use DevToolsShim to open browser console from extensions;r=bgrins,kmag
...
MozReview-Commit-ID: GJQ7fcw1L8i
--HG--
extra : rebase_source : 6a079c88e5908cc8f8a021bb0a12ea44670bc5ce
2017-07-24 12:12:47 +02:00