Commit Graph

19892 Commits

Author SHA1 Message Date
Kris Maglione
8d30fc2d2c Bug 1391405: Part 4 - Avoid easily-avoidable regexp. r=zombie
MozReview-Commit-ID: 6xAr5hGxm2r

--HG--
extra : rebase_source : eef7eb12615faaf6fa9adc87685ef74be9413a0c
extra : histedit_source : 0c1eb852ea025f8eb9c75dc15706da6f88cb475b
2017-08-17 14:45:30 -07:00
Kris Maglione
cbddab6266 Bug 1391405: Part 3b - Speed up schema normalization for choices types some more. r=zombie
Like part a, but for `choices` messages rather than error messages.

MozReview-Commit-ID: 7dJ0NL2fUh5

--HG--
extra : rebase_source : 477f1364c0904bde78d54eae083bdb8e49ee5732
extra : histedit_source : 38c336b3a59481b6f2523798367159fb757c6485
2017-08-24 13:03:42 -07:00
Kris Maglione
7325526f5a Bug 1391405: Part 3a - Speed up schema normalization for choices types. r=zombie
For choices types, when one choice fails, we don't need the original error
string, since another choice may succeed, and we generate the final error
based on all of the options. Nevertheless, we spend a lot of time generating
JSON strings for the failed inputs in those cases, which adds up to about 12%
of the remaining overhead at this point.

MozReview-Commit-ID: 6nXBAv2W20V

--HG--
extra : rebase_source : 5894bc4b9e8d64ac9505f27240ea4fabfcb5f02f
extra : histedit_source : 0e8b5e0315abd672a57a60420453a1e0681c9df6
2017-08-18 11:49:13 -07:00
Kris Maglione
d727073568 Bug 1391405: Part 2 - Speed up base type normalization. r=zombie
The Array and ArrayBuffer type checks we do in getBaseType add up to a
significant amount of overhead given the number of times we call them,
especially when X-ray overhead comes into play. These changes allow us to
avoid X-ray overhead altogether.

MozReview-Commit-ID: KlRuxeElIfp

--HG--
extra : rebase_source : c7f00fb8c35965476e7c7b888b6af36714c1323f
extra : histedit_source : fc559e665e60e9bbb688eebe6c6e6da5dacec748
2017-08-17 14:23:15 -07:00
Simon Lindholm
0c65735985 Bug 1393483 - Correctly pass cancel token to _onResultRow. r=mak 2017-08-24 08:20:00 -04:00
Sebastian Hengst
cb6cf95f70 Backed out changeset d2a4fa2a4005 (bug 1139913) for failing browser-chrome's browser_downloads_panel_height.js. r=backout 2017-08-24 18:55:43 +02:00
Johann Hofmann
c5c5b0af8e Bug 1139913 - Downloads with partial data should still keep the placeholder on disk. r=mak
This prevents naming conflicts if a paused or blocked download is retried from the original page.

MozReview-Commit-ID: 4rFZ5rP8saJ

--HG--
extra : rebase_source : c392fc62cb33b2c2d70a1c3a8a975ddf93d394ea
2017-08-24 14:13:56 +01:00
Vanessa Gutierrez
1d300dacd5 Bug 1386186 - Added firstPaint scalar, timestamps scalar section, and tests. r=gfritzsche
--HG--
extra : amend_source : eb7102df741b51926407fd7e7f16e3f36a7d6b19
2017-08-22 11:01:00 -04:00
Sebastian Hengst
aeacc34883 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6TGQRm8SSk0
2017-08-24 13:28:57 +02:00
Michal Novotny
8030ac3f2d Bug 1382688 - Do not allow to enable old disk cache backend, r=honzab 2017-08-24 10:25:38 +02:00
Nicholas Nethercote
8d93912409 Bug 1392989 (part 2) - Remove unused atom-service references. r=jaws.
Plus a couple of other unused service references nearby.
2017-08-24 11:46:02 +10:00
Henry Chang
ed11934666 Bug 1392204 - Disable goog-badbinurl-proto and goog-downloadwhite-proto on Fennec. r=francois
Version 4 of the Google Safe Browsing server will return a 404 if any of the
application reputation lists are requested on Android. As a result, we should
avoid these threat types from being sent along with ANDROID_PLATFORM.

