Commit Graph

529975 Commits

Author SHA1 Message Date
Gerald Squelart
7961918dfc Bug 1341483 - MP4Metadata::GetTrackInfo() now also returns a success/error code - r=kinetik
MozReview-Commit-ID: KQ3fJzZkrGW

--HG--
extra : rebase_source : b9f4324f50c81f4945c0a47e63af0cb616ba013e
2017-02-27 17:05:41 +11:00
Gerald Squelart
c93b449e6b Bug 1341483 - MP4Metadata::GetNumberTracks() now also returns a success/error code - r=kinetik
In addition to the returned MediaResult, a special number-of-tracks value
(not just 0) indicates an unrecoverable error.

For Rust-vs-Stagefright comparison purposes, an error is considered the same
as 0 (because Stagefright never returns errors, but Rust may, so complaining
about that would be too noisy, and useless to us.)

MozReview-Commit-ID: IwadWSOIWr4

--HG--
extra : rebase_source : 29f53ee6a02a0431adb0b615a122a4e7b480108c
2017-02-27 13:36:59 +11:00
Gerald Squelart
1bbbbd132d Bug 1341483 - MP4Metadata::Metadata() now also returns a success/error code - r=kinetik
The returned MediaResult is used as error or warning in MP4Demuxer::Init().

MozReview-Commit-ID: Bnv4xG8bCJ4

--HG--
extra : rebase_source : c1952ed61396834b0cd7da58c9b64481a5c46ab1
2017-02-27 13:01:11 +11:00
Tom Ritter
f8036e08d5 Bug 1332747 Change MOZ_ALWAYS_INLINE to MOZ_ALWAYS_INLINE_EVEN_DEBUG to fix MinGW Debug build r=froydnj
MozReview-Commit-ID: 7CkreJM1mHr

--HG--
extra : rebase_source : 8dc51c9c1b0e10bd7b40f3c6f65b2495dfe22cb1
2017-04-11 12:53:58 -05:00
Andrew Swan
be47362be8 Bug 1355334 Bail out immediately on manifest errors when parsing a webextension r=kmag
MozReview-Commit-ID: LdwimNj1upZ

--HG--
extra : rebase_source : bb5f93e00dd2f55ba087459cfb000c19f520fb97
2017-04-10 21:04:43 -07:00
Gerald Squelart
4101482ad6 Bug 1343437 - 'media.playback.warnings-as-errors' pref - r=jya
If 'media.playback.warnings-as-errors' is true, demuxing and decoding warnings
(i.e., non-fatal errors) will be treated as errors, causing playback to fail.

Currently set to false by default.

This could be later changed to catch and diagnose more issues.

MozReview-Commit-ID: BTaZ6TbIbNG

--HG--
extra : rebase_source : bacc24a46f588dd344e6d46178ae2d2c58882fcb
2017-03-03 16:10:48 +11:00
Gerald Squelart
7dca1275ff Bug 1343437 - TBM::OnDemuxer{Init,Reset}Done forward non-NS_OK MediaResult to HTMLMediaElement::DecodeWarning - r=jya
Similarly to the MediaFormatReader, TrackBuffersManager can forward warnings
from the demuxer initialization to the associated HTMLMediaElement.

Note that errors (sent to OnDemuxerInitFailed) are currently *not* forwarded
to the HTMLMediaElement by design. In the future, we may want to add this
feature so that mediasource errors can also be reported to webcompat.

MozReview-Commit-ID: GjluZbpmC9q

--HG--
extra : rebase_source : 57c02f86c56f054f209094d9697209300acc1288
2017-03-14 01:08:39 +11:00
Gerald Squelart
f717376fb5 Bug 1343437 - MFR::OnDemuxerInitDone forwards non-NS_OK MediaResult to HTMLMediaElement::DecodeWarning - r=jya
The MediaFormatReader now takes the MediaResult from the Demuxer::Init promise
resolution, and if there are no other errors but the MediaResult is not NS_OK
it will forward that warning to the decoder owner (i.e., the associated
HTMLMediaElement).

MozReview-Commit-ID: 5rTmzqqPLI0

--HG--
extra : rebase_source : 5f81db185a01c012bf0418af2a42986db14a7e6f
2017-03-06 15:22:17 +11:00
Gerald Squelart
0cb411e982 Bug 1343437 - MP4Demuxer::Init resolves with a MediaResult - r=jya
If MP4Demuxer::Init detects some recoverable error (e.g., invalid tracks when
others may still be usable), it will eventually Resolve the promise with the
first warning.

