Commit Graph

39646 Commits

Author SHA1 Message Date
Kris Maglione
589919e4a7 Bug 1333990: Part 3e - Add tests for content script cache eviction. r=aswan,billm
MozReview-Commit-ID: 6SRI8xTuZk5

--HG--
extra : rebase_source : 1618db2982bdb74c2efb8b53048c1ceb998e0049
2017-03-11 20:17:36 -08:00
Kris Maglione
4546457e5e Bug 1333990: Part 3d - Split observe() method to fix complexity warnings. r=aswan
MozReview-Commit-ID: 5ACOf2X5Z7I

--HG--
extra : rebase_source : 23bd6eccaa8ca0c6b0884849c9ad2adbef8e2616
2017-03-10 23:33:06 -08:00
Kris Maglione
085289b49f Bug 1333990: Part 3c - Evict cached content scripts after a timeout and on memory-pressure. r=aswan,billm
This change automatically evicts content scripts 5 minutes after their last
use, and flushes the entire cache whenever a memory-pressure event is
received.

In the case of memory-pressure events other than heap-minimize, we only evict
scripts that have been in the cache for longer than 3 seconds (which is a
fairly arbitrary number) in order to prevent pre-loads from being evicted and
then immediately re-loaded.

MozReview-Commit-ID: LCXkI9qVMxS

--HG--
extra : rebase_source : b81ed3b9962346154fa18eaee58a7411244a1936
2017-03-10 20:11:18 -08:00
Kris Maglione
6a80b8df35 Bug 1333990: Part 3b - Preload matching content scripts when opening document channels. r=aswan,billm
This uses the http-on-opening-request observer that's dispatched in the child
process to begin preloading matching content scripts as early in the load
cycle as possible. Ideally we would use the network predictor for this, but
most of its prediction work happens in the parent process, and there are no
simple ways for us to hook into it.

This currently does not do any pre-loading in the parent process, mainly
because there isn't a good way to distinguish top-level document loads that
are happening directly in the parent versus those that are being proxied from
the child.

MozReview-Commit-ID: dIQW68HtxZ

--HG--
extra : rebase_source : b36f6c8516d0550a0d5bb0df895ce6db76ab3538
2017-03-10 21:01:52 -08:00
Kris Maglione
53e241ffbc Bug 1333990: Part 3a - Use async loading and in-memory caching for WebExtension content scripts. r=aswan
MozReview-Commit-ID: GcdKDbWcUtu

--HG--
extra : rebase_source : 830dfbe0fdd380229340ec8008217e3bd75ec87c
2017-03-16 18:45:22 -07:00
Wes Kocher
c5d1991d35 Merge m-c to inbound, a=merge
MozReview-Commit-ID: AuQEHTgSKcO
2017-03-16 14:07:10 -07:00
Michael Layzell
ccc519e3f4 Bug 1347983 - Part 1: Make forms submitted from a large-allocation page not leave the large-allocation process, r=smaug
MozReview-Commit-ID: 7SEdTJN9Xd2
2017-03-16 14:32:26 -04:00
Florian Quèze
be00c3b9e8 Bug 1345294 - add an eslint rule to reject usage of {get,set}ComplexValue for nsISupportsString and suggest {get,set}StringPref instead, and make it pass, r=Mossop. 2017-03-16 19:26:02 +01:00
Florian Quèze
9c4d40bb54 Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop. 2017-03-16 19:26:01 +01:00
Florian Quèze
a09d41b402 Bug 1343571 - When clicking an action button of a PopupNotification in an inactive window, focus the window instead of performing the action, r=past. 2017-03-16 19:14:22 +01:00
Sebastian Hengst
e43c8a0ce7 Backed out changeset 8a1c36e9ba80 (bug 1341008) 2017-03-16 17:29:18 +01:00
Carsten "Tomcat" Book
023d5aecd1 Merge mozilla-central to mozilla-inbound 2017-03-16 15:39:58 +01:00
Carsten "Tomcat" Book
468f7d8e9f merge mozilla-inbound to mozilla-central a=merge 2017-03-16 15:35:50 +01:00
Gabor Krizsanits
2fc4ec4086 Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag 2017-03-16 11:22:37 +01:00
flyingrub
a8f1cea361 Bug 1346299 - Remove Telemetry Probe: KEYGEN_GENERATED_KEY_TYPE r=jcj,keeler
Removed the probe in Histogram.json and the code related to it in nsKeygenHandler.cpp

MozReview-Commit-ID: E8lGbx19e2C

--HG--
extra : rebase_source : ef958749e6ad2e2b617fd1efdd09cdd3185bef18
2017-03-14 11:54:57 +01:00
Blake Kaplan
6366b92fa6 Bug 1346286 - Remove CPOW usage via browser_bug511456.js. r=Gijs
MozReview-Commit-ID: DGZGwgSxO9T

--HG--
extra : rebase_source : 8d954f8de079c061b234f586b9417fb3a682a001
2017-03-09 17:20:18 -08:00
Marco Castelluccio
62cb24eea6 Bug 1341015 - Document how to build the shared libraries needed for the TelemetryModules test. r=Dexter 2017-03-15 23:22:04 +01:00
djmdev
ba39c68cbb Bug 1344849 - Enabled flake8 rule E201: "whitespace after '{'". r=Dexter
Removed whitespace after '{'
2017-03-15 18:33:48 +05:30
Cameron McCormack
9f8808666b Bug 1341102 - Revendor rust dependencies. r=me (CLOSED TREE)
--HG--
extra : amend_source : acddfc66c347a7b66341931b57446bcd0eadf3bb
2017-03-17 13:07:35 +08:00
Markus Stange
0048861a6b Bug 1329111 - Rename SharedLibraryInfo::mName to mModuleName, and consistently cut off the path on all platforms. r=marco
MozReview-Commit-ID: 8gqqVjTjy1Z

--HG--
extra : rebase_source : 646340086cd46fe023495bfca140e859c98a5205
2017-03-14 17:07:43 -04:00
Henry Chang
b769db9a5e Bug 1347657 - Use array entry as value instead of reference to avoid being invalidated by realloc. r=francois
nsTArray::AppendElement may cause memory reallocation if out of capacity.
In nsUrlClassifierStreamUpdater::FetchNextRequest(), we take the reference of
the first element of mPendingRequests and pass its member as reference to
DownloadUpdate(), where mPendingRequests.AppendElement will be called.
If the AppendElement in DownloadUpdate() causes realloc, the reference
becomes dangling.

The most efficient fix is to "move" the reference's (i.e. request)
member variables to DownloadUpdate() but I think in this case we can just
take the value from the array and pass it around with no given that the
array element contains simply a couple of strings and pointers.

MozReview-Commit-ID: KEZ5d3l3HoI

--HG--
extra : rebase_source : 4bf61a8a6f6bc57523dfbb7e5b0b40b7ce77a57a
2017-03-16 15:19:45 +08:00
Robert Helmer
0865aae1e0 Bug 1347971 - pass oldVersion to install and startup methods for temporary add-on reloads r=aswan
MozReview-Commit-ID: GjEmTt86JaG

--HG--
extra : rebase_source : f41cd67802dadc32fa64b0167735e1991202983c
2017-03-16 13:23:33 -07:00
nechen
5f8404dfd0 Bug 1036764 - Add telemetry for flash. r=bsmedberg,snorp data-r?bsmedberg
MozReview-Commit-ID: 1tsNZlEmx6s

--HG--
extra : rebase_source : 81bae8d6a3b4fb5c1ab037d4bb83722d3152dd86
2017-03-14 14:12:26 +08:00
Scott Wu
45d09e0952 Bug 1343707 - Make datetimepopup.xml binding attach lazily. r=mconley
MozReview-Commit-ID: C7LnrxIbU3K

--HG--
extra : rebase_source : d821a141eb550541a49beaa2afd9b7caf6a054e2
2017-03-03 13:58:53 +08:00
Jared Wein
3581faf3a2 Bug 1347329 - Make sure that the nth-child index gets updated when recursing so that colors get applied correctly when optgroups are used. r=mossop
This problem only occurs when optgroups are involved since they introduce recursion in to the menu-building code and we weren't correctly passing state through
the recursion.

MozReview-Commit-ID: 514zcjgXbIY

--HG--
extra : rebase_source : fdb9309ec8b08f5ab8ca77d901065d5e7db1617f
2017-03-14 19:06:57 -04:00
Jared Wein
bb9354d1a2 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : 9468cd5b1f67461e4338d4e0782761667f2f2184
2017-03-14 19:58:38 -04:00
Sebastian Hengst
8eb3901b10 Backed out changeset 899f6ba2fe55 (bug 1347329) for failing browser_selectpopup_colors.js. r=backout 2017-03-16 00:25:57 +01:00
Wes Kocher
1d6765414b Merge m-c to autoland, a=merge
MozReview-Commit-ID: AcDLWqQhcBe
2017-03-15 14:29:24 -07:00
Wes Kocher
06af2f1e92 Merge inbound to central, a=merge
MozReview-Commit-ID: 4p4SK3EhvJ2
2017-03-15 14:24:58 -07:00
Jared Wein
4bccf8475b Bug 1347329 - Make sure that the nth-child index gets updated when recursing so that colors get applied correctly when optgroups are used. r=mossop
This problem only occurs when optgroups are involved since they introduce recursion in to the menu-building code and we weren't correctly passing state through
the recursion.

MozReview-Commit-ID: 514zcjgXbIY

--HG--
extra : rebase_source : fdb9309ec8b08f5ab8ca77d901065d5e7db1617f
2017-03-14 19:06:57 -04:00
Botond Ballo
8ab11416c9 Bug 1346393 - Extend expiry of SCROLL_INPUT_METHODS telemetry probe to Firefox 60. r=bsmedberg
MozReview-Commit-ID: I7axJBSlBTN

--HG--
extra : rebase_source : c5e81f624beaac6135a9232eb11c49919b3d371a
2017-03-10 16:38:58 -05:00
Mike de Boer
1d646c760e Bug 1344926 - add a regression test to make sure themes are persisted across windows using the Theming API. r=mossop
MozReview-Commit-ID: BU7knUPaz1w

--HG--
extra : rebase_source : dcbf16a49544c0feeeb11fb78ef10b3cab36a849
2017-03-14 18:48:13 +01:00
Mike de Boer
66407b6bab Bug 1344926 - make sure that WebExtension theme data is persisted across windows when they open and image data is persisted to disk as well. r=mossop
MozReview-Commit-ID: 5UUjajCa8nK