MozReview-Commit-ID: 6TUBVxe455y

--HG--
extra : rebase_source : dee095c008f4d328f359c66d20f0cc2dfcd109f3
extra : source : 5d6338807c6b21b7672236cac01b13bd75155225
2017-08-22 12:20:57 +08:00
Kris Maglione
821308e4d1 Bug 1391110: Part 4 - Remove unnecessary nsIFrameLoaderOwner QIs. r=smaug
The FrameLoaderOwner interface has been implemented in WebIDL for several
years now, so these QIs are simply unnecessary overhead.

MozReview-Commit-ID: LAzvfm5Qhy0

--HG--
extra : rebase_source : 2495c07df21c474f5fabc257ff4db43b0d8047e4
2017-08-19 13:32:58 -07:00
Wes Kocher
fb8abb94c7 Merge inbound to central, a=merge
MozReview-Commit-ID: 1mWKzfX4kl
2017-08-23 18:07:24 -07:00
Evelyn Hung
088e2c9eba 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: L79ylHOaxX8

--HG--
extra : rebase_source : cc3aeefedde21dc8eaaf37c67710980b0204f4dc
2017-08-22 12:00:31 +08:00
sellsellgo
54fa77007d Bug 1347452 - Assigned item.guid using PlacesUtils.history.makeGuid() in insertBookmark(). r=mak
MozReview-Commit-ID: LgVFlgNEzHf

--HG--
extra : rebase_source : 2aa9f76bae35842c07bf062f2f4da8c084eed30e
2017-08-17 09:50:25 +02:00
Wes Kocher
bd5fb0a92d Merge m-c to autoland, a=merge
MozReview-Commit-ID: AHOFLdPkEou
2017-08-23 18:08:30 -07:00
Nicholas Nethercote
f582d96b98 Bug 1390428 (part 9) - Remove nsXPIDLCString. r=erahm.
This is straightforward, with only two notable things.

- `#include "nsXPIDLString.h" is replaced with `#include "nsString.h"`
  throughout, because all nsXPIDLString.h did was include nsString.h. The
  exception is for files which already include nsString.h, in which case the
  patch just removes the nsXPIDLString.h inclusion.

- The patch removes the |xpidl_string| gtest, but improves the |voided| test to
  cover some of its ground, e.g. testing Adopt(nullptr).

--HG--
extra : rebase_source : 452cc4a08046a1adb1a8099a7e85a1917de5add8
2017-08-17 15:29:03 +10:00
Eric Rahm
a33f11e0f5 Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj
We should not be declaring forward declarations for nsString classes directly,
instead we should use nsStringFwd.h. This will make changing the underlying
types easier.

--HG--
extra : rebase_source : b2c7554e8632f078167ff2f609392e63a136c299
2017-08-16 16:48:52 -07:00
David Major
406287685a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
Ryan VanderMeulen
22f5ab5cfe Bug 1389992 - Remove the os_shutting_down scalar and related code. r=dexter 2017-08-23 13:05:29 -04:00
Sebastian Hengst
142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
David Major
8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Sebastian Hengst
99e5cb9c14 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSKVB94r7Kk
2017-08-23 16:29:51 +02:00
Sebastian Hengst
eb5decce81 Backed out changeset 0ae21c1a172f (bug 1385453) 2017-08-23 11:07:39 +02:00
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Tim Nguyen
cbab6d9aea Bug 1392270 - Fix download.estimatedEndTime calculation. r=aswan
MozReview-Commit-ID: HqyYLtTC3N6

--HG--
extra : rebase_source : be06517bd1bee99676a3bedd6fb16f35f82e788b
2017-08-22 20:32:11 +02:00
Tom Tung
3eb6957b71 Bug 1328398 - Add telemetry to measure service worker launch time. r=bkelly,francois datareview=francois
This patch is mainly to add a probe to measure sw launch time. To do this, this
patch records the sw launch time when the sw is just spwaned and it's ready to
handle the incoming fetch event.