Later on, errors/warnings from the MP4Metadata parser will also be handled, to
provide even better diagnostics.

MozReview-Commit-ID: E9Rly9dhXW3

--HG--
extra : rebase_source : cae214d0c80297bd61156dc1a305a186da0974fe
2017-02-27 10:10:28 +11:00
Gerald Squelart
c0473802e5 Bug 1343437 - MediaDataDemuxer::InitPromise resolve-value is now a MediaResult - r=jya
In case of successful initialization, there could still be some warning about
a recoverable error. To carry more information about this potential warning,
the resolve-value type of the promise is changed from nsresult to MediaResult.

Existing code doesn't need to be changed:
- In Resolve() calls, the stored MediaResult can implicitly be constructed from
an nsresult -- always NS_OK at the moment anyway.
- In following Then(), the promise's MediaResult can implicitly be converted to
an nsresult.

Future patches will modify some of the Resolve's and Then's, to forward warning
details to some Decoder Doctor object...

MozReview-Commit-ID: J0bXDFxXQHQ

--HG--
extra : rebase_source : cb10cdfa80e34783a459e5946b746b9f1920bd87
2017-02-28 16:24:57 +11:00
Gerald Squelart
76e4d2f3eb Bug 1343437 - HTMLMediaElement::DecodeWarning() should store a warning instead of an error - r=jya
MozReview-Commit-ID: 47hURppxH5H

--HG--
extra : rebase_source : f373d61a61dfbabd64de3c5f99c056ee65dae643
2017-03-14 01:12:20 +11:00
Gerald Squelart
b34950f944 Bug 1337062 - Transfer initial gfxVars with SendSetXPCOMProcessAttributes - r=dvander
MozReview-Commit-ID: EUnwXkDwBTZ

--HG--
extra : rebase_source : 2641d987a6f7326dc07766ba6b06c223a513e313
2017-04-11 15:36:56 +12:00
Gerald Squelart
63dbe37188 Bug 1337063 - Transfer child's initial ContentDeviceData with SendSetXPCOMProcessAttributes - r=dvander
MozReview-Commit-ID: IWCgL9aCusW

--HG--
extra : rebase_source : 31d901f99105224ac7445b487813b010fd643bb9
2017-04-12 09:37:35 +12:00
Gregory Szorc
5094da93bf Bug 1355624 - Make Mercurial require TLS 1.2+ connections; r=dustin
Mercurial uses the latest version of TLS that is both supported by
Python and the server.

In automation, the servers we care about should all support TLS 1.2.

The Python side is trickier. Modern versions of Python (typically 2.7.9+)
support TLS 1.1 and 1.2. Mercurial will default to allowing TLS 1.1+ -
explicitly disallowing TLS 1.0. However, legacy versions of Python
don't support TLS 1.1+, so Mercurial will allow TLS 1.0+ rather than
prevent connections at all.

TLS 1.0 is borderline secure these days. I think it is a bug for TLS
1.0 to be used anywhere in the Firefox release process. This simple
patch changes our default Mercurial config in TaskCluster to require
TLS 1.2+ for all https:// communications. For modern Python versions,
this effectively prevents potential downgrade attacks to TLS 1.1
(connections before should have negotiated the use of TLS 1.2).

I expect this change to break things. Finding and fixing automation
that isn't capable of speaking TLS 1.1+ should be encouraged.

MozReview-Commit-ID: 876YpL5vB3T

--HG--
extra : rebase_source : 69c33c195f736a98b67d771e7364b6db28900ff4
2017-04-11 14:52:39 -07:00
Doug Thayer
b8c7cfa79c Bug 1348396 - Only show a badge on PanelUI while in fullscreen r=enndeakin+6102
Previously we were showing a doorhanger when the user moused to the
top of the screen while in fullscreen mode. However, the doorhanger
would disappear before the user had a chance to interact with it.
We decided it's best anyway to simply display a badge when the user
is in fullscreen, and to reshow the doorhanger when the user exits
fullscreen.

MozReview-Commit-ID: ENRtXC4wqvZ