--HG--
extra : rebase_source : 0fe682294bb98aa233e58099c4402fef44c08cde
2017-03-14 18:36:18 +01:00
Federico Padua
62a009b097 Bug 1344832 - Enable flake8 rule E502: "the backslash is redundant between brackets". r+dexter r=Dexter
This patch enables flake8 rule E502:
"the backslash is redundant between brackets" in toolkit/components/telemetry
by removing the relative E502 entry from toolkit/components/telemetry/.flake8
and fixing the files for which the E502 error was reported.
Precisely 8 errors violating E502 rule were found and solved.

MozReview-Commit-ID: 1z8f3JjJ2gt

--HG--
extra : rebase_source : de0622506a4a5a074ea5afa739b8537832aa4096
2017-03-14 01:04:56 +01:00
Carsten "Tomcat" Book
7decdeb7c8 Merge mozilla-central to autoland 2017-03-15 13:19:12 +01:00
Carsten "Tomcat" Book
f807b332df merge mozilla-inbound to mozilla-central a=merge 2017-03-15 13:12:42 +01:00
Carsten "Tomcat" Book
10f32bd039 Backed out changeset 56b09fa0748c (bug 1345375) on request from dao 2017-03-15 10:23:55 +01:00
Paavini Nanda
ae4cd41b10 Bug 1344854 - Enable flake8 rule F841: "local variable XXX is assigned to but never used". r=dexter 2017-03-14 15:34:42 +05:30
Paavini Nanda
eab7725f67 Bug 1344842 - Enable flake8 rule E261: "at least two spaces before inline comment". r=dexter 2017-03-14 00:46:08 +05:30
Paavini Nanda
187337cc20 Bug 1344840 - Enable flake8 rule E231: "missing whitespace after ','". r=dexter 2017-03-14 00:37:32 +05:30
Cervantes Yu
bd63b2000d Backed out changeset 9ba65a580135 (bug 1320134) for crashing webgl on Windows. r=backout 2017-03-15 12:41:49 +08:00
Cervantes Yu
8b1cde8577 Backed out changeset e91e04dadeb3 (bug 1320134) for crashing webgl on Windows. r=backout 2017-03-15 12:41:21 +08:00
flyingrub
317e205f62 Bug 1346739 - Update aboutTelemetry.js to async fucntion & await r=Dexter
Replaced all Task occurence by an async function

MozReview-Commit-ID: 1HjHtPRTkl7

--HG--
extra : rebase_source : a08ac1030ef93e97ed4228c129f6f4905d99ba42
2017-03-13 12:37:09 +01:00
Dave Townsend
b07766c78c Bug 1308981: Display system add-ons in a separate section in about:support. r=rhelmer
MozReview-Commit-ID: 3KYFz4pOXPT

--HG--
extra : rebase_source : af8d11916a39e36fa341652491d70daee2b71ae3
extra : amend_source : 8b75e4df6f4a9c3d05151a1260778c95188e1d8f
2017-03-09 15:44:40 -08:00
Henry Chang
3dc1381af2 Bug 1345922 - Avoid concurrent update and take the failed beginUpdate into account. r=francois
MozReview-Commit-ID: IfRIazBvAyl

--HG--
extra : rebase_source : 1dbd31d24e087c6f6ee6d45302facf744862c892
2017-03-10 00:47:26 +08:00
Federico Padua
ea6697c4ba Bug 1344841 - Enable flake8 rule E111: "indentation is not a multiple of four". r=Dexter
This patch enables flake8 rule E111: "indentation is not a multiple of four"
in toolkit/components/telemetry by removing the relative E111 entry from
toolkit/components/telemetry/.flake8 and fixing the files for which the E111
error was reported.

MozReview-Commit-ID: EOVcsllJNJK

--HG--
extra : rebase_source : 9cadb7d9214ed8f242bf6e6a30769c009a502b40
2017-03-13 19:38:01 +01:00
David Major
d1bf9bd2fd Bug 1345998: Clean up some unused libs and delayloads in xul.dll. r=glandium
MozReview-Commit-ID: 5VgLdt2esRY

--HG--
extra : rebase_source : 9197b09d2d27a5d38dec0a530afc30abe984481e
2017-03-14 22:23:52 +13:00
Blake Kaplan
4765dfb66d Bug 1345214 - Wait for the right pages to load. r=krizsa
Because we weren't waiting for the first, "about:blank" page to load, the first
`waitForLoad` could trigger for about:blank. Rather than add an additional
`waitForLoad` it's easier (and probably more future-proof) to just wait for
the right page to load.

MozReview-Commit-ID: DZsMnlgRTa

--HG--
extra : rebase_source : c0fc74368e744fb3e111f310ec98a0b964c23edd
2017-03-13 16:19:50 -07:00
Gijs Kruitbosch
cada9e9798 Bug 1344282 - add an insertTree API to Bookmarks.jsm, r=mak
MozReview-Commit-ID: 11kDAF4uo1u

--HG--
extra : rebase_source : ad27258510c68bf6d6eec79ce747b6b9331d41aa
2017-03-13 23:45:43 +00:00
Gijs Kruitbosch
c1503f1bc6 Bug 1344282 - prep: add a makeGuid method to nsINavHistory, r=mak
MozReview-Commit-ID: JKIjtcqyTzc

--HG--
extra : rebase_source : 81361b26314c8d94959b8894d50b126363625ee6
2017-03-13 22:22:57 +00:00
Michelangelo De Simone
dba1d4ddef Bug 1344903 - Renew Geo probes. r=bsmedberg
MozReview-Commit-ID: ElfvMH8tHPm

--HG--
extra : rebase_source : fa06a62b2c643baf1a784e5732e10b2e4229eff6
2017-03-06 13:54:51 -08:00
Kartikaya Gupta
c001ceb787 Bug 1343625 - Catch and gracefully handle div-by-zero exceptions in get_undecoratedNameEx. r=ted
MozReview-Commit-ID: KpQ3Gz53O6j

--HG--
extra : rebase_source : a2e95ff30374ed10a0e6e96a64d5d342bc82ca1b
2017-03-03 14:18:50 -05:00
Mike Hommey
9f7b6a9229 Bug 1345413 - Fallback to getpwuid() info when LOGNAME is not set when creating the XRemote mutex. r=froydnj
--HG--
extra : rebase_source : 31590f6dd7fc175f1e19627ad97a9a21ac6856c9
2017-03-14 14:11:55 +09:00
Jared Wein
47bca0c9c7 Bug 1345375 - Use the FullZoomChange event instead of browser-fullZoom observers since FullZoomChange works on MediaDocuments. r=dao
MozReview-Commit-ID: 9SYHLc2FluC

--HG--
extra : rebase_source : e0c8ebf58f73644ba17978afea72a3470df770d8
2017-03-14 19:58:38 -04:00
Jan Henning
9f53ad5f3c Bug 1344143 - Backing out changeset e07ec12de6c0 (Bug 1200494). r=mak
The Intl API is not being immediately enabled on Android Beta/Release after all, so we have to keep these fallbacks for the time being.

MozReview-Commit-ID: 1uWfTy58x3I

--HG--
extra : rebase_source : 5db81579d2ed1ab30487d2c5c401c55098862282
2017-03-05 12:43:42 +01:00
Mike Hommey
1b1fb10914 Bug 1346381 - Strip executables in the jsshell package. r=mshal
In bug 1335309, FileFinder was made to default to not find executables,
and zip.py was made to use the default instead. Which made sense for
most uses of zip.py, except for the jsshell package.

So we add a flag to make zip.py able to strip executable (which happens
when the FileFinder is made to find them), and use that flag for the
jsshell package only.

--HG--
extra : rebase_source : 0202f9acd5e6175d3790aaef026e18c6913cf0c6
2017-03-14 15:22:39 +09:00
Kirk Steuber
bae89898aa Bug 1345611 - Change behavior of subdocument Flash blocking to be Third-Party Flash blocking r=bsmedberg,qdot
The previous implementation regarding to the Flash Blocking Subdocument list blocked all subdocuments that matched the list. This patch changes that so that subdocuments are only blocked if they are on the Subdocument Block List and also are loaded in a Third-Party context.

The changes to cert8.db and key3.db add the https certificate for subdocument.example.com so that testing can verify that a scheme mismatch between the document and its parent results in a third-party classification.

MozReview-Commit-ID: IXnA4iPzB4y

--HG--
extra : rebase_source : 103c1e184d4219e6db9d00da1ea54674a0e216dd
2017-03-10 10:50:21 -08:00
Sebastian Hengst
827fd8b459 Backed out changeset 26389c6e73ff (bug 1341008) 2017-03-15 13:47:02 +01:00
Carsten "Tomcat" Book
7a55af51fb Merge mozilla-central to mozilla-inbound 2017-03-15 13:17:53 +01:00
Gabor Krizsanits
9f8f7ef83a Bug 1341008 - Use the preallocated process manager by default. r=billm, r=kmag 2017-03-15 12:59:23 +01:00
Tomislav Jovanovic
2ad8230ba4 Bug 1319070 - Test matching against the principal. r=kmag
MozReview-Commit-ID: LjuiizBh1OK
2017-03-15 10:06:43 +01:00
Wes Kocher
a3143372c0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1OlL1hP1bon
2017-03-17 11:13:31 -07:00
Jessica Jong
a162417a23 Bug 1301312 - Part 5: Handle input element's attribute change explicitly. r=smaug
MozReview-Commit-ID: AswWoeGasXZ

--HG--
extra : rebase_source : 10591d31c76a4745a9953cd944533cb2fd6940b4
2017-03-15 11:39:02 +08:00
Jessica Jong
24b91bfb0b Bug 1301312 - Part 4: Order fields in <input type=date> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: 42WjAsLImc6

--HG--
extra : rebase_source : 4ef3b7ab6bb07c744c6f36aa8511f1f9af5e3f0c
2017-03-06 14:45:14 +08:00
Jessica Jong
f5d74d5f13 Bug 1301312 - Part 3: Order fields in <input type=time> based on locale datetime format. r=gandalf,mconley
MozReview-Commit-ID: ALgurGjv3d0

