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

43478 Коммитов

Автор SHA1 Сообщение Дата
Jean-Yves Avenard f7197c027f Bug 1392143 - P2. Disable hardware decoding for small videos. r=mattwoodrow
As the H264 SanityTest uses a 132x132 videos to determine if the hardware decoder is working, we always use the software decoder for smaller videos.

MozReview-Commit-ID: 8VbZTiJO9mA

--HG--
extra : rebase_source : 20cf3ae8bf62709711ac0e76e348c6e28d678025
2017-09-06 17:02:21 +02:00
Jean-Yves Avenard 22fbc8d804 Bug 1392143 - P1. Change video size used for testing if h264 decoder is working. r=mattwoodrow
AMD incorrectly decode videos with a resolution that is less than 128x128, as such with the test failing we disable hardware decoding on those machines, even though other resolutions work well.

So we use a 132x132 video instead.

MozReview-Commit-ID: 80mk11CNsil

--HG--
extra : rebase_source : 3cdffbc30334e2704375d8da878fd79124fe2a05
2017-09-06 15:42:46 +02:00
Daosheng Mu b95528913e Bug 1392476 - Add dropframe telemetry for WebVR; r=francois,kip
MozReview-Commit-ID: IPVnPBkY8CN

--HG--
extra : rebase_source : 437b3528cecb05bc0bb4307447dee3e18c63d762
2017-08-28 18:43:25 +08:00
Ricky Chien f9f702a8e1 Bug 1397121 - Some of Preferences subdialog's font size are too huge r=jaws
MozReview-Commit-ID: 9IsVARItxFZ

--HG--
extra : rebase_source : 28a8c6a0df625b7454e260d908d387898aba7822
2017-09-06 15:26:35 +08:00
Doug Thayer 8aae071723 Bug 1382440 - Watch CPU usage in BHR r=froydnj
We would like to be able to see if a given hang in BHR occurred
under high CPU load, as this is an indication that the hang is
of less use to us, since it's likely that the external CPU use
is more responsible for it.

The way this works is fairly simple. We get the system CPU usage
on a scale from 0 to 1, and we get the current process's CPU
usage, also on a scale from 0 to 1, and we subtract the latter
from the former. We then compare this value to a threshold, which
is 1 - (1 / p), where p is the number of (virtual) cores on the
machine. This threshold might need to be tuned, so that we
require an entire physical core in order to not annotate the hang,
but for now it seemed the most reasonable line in the sand.

I should note that this considers CPU usage in child or parent
processes as external. While we are responsible for that CPU usage,
it still indicates that the stack we receive from BHR is of little
value to us, since the source of the actual hang is external to
that stack.

MozReview-Commit-ID: JkG53zq1MdY

--HG--
extra : rebase_source : 16553a9b5eac0a73cd1619c6ee01fa177ca60e58
2017-07-24 13:46:09 -07:00
Mike Conley 210c56da5f Bug 1387130 - Use original tabstrip scrolling behaviour when using scrollbuttons. r=dao
In bug 1356705, we switched scrollbox to use CSS smooth scroll when
the scrollbox is configured to scroll smoothly. This caused the tab
strip to scroll with a "pulse" when using the arrow scrollbuttons.
This is because we scroll by a single tab each time, as opposed to
scrolling by pixels.

This reverts part of bug 1356705 so that we use instant scrolling
instead of smooth scrolling in the scrollbuttons case, which returns
the original behaviour of the strip without the pulse.

MozReview-Commit-ID: D8QQ8kQ7AjM

--HG--
extra : rebase_source : 400f0085b4b914003bfb2a235d2c62bc0f53ab66
2017-09-06 13:28:48 -04:00
Ed Lee 0d6e05576c Bug 1396282 - Add query for getting Highlights (recent bookmarks and recent history with metadata). r=mak
Adds index to moz_bookmarks.dateAdded for use by Highlights query for recent bookmarks.
MozReview-Commit-ID: 7Gs8H0kUij2