--HG--
extra : rebase_source : 4d7f0880b2b4e8bd9424302bca16ef706e2fca25
2017-04-10 11:11:45 -07:00
Drew Willcoxon
cc637153bc Bug 1295458 - Rework key and mouse handling for the one-off search buttons. r=florian
MozReview-Commit-ID: DKbU8r2BrA8

--HG--
extra : rebase_source : 9f0ff5241907455516ddec24f22e6c7f5e52105d
2017-04-11 08:40:11 -07:00
Jared Wein
29cbea21ed Bug 1355078 - Restore scroll position after updating select popup. r=mossop
MozReview-Commit-ID: 7HfuUCymDz

--HG--
extra : rebase_source : ca73fb30b6f77ddfd7718a6dd3fc747a8533bc8c
2017-04-11 01:36:07 -04:00
Jared Wein
169ec2a84e Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
MozReview-Commit-ID: 3jzZOIiJyXT

--HG--
extra : rebase_source : 1c223d7c90c72c32386a46dccaa745fd19418fae
2017-04-10 16:03:03 -04:00
Jared Wein
e0f097b470 Bug 1353808 - Only show the 'Search' preferences when the Manage Search Engines button is clicked. r=mconley
MozReview-Commit-ID: 2sVbayD6tPf

--HG--
extra : rebase_source : 222a1d8553c4580dc21992867735c4b91d5ed691
2017-04-05 23:38:30 -04:00
Jared Wein
bb639760df Bug 1353805 - Allow showing only subcategories of a section to make finding prefs easier. r=mconley
This is a temporary measure until we have search complete and shipped (1353954).

MozReview-Commit-ID: KFeOefJ1RGM

--HG--
extra : rebase_source : 326a61f43e3e6f6d771b5bab713454945c9ee060
2017-04-05 23:03:10 -04:00
Sebastian Hengst
62344717a1 Backed out changeset 6c01aaecd8cc (bug 1355579) for failing taskgraph's test_try_option_syntax.py. r=backout 2017-04-12 00:23:37 +02:00
Jared Wein
9f7350e7ff Bug 1354887 - The Tracking Protection exceptions and block list dialogs should always be visible within the tracking protection section. r=mconley
A couple other hidden="false" attributes were removed since they are unnecessary and shouldn't have been there. The changes to the downloadsGroup are because it is now nested inside of #applicationsContent.

MozReview-Commit-ID: IHZuKZUNYcR

--HG--
extra : rebase_source : f251849fd5a10bff8ad78554b96dc67c69a0ac78
2017-04-11 10:41:39 -04:00
UK992
0cc87f755f servo: Merge #16307 - Add support for Visual Studio 2017 (from UK992:msvc2017); r=larsbergstrom
This adds support for Visual Studio 2017.
Also need update cmake to 3.7.2.

r? @larsbergstrom