--HG--
extra : rebase_source : ee5c56b1aaba09e2d7c23359df9396f186efb147
2017-03-06 14:44:22 +08:00
Jessica Jong
0b66175c10 Bug 1301312 - Part 2: Localize placeholders for <input type=time>. r=mconley
Use entities declared in DTD files so that lozalizers can fill in appropiate
placeholders for each locale.

MozReview-Commit-ID: 9KODExaDnDe

--HG--
extra : rebase_source : e6a9f27c68907aded0483028aee3a17744491a56
2017-03-06 14:43:23 +08:00
Jessica Jong
b4fc37baaf Bug 1301312 - Part 1: Localize AM/PM strings for <input type=time>. r=gandalf,mconley
MozReview-Commit-ID: 2QycAbnHmHv

--HG--
extra : rebase_source : cbbd9ce4ccebcf611d5ccd908536c107424e3fb4
2017-03-06 14:43:12 +08:00
clinton
25058aa91d Bug 1346208 - Remove B2G-specific code from Telemetry C++ modules r=gfritzsche
MozReview-Commit-ID: 3iU7OcHePno

--HG--
extra : rebase_source : 6d02da7370ff049ca787321eac84b16d2b236f63
2017-03-12 10:38:22 +11:00
Cervantes Yu
0f5d7dafd5 Bug 1320134 - Part 3: Annotate the crash report with TLS allocation stacks on running out of TLS slots. r=ted
MozReview-Commit-ID: 9BEe4G28Txd
2017-02-23 16:46:27 +08:00
Cervantes Yu
615a84813f Bug 1320134 - Part 2: Initialize and shutdown the TLS allocation tracker in the content process. r=froydnj
MozReview-Commit-ID: 2Pu9r1MV1e4
2017-03-16 14:06:35 +08:00
Timothy Nikkel
f088324ed2 Bug 1347302. Add animated image specific probes for several imagelib telemetry probes. r=aosmond f=bsmedberg 2017-03-23 00:02:54 -05:00
Michael Kaply
ffc5dfb2ca Bug 1336560 - Allow distributions to hide search engines. r=florian
MozReview-Commit-ID: 12lSpSPZTqm

--HG--
extra : rebase_source : e730773d36f449dee42d1c2509d3a79ea6add438
2017-03-09 11:22:54 -06:00
Sebastian Hengst
1f903636d0 Backed out changeset 8f55090db9e6 (bug 1338525) for eslint failure in toolkit/components/extensions/ExtensionUtils.jsm. r=backout 2017-03-16 20:53:09 +01:00
Sebastian Hengst
87d8dd6c56 Backed out changeset 1a4f971e5654 (bug 1338525) 2017-03-16 20:52:26 +01:00
Jim Porter
5e6b22bdde Bug 1346671 - Enable the no-useless-concat eslint rule in toolkit/ r=jaws
MozReview-Commit-ID: 1a422BiLEhK

--HG--
extra : rebase_source : a83b8d753e2a48593904ef0755d5517908588b93
2017-03-13 17:34:24 -05:00
Matthew Wein
5389303fdc Bug 1338525 - Add test coverage for theme validation r=mikedeboer
MozReview-Commit-ID: FLYMpceZYhA

--HG--
extra : rebase_source : cac4bdb6f11d0821cc4e3bfb7b8b875d02859f93
2017-03-09 16:56:46 -05:00
Matthew Wein
bb56bb5645 Bug 1338525 - Add schema validation for webextension themes r=mikedeboer,mossop
MozReview-Commit-ID: 3QjDrTeMKH0

--HG--
extra : rebase_source : e487b3a12d3645de5f846305ae7b99532d15dcc5
2017-03-10 14:45:50 -05:00
Sebastian Hengst
8b715d46ad Backed out changeset ff2306d8e07f (bug 1329111) for lacking a semicolon in devtools/server/performance/profiler.js. r=backout 2017-03-16 20:00:34 +01:00
Sebastian Hengst
333c2025c4 Backed out changeset 01b927dcb4af (bug 1336560) for failing eslint in test_sync_disthidden.js (semicolon too many). r=backout 2017-03-16 19:59:04 +01:00
Michael Kaply
f218fc24cc Bug 1336560 - Allow distributions to hide search engines. r=florian
MozReview-Commit-ID: 12lSpSPZTqm

--HG--
extra : rebase_source : c59b686db171dd3311134f824ed6782c2a4435b1
2017-03-09 11:22:54 -06:00
Markus Stange
c76fa9b925 Bug 1329111 - Rename SharedLibraryInfo::mName to mModuleName, and consistently cut off the path on all platforms. r=marco
MozReview-Commit-ID: 8gqqVjTjy1Z

--HG--
extra : rebase_source : 646340086cd46fe023495bfca140e859c98a5205
2017-03-14 17:07:43 -04:00
Sebastian Hengst
faa0ef84d0 Backed out changeset ec6261d6fe47 (bug 1343821) for failing browser_parsable_css.js | missing chrome://global/skin/arrow/arrow-lft-hov.gif referenced from chrome://global/skin/arrow.css. r=backout 2017-03-14 18:44:24 +01:00
Sebastian Hengst
c68fba9429 Backed out changeset 3550fcaeae31 (bug 1344926) for eslint failures. r=backout 2017-03-14 17:56:04 +01:00
Sebastian Hengst
bddc0f89eb Backed out changeset 5cbd00cc8a95 (bug 1344926) 2017-03-14 17:55:37 +01:00
Mike de Boer
a0f866cb8d Bug 1344926 - add a regression test to make sure themes are persisted across windows using the Theming API. r=mossop
MozReview-Commit-ID: BYatMSNBLiX

--HG--
extra : rebase_source : 40b04bc336a38c4bf5d20bbddc85fb5f350fa10f
2017-03-14 13:46:46 +01:00
Mike de Boer
fdb6b88228 Bug 1344926 - make sure that WebExtension theme data is persisted across windows when they open and image data is persisted to disk as well. r=mossop
MozReview-Commit-ID: 8ptioknMQ8r

--HG--
extra : rebase_source : d88dc44acfc6f1506960b8dcb80f2110adfcf265
2017-03-14 13:29:33 +01:00
Mike de Boer
7ea0ef11e5 Bug 1343821 - remove Dynamic Skin Switching (DSS) support. r=mossop
MozReview-Commit-ID: 6KpCLiu4aUf

--HG--
extra : rebase_source : a6f178a89665480fdae7eadcffb0a1bb28ee2fa7
2017-03-14 17:00:29 +01:00
Carsten "Tomcat" Book
665079ba07 Backed out changeset 48c4281a7308 (bug 1343821) for eslint failures 2017-03-14 16:57:11 +01:00
Mike de Boer
51f74c0207 Bug 1343821 - remove Dynamic Skin Switching (DSS) support. r=mossop
MozReview-Commit-ID: 5kMWOGTsD2P

--HG--
extra : rebase_source : 3ebb47fe33286d0c144114d69b76cd8ea60d57da
2017-03-14 15:51:22 +01:00
Iris Hsiao
25b734e893 Backed out changeset 140374af2570 (bug 1341531) for build bustage 2017-03-22 15:52:39 +08:00
Kartikaya Gupta
301e315b2f Bug 1342450 - Extract a MOZ_ENABLE_WEBRENDER from MOZ_BUILD_WEBRENDER so that we build but disable by default. r=rhunt,froydnj,ted
This adds back a MOZ_ENABLE_WEBRENDER define, which only controls whether or
not WebRender is enabled at runtime. The default behaviour is changed so that:
- if the user specifies --disable-webrender in the mozconfig, WebRender is
  neither built nor enabled
- if the user specifies --enable-webrender in the mozconfig, WebRender is
  built and enabled
- if the user specifies --enable-webrender=build in the mozconfig, WebRender is
  built but not enabled, except on Android where it is neither built nor enabled
- if the user doesn't specify any of the above, the default behaviour is:
  - on nightly/local builds, the same as --enable-webrender=build
  - on other channels (e.g. aurora), the same as --disable-webrender

The net effect is that local/Nightly-automation builds will have WebRender
built-in but not enabled where possible (i.e. not Android). However the user
can override this behaviour via mozconfig options to either not build WebRender
at all, or to enable it in addition to building it.

MozReview-Commit-ID: IM7DdSHkIB
2017-03-22 17:38:09 -04:00
Kartikaya Gupta
b215cfd1e1 Bug 1342450 - Rename MOZ_ENABLE_WEBRENDER to MOZ_BUILD_WEBRENDER. r=rhunt
MozReview-Commit-ID: 3GkmCJJq8et
2017-03-22 17:36:25 -04:00
Gabriele Svelto
1ab1c1e41b Bug 1322611 - After a crash compute the SHA256 hash of a minidump and attach it to the crash ping; r=Ted, nchen
This patch changes the crashreporter client code as well as the crash service
code to compute a SHA256 hash of a crash' minidump file and add it to the
crash ping. The crash service code computes the hash on the fly before handing
over the crash to the crash manager; the crash manager will then add it to the
crash ping. The crashreporter client on the other hand sends the hash via the
ping it generates but it also adds it to the event file so that the crash
manager can pick it up and send it along with its own crash ping. On Fennec
the crashreporter activity takes care of computing the hash.

SHA256 hash computation uses nsICryptoHash in the crash service, the
java.security.MessageDigest class in Fennec, the bundled NSS library in the
crashreporter when running on Windows and Mac and the system-provided NSS
library under Linux. The latter is required because the crashreporter client
uses the system curl library which is linked to NSS and which would thus clash
with the bundled one if used together.

This patch introduces two new methods for the nsICrashService interface:
|getMinidumpForID()| and |getExtraFileForID()|, these reliably retrieve the
.dmp and .extra files associated with a crash and ensure the files exist
before returning. These new methods are used in the CrashService for
processing and will become the only way to reliably retrieve those files
from a crash ID.

MozReview-Commit-ID: 8BKvqj6URcO

