Граф коммитов

534389 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst a71ff9882a Backed out changeset a505dcbe8a02 (bug 1359653) 2017-05-06 11:02:18 +02:00
Sebastian Hengst 7ed4c0581c Backed out changeset c1b0ed47743f (bug 1359653) 2017-05-06 11:02:13 +02:00
Sebastian Hengst 654262208b Backed out changeset d8dc72ab2406 (bug 1359653) 2017-05-06 11:02:09 +02:00
Sebastian Hengst 0584d6d6d4 Backed out changeset 8f4637881ddc (bug 1359653) 2017-05-06 11:02:04 +02:00
Ray Lin fb62d2146b Bug 1361244 - Add an internal -moz-autofill-preview pseudo class for styling preview fields. r=heycam
MozReview-Commit-ID: 6siKEgBPTKt
2017-05-04 13:54:34 +08:00
Matthew Noorenberghe f05fa75ec3 Bug 1362584 - Follow-up eslint fix for fieldValue no-unused-vars.
MozReview-Commit-ID: 8p4tOq9NwEY
2017-05-06 01:43:52 -07:00
Matthew Noorenberghe 6e0c59cbea Bug 1362584 - Show autofill name fields in the management/preferences UI r=scottwu
MozReview-Commit-ID: 7m3sKGWfERC

--HG--
extra : rebase_source : a74ce933400db1d37a443ce2fa32f9ccc11f4452
2017-05-06 00:04:13 -07:00
Matthew Noorenberghe 30ac05ec08 Bug 1362583 - [Form Autofill] Move autofill preferences before master password ones. r=scottwu
MozReview-Commit-ID: 9sLFeAgXmpT

--HG--
extra : rebase_source : 4936199e602e0fd73313cc2339ab6c137338b39e
2017-05-06 00:11:46 -07:00
Ehsan Akhgari cd8e5781d1 Back out bug 1357107 since it broke a feature that we have no automated tests for... 2017-05-05 22:41:36 -04:00
Kris Maglione c1b1876797 Bug 1359653: Part 9 - Observe "startupcache-invalidate" and flush the cache when received. r=erahm
Flushing the cache at startup is already handled automatically by the
AppStartup code, which removes the entire startupCache directory when
necessary. The add-on manager requires being able to flush the cache at
runtime, though, for the sake of updating bootstrapped add-ons.

MozReview-Commit-ID: LIdiNHrXYXu

--HG--
extra : rebase_source : e5b16490f47e20c78d081ad03dec02c6b2874fc3
extra : absorb_source : 6cd94504c8247f375161b2afdca5c61d59cf8f01
2017-05-03 12:31:51 -07:00
Kris Maglione 42440e7fff Bug 1359653: Part 8 - Ignore script cache when loading scripts in gcd script breakpoint tests. r=jimb
MozReview-Commit-ID: DGPBK9GAqQT

--HG--
extra : rebase_source : 3bd48aab275a810ad44599bd14009e0dca4ddc4c
extra : absorb_source : acb287480b9f29c20cad7a909761d610e3735ff8
2017-05-02 17:31:05 -07:00
Kris Maglione e85e66e3a4 Bug 1359653: Part 7 - Use the script preloader for loading frame scripts. r=billm
MozReview-Commit-ID: L0EjM0Uomfb

--HG--
extra : rebase_source : 02cc7f567edcff765c6abffb03be2a4e7f843c78
extra : absorb_source : 1522a5f335eca8188a82f93ac27900cbcd3ef4be
2017-05-02 15:16:55 -07:00
Kris Maglione e1eeeaf349 Bug 1359653: Part 6 - Use the script precompiler in the JS component loader and subscript loader. r=mccr8,shu
MozReview-Commit-ID: HMl0xbAARHK

--HG--
extra : rebase_source : 257ac78f3438d67725b5c1630c214a1d0627193d
extra : absorb_source : e70948dbfa5517b1868cafe804a71248e57ef022
2017-05-03 22:06:33 -07:00
Kris Maglione a4368ffba1 Bug 1359653: Part 5 - Pre-load scripts needed during startup in a background thread. r=shu,erahm
One of the things that I've noticed in profiling startup overhead is that,
even with the startup cache, we spend about 130ms just loading and decoding
scripts from the startup cache on my machine.

I think we should be able to do better than that by doing some of that work in
the background for scripts that we know we'll need during startup. With this
change, we seem to consistently save about 3-5% on non-e10s startup overhead
on talos. But there's a lot of room for tuning, and I think we get some
considerable improvement with a few ongoing tweeks.

Some notes about the approach:

- Setting up the off-thread compile is fairly expensive, since we need to
create a global object, and a lot of its built-in prototype objects for each
compile. So in order for there to be a performance improvement for OMT
compiles, the script has to be pretty large. Right now, the tipping point
seems to be about 20K.

  There's currently no easy way to improve the per-compile setup overhead, but
we should be able to combine the off-thread compiles for multiple smaller
scripts into a single operation without any additional per-script overhead.