MozReview-Commit-ID: 3w5MNyhQNnd

--HG--
extra : rebase_source : 3228213d0ea6be1d23b9c49382f1f8d3c2f358f1
2017-08-17 18:32:36 +08:00
Francois Marier
adc9339128 Bug 1385484 - Add the login reputation whitelist behind a pref. r=hchang
MozReview-Commit-ID: Dbtl3WL5tMJ

--HG--
extra : rebase_source : d56e3db985865d0b513184d8ad41e2b750e7733e
2017-08-08 16:23:10 -07:00
Francois Marier
6fcbb94e82 Bug 1385484 - Cleanup Safe Browsing prefs and sync the download protection setting. r=hchang
MozReview-Commit-ID: B42p2Gw8y9i

--HG--
extra : rebase_source : ecc00c8251814783bbe5e9ea911ad034a9a3a9b0
2017-08-08 15:52:29 -07:00
Wes Kocher
655a23a70a Merge m-c to autoland, a=merge
MozReview-Commit-ID: CxIXNml1xZW
2017-08-22 17:24:16 -07:00
Wes Kocher
207dd28c61 Backed out 4 changesets (bug 1385484) for build failures a=backout
Backed out changeset 401c2744f16b (bug 1385484)
Backed out changeset 2ff443a0c744 (bug 1385484)
Backed out changeset 1a1c476a9aaa (bug 1385484)
Backed out changeset 87ec064a3681 (bug 1385484)

MozReview-Commit-ID: D9WGXiXaNoZ

--HG--
extra : rebase_source : ebab6135905e972abf7eeab9af8db41454687373
2017-08-22 17:22:41 -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
Francois Marier
542d943dc4 Bug 1385484 - Add the login reputation whitelist behind a pref. r=hchang
MozReview-Commit-ID: Dbtl3WL5tMJ

--HG--
extra : rebase_source : 8f163e6871559a36e02b2c576970b4f1624da3b4
2017-08-08 16:23:10 -07:00
Francois Marier
7a9673e542 Bug 1385484 - Cleanup Safe Browsing prefs and sync the download protection setting. r=hchang
MozReview-Commit-ID: B42p2Gw8y9i

--HG--
extra : rebase_source : ecc00c8251814783bbe5e9ea911ad034a9a3a9b0
2017-08-08 15:52:29 -07:00
Mike Conley
e5cb282c2d Bug 1385453 - Add Telemetry to measure how successful speculative tab warming is when switching tabs. r=billm,liuche, data-review?liuche
MozReview-Commit-ID: GSMEE3IUlzN

--HG--
extra : rebase_source : 25342f01af6071fc464732f0e630ff7b290563c4
2017-08-09 16:45:33 -04:00
Masatoshi Kimura
b3d2965807 Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
MozReview-Commit-ID: 8F1DtgakxM3

--HG--
extra : rebase_source : 05c42a3236ad55356a9149d8107e4a569fc06cd0
2017-08-19 15:04:13 +09:00
Francois Marier
b7ac0400a4 Bug 1381704 - Remove unused Application Reputation telemetry probe. r=hchang,liuche
MozReview-Commit-ID: GLjgu8VP1z8

--HG--
extra : rebase_source : 4bb1cdae2eb660939b61ad41fec1834a02996c22
2017-08-22 17:16:24 -07:00
Francois Marier
5813dc38ba Bug 1381704 - Extend Safe Browsing telemetry probes. r=hchang,liuche
MozReview-Commit-ID: 9Om2yuFH8xe

--HG--
extra : rebase_source : 24a72eef8d127049b8a9466d0b0f53f790c188e6
2017-08-22 17:09:19 -07:00
Shane Caraveo
634772cb66 Bug 1390346 test jar caching in combination with redirects, r=rpl
MozReview-Commit-ID: 6sFdcruieh6

--HG--
extra : rebase_source : 0cdbe20552055a7458c20eb5f2fb85021fdad309
2017-08-18 10:59:44 -07:00
Wes Kocher
168eaceb20 Merge m-c to inbound, a=merge
MozReview-Commit-ID: IHPBV4z9vPi
2017-08-22 17:14:32 -07: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