--HG--
extra : source : a4d8291c56fcde00238ab3166bbe6af6dd602340
2017-02-16 07:36:57 +01:00
Jonathan Kingston
49113725c4 Bug 1341191 - Fix messaging priv escalation of feed reader, simplify messaging from parent to child. Reduce race conditions on page. r=Gijs 2017-03-19 06:29:17 +00:00
Saghan
ebd9e78f82 Bug 1337025 - Add event listener to command event which will be triggered when x button is clicked and repopulate the list. r=jaws 2017-03-16 15:58:31 -07:00
Ganesh Chaitanya Kale
f7f866f2f8 Bug 1342370 - Remove focus ring from common.css as its already in global.css. r=dao
--HG--
extra : rebase_source : d853cd4455b3fedb1610e016bf58dbae0df5bce6
2017-03-20 22:20:50 +05:30
djmdev
6e08d9cb2a Bug 1344737 - Update TelemetrySession.jsm to async function & await. r=chutten
Updated Task.async, Task.spawn and yield to async and await.
2017-03-12 11:31:38 +05:30
srivatsav
769531c22a Bug 1343497 - Remove the unused .eslintrc.js. r=standard8 2017-03-21 19:16:09 +05:30
Edmund Wong
f2596e1f77 Bug 1345422 - Do not hardcode the sfx package and installer path. r=mshal 2017-03-22 08:52:35 +08:00
Wes Kocher
3c092e1002 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GjXiiENYBmx
2017-03-21 16:20:08 -07:00
Wes Kocher
8fb7d84cb4 Merge inbound to central, a=merge
MozReview-Commit-ID: FKkx5SygvHz
2017-03-21 16:08:32 -07:00
Wes Kocher
9eb6c49efc Backed out 2 changesets (bug 1345894) for build bustage a=backout CLOSED TREE
Backed out changeset 6ad5c0f245e2 (bug 1345894)
Backed out changeset ec18ee811b9a (bug 1345894)

MozReview-Commit-ID: 3uonLJOmEAC
2017-03-21 14:35:19 -07:00
Sebastian Hengst
c170e098a2 Bug 1345894 - Set expiry for plugin notification/infobar telemetry and make it opt-out for monitoring Flash CTP rollout: Follow-up: Remove histograms from whitelist of email-less histograms. r=bustage-fix on a CLOSED TREE 2017-03-21 22:25:16 +01:00
Michael Layzell
838290fd27 Bug 1337056 - Part 12: Send down permissions when calling createAboutBlankContentViewer, r=baku
MozReview-Commit-ID: LigZnHM34CC
2017-03-21 11:08:03 -04:00
Carsten "Tomcat" Book
97f79397b6 Merge mozilla-central to mozilla-inbound 2017-03-21 12:07:49 +01:00
Paavini Nanda
54f2ad4b81 Bug 1344852: Enable flake8 rule W602: "deprecated form of raising exception". r=dexter 2017-03-15 17:18:52 +05:30
Benjamin Smedberg
c1bb92210f Bug 1345894 - Set expiry for plugin notification/infobar telemetry and make it opt-out for monitoring Flash CTP rollout, data-r=rweiss
MozReview-Commit-ID: IiEc3BOKeP4

--HG--
extra : rebase_source : 2adfa330e7da75ed73007e8296ac12f3fb60daa1
2017-03-09 10:31:52 -05:00
Gabriel Luong
e9fdc9819a Bug 1347552 - Part 2: Added missing alert_emails and bug_numbers fields to DEVTOOLS_LAYOUTVIEW_TIME_ACTIVE_SECONDS telemetry. r=me 2017-03-21 15:22:24 -04:00
Gabriel Luong
1870ffbc60 Bug 1347552 - Add telemetry for the Layout panel. r=sole, bsmedberg 2017-03-21 15:06:44 -04:00
Jan Henning
1d3de902a3 Bug 1345460 - Implement FX_SANITIZE telemetry on Android. r=liuche
To gauge the impact of bug 1343995 on perceived shutdown times, we want to measure how long sanitising actually takes in practice on Android.

MozReview-Commit-ID: 3gSfT8IoO70

--HG--
extra : rebase_source : 19ffdfbf1005ae4beebaa0c9d8befea31e1aa01f
2017-03-08 20:17:06 +01:00
Wes Kocher
cdf08f2266 Bug 1318070 - Make sure multi-word queries are rejected when keyword.enabled is false r=mak
MozReview-Commit-ID: 6kMU2oTy456

--HG--
extra : rebase_source : 26632a932b17bccd3da318dcbf0a45323acf71ae
2017-03-21 10:57:20 -07:00
Wes Kocher
2f3bcc34da Backed out changeset 13b38cd29a4a (bug 1318070) for esline failures a=backout
MozReview-Commit-ID: E0ZlNYhDh76

--HG--
extra : rebase_source : c0bc81f4538dc0b68fef8949d8a7af8de7133373
2017-03-21 10:56:11 -07:00
Dão Gottwald
8eea1711e2 Bug 1348574 - Clean up .autocomplete-richlistitem styling. r=mak
MozReview-Commit-ID: K1jZgM7iFos

--HG--
extra : rebase_source : 2239a385efb3b3447789b3e0cbb455d5d47863f3
2017-03-18 16:42:22 +01:00
Wes Kocher
71da49f05f Bug 1318070 - Make sure multi-word queries are rejected when keyword.enabled is false r=mak
MozReview-Commit-ID: 6kMU2oTy456

--HG--
extra : rebase_source : c666a23fb21326ba97ce665098240c9bf542553e
2017-03-19 00:26:07 -07:00
Kit Cambridge
86c183ce61 Bug 1348995 - Squelch tagItem errors for synced bookmarks without tags. r=markh
MozReview-Commit-ID: 4n33m67Iyaf

--HG--
extra : rebase_source : a5fed5ebe652630727e87808e24b0c08c2e1c6cd
2017-03-20 15:04:21 -07:00
Dão Gottwald
30e2bfc300 Bug 1349137 - Consolidate button color rules. r=johannh
MozReview-Commit-ID: BS5WuQy7ykN

--HG--
extra : rebase_source : 94f0da4067fc687c6fad46a7ee0a39e7bed4b21b
2017-03-21 09:44:37 +01:00
Tomislav Jovanovic
75553c637f Bug 1347700 - Test async loading of content scripts. r=kmag 2017-03-19 17:24:25 +01:00
Richard Marti
3e464b85ce Bug 1348137 - Remove border and background fallback styling from statusbar. r=dao 2017-03-18 11:54:12 +01:00
djmdev
0780f28d42 Bug 1346714 - Consolidated session change throttling intervals. r=gfritzsche
Used MIN_SUBSESSION_LENGTH_MS in both places.
2017-03-15 21:09:15 +05:30
Gregory Moore
7acf827c12 Bug 1120409 - nsITelemetry.histogramSnapshots will no longer return keyed histograms. r=gfritzsche 2017-02-22 14:53:56 -08:00
Wes Kocher
6d2e245da8 Backed out changeset 5bbf6972b904 (bug 1235982) for landing prematurely a=backout
MozReview-Commit-ID: Fy7NwUoMipw
2017-03-15 14:00:47 -07:00
Wei-Cheng Pan
60a694bdf1 Bug 1341531 - Measure input event dispatching latency. (*_EVENT_RECEIVED_MS) r=smaug
This patch measures the time from an input event creation, to it been
dispatched to PresShell, but just before any handler been executed.

MozReview-Commit-ID: 6ZYra7YYICY

--HG--
extra : rebase_source : fb864ab2ec7af3d59f4a4ccf52667f34dcd588d6
2017-02-08 15:11:53 +08:00
Kit Cambridge
9396a7d76b Bug 1349630 - Optimize PlacesSyncUtils.bookmarks.havePendingChanges. r=tcsc
MozReview-Commit-ID: Iw8Q2ZB7mvL

--HG--
extra : rebase_source : 0c2e75b11de955c7b74bcd1a7c24022b32129236
2017-03-22 11:42:44 -07:00
Andrew McCreight
6ef88099be Bug 1349389 - Lazily load osfile.jsm in telemetry. r=gfritzsche
Also, avoid two entirely unused imports.

This avoids loading the various osfile jsms at startup.

The additional shim method for sysinfo is needed in
test_TelemetryEnvironment.js because delaying the intialization of
osfile results in loading osfile_shared_allthreads.jsm after the shim
sysinfo has been added, which initializes
Ci.nsIOSFileConstantsService, which calls into sysinfo in
InitOSFileConstants().

MozReview-Commit-ID: D7IWk20TRt1

--HG--
extra : rebase_source : cf820b1ed72a78ff34e99d2129401c4806a68175
2017-03-21 14:55:39 -07:00
Alfredo.Yang
33f2386cd8 Bug 1349133 - Update mp4 rust parser. r=kinetik
MozReview-Commit-ID: JDKFUsJBpS9

--HG--
extra : rebase_source : 4c7f569dbafb3b34c485cbf0c35177d27579455c
2017-03-22 09:53:58 +08:00
Bobby Holley
ca0f202c0c No bug - Update parking_lot_core and revendor to remove duplicate version of smallvec. r=me
MozReview-Commit-ID: 6B2hp9CLs2z
2017-03-22 17:51:49 -07:00
Servo VCS Sync
c280467718 No bug - Revendor rust dependencies 2017-03-23 00:12:40 +00:00
Wei-Cheng Pan
4c78d0812e Bug 1341531 - Measure input event dispatching latency. (*_EVENT_RECEIVED_MS) r=smaug
This patch measures the time from an input event creation, to it been
dispatched to PresShell, but just before any handler been executed.

MozReview-Commit-ID: 6ZYra7YYICY

--HG--
extra : rebase_source : 019521545132e72113a87c06cfbe562a9915522d
2017-02-08 15:11:53 +08:00
Mark Banner
3dffe30808 Bug 1348954 - Html5-video controls do not hide when in fullscreen. r=ralin
Undo incorrect change from bug 1341029, and tell ESLint about how Utils is 'global' to some of the videocontrols.xml event listeners.

MozReview-Commit-ID: 9ItMIzwYhEj

--HG--
extra : rebase_source : 4ea996771c00e25e7e33063cfb56cf19c2cf059a
2017-03-21 17:17:49 +01:00
Servo VCS Sync
686ce29141 No bug - Revendor rust dependencies 2017-03-22 06:17:28 +00:00
Jessica Jong
28c686a81c Bug 1347069 - [DateTimeInput] (l10n) 12/24hr format for <input type=time> based on locale. r=mossop
MozReview-Commit-ID: 1QJig3ZTV7R

--HG--
extra : rebase_source : f5f0f90ceb2644573ac9733f1bbab86df534e4f0
2017-03-21 11:11:10 +08:00
Ray Lin
6658469733 Bug 1347673 - Visibility state of extra video control buttons should be recalculated each time the video controls are adjusted. r=jaws
MozReview-Commit-ID: Lj7kttJ9skU