--HG--
extra : rebase_source : 23498bcde4faeeb116c534dc9e124429a86d3e14
2017-09-02 13:15:04 -07:00
Ed Lee 85b1aa47dd Bug 1389125 - Refactor ActivityStreamProvider in preparation for Highlights. r=ursula
Add helpers for shared adjusting limit, bookmarkGuid sub-SELECT, WHERE and params. More efficiently select https and correctly select bookmarks. Remove _addETLD, getHistorySize and getBookmarksSize. Allow for activity stream caller to customize more options.

MozReview-Commit-ID: Lj9AhoFJar

--HG--
extra : rebase_source : fb4bb13969b47c28c1a137075304efb23c254182
2017-09-02 13:13:52 -07:00
Erica Wright c030f1308f Bug 1393870 - Panels anchored to bottom have weird animation. r=sfoster
MozReview-Commit-ID: LH3vRWJeYbU

--HG--
extra : rebase_source : 5eb9eb9831af2e35782debffc2518c43196c0b7b
2017-08-31 15:41:02 -04:00
Thomas Nguyen dd42019824 Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois
The issue occurs when nsITimer is fired earlier than the backoff time. In that
case, the update doesn't proceed and we never make another attempt because the
backoff update timer was oneshot.

We fix the issue in two ways:

- Add a tolerance of 1 second in case the timer fires too early.
- Set another oneshot timer whenever we are prevented from updating due to
backoff.

MozReview-Commit-ID: E2ogNRsHJVK

--HG--
extra : rebase_source : c81fa77934f6c39e1c5d07b19785a01546e02542
2017-08-30 18:04:10 +08:00
Alessio Placitelli 1b2e4f9c40 Bug 1395838 - Rename nsITelemetry.SCALAR_* to nsITelemetry.SCALAR_TYPE_*. r=chutten
MozReview-Commit-ID: 6urKlSG0I6s

--HG--
extra : rebase_source : 95316dc2e43287b7f4b25df9e561c7a98df34f37
2017-09-06 12:35:44 +02:00
Chris H-C 8b197ba438 bug 1396894 - Don't error out when rendering normally-structured pings r=Dexter
Acceptably-structured pings should render fine in about:telemetry and not
trigger the panic mode of "Just show them the JSON!" that happens when an
exception is thrown.

Two things caught here:
1: Environment section without addon subsection
2: subsection searches

MozReview-Commit-ID: 3Z0hud23XuD

--HG--
extra : rebase_source : 1ac8e8f0cc0c9fa77c9ad2adcd89e3ed31fc124c
2017-09-05 14:37:06 -04:00
Tomislav Jovanovic 7c5396240d Bug 1396686 - Provide info which onMessage listener's response handle went out of scope r=kmag
MozReview-Commit-ID: Bu71gP8Ey3

--HG--
extra : rebase_source : 96ca9332ca1e69739b0bdf1b8a7b275d42d951ff
2017-09-05 03:00:07 +02:00
Sebastian Hengst 9d15132cd1 merge mozilla-central to autoland. r=merge a=merge 2017-09-06 11:28:07 +02:00
Sebastian Hengst 9c8a09d458 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: KLssMPhSQ0O
2017-09-06 11:26:13 +02:00
Rob Wu 297c108fec Bug 1356543 - Add clipboard.setImageData API r=mixedpuppy
This introduces an implementation of the clipboard.setImageData API.
I did not find any complete documentation about how copying and
pasting images is supposed to work in Firefox, so I added many lines
of documentation based on experimenting and reading the source code.

The implementation is very similar to the Add-on SDK's implementation,
save for one difference: The third parameter to setTransferData is 0
instead of -1. Its significance is elaborated in ext-clipboard.js.