Can you please upload [this cmake](https://www.dropbox.com/s/3b2z36jj4gh4qpk/cmake-3.7.2.zip?dl=0) to s3 bucket?

Source-Repo: https://github.com/servo/servo
Source-Revision: 065f50014f321466c979120967da720e88ae2b29

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fc9a546379b96d67ef08979c4bc8258a3854ba59
2017-04-11 16:41:02 -05:00
Gregory Szorc
39ff4ea440 Bug 1330837 - Use Mercurial 4.1 in mozharness tests; r=aki
Automation is now largely using Mercurial 4.1 with some lagging
components still on 3.9 and a very small sliver of random parts
still on 3.7.3. Let's update the mozharness tests to match what
automation is using.

FWIW, the Mercurial tests still pass on 3.9.

MozReview-Commit-ID: BgZVDcx29mf

--HG--
extra : rebase_source : edb8516491fe9ef616b1ad797be2fc02a89c2829
2017-04-11 14:26:29 -07:00
Gregory Szorc
ca394488d5 Bug 1330837 - Remove functionality to apply and push; r=aki
Tests based on this code fail in Mercurial 3.8+ due to `hg rebase`
changing its behavior for selecting default revisions. I was going
to update the code to work with 3.8+. However, I could find no actual
consumers of this method! Annotate says this was added back in
mozharness 0.4. However, I can't find a reason for it being added.
Nor can I find any consumers of this method in the mozharness repo
outside the tests. This smells like dead code to me.

MozReview-Commit-ID: 3Q6MTjQJT1p

--HG--
extra : rebase_source : 2c488b70136bc9856f6075297d7c32e3b69079ad
2017-04-11 14:23:00 -07:00
Mike Hommey
b1220370d9 Bug 1354395 - Always bind symbols at load time for ctypes libraries. r=bsmedberg
When symbols are not bound at load time, missing symbols can lead to
NULL derefs or jumps to 0x0 at runtime, crashing the process running
the corresponding JS code, which is rather undesirable. So, prevent
libraries that have missing symbols to load at all through ctypes.

--HG--
extra : rebase_source : e6a8162621dd9c5df410d9eec4224c7e79ea9819
2017-04-07 12:07:32 +09:00
Mike Hommey
5fc0411975 Bug 1354395 - Update sixgill to a rebuild that links against GMP statically. r=sfink
The mercurial revision of sixgill listed in the manifest doesn't exist,
so I took what looks like corresponds to the last change to the tooltool
manifests, in order to avoid any other difference than GMP linkage.

This was built manually on a one-click-loaner.

--HG--
extra : rebase_source : 5ea830e48a6424a6ded9beab0628d0e562251c47
2017-04-11 17:28:10 +09:00
Mike Conley
2a1d8550a6 Bug 1355579 - Remove last references to spsProfile in the tree. r=dustin
MozReview-Commit-ID: 9kZeiaFWZCp

--HG--
extra : rebase_source : 424d7c0a756bb4fa6dc7c8761081a9c0f023432f
2017-04-11 15:08:12 -04:00
Mike Conley
41ed537637 Bug 1354800 - Account for re-entry to removeTab function for tab close timing probes. r=dao
MozReview-Commit-ID: G47xEqSgB7d

--HG--
extra : rebase_source : 7433c0e204085a09c36c85dff671df292c87dab8
2017-04-11 14:59:08 -04:00
Kirk Steuber
6d0283fc61 Bug 1349823 - Populate bookmark panel before showing it r=enndeakin+6102,mak
When panel behavior became asynchronous, |StarUI._doShowEditBookmarkPanel| needed to be changed to wait for the panel to finish opening before initializing it. Although the content of the panel can be changed successfully before the panel opens, the element focus at the end of initialization fails. This prevents the capturing of certain events, such as an Esc keypress (which should close the panel).

However, this introduced the problem where there is a short delay between when the bookmark panel opens and when the correct content is displayed in it. To fix this, the initialization function |gEditItemOverlay.initPanel| will now be called before the panel opens, but the element focus code will wait for the panel's popupshown event.

MozReview-Commit-ID: 6SrcCz963qW

--HG--
extra : rebase_source : c45f16913597b336dcae2717c0f902dbbe8025f2
2017-04-05 15:38:37 -07:00
Luca Greco
a5b280bf5b Bug 1354471 - Fix regression in DevToolsContextChild related to the lazy API loading. r=aswan
MozReview-Commit-ID: Kdltgx0JdUi

--HG--
extra : rebase_source : 8b403183a2a08abcb798acef878682f69e3cee17
2017-04-07 05:20:14 +02:00
Sam Foster
4f20cc9f80 Bug 1334642 - Cache luminance values for each toolbar in ToolbarIconColor. r=dao,mconley
* Track window states: active, fullscreen and tabsintitlebar for each window
* Use toolbar.id and window state to store and retrieve values from cache
* Note: As each window has its own ToolbarIconColor object, the cache is not currently shared across windows
* inferFromText callers pass in a reason and associated value, which is used to update the state we track, and potentially clear out the cache
* Create new windows test directory for browser-window-specific tests like this
* Test for the ToolbarIconColor changes to avoid sync style flushes when windows activate/deactivate

MozReview-Commit-ID: JDJ3RtL4Lge

--HG--
extra : rebase_source : 7b49921bc653d57117f1c08212acc6c2db537984
extra : source : dd2d15dc577d9ec1ec16eb69d823c793dd1e9db0
2017-04-06 10:50:09 -07:00
Gregory Szorc
8b825ab76e Bug 1317594 - Vendor latest robustcheckout extension; r=me
This is from changeset 249a47720ddcf896a9f07600c429a1b4492b805e from
the version-control-tools repo. It contains a fix to restore
compatibility with Mercurial 3.7, which caused mozharness tests
to fail because that test pins Mercurial 3.7.3 in a requirements
file. This is a bug. But getting a modern robustcheckout deployed
is more important than upgrading that test.
2017-04-11 13:35:42 -07:00
Hiroyuki Ikezoe
f0a3340857 Bug 1341102 - Update mochitest expectations. r=me 2017-04-12 05:08:26 +09:00
Hiroyuki Ikezoe
cf5f266cdb servo: Merge #16344 - Call process_animation only if it's not animation-only restyles (from hiikezoe:animation-only-restyle-fix); r=emilio,heycam
<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1354426

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it's for stylo.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: e6a89899b0bf3e24e7f119e59a4e933bf967bb8d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 630353a1f0b16328ab985c98f3afc68c29516639
2017-04-11 14:16:21 -05:00
Sebastian Hengst
12bbf7f45f Backed out changeset d6d5806e5695 (bug 1348396) for frequently failing modified test. r=backout 2017-04-11 21:31:41 +02:00
Sebastian Hengst
cb58b31547 Backed out changeset 6b3a538e17a1 (bug 1355334) for eslint failure at XPIProvider.jsm:1075. r=backout 2017-04-11 21:29:07 +02:00
Sebastian Hengst
96a2cd81fe Backed out changeset afb421c9af44 (bug 1351675) for leaving unreferenced file pins.json in tree. r=backout 2017-04-11 21:23:05 +02:00
Andrew Swan
c441055412 Bug 1355334 Bail out immediately on manifest errors when parsing a webextension r=kmag
MozReview-Commit-ID: LdwimNj1upZ

--HG--
extra : rebase_source : 53e5c18f917e8f5000d417ef515bf918ea1d0424
2017-04-10 21:04:43 -07:00
Gregory Szorc
e4aa237bff Bug 1317594 - Vendor latest version of robustcheckout extension; r=me
File copied verbatim from changeset e0d30b04dac6bcd36b57c711d9c5b1c280f63390
from the version-control-tools repository.

The updated extension now detects and retries after network failures
where it didn't before. This should cut down on the number of
intermittent failures.

MozReview-Commit-ID: 2bFLcGEARTJ

--HG--
extra : rebase_source : ac43b1925713ce33e1d0d835323efc02c30aed74
2017-04-11 12:03:29 -07:00
Zibi Braniecki
9f6c244d29 Bug 1354445 - Migrate Intl.DateTimeFormat to mozIntl.DateTimeFormat in chrome. r=mak
MozReview-Commit-ID: 4z13lcLXN9T

--HG--
extra : rebase_source : 8043212542b95ca76cf5957fa1ca05e6943fb635
2017-04-08 23:04:32 -07:00
Nils Ohlmeier [:drno]
37ee2e02bb Bug 1355259: only filter out udp candidates if force_tcp is set. r=mjf
MozReview-Commit-ID: AKv0N74epZ1

--HG--
extra : rebase_source : 9a77174afca8fd45b614ec49f4eb86f04ced888a
2017-04-10 16:52:09 -07:00
Sebastian Hengst
9b51c27976 Backed out changeset 8657d0055dab (bug 1351426) for bustage (implicit conversion at BSPTree.h:64). r=backout 2017-04-11 20:03:56 +02:00
Sebastian Hengst
ff0202d231 Backed out changeset 889ccddba31a (bug 1351426) 2017-04-11 20:02:44 +02:00
Sebastian Hengst
67049aa323 Backed out changeset 2c56897d9ed1 (bug 1351426) 2017-04-11 20:02:40 +02:00
Sebastian Hengst
cf82b62831 Backed out changeset 347a0fff68ba (bug 1351426) 2017-04-11 20:02:35 +02:00
Sebastian Hengst
1a9742b9c6 Backed out changeset 00c0bff27644 (bug 1351426) 2017-04-11 20:02:31 +02:00
Andrew McCreight
ac0aa28aaa Bug 1355248 - Don't eagerly import InsecurePasswordUtils.jsm in LoginManagerContent.jsm. r=MattN
MozReview-Commit-ID: 7XVmlF4LHRQ

--HG--
extra : rebase_source : 6aa6f2d1e2b8b36fab351f28d5e1d4181807a334
2017-04-10 16:01:52 -07:00
Mark Striemer
611e641acc Bug 1344016 - Update styling of about:debugging for add-ons r=jdescottes
MozReview-Commit-ID: CGCoX6mtuv4

--HG--
extra : rebase_source : 17754a44fc7fcf15aa914f5c2cea18354038dede
2017-04-05 16:35:44 -05:00
Mark Striemer
bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00