--HG--
extra : rebase_source : 36c34c64c344b163f09290e656f24f0dd5cb75a0
2017-03-16 18:19:56 +08:00
Wes Kocher
9a54a919a0 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2LT2oEKZno8
2017-03-21 16:20:49 -07:00
Jared Wein
2905dc199f Bug 1348617 - Use the alpha channel of custom styled select backgrounds by applying the requested color on top of the system's background. r=mossop
This matches parity with Google Chrome Canary Version 59.0.3046.0 (Official Build) canary (64-bit).

MozReview-Commit-ID: 3rkhiFv8ezX

--HG--
extra : rebase_source : 3cb05e6c1e048bab4c7573bd050ea7477fc128fb
2017-03-21 10:51:40 -04:00
Thom Chiovoloni
130ff3a299 Bug 1345754 - Skip sync bookmark repair and validation if we have pending changes r=markh
MozReview-Commit-ID: ClQRXGZGV9p

--HG--
extra : rebase_source : 4ae8ead7a9121dc383fcfc5ebf757f44e46f5679
2017-03-14 14:26:20 -04:00
Kate McKinley
9292c5c42f Bug 1340021 - Collect better data regarding internet health on Release r=bsmedberg,chutten data-review=bsmedberg
MozReview-Commit-ID: EGXiN1B0od

--HG--
extra : rebase_source : 41c038bfcf8e4e874caa826c793f9f7fe8632b62
2017-02-16 13:52:43 +09:00
Mike Shal
e465a1480d Bug 1342233 - Fix unit-symbolstore.py in cross-OSX builds; r=ted
MozReview-Commit-ID: IElpHBVxDok

--HG--
extra : rebase_source : e805527da89e7262bad8019dfed901b7e9737320
2017-03-01 10:44:53 -05:00
Mike Shal
1d7ddb723e Bug 1342233 - Skip hg test in unit-symbolstore.py for git users; r=ted
MozReview-Commit-ID: DQDBsD7q9Wf

--HG--
extra : rebase_source : f072767828ea367047ef2f4bc82b1fda8d172d51
2017-03-02 15:12:42 -05:00
Mike Conley
c025960099 Bug 1340842 - Add FX_TAB_CLOSE_PERMIT_UNLOAD_TIME_MS probe to measure how long it takes to run permitUnload on a tab when asked to close. r=liuche,mossop, data-review=liuche
MozReview-Commit-ID: 1qvhY6g2p9w

--HG--
extra : rebase_source : ba7c043ac4720dadfcbee7d1e7957fa4dc13753f
2017-03-16 15:46:15 -04:00
Mike Conley
f2e31c6833 Bug 1340842 - Add FX_TAB_CLOSE_TIME_ probes to measure how long it takes for tabs to close. r=liuche,mossop, data-review=liuche
We're adding histograms for both animated tab closing and non-animated tab closing to
avoid a needlessly bi-modal histogram.

MozReview-Commit-ID: J4MzsiwaLcT

--HG--
extra : rebase_source : 82433a160ec8b0e3810758146113f7d0b770857b
2017-03-16 15:40:25 -04:00
Mike Conley
d22305bcce Bug 1340842 - Add argument to TelemetryStopwatch that allows us to suppress warnings when finishing previously canceled stopwatches. r=Dexter
MozReview-Commit-ID: Ck340qvxdZp

--HG--
extra : rebase_source : ee0d4095a023e30f309063c4b75d6d0e56dea06e
2017-03-17 11:21:40 -04:00
Jared Wein
a54eda04ca 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

--HG--
extra : rebase_source : 61d2aa91bf9474af3d72a5dea41b25dca442c1b7
2017-03-21 14:29:43 -04:00
Zibi Braniecki
3d91da8726 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 513ed31d995864939aa893e73c81ffdf591a6617
2017-03-14 16:09:54 -07:00
Sebastian Hengst
0a04f3b9e2 Backed out changeset cc308a73ad05 (bug 1347314) for eslint failure in test_device.html. r=backout 2017-03-22 18:20:26 +01:00
Zibi Braniecki
c2cd68a689 Bug 1347314 - Migrate calls to ChromeRegistry::GetSelectedLocale to use LocaleService::GetAppLocale. r=jfkthame,Pike
In cases, where the caller is looking for the locale to be used for JS Intl API,
we can now replace it with `undefined` which causes JS Intl API to use the default
locale which since bug 1346674 is resolved to the app locale.

This allows us to remove a lot of calls for the app locale.

The remaining ones are split between `AsBCP47` and `AsLangTag`.
Here, the `AsLangTag` is used, as described in the API docs, for cases where
the language string is used for localization purposes, such as language negotaition
matching to our language resources etc.
`AsBCP47` is used when the returned value is handed over to ICU API.

MozReview-Commit-ID: DzmFEUvMq3N

--HG--
extra : rebase_source : 13fa4c397ba4c79303a2cd76684b5b8c4bd17331
2017-03-14 16:09:54 -07:00
Alessio Placitelli
bb31886ff5 Bug 1348748 - Implement telemetry experiment annotations to TelemetryEnvironment.jsm. r=gfritzsche
MozReview-Commit-ID: KCb8MrWh4Rt

--HG--
extra : rebase_source : ca51eb4341246e48732488db7b9e897cc594d793
2017-03-20 10:54:46 +01:00
tiago
7070fa0cb7 Bug 1347248 - Change "nonexistent" for null and query to use CASE WHEN r=mak
MozReview-Commit-ID: I41bOputlIq

--HG--
extra : rebase_source : ddf42e571c34313aa4dca8838dacf801fbfbfe93
2017-03-20 02:03:02 +01:00
Carsten "Tomcat" Book
e05881a009 Backed out changeset 6a68273665f6 (bug 1340842) for test failures in browser_bookmark_all_tabs.js 2017-03-22 16:40:47 +01:00
Carsten "Tomcat" Book
244eda4665 Backed out changeset a983c5ce4bc3 (bug 1340842) 2017-03-22 16:40:06 +01:00
Carsten "Tomcat" Book
73d1f94d1b Backed out changeset d24bb78a585c (bug 1340842) 2017-03-22 16:39:55 +01:00
Carsten "Tomcat" Book
4fc85d9151 Merge mozilla-central to autoland 2017-03-22 16:11:34 +01:00
Subhdeep Saha
1def5ec900 Bug 1344743 - Update TelemetryStorage.jsm to async function & await. r=Dexter
MozReview-Commit-ID: 7stlyHefdbr

--HG--
extra : rebase_source : aacdcc046fe3766e1364a5c6c525957896139696
2017-03-10 14:59:49 +05:30
Mike Conley
24a91cd47a Bug 1340842 - Add FX_TAB_CLOSE_PERMIT_UNLOAD_TIME_MS probe to measure how long it takes to run permitUnload on a tab when asked to close. r=liuche,mossop, data-review=liuche
MozReview-Commit-ID: 1qvhY6g2p9w

--HG--
extra : rebase_source : e15683ef3c294e616f0809a775b135477af6357e
2017-03-16 15:46:15 -04:00
Mike Conley
ef4d10758a Bug 1340842 - Add FX_TAB_CLOSE_TIME_ probes to measure how long it takes for tabs to close. r=liuche,mossop, data-review=liuche
We're adding histograms for both animated tab closing and non-animated tab closing to
avoid a needlessly bi-modal histogram.

MozReview-Commit-ID: J4MzsiwaLcT

--HG--
extra : rebase_source : 8e5de38c9687f0645e04713de2c95e0f3e2e8eb5
2017-03-16 15:40:25 -04:00
Mike Conley
d5bad6c8d0 Bug 1340842 - Add argument to TelemetryStopwatch that allows us to suppress warnings when finishing previously canceled stopwatches. r=Dexter
MozReview-Commit-ID: Ck340qvxdZp

--HG--
extra : rebase_source : 244bcb2a84aacdaaaab1e238d6ac3922c9c7f221
2017-03-17 11:21:40 -04:00
Gijs Kruitbosch
48a5a85796 Bug 1349529 - fix newChannel implementation of moz: protocol handler, r=mayhemer
MozReview-Commit-ID: J02XkP2ZFir

--HG--
extra : rebase_source : 5105fad71cd8b80bd6c7aa29a9c42fcb69671ecc
2017-03-22 12:43:46 +00:00
Henry Chang
c6fa23934d Bug 1348626 - Retry when isPinged() failed to avoid false alarm. r=francois
MozReview-Commit-ID: BOdJZReICxZ

--HG--
extra : rebase_source : 16e0b0b1a65d0bc1249ff0583947acd39defb5d9
2017-03-19 15:52:25 +08:00
Sébastien Blin
ccc234ac92 Bug 1298321 - Refactor tests related to getHash. r=francois 2017-01-17 07:03:00 -05:00
Kris Maglione
34d1c8e0d9 Bug 1346607: Begin speculative preload of popups on hover. r=mixedpuppy
Ideally we'd try to detect hover intent here, but the preload is relatively
cheap, so I don't think we have much to lose by starting out simple.

MozReview-Commit-ID: 7pjiohGMJVc

--HG--
extra : rebase_source : 90659e21d5165fef69735d1f746fd89b9d792365
2017-03-11 19:05:09 -08:00
Iris Hsiao
106889c6f6 Backed out 9 changesets (bug 1333482) for stylo test failures and this should be landed to autoland
Backed out changeset d8828e22dbaa (bug 1333482)
Backed out changeset a39aaecd10f7 (bug 1333482)
Backed out changeset c957d8c0281e (bug 1333482)
Backed out changeset d569fc566e43 (bug 1333482)
Backed out changeset 7e8c03090d34 (bug 1333482)
Backed out changeset c4511a175f2f (bug 1333482)
Backed out changeset 5483a82f7ce9 (bug 1333482)
Backed out changeset 4e7e5efb1bd8 (bug 1333482)
Backed out changeset 51d1accaeddb (bug 1333482)
2017-03-24 10:21:30 +08:00
Nicholas Nethercote
bcac800a39 Bug 1346132 (part 1) - Initialize Mozilla logging earlier in nsAppRunner.cpp. r=erahm.
The following functions all call NS_LogInit() (either directly or via
ScopedLogging) and then call LogModule::Init() very shortly after:
XRE_InitChildProcess(), NS_InitXPCOM2(), NS_InitMinimalXPCOM(),
XRE_XPCShellMain().

XREMain::XRE_main() does not, however. This prevents us from using MOZ_LOG
easily in the profiler, because the profiler starts up earlier than logging in
the browser.