- The time we spend setting up scripts for OMT compile is almost entirely
CPU-bound. That means that we have a chunk of about 20-50ms where we can
safely schedule thread-safe IO work during early startup, so if we schedule
some of our current synchronous IO operations on background threads during the
script cache setup, we basically get them for free, and can probably increase
the number of scripts we compile in the background.

- I went with an uncompressed mmap of the raw XDR data for a storage format.
That currently occupies about 5MB of disk space. Gzipped, it's ~1.2MB, so
compressing it might save some startup disk IO, but keeping it uncompressed
simplifies a lot of the OMT and even main thread decoding process, but, more
importantly:

- We currently don't use the startup cache in content processes, for a variety
of reasons. However, with this approach, I think we can safely store the
cached script data from a content process before we load any untrusted code
into it, and then share mmapped startup cache data between all content
processes. That should speed up content process startup *a lot*, and very
likely save memory, too. And:

- If we're especially concerned about saving per-process memory, and we keep
the cache data mapped for the lifetime of the JS runtime, I think that with
some effort we can probably share the static string data from scripts between
content processes, without any copying. Right now, it looks like for the main
process, there's about 1.5MB of string-ish data in the XDR dumps. It's
probably less for content processes, but if we could save .5MB per process
this way, it might make it easier to increase the number of content processes
we allow.

MozReview-Commit-ID: CVJahyNktKB

--HG--
extra : rebase_source : 2ec24c8b0000f9187a9bf4a096ee8d93403d7ab2
extra : absorb_source : bb9d799d664a03941447a294ac43c54f334ef6f5
2017-05-05 16:15:04 -07:00
Kris Maglione 81b48ae1b9 Bug 1359653: Part 4 - Fallback to the default JS version when decoding regexps off-thread. r=shu
When decoding off-thread, we can't safely access the JS runtime to get the
current JS version, and doing so causes failed assertions.

MozReview-Commit-ID: Lra437aa8SM

--HG--
extra : rebase_source : 268fc90f390cf6436f3e8a1368a62fdf274d6f8d
2017-04-28 11:55:52 -07:00
Kris Maglione e514005e37 Bug 1359653: Part 3 - Add a clear() method and move asssignment operator to AutoCleanLinkedList. r=waldo
MozReview-Commit-ID: 2bUTMPviJzg

--HG--
extra : rebase_source : c02a5c07030a8c2d5ad47a586a5af8f02e5ec2f6
2017-05-02 17:54:18 -07:00
Kris Maglione 5d707d3813 Bug 1359653: Part 2 - Allow CloneAndExecuteScript with non-lexical scripts. r=shu
MozReview-Commit-ID: Hq3rvgjwH3f

--HG--
extra : rebase_source : ce51a28985bf73e8f1370e9e767b016b5399d3c8
2017-05-02 17:53:51 -07:00
Kris Maglione 83a89ed6b9 Bug 1359653: Part 1 - Use a const Range rather than a Vector for XDR decoding. r=shu
MozReview-Commit-ID: JkGNmOAKAxD

--HG--
extra : rebase_source : 77f0cae4b964b216e0a79a415fa8f88fcad08730
2017-05-05 15:47:10 -07:00
Wes Kocher 3c303b51f9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: CituMM8vka5
2017-05-05 17:19:20 -07:00
Wes Kocher d7daa1c507 Backed out changeset ed8623eefe6c (bug 1360220) for causing bug 1362590 a=backout
MozReview-Commit-ID: DLJDWJNIGm8
2017-05-05 16:11:08 -07:00
Gary Kwong a6f9d2dd99 Bug 1360220 - Backed out changeset ed8623eefe6c for causing fuzzblocker bug 1362590, rs=shu on IRC 2017-05-05 16:04:52 -07:00
Wes Kocher 52209697e6 Backed out changeset eee394a4575b (bug 1361392) for leaksanitizer failures in pretty much all ASAN mochitests a=backout
MozReview-Commit-ID: 7ap4ag3i0IE
2017-05-05 15:58:49 -07:00
Wes Kocher 7907e4f25e Backed out changeset caa721034f47 (bug 1356243) for regressions a=backout
MozReview-Commit-ID: BYFJDdxO6f3
2017-05-05 14:46:00 -07:00
Kris Maglione f992c14543 Bug 1362224: Cache tab incognito state. r=aswan
MozReview-Commit-ID: 2BWqXDFRHlV

--HG--
extra : rebase_source : af6c71999c0672a3ad2d3be58a500131ea25a88d
2017-05-05 13:01:03 -07:00
Kris Maglione bd451395e7 Bug 1362224: Cached normalized object for simple icon URLs. r=aswan
MozReview-Commit-ID: ErFFdfKAtuz

--HG--
extra : rebase_source : 17217aabd4e20a6e56c0d3086f49557723fb9b28
2017-05-05 12:53:30 -07:00
Phil Ringnalda 80a35f03c3 Backed out 2 changesets (bug 1360992, bug 1361654) for a 70% failure rate in test_fileReader.html on ASan e10s a=merge
Backed out changeset ab9fdee3a6a4 (bug 1360992)
Backed out changeset 141c2dfd49ff (bug 1361654)

MozReview-Commit-ID: 3rSzvmc5FPx