The newly added tests serve the following purposes:
- Verification that clipboard.setImageData is working as expected.
  There is no way to test that pasting in an external application
  really works, so we just check whether Firefox recognizes the
  special image data by pasting in a contentEditable area.

- Test coverage for reading clipboard data via the "paste" event and
  using event.clipboardData to access the pasted data, because this is
  the only way to read non-text data in a WebExtension extension.

MozReview-Commit-ID: Ldrx7LCIta2

--HG--
extra : rebase_source : f76fe85e5c9a525c159255c29698f4bdbdede8bc
2017-09-04 21:43:06 +02:00
Kris Maglione 04acc0aace Bug 1396449: Part 2 - Use atoms to test WebExtension permissions. r=krizsa
The extension policy services uses atoms internally for permission names, so
using them directly rather than strings is considerably cheaper.

MozReview-Commit-ID: Io8EuOXHKVy

--HG--
extra : rebase_source : 577b4bdf7f899729e4cf92961a8e9e25bf886a72
2017-09-03 18:51:02 -07:00
Kris Maglione b3ba0520ee Bug 1396449: Part 1 - Use WebExtensionPolicy objects in extension content principals. r=krizsa
Going through the extension policy service rather than using
WebExtensionPolicy objects directly adds a lot of unnecessary overhead to
common operations on extension principals, and also makes the code more
complicated than it needs to be.