This patch adds an early LogModule::Init() to XRE_main(), just after the
NS_LogInit().

--HG--
extra : rebase_source : c25fc891da78755e2f38f4dc672d503734990c47
2017-03-10 18:55:40 +11:00
Wes Kocher
1d9dc01136 Merge m-c to inbound, a=merge
MozReview-Commit-ID: HwfVdTF9Np5
2017-03-23 16:55:48 -07:00
Mats Palmgren
53c393f0ba Bug 1333482 part 5 - [css-ui] Enable '-moz-appearance' support for some tests. r=dholbert
* * *
[mq]: sssssssss

MozReview-Commit-ID: 4wgnjld1rDt
2017-03-23 23:13:18 +01:00
Mats Palmgren
c0c0e154ea Bug 1333482 part 4 - [css-ui] Amend all uses of '-moz-appearance:none' in tests to also specify 'appearance:none' (automated change). r=dholbert
MozReview-Commit-ID: BNOR5VRpV2E
2017-03-23 23:13:18 +01:00
Blake Kaplan
7afdcb473a Bug 1346286 - Remove CPOWs from browser_findbar.js. r=Felipe
MozReview-Commit-ID: ASJgY0cKnHq

--HG--
extra : rebase_source : bfa01fc4f88c96085b646f8ac624eb3a9d7c0623
2016-11-11 14:21:55 -08:00
Sam Foster
e7750a3e51 Bug 1346280 - Use --focus-ring-box-shadow in place of @focusRingShadow@/@yosemiteRingFocusShadow@ in osx theme. r=Gijs
* replace use of @focusRingShadow@ with the CSS variable in toolkit osx theme and browser theme files
* remove redundant @media blocks as --focus-ring-box-shadow is already mac-theme specific
* fix focus style for tabprompt buttons (alert buttons)
* fix focus style for notification anchor icons

MozReview-Commit-ID: EFAMwSbwdGX

--HG--
extra : rebase_source : 9b33c5dc2d2e0c00e983f2c64a9f902f9947cfd6
2017-03-15 12:44:40 -07:00
Carsten "Tomcat" Book
f705380b06 Merge mozilla-central to autoland 2017-03-16 15:45:10 +01:00
flyingrub
7e81deb06e Bug 1346812 - Use standard pad functions in aboutTelemetry.js r=gfritzsche
MozReview-Commit-ID: 7S3tUVvoKsv

--HG--
extra : rebase_source : 2355fbfc767ee6cde61b79269105455301d96335
2017-03-13 16:12:00 +01:00
Sebastian Kaspari
074e92e4fe Bug 1348820 - Remove MOZ_ANDROID_ACTIVITY_STREAM build flag. r=Grisha
This flag wasn't used in the build system anyways. It was used to hide early builds of the
new Activity Stream UI. However this is now going to be controlled by Switchboard experiments.

MozReview-Commit-ID: Dfzw9YGgHkN

--HG--
extra : rebase_source : 2ecd3fb18a237f0de8e7d4752d69de568c062310
2017-03-20 14:31:33 +01:00
Marco Bonardo ext:(%20%3Cmbonardo%40mozilla.com%3E)
6ed7963bc1 Bug 1306276 - Deprecate History RemovePage and RemovePages. r=standard8
MozReview-Commit-ID: 3NSaXKy1hP3

--HG--
extra : rebase_source : da03f694db3b690cfceba3a7a6c62832b8b1930c
2017-03-22 12:44:54 +01:00
Benjamin Smedberg
0baf047002 Bug 1345894 - Set expiry for plugin notification/infobar telemetry and make it opt-out for monitoring Flash CTP rollout, data-r=rweiss
MozReview-Commit-ID: IiEc3BOKeP4

--HG--
extra : rebase_source : 9334a980869121c06ba8a938bef64d471977f348
2017-03-21 17:27:38 -04:00
Johann Hofmann
12e669a84e Bug 1349562 - Fix slight outline on popup notification buttons. r=jkt
MozReview-Commit-ID: I5ZA1ykGHvp

--HG--
extra : rebase_source : e0e840d206bf1e719d72d2d48c0538e6dea35754
2017-03-22 15:17:43 +01:00
Carsten "Tomcat" Book
187105652e Merge mozilla-central to autoland 2017-03-23 13:59:20 +01:00
dimi
b512891a41 Bug 1338033 - Remove URLCLASSIFIER_PREFIX_MATCH. r=francois
URLCLASSIFIER_PREFIX_MATCH is replaced by URLCLASSIFIER_FULL_MATCH(Bug 1311931)
so it should be removed.

MozReview-Commit-ID: 4F1B07bGwRP

--HG--
extra : rebase_source : 2d3e5cda14df4e874bf31145ccb5330acec369f7
2017-03-22 17:27:11 +08:00
Andrew Swan
67cfafeffb Bug 1342142 Part 1 Toolkit test cleanups r=mossop
Fixed various issues related to webextension install prompts in tests:
- Some existing tests install extensions from the about:addons search
  page, but when about:addons is run in its own top level window, these
  tests fail since there is no location bar to anchor notifications to.
  Given the mostly unsupported nature of running about:addons in its
  own top level window, this patch just takes the easy way out and skips
  running those tests in window mode.
- Fix tests that might generate prompts to acknowledge them if they
  are enabled.
- Update the test for mozAddonManager.permissionPromptsEnabled to properly
  handle the case where prompts are on by default.

MozReview-Commit-ID: AdPmhGfB33o

--HG--
extra : rebase_source : e6de243272ce59489ff2dc2f8811202d97371607
2017-03-22 13:46:29 -07:00
Tom Ritter
db3ff2c559 Bug 1235982 Add CFG to firefox.exe and mozglue, and a mochitest to ensure a crash r=glandium,mconley
MozReview-Commit-ID: 1XnHH3NeGnJ

--HG--
extra : rebase_source : 3bbf02779cb4ee0a04dcea851fe81a96faec2494
2017-03-15 11:14:22 -05:00
Markus Stange
06725985a4 Bug 1346122 - Extend expiration of TIME_TO_NON_BLANK_PAINT_MS to version 60. r=bsmedberg
MozReview-Commit-ID: 4fIaDaI5PNG

--HG--
extra : rebase_source : 5ce8b903214c2c96c9c005c7505851c9d5c9f814
2017-03-14 19:31:11 -04:00
Paul Yang
8d0339f0a5 Bug 1272113: Packaging awsy in build job r=jmaher
MozReview-Commit-ID: 9VhsVIaaWqt

--HG--
extra : rebase_source : ce4768033b0f3a912be9790b5ebe06fa6a2a0803
2017-03-11 02:33:19 +08:00
Jared Wein
954ab4d3e2 Bug 1347089 - Force translucent and transparent select backgroundColors to opaque to match parity with other browsers. r=mossop
Previously we were respecting the webpages request to show a translucent background on popups, though it now seems that content didn't actually
want a translucent background. After comparing with Chrome, I see that they remove the alpha channel and always show the background color as
fully opaque. This patch also fixes a related bug where the background-color may have been set to a transparent color (not rgba(0, 0, 0, 0)) and
we would show the popup as transparent. This is now fixed with this patch as well.

MozReview-Commit-ID: KqDtvI0zwqP

--HG--
extra : rebase_source : 865bbcd9890997cb0c21f20132a0f033c5c365e4
2017-03-14 14:43:00 -04:00
Jan Henning
08bbf2a6e2 Bug 1341417 - Using aFromIdx should skip SHEntry serialisation, not just throw the data away afterwards.r=mikedeboer
When calling SessionHistory.collect(), we can indicate that we're not interested in the first N (where N = aFromIdx + 1) session history entries, with N potentially being a very big number if we don't want any SHEntries at all and are just interested in updating the value of the current history index.

Currently, we always serialise all available SHEntries and then throw away the first N entries, which is wasteful - instead, we should just skip them right away.

We still need to keep track how many entries we actually skipped and how many we could have collected if we wanted to, so
- we can correctly clamp data.index
- if we end up with no entries, figure out whether we simply skipped all of them or else need to create a fallback entry.

MozReview-Commit-ID: DjHnnhK0M9L

--HG--
extra : rebase_source : 510027ecbc18b921c7a7fa5824466113b04057a5
2017-02-21 21:42:08 +01:00
Jared Wein
26d9d12ace Bug 1346440 - Force the user-agent styles to apply when sampling the colors. r=mossop
Styles defined by the pages were getting applied to the dummy option and select, causing the wrong colors to be reported as the user-agent defaults.

MozReview-Commit-ID: 6rQy71hwzy6

--HG--
extra : rebase_source : 0e474bc25303af7b481a559a688932aa50b1c891
2017-03-13 15:01:25 -04:00
Mike de Boer
6867449576 Bug 1343821 - remove Dynamic Skin Switching (DSS) support. r=mossop
MozReview-Commit-ID: AaNrFU2DZOm

--HG--
extra : rebase_source : b18c648768efa817cf424e7d0a1f4580246006f7
2017-03-15 12:15:16 +01:00
Alessio Placitelli
7ee9e36751 Bug 1333128 - Make the pingsender compress the outgoing ping with gzip. r=chutten,gsvelto
This also adds a 'Date' header and a custom version header for the pingsender.
It additionally makes sure that the Windows implementation fails when HTTP error
codes are returned from the server.

MozReview-Commit-ID: 4IekLyI2AnQ

--HG--
extra : rebase_source : 7d75cb90671804cb20a6648c44316c2bbe100fb1
2017-03-23 15:02:35 +01:00
Carsten "Tomcat" Book
361ed3a53c Merge mozilla-central to autoland 2017-03-24 14:30:43 +01:00
Alastor Wu
9f41f0ae0c Bug 1347758 - part6 : reorder tests according to alphabet order. r=Ehsan
The test cases should be ordered according to their alphabet order.

MozReview-Commit-ID: LmmyjcTf6Nd

--HG--
extra : rebase_source : e93da9fd41f312c6ce2bc59698597286e6dfc088
2017-03-24 17:35:07 +08:00
Alastor Wu
ea2fce300c Bug 1347758 - part5 : add tests. r=Ehsan
Add tests for non-in-tree media element, web-audio and plug-in.

MozReview-Commit-ID: 2BMzUHPjKWX