--HG--
extra : source : 379b03af76d417ba5998a2fb13b125602540c8cc
2017-05-05 12:35:57 -07:00
Phil Ringnalda 0a18b0efae Backed out 4 changesets (bug 1360807) for a 30% failure rate in test_ipcBlob_fileReaderSync.html on ASan e10s a=merge
Backed out changeset b7790c232791 (bug 1360807)
Backed out changeset 50d6d6733209 (bug 1360807)
Backed out changeset 6e84dfab90bf (bug 1360807)
Backed out changeset f25d7a76008e (bug 1360807)

MozReview-Commit-ID: DTkQJz5ZYMD

--HG--
extra : source : 6b0f7ac46e1f81cd72931aaee41f4863d8d8876d
2017-05-05 12:34:57 -07:00
Wes Kocher efab9f9365 Merge inbound to m-c a=merge
MozReview-Commit-ID: KSYtdX2VPce
2017-05-05 14:03:31 -07:00
Wes Kocher 70383223c7 Merge autoland to central, a=merge
MozReview-Commit-ID: 8Byspu8RLyg
2017-05-05 13:22:33 -07:00
Kris Maglione 63f56f00af Bug 1362224: Speed up permission checks a bit. r=aswan
MozReview-Commit-ID: I6G3gVzSwnJ

--HG--
extra : rebase_source : c3c6285e0714e78c36ac820785d8218ddc39412f
2017-05-05 12:28:42 -07:00
Kris Maglione 674a21ccc6 Bug 1362224: requestAnimationFrame before changing browserAction/pageAction buttons. r=aswan
MozReview-Commit-ID: H9Eq7z5L4Xq

--HG--
extra : rebase_source : 4c8962b17c625ddcd1a0eb00bdc60325d436dfd8
2017-05-05 14:56:19 -07:00
Kris Maglione b2651ab90b Bug 1362224: Cache per-tab icon data for browserAction/pageAction. r=aswan
MozReview-Commit-ID: JifAtY36gKA

--HG--
extra : rebase_source : ba43a1d108f4ab6007fdebb18c34585448ee9f51
2017-05-05 14:21:07 -07:00
Sebastian Hengst 6ff84ee171 Backed out changeset b50714bd8d10 (bug 1322650) for failing chrome's test_video_discovery.html and mda's test_Eviction_mp4.html, both on Android. r=backout 2017-05-05 18:55:11 +02:00
Sebastian Hengst 087bd41f0f Backed out changeset 9badb2705567 (bug 1322650) 2017-05-05 18:54:09 +02:00
Sebastian Hengst 8f099b6d5e Backed out changeset 3644926d994a (bug 1322650) 2017-05-05 18:54:04 +02:00
Sebastian Hengst e3ef2e2a78 Backed out changeset b12a741ef025 (bug 1322650) 2017-05-05 18:53:59 +02:00
Sebastian Hengst eb6ea2b139 Backed out changeset 4135178bae2b (bug 1322650) 2017-05-05 18:53:55 +02:00
Sebastian Hengst 258857a6e9 Backed out changeset b79cbaa5cf1a (bug 1322650) 2017-05-05 18:53:50 +02:00
Sebastian Hengst 8eeeb93b94 Backed out changeset 0c01bf8a1bd9 (bug 1322650) 2017-05-05 18:53:45 +02:00
Sebastian Hengst f3bfd1e1da Backed out changeset d6516a10c808 (bug 1322650) 2017-05-05 18:53:40 +02:00
Sebastian Hengst 2340610625 Backed out changeset 9d3843274c67 (bug 1322650) 2017-05-05 18:53:36 +02:00
Sebastian Hengst a73c158876 Backed out changeset adf185af7963 (bug 1322650) 2017-05-05 18:53:31 +02:00
Sebastian Hengst dea4ddd4c5 Backed out changeset f94c4f5bf53a (bug 1322650) 2017-05-05 18:53:26 +02:00
Sebastian Hengst b66276dd92 Backed out changeset 698a25fb6e01 2017-05-05 18:53:21 +02:00
Sebastian Hengst 6ae312ded4 Backed out changeset d047739306d9 (bug 1322650) 2017-05-05 18:53:00 +02:00
ffxbld 274d2a7dd5 No bug, Automated HPKP preload list update from host bld-linux64-spot-386 - a=hpkp-update 2017-05-05 08:05:06 -07:00
ffxbld 744bf45b07 No bug, Automated HSTS preload list update from host bld-linux64-spot-386 - a=hsts-update 2017-05-05 08:05:04 -07:00
Franziskus Kiefer 66955a7251 Bug 1345368 - land NSS 236a06d9c3c4, r=me
--HG--
extra : rebase_source : b097dd39571750acd76656e275e6899c95d52269
2017-05-05 16:07:08 +02:00
James Willcox dddf3fc25d Bug 1322650 - back out f94c4f5bf53a for test failures r=me 2017-05-05 11:04:57 -05:00
Carsten "Tomcat" Book fdc689ba16 merge mozilla-inbound to mozilla-central a=merge 2017-05-05 15:17:26 +02:00