We also use weak references to policy objects here, since principals should
ideally lose as much of their elevated privileges as possible once the
extension instance that created them has been destroyed (which is something we
couldn't handle easily when we simply tracked ID strings).

MozReview-Commit-ID: KDNvVdvLkIt

--HG--
extra : rebase_source : 1b567919d2461bd0315d1a7d89f330cbd585f579
2017-09-05 11:04:43 -07:00
John Lin 472cb53db6 Bug 1396232 - Use prefixed fullscreen element in orientation lock test. r=ralin
MozReview-Commit-ID: LN3lyiCkQOo
2017-09-05 03:24:00 -04:00
Sebastian Hengst b278f15c7f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-09-06 00:00:04 +02:00
Sebastian Hengst 01c1a3c741 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 17ViEoPyjPa
2017-09-05 23:55:39 +02:00
Cosm 917335fa1c Bug 1395956 - Update gecko.readthedocs links to the new firefox-source-docs.mozilla.org location. r=chutten 2017-09-02 22:11:02 +05:30
Ethan d20c7d929c Bug 1393283 - Use the last ESR version as the spoofed Firefox version. r=tihuang, r=mcmanus 2017-09-01 17:29:44 +08:00
James Cheng c66fe391cc Bug 1392535 - Update GMP fallback downloader for Widevine 1008 CDM. r=mconley
MozReview-Commit-ID: Ih0HHP1Sho4

--HG--
extra : rebase_source : f9f9cab124d33bd293222b3948ffa37a6d1419d5
2017-08-22 17:53:32 +08:00
Simon Sapin 0ef497bfee Bug 1396664 - re-enable bad-string subtests in test_parser_diagnostics_unprintables.html r=emilio
… and update cssparser to 0.20.1

MozReview-Commit-ID: 8SiFIGk1jtb

--HG--
extra : rebase_source : 9d817fba90c38a7148166392e3412cfaf1538785
2017-09-05 15:40:57 +02:00
Andrew Swan 54ce4c11b5 Bug 1396578 Remove startup notification for non-mpc extensions r=rhelmer
MozReview-Commit-ID: 6oSi63pGCqK

--HG--
extra : rebase_source : 9908865d5db0949e72f2324158ebce98e3b2fe75
2017-09-05 07:35:59 -07:00
Sebastian Hengst 34e6bbd998 Backed out changeset 14b4af261515 (bug 1385609) for eslint failures in nsUrlClassifierLib.js. r=backout 2017-09-05 19:04:43 +02:00
Thomas Nguyen 9088e7a39b Bug 1395411 - Unregister tables when they're removed from urlclassifier.*Table. r=francois
MozReview-Commit-ID: Ex1ZxMcJLep

--HG--
extra : rebase_source : a200c02b536874a5a4255087b42d7074f5de3b43
2017-08-31 18:46:23 +08:00
Thomas Nguyen a26ed706a3 Bug 1385609 - Fix backoff issue that makes SB lists no longer update r=francois
The issue occurs when nsITimer is fired earlier than the backoff time. In that
case, the update doesn't proceed and we never make another attempt because the
backoff update timer was oneshot.

We fix the issue in two ways:

- Add a tolerance of 1 second in case the timer fires too early.
- Set another oneshot timer whenever we are prevented from updating due to
backoff.

MozReview-Commit-ID: E2ogNRsHJVK

--HG--
extra : rebase_source : 17aa70d8583cc84e28e57410de66eaac63bd18bb
2017-08-30 18:04:10 +08:00
Bob Silverberg 8268904c53 Bug 1293853 - Part 2: Include separators in results from bookmarks.search, r=standard8
This API is only used by WebExtensions, which previously wanted to exclude separators,
but now we want the WebExtensions APIs to be able to return separators.

MozReview-Commit-ID: 7PApWDwWMr1

--HG--
extra : rebase_source : c5e816900cb0288f1cdba86ec07f6565a1c79880
2017-08-29 13:19:05 -04:00
Bob Silverberg f8c2cd5f82 Bug 1293853 - Part 1: Add numeric typeCode to PlacesUtils.promiseBookmarksTree, r=standard8
This allows promiseBookmarksTree to return nodes that describe their type in both string (i.e., PlacesUtils.TYPE_X_*)
format and numeric (i.e., PlacesUtils.bookmarks.TYPE_*) formats. ext-bookmarks.js would prefer to be able to
use the numeric format as that is what is used throughout the rest of the file.

MozReview-Commit-ID: 7DpqAb3zVio

--HG--
extra : rebase_source : d6a9ead83e3de14bb8f52d9e19083a0f6ae609ee
2017-08-29 10:27:38 -04:00
Sebastian Hengst 45cb996f32 merge mozilla-central to autoland. r=merge a=merge 2017-09-05 12:37:56 +02:00
Mike de Boer 7e6c729937 Bug 1396581 - Allow retrieving DownloadHistoryList objects that show private downloads. r=mak
MozReview-Commit-ID: 7lFuZQRmwWI

--HG--
extra : rebase_source : c786029f1c0e95a633fce0b246643315acd30c56
2017-09-05 11:44:07 +02:00
Sebastian Hengst a17af05f6f merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: L5exd68pNSG
2017-09-05 11:40:49 +02:00
Ricky Chien f216d87d8e Bug 1392532 - Polish Preferences font size depending on platforms r=dao
MozReview-Commit-ID: IiqSSl7wQ6h

--HG--
extra : rebase_source : ead26b294c538e902861d17e8c1c41a2e5532ee5
2017-09-04 11:06:10 +08:00
Steve Armand e46ff00709 Bug 1368967 - Enable the ESLint generator-star-spacing rule across mozilla-central. r=standard8
MozReview-Commit-ID: 5do3eoCEAMR

--HG--
extra : rebase_source : 5f692e474e1d7d173fcb4c9c08617f0fe489e443
2017-09-04 00:49:32 -04:00
Shane Caraveo 5d0cbad001 Bug 1393402 fix intermittent by removing early testing timeout r=mixedpuppy
MozReview-Commit-ID: AAnS9cXlTz0

--HG--
extra : rebase_source : 52ddffe7f0430462927925db75eabd3ddeb9876a
2017-09-03 18:09:43 -07:00
Zibi Braniecki 2fc23db1fc Bug 1365709 - Fix linter bustage. r=kmag
MozReview-Commit-ID: 1pDWdDxOi19
2017-09-04 16:32:23 -07:00
Zibi Braniecki f46a96487c Bug 1365709 - Consume new webextension based language packs. r=kmag
MozReview-Commit-ID: DeJlq8MWpfs

--HG--
extra : rebase_source : 3216a6541ae8205548acad0327113888829b901e
2017-08-28 10:48:00 -07:00
Rob Wu 0c0d2e458c Bug 1395172 - Remove "binary" type from Schemas.jsm r=kmag
MozReview-Commit-ID: JaHnb37czrA

--HG--
extra : rebase_source : 33913712801d92d124d4e9ff4dfe7b625a3762ee
2017-08-30 22:22:47 +02:00
Zibi Braniecki 55a7b70e19 Bug 1395456 - Use MOZ_APP_MAXVERSION for strict_max_version in langpack manifest. r=Pike
MozReview-Commit-ID: 63BQQt4U8if

--HG--
extra : rebase_source : faf796d214298fa50e0d73a82a7b1a4d0e91de30
2017-08-31 11:54:26 -07:00
Francesco Lodolo (:flod) ea04a12a69 Bug 1396020 - Expose hard-coded strings in about:telemetry r=gfritzsche
MozReview-Commit-ID: 1ddOE9cGX4Z

--HG--
extra : rebase_source : ffe448b2df490a4e4d5c5a97bf319121be366554
2017-09-02 09:27:12 +02:00
Sebastian Hengst 2283a8f642 Backed out changeset 7bb00f5e0120 (bug 1395411) for eslint failures in test_classifier_changetablepref_bug1395411.html: 'classifierHelper' is not defined. r=backout 2017-09-04 16:45:35 +02:00
Kris Maglione 720485c3cf Bug 1396612: Increase non-debug response part delay. r=trivial,test-only
MozReview-Commit-ID: ERXLi5RJwtc
2017-09-04 13:00:25 -07:00
Kris Maglione a2ec0b79b6 Bug 1396017: Redact window titles without the appropriate tabs permissions. r=mixedpuppy
MozReview-Commit-ID: 2QJYvJlqt9l

--HG--
extra : rebase_source : 33c4670a0eded6e0af4f931a1ac4cd57f6115995
extra : amend_source : 915bfac6f2c05024acd840c8fa9e282bfc31c296
2017-09-01 12:20:10 -07:00
Thomas Nguyen d46c8b2c9d Bug 1395411 - Unregister tables when they're removed from urlclassifier.*Table. r=francois
MozReview-Commit-ID: Ex1ZxMcJLep

--HG--
extra : rebase_source : ceb099b7132ef0167c75b111bf3105714ae8ee92
2017-08-31 18:46:23 +08:00
Thomas Nguyen 1f57fdb85d Bug 1345058 - Asynchronously decide if a flash document should be blocked. r=baku
MozReview-Commit-ID: K91cSvIdOrb

--HG--
extra : rebase_source : 4d91ab3499c0124129e74a054c5cc78882ff351e
2017-08-14 14:05:23 +08:00
John Lin ed6fa8ffe5 Bug 1396232 - enable prefs needed for orientation lock test. r=ralin
Also, use |run-if| instead of |skip-if| to filter the test.

MozReview-Commit-ID: 5NUoSoRzqMC

--HG--
extra : rebase_source : c50eb0cf377d02456089382108a49658ea6930b7
2017-09-04 16:00:55 +08:00
Mark Banner 28c1327c42 Bug 1395994 - Clone arrays to fix a leak of windows caused by PlacesTransactions keeping references to arrays passed to it. r=mak
MozReview-Commit-ID: CWMyLtmNQuW

--HG--
extra : rebase_source : 30edd124f43508fab9c9823af151a26377bee610
2017-09-01 16:48:09 +01:00
Sebastian Hengst a1ee97df4e merge mozilla-central to autoland. r=merge a=merge 2017-09-04 11:13:51 +02:00