--HG--
extra : rebase_source : 93c836edb04dbb5cb8cb487e1d5face6ddefdd42
2017-03-24 17:35:01 +08:00
David Rajchenbach-Teller
4dbf22ea0f Bug 1086549 - Converting Places tests from removePage to History.remove. Patch by Yoric, updated by Standard8. r=mak
MozReview-Commit-ID: 4PjGxXYKjBe

--HG--
extra : rebase_source : 155effe7c3bc0519ae9be2319c720394fda35a84
2014-10-28 11:30:21 +01:00
Dão Gottwald
e094b1cffb Bug 1347113 - Use CSS outline instead of border for XUL checkbox focus ring. r=mikedeboer
MozReview-Commit-ID: 22QNiw0bKmw

--HG--
extra : rebase_source : 69f247d6920a8a2784028a840eb2125c42ef4908
2017-03-14 15:01:39 +01:00
Carsten "Tomcat" Book
8fd069a1f2 Merge mozilla-central to autoland 2017-03-14 14:27:38 +01:00
Carsten "Tomcat" Book
dba578960e merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
Carsten "Tomcat" Book
01be573810 Backed out changeset 8cd4168dbb04 (bug 1343330) for eslint failure 2017-03-14 12:43:21 +01:00
Dão Gottwald
906d239e2d Bug 1343330 - Use fast-forward and fast-rewind characters instead of skip-to-end and skip-to-start on Windows 7. r=Felipe
MozReview-Commit-ID: Lla9l6swSU3

--HG--
extra : rebase_source : 83adebe90eadbcc06f529d08537825ef9573871d
2017-03-10 14:16:56 +01:00
Zibi Braniecki
fbfa4998fa Bug 1346819 - Port SanitizeAsBCP47 to LocaleService. r=baku,jfkthame
MozReview-Commit-ID: 2SXD5HaJPXr

--HG--
extra : rebase_source : 44404dfd577f13fde722ef5c13a29f853766786d
2017-03-13 08:31:43 -07:00
Wes Kocher
bdd77feb24 Merge m-c to inbound, a=merge
MozReview-Commit-ID: GiMyITxSevR
2017-03-13 16:39:38 -07:00
Wes Kocher
9c14a7c4ed Merge inbound to central, a=merge
MozReview-Commit-ID: ECt4ZkKUuQp
2017-03-13 16:37:21 -07:00
Michael Layzell
9b0ad3267d Bug 1346866 - Make the IPC serialization/deserialization time probes main-thread-only, r=billm
MozReview-Commit-ID: 5Sc820Jh494
2017-03-13 19:25:48 -04:00
Michael Layzell
45e778c301 Bug 1179542 - Wait for the page to load before checking menu status, r=ehsan
MozReview-Commit-ID: 7wHbkAC8eCI
2017-03-13 18:56:57 -04:00
Kartikaya Gupta
916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta
ca0d33d72c Bug 1344947 - Update webrender to e30fb2914928c0e596d8632ed234647c0fd1492e. r=jrmuizel
This also updates calls to push_scroll_layer in webrender_bindings to go with
a change in the API.
2017-03-13 13:03:06 -04:00
Christoph Kerschbaumer
bbb07b16a8 Bug 1301666 - Remove triggeringPrincipal_b64 from SessionHistory.jsm. r=mikedeboer 2017-03-13 16:47:11 +01:00
Carsten "Tomcat" Book
c1edc7067d merge mozilla-inbound to mozilla-central a=merge 2017-03-13 15:22:26 +01:00
Dão Gottwald
40034ab5b7 Bug 1345432 - Clean up XUL checkbox styling, remove fallback styling and fix the focus indicator. r=karlt
MozReview-Commit-ID: CcqLKFVvLwC

--HG--
extra : rebase_source : 8665cf698dfc561a2bdc84de27a75bea00cd44f9
2017-03-13 13:12:37 +01:00
Carsten "Tomcat" Book
e078579f28 Merge mozilla-central to mozilla-inbound 2017-03-13 15:25:16 +01:00
Kartikaya Gupta
0ea7443517 Merge m-c to graphics
MozReview-Commit-ID: 3GcCKcscfkz
2017-03-10 09:58:01 -05:00
Kartikaya Gupta
8f54e2114e Merge m-c to graphics
MozReview-Commit-ID: QN682uyISF
2017-03-09 10:42:57 -05:00
Kan-Ru Chen
43776b9a4d Bug 1346161 - Remove HANDLE_UNLOAD_MS and HANDLE_BEFOREUNLOAD_MS telemetry probes. r=smaug
MozReview-Commit-ID: 91WAGDKAAMu
2017-03-13 14:47:29 +08:00
Carsten "Tomcat" Book
6d06361383 merge mozilla-inbound to mozilal-central a=merge 2017-03-09 11:23:25 +01:00
Scott Wu
ce51bf1325 Bug 1019471 - Create a dialog to add/edit/view an autofill profile. r=MattN
MozReview-Commit-ID: avVGZAYq0y

--HG--
extra : rebase_source : 4ad8642bd1ca395209272d8eff061410c655d326
2017-03-08 20:30:59 -05:00
Kartikaya Gupta
a45bb3a916 Merge m-c to graphics
MozReview-Commit-ID: AzRIytAgP96
2017-03-08 10:08:57 -05:00
Carsten "Tomcat" Book
65955aee8e merge mozilla-inbound to mozilla-central a=merge 2017-03-08 14:18:03 +01:00
Wes Kocher
1e99d508d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: DaPlT30qXzs
2017-03-08 17:15:46 -08:00
Wes Kocher
3842d8fcef Merge inbound to central, a=merge
MozReview-Commit-ID: 62e9XDudUlc
2017-03-08 17:07:55 -08:00
Robert Strong
7fcd174d12 Bug 1345663 - Remove skip-if value from tests for Windows versions that are no longer supported. r=mhowell 2017-03-08 17:01:04 -08:00
Kartikaya Gupta
90db7c5460 Merge m-c to graphics
MozReview-Commit-ID: DbHqbxaKedC
2017-03-07 10:30:42 -05:00
Carsten "Tomcat" Book
087da3f0d9 merge mozilla-inbound to mozilla-central a=merge 2017-03-07 15:13:31 +01:00
Florian Quèze
0189aaecf7 Bug 1344987 - remove SEARCH_SERVICE_HAS_UPDATES and SEARCH_SERVICE_HAS_ICON_UPDATES Telemetry probes, r=past a=tomcat 2017-03-07 12:52:48 +01:00
Wes Kocher
dac8dc0c7b Merge inbound to central, a=merge
MozReview-Commit-ID: 96co4Bbby7W
2017-03-07 16:40:44 -08:00
Shawn Huang
7f3f03793f Bug 1268804 Part 3: Test storage api in WebExtensions, r=kmag 2017-03-07 16:28:47 +08:00
Andrea Marchesini
1998ab7ebc Bug 1344671 - Container telemetry IDs should be kept until version 58, r=bsmedberg 2017-03-07 08:48:14 +01:00
Andrea Marchesini
1dd8d720eb Bug 1344676 - Remove XHR_IN_WORKER telemetry ID, r=qdot 2017-03-07 08:46:18 +01:00
Kartikaya Gupta
cc2056e901 Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.

MozReview-Commit-ID: 6dRHvAmIQ40

--HG--
rename : third_party/rust/servo-dwrote/.gitignore => third_party/rust/dwrote/.gitignore
rename : third_party/rust/servo-dwrote/README.md => third_party/rust/dwrote/README.md
rename : third_party/rust/servo-dwrote/src/bitmap_render_target.rs => third_party/rust/dwrote/src/bitmap_render_target.rs
rename : third_party/rust/servo-dwrote/src/com_helpers.rs => third_party/rust/dwrote/src/com_helpers.rs
rename : third_party/rust/servo-dwrote/src/comptr.rs => third_party/rust/dwrote/src/comptr.rs
rename : third_party/rust/servo-dwrote/src/font.rs => third_party/rust/dwrote/src/font.rs
rename : third_party/rust/servo-dwrote/src/font_collection.rs => third_party/rust/dwrote/src/font_collection.rs
rename : third_party/rust/servo-dwrote/src/font_face.rs => third_party/rust/dwrote/src/font_face.rs
rename : third_party/rust/servo-dwrote/src/font_family.rs => third_party/rust/dwrote/src/font_family.rs
rename : third_party/rust/servo-dwrote/src/font_file.rs => third_party/rust/dwrote/src/font_file.rs
rename : third_party/rust/servo-dwrote/src/font_file_loader_impl.rs => third_party/rust/dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/servo-dwrote/src/gdi_interop.rs => third_party/rust/dwrote/src/gdi_interop.rs
rename : third_party/rust/servo-dwrote/src/glyph_run_analysis.rs => third_party/rust/dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/servo-dwrote/src/helpers.rs => third_party/rust/dwrote/src/helpers.rs
rename : third_party/rust/servo-dwrote/src/rendering_params.rs => third_party/rust/dwrote/src/rendering_params.rs
rename : third_party/rust/servo-dwrote/src/test.rs => third_party/rust/dwrote/src/test.rs
rename : third_party/rust/servo-dwrote/src/types.rs => third_party/rust/dwrote/src/types.rs
2017-03-06 18:46:30 -05:00
Matthew Noorenberghe
babe2119bc Bug 1344589 - Wait for the httpServer to shutdown in head_search.js to avoid reported leaks. r=adw
The test slow_timeout in test_searchSuggest.js was keeping a request open for 10s so the server wouldn't stop immediately.

MozReview-Commit-ID: EGFPRKMNa51

--HG--
extra : rebase_source : c22ddafaee9c4bf6142643782b53f3d4313531d8
2017-03-09 00:18:35 -05:00
Carsten "Tomcat" Book
d0bd960945 merge mozilla-inbound to mozilla-central a=merge 2017-03-06 10:53:27 +01:00
Jared Wein
d9a46cd279 Bug 1318830 - Listen for the FullZoomChange event on synthetic documents to trigger updating the zoom-control in the location bar. r=Gijs
MozReview-Commit-ID: CeZ8qsz97Yz

--HG--
extra : rebase_source : 4b817c80d963b975de91fc2767601306e1302c58
2017-03-07 14:24:17 -05:00
Marco Bonardo
21fb0f14bb Bug 1345075 - Remove FX_SANITIZE_LOADED_FLASH and FX_SANITIZE_UNLOADED_FLASH. r=Felipe
MozReview-Commit-ID: 1WoxWh3OkL4

--HG--
extra : rebase_source : 66a0de288fd3066e034394f30ffa990c1e4aaf57
2017-03-07 14:13:07 +01:00
Mike Conley
cc0ecdd46e Bug 1333276 - Remove length checks on non-deterministic nativeStack memoryMap and stack properties. r=jchen
MozReview-Commit-ID: IVX8EGYD6nk

--HG--
extra : rebase_source : 7dea46b65f4c5d621eb5228d9f9576603be458c8
2017-03-06 18:04:00 -05:00
Bob Silverberg
b59b137167 Bug 1345583 - Move code for startup and shutdown handling of preferences to ExtensionPreferencesManager, r=aswan
MozReview-Commit-ID: 8EILFeFjvnd

--HG--
extra : rebase_source : e63dbff3bea99feba8b217f515c48dfb702c1f49
2017-03-08 14:47:26 -05:00
sole
bf1f324872 Bug 1343501 - Log telemetry for devtools DOM panel. r=Honza 2017-03-03 14:49:25 +00:00
Andrea Marchesini
12b54aa0f5 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Avikalpa Kundu
306b69b5ca Bug 1312698 - Add test coverage for the C++ Histogram API. r=dexter 2017-03-08 02:59:00 -05:00
Carsten "Tomcat" Book
f6885163cd Merge mozilla-central to mozilla-inbound 2017-03-08 14:28:34 +01:00
Florian Quèze
37bbced84d Bug 1344711 - hand cleanup of remaining useless try blocks around get*Pref calls identified by eslint, r=jaws.
--HG--
extra : rebase_source : 18c027010838faba91f0ac699f9bde07f85500e7
2017-03-07 15:29:48 +01:00
Florian Quèze
7f1b926f29 Bug 1344711 - hand cleanup of cases that were ignored by the script to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : 4da1e10b87ac37de19e0ca6f79996e8a12492db9
2017-03-07 15:29:48 +01:00
Florian Quèze
cd762cc83c Bug 1344711 - script-generated patch to remove try blocks around get*Pref calls, r=jaws.
--HG--
extra : rebase_source : c6e20e6e79b0ca5de751c52712d96cbea9432d26
2017-03-07 15:29:48 +01:00
Kaku Kuo
0aeeafab7a Bug 1309494 part 2 - implement the show throbber mechanism; r=jaws
MozReview-Commit-ID: 1UKAYu0xy9u

--HG--
extra : rebase_source : 83ede58e14bd191b281caf6026dfe3ca4b24c3bb
extra : source : f598e9dc77bbb812f930faf0328b8f557299941c
2017-03-13 11:29:39 +08:00
Kaku Kuo
63fa03c5a7 Bug 1309494 part 1 - let video controler handle the "mozexitvideosuspend" event; r=jaws
MozReview-Commit-ID: 5DfzY8kDTP4

--HG--
extra : rebase_source : a502241298848f9b39d7e978e3a8fb7a1a87d1e7
extra : source : 778b6c2d384cad117fb914fdb0ba2d591ef60baa
2017-03-13 10:57:25 +08:00
Thomas Nguyen
2b86f73c62 Bug 1339006 - Specify event target if we run nsIURIClassifier.clasify() from content process.r=ehsan, r=gcp
MozReview-Commit-ID: BztjVMlQngi
2017-03-08 11:06:36 +08:00
Florian Quèze
9d62681259 Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
Andrea Marchesini
e9195daa8d Bug 1345168 - Get rid of OriginAttributes::Inherit, r=tjr 2017-03-08 07:41:51 +01:00
Jim Chen
53a1107cd1 Bug 1343075 - Use GeckoEditableSupport from PuppetWidget; r=masayuki r=rbarker r=snorp r=esawin
Bug 1343075 - 1a. Add TextEventDispatcherListener::GetIMEUpdatePreference; r=masayuki

Add a GetIMEUpdatePreference method to TextEventDispatcherListener to
optionally control which IME notifications are received by NotifyIME.
This patch also makes nsBaseWidget forward its GetIMEUpdatePreference
call to the widget's native TextEventDispatcherListener.

Bug 1343075 - 1b. Implement GetIMEUpdatePreference for all TextEventDispatcherListener; r=masayuki

This patch implements GetIMEUpdatePreference for all
TextEventDispatcherListener implementations, by moving previous
implementations of nsIWidget::GetIMEUpdatePreference.

Bug 1343075 - 2. Allow setting a PuppetWidget's native TextEventDispatcherListener; r=masayuki

In PuppetWidget, add getter and setter for the widget's native
TextEventDispatcherListener. This allows overriding of PuppetWidget's
default IME handling. For example, on Android, the PuppetWidget's native
TextEventDispatcherListener will communicate directly with Java IME code
in the main process.

Bug 1343075 - 3. Add AIDL interface for main process; r=rbarker

Add AIDL definition and implementation for an interface for the main
process that child processes can access.

Bug 1343075 - 4. Set Gecko thread JNIEnv for child process; r=snorp

Add a JNIEnv* parameter to XRE_SetAndroidChildFds, which is used to set
the Gecko thread JNIEnv for child processes. XRE_SetAndroidChildFds is
the only Android-specific entry point for child processes, so I think
it's the most logical place to initialize JNI.

Bug 1343075 - 5. Support multiple remote GeckoEditableChild; r=esawin

Support remote GeckoEditableChild instances that are created in the
content processes and connect to the parent process GeckoEditableParent
through binders.

Support having multiple GeckoEditableChild instances in GeckoEditable by
keeping track of which child is currently focused, and only allow
calls to/from the focused child by using access tokens.

Bug 1343075 - 6. Add method to get GeckoEditableParent instance; r=esawin

Add IProcessManager.getEditableParent, which a content process can call
to get the GeckoEditableParent instance that corresponds to a given
content process tab, from the main process.

Bug 1343075 - 7. Support GeckoEditableSupport in content processes; r=esawin

Support creating and running GeckoEditableSupport attached to a
PuppetWidget in content processes.

Because we don't know PuppetWidget's lifetime as well as nsWindow's,
when attached to PuppetWidget, we need to attach/detach our native
object on focus/blur, respectively.

Bug 1343075 - 8. Connect GeckoEditableSupport on PuppetWidget creation; r=esawin

Listen to the "tab-child-created" notification and attach our content
process GeckoEditableSupport to the new PuppetWidget.

Bug 1343075 - 9. Update auto-generated bindings; r=me
2017-03-07 22:34:39 -05:00
Wes Kocher
9d3f12083b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1Kk6k8R6WCf
2017-03-07 16:45:07 -08:00
Vedant Sareen
8fb2f0d279 Bug 1341236 - Drop the |dataset()| function from keyed & plain histograms. r=Dexter
Dropped the dataset() functions from keyed and plain histograms in file |toolkit/components/telemetry/TelemetryHistogram.cpp| to prevent their unnecessary exposure while getting histograms using the getHistogramById function (or its keyed counterpart).
Also removed the (now redundant) |internal_JSHistogram_Dataset()| and |internal_JSKeyedHistogram_Dataset()| functions from the same file and tests from the file |toolkit/components/telemetry/tests/unit/test_TelemetryHistograms.js| as the same tests are performed later on in that very file.
2017-03-06 19:06:53 +05:30
Marco Castelluccio
2fb21f8019 Bug 1342034 - Fix documentation of getLoadedModules in nsITelemetry.idl. r=Dexter 2017-03-07 07:08:00 -05:00
Sebastian Hengst
3bfaa978bd Backed out changeset 5a7fca706daa (bug 1329942) for failing browser-chrome browser_bug553455.js. r=backout 2017-03-08 19:57:15 +01:00
Matthew Wein
34ec74ed4b Bug 1339131 - Provide warnings instead of throwing errors for unrecognized properties r=jaws,mikedeboer
MozReview-Commit-ID: Ger9hssqqpO

--HG--
extra : rebase_source : 9572b4eeb17e8c9fb51521a8ca7b5341813f9304
2017-03-07 14:16:19 -05:00
Mark Striemer
8e358ac751 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 6537a89d805fd28651911965aebd008de0530a12
2017-02-28 15:26:12 -06:00
Luca Greco
f420c4c957 Bug 1344376 - Clicking on a link with target=_blank should fire onCreatedNavigationTarget. r=billm
MozReview-Commit-ID: JVao8IuBz9B

--HG--
extra : rebase_source : f9f7f7d413bd4339ce1d5773c7db58d8d0f7d62d
2017-03-06 20:55:02 +01:00
Carsten "Tomcat" Book
96fe421b34 Merge mozilla-central to autoland 2017-03-08 17:04:17 +01:00
David Teller
c1b5f21196 Bug 1343483 - Determine how long functions remain syntax-parsed before they are full-parsed;r=shu
In many cases, to speed up start, compiling a ScriptSource will not
compile the functions themselves, but will rather syntax-parse them
(to check for syntax errors), leaving full compilation for
later. However, if we find ourselves in a case in which the function
is needed almost immediately, we need to full-parse the function
immediately after the syntax-parse, which is wasteful.

This changeset intends to measure how often this happens, by exporting
through Telemetry the duration between the end of the syntax-parse and
the start of the full-parse for each function.

As a memory optimization, instead of storing a timestamp for the
syntax-parse of each function, we store a single timestamp for an
entire ScriptSource. This assumes that all functions of the
ScriptSource are syntax-parsed at approximately the same instant,
which should be mostly true for everything except perhaps `eval` and
`new Function`. Then, when time comes to delazify a function, we
simply determine the time elapsed since the ScriptSource was compiled.

Histogram JS_PARSER_COMPILE_LAZY_AFTER_MS starts at 10ms (anything
smaller is often not measurable) and stops at 10s (anything larger can
safely be said to be not wasteful).

MozReview-Commit-ID: 6Ycy2OIIiAt

--HG--
extra : rebase_source : 0ccd6f51189b3ad8056e9f39e267235d68f6e2db
2017-03-06 21:22:00 +01:00
Benjamin Smedberg
5a67592fe7 Bug 1344908 - Build flash-block-lists.rst into the generated documentation, r=bytesized
MozReview-Commit-ID: AdHUGjNXQjL

--HG--
rename : toolkit/components/url-classifier/flash-block-lists.rst => toolkit/components/url-classifier/docs/flash-block-lists.rst
extra : rebase_source : c6772fca9107f77a78588746b5a4bc27c64035c7
2017-03-06 17:11:44 -05:00