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

533877 Коммитов

Автор SHA1 Сообщение Дата
Jeremy Chen c9c4b8cd54 Bug 1359786 - only check the mid-point while testing interpolation results in animations' web-platform-tests. r=hiro DONTBUILD (test-only)
In case of interpolation, we shall just check at 500ms.
No need to check 0ms and 1000ms.

MozReview-Commit-ID: FldqRXj0HLo
2017-05-01 00:36:06 +08:00
Gregory Szorc 4f5e255e5c Bug 1304508 - Remove final references to pymake in mozharness; r=ted
We shouldn't be running pymake any more. So code to work around its
behavior is no longer necessary and can be removed. Good riddance.

MozReview-Commit-ID: AlV6ZLiA6WB

--HG--
extra : rebase_source : 56252a8d96f108fd24878e7a26f0d4ffe4a0db45
2017-04-26 13:41:00 -07:00
Gregory Szorc 2a5be2b0d9 Bug 1304508 - Remove references to pymake in mozharness configs; r=ted
Now that mozharness is calling `mach build` to invoke the "check" target,
there are no more consumers of the "enable_pymake" config option. So we
remove it from the configs.

We also remove definitions of the "make" executable referring to pymake.
The only call sites I could find for "query_exe('make')" are in
testing/mozharness/scripts/mobile_l10n.py. So most of these definitions of
the "make" executable appear to be a cargo cult or left over from a
previous rewrite (the code we just changed to stop calling "make" wasn't
using query_exe). Since mobile_l10n.py is still using query_exe() to find
the make executable, there's a chance switching away from pymake (if this
patch even does that - I don't think we touched a config file related to
that script) could break something. I'm fine with teasing out that bug.

MozReview-Commit-ID: 7HR6ShAKcoV

--HG--
extra : rebase_source : 07c6a6f7aaab6d7fceeab46b6ca2744c964148dd
2017-04-26 13:31:40 -07:00
Michael Froman efa82b57bc Bug 1358224 - pt 2 - change to RTP stream id filtering on simulcast mochitests. r=drno
The simulcast mochitests setup the receiving PeerConnection to receive
simulcast video streams which Firefox doesn't really support.  Without
a test media server, this is about the best we can do and still test
simulcast.

Unfortunately the two simulcast streams arriving with different ssrcs
(as expect) exercises code we have to deal with some services switching
ssrcs midstream.  In the tests, this causes intermittent failures
because the test is waiting to receive a certain ssrc, and the receiving
VideoConduit has switched to the other ssrc.

This change adds the ability to filter on RID at the MediaPipeline level,
which we can setup prior to media flowing.  This avoids the ssrc switching
issue since the VideoConduit only receives one ssrc until we change the
RID filter to the second RID.  At that point, the VideoConduit sees a new
ssrc and the switching code works as intended.

The modified mochitests setup the RTP stream id header extension, and then
filter on each of the RTP stream ids in turn.

MozReview-Commit-ID: KApfaxMX8rl

--HG--
extra : rebase_source : d7ae88d9675acd7b3700f342ca6a68d0bbb0ced5
2017-04-26 10:51:00 -05:00
Michael Froman c526c139fc Bug 1358224 - pt 1 - addRIDExtension and addRIDFilter chrome-only API for RID (RTP Stream Id) filtering of receive tracks. r=qdot
The simulcast mochitests exhibit an intermittent failure due to ssrc-based
filtering that can be solved by filtering by RID.  The RTP header parser
used in MediaPipeline also needs to have the RID RTP header extension
specified in order for it to properly parse the RTP header and allow
filtering on RID.

MozReview-Commit-ID: E54HCGLVYDk

--HG--
extra : rebase_source : b53085f23cb6558611aa7622f55637e19439c9c3
2017-04-26 10:01:07 -05:00
Emilio Cobos Álvarez 45df902a41 Bug 1360508: Test expectation updates. r=emilio
MozReview-Commit-ID: KN99kqljqYj
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-28 20:19:15 +02:00
Emilio Cobos Álvarez 90236f99ab Bug 1360508: Allow fixups on text styles to be reflected. rpending=heycam a=orange
MozReview-Commit-ID: Eh6shYiv4RC
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-28 20:19:03 +02:00
Emilio Cobos Álvarez 68de453c9b Bug 1360508: Use the parent's frame style context when handling text-combine. r=xidorn
Instead of the parent style context itself. This also fixes bug 1360530.

It's not clear what should we use in this case, it depends on the resolution in
[1] and [2].

While those get resolved, this is probably ok, and gets rid of the only
styleContext->GetParent() outside nsRuleNode.

[1]: https://github.com/w3c/csswg-drafts/issues/1249
[2]: https://github.com/w3c/csswg-drafts/issues/1281

MozReview-Commit-ID: LSOgFCwQi1W
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-28 20:18:04 +02:00
Emilio Cobos Álvarez 2e7660653c Bug 1360508: Adjust text-combine properly. r=jryans
Text style is always resolved via ServoStyleSet::ResolveStyleForText, either
from the frame constructor initially, or from
ServoRestyleManager::ProcessPostTraversalForText.

So text-only adjustments should go there instead. Since that doesn't call into
cascade(), all the code that passes `pseudo` there is dead code we can remove.

MozReview-Commit-ID: jpbBYpLlUL
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-04-28 20:18:00 +02:00
Masayuki Nakano e12339e622 Bug 1358958 part.1 Don't consume command when neither keydown nor keypress event was consumed r=m_kato
When typing Enter key when active keyboard layout is Korean IME and it has composition string, the composition string is committed and then, "insertNewline:" command is sent. However, TextInputHandler::DoCommandBySelector() consumes the command because the key event has already modified the composition string.

This patch makes TextInputHandler::DoCommandBySelector() consume the command if it's not handling keydown or neither dispatched keydown event nor dispatched keypress event (if it does) is consumed. Therefore, insertNewline:sender of nsChildView will be called later, then, it causes inserting a line break with a set of composition events.

MozReview-Commit-ID: Afr1FKZbUtL

--HG--
extra : rebase_source : 0c43986907553750b63bed0c95b3d5aaa1b16bea
2017-04-26 20:39:13 +09:00
Hiroyuki Ikezoe bf97b2a40a Bug 1343884 - Add a tweak to cause a MozAfterPaint in 1239889-1.html. r=boris DONTBUILD
MozReview-Commit-ID: PiXLTTCXSi

--HG--
extra : rebase_source : 0a803674ece5a70b998dc4d8a5f77172962c7a21
2017-04-28 13:17:34 +09:00
Anthony Ramine 3cebcd4d00 servo: Merge #16609 - Implement unitless length quirk (from nox:quirks); r=Manishearth,emilio
The Gecko side doesn't propagate its quirks mode yet.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 9dc47c4a8059e1788be23db57794b77e2b0c010d
2017-04-27 22:32:24 -05:00
Chris Pearce 873955b81f Bug 1360389 - Have ChromiumCDMParent inform CDMProxy of shutdown. r=gerald
The ChromiumCDMParent is informed of the shutdown of its plugin, so we can
use that to inform the CDMProxy that its connection to the CDM has been
severed. This means we shutdown cleanly if the browser closes while playing.

MozReview-Commit-ID: HphQ2exu1gj

--HG--
extra : rebase_source : ff9ee3699915e8b7527570e839eb3bb0a0ab46bc
2017-04-28 12:02:14 +12:00
Chris Pearce 5fe1464d84 Bug 1357133 - Recover from incorrectly guessing the CDM's shmem sizes. r=gerald
We are pre-allocating shmems in the content process for use by the CDM in the
GMP process. We guess the size of shmem required. However if we guess wrong,
currently we always end up taking the non-shmem path for video frames to
return to the content process, which results in us sending another shmem
(of the wrong size) to the CDM, and this continues until we hit the limit
on the number of shmems that we tolerate the CDM asking for.

So in this patch, I change our behaviour to detect when we're allocating
shmems that are too small, whereupon we purge the existing shmems and switch
to allocating them at the size being requested by the CDM.

This means we recover from incorrectly guessing the size of shmems required
by the CDM. The overhead of an incorrect guess should be one video frame
transferred via the nsTArray path.


MozReview-Commit-ID: 8o1s7FI2UBd

--HG--
extra : rebase_source : 0612d199686278612e8c58dc97e96a9304ea3ee9
2017-04-28 08:55:28 +12:00
Cameron McCormack c9e89efdd7 Bug 1341102 - stylo test expectation adjustments. r=me 2017-04-28 11:42:16 +08:00
Emilio Cobos Álvarez 19f515e175 servo: Merge #16641 - Bug 1360399: Don't deduplicate revalidation selectors. r=bholley (from emilio:dupedupedupedupe); r=bholley
It's unfortunate, but it's a correctness issue. I was looking at the
expectations update here:

 * https://hg.mozilla.org/integration/autoland/rev/659cddddd434

And investigating it I realised that it's wrong to coalesce selectors like that,
because we keep the bloom filter flags.

So in the test cases disabled, we have a selector that looks like this:

```
msub > :not(:first-child),
msup > :not(:first-child),
msubsup > :not(:first-child),
mmultiscripts > :not(:first-child) {
    -moz-script-level: +1;
    -moz-math-display: inline;
}
```

And an element that looks like this:

```
<msubsup><mi></mi><mi></mi></msubsup>
```

We're only inserting the first selector msub > :not(:first-child) into the set,
so when we're going to match the <mi> elements we fast-reject it in both cases
due to the bloom filter, so they share style.

I can't see an easy way to fix this keeping the deduplication. If we keep it, we
need to remove the bloom filter optimization, which means that we'd trash the
cache for every first-child in the document (the :not(:first-child) effectively
becomes a global rule).

MozReview-Commit-ID: 9VPkmdj9zDg
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 050be3042ec6e90bed7cbb9fdb24bcb10b5a20cc
2017-04-27 19:59:25 -05:00
Nevin Chen fa7b7e4d28 Bug 1356517 - Add deep links to handle events. r=Grisha
MozReview-Commit-ID: 4OQTrbEdVtQ

--HG--
extra : rebase_source : 2d42f89cf4b0f5a4de1e5ff700c6c5229a0c6278
2017-04-25 18:01:34 +08:00
Kaku Kuo d8f3ff3172 Bug 1358057 P2 - add a mochitest; r=jwwang
MozReview-Commit-ID: 4xa1GojEnX0

--HG--
extra : rebase_source : b7585b7cf0ffd0dafede1823f138ac53fa160885
2017-04-25 16:03:47 +08:00
Kaku Kuo 4f05a2cbd0 Bug 1358057 P1 - don't use fastseek while resuming video decoder to the last frame; r=jwwang
MozReview-Commit-ID: Luat2cPO33F

--HG--
extra : rebase_source : 9387cc56e5ca41db1a9e6efa2bc34eb8f617968f
2017-04-25 16:01:43 +08:00
Ricky Chien 150b22a171 Bug 1359448 - Lock down devtools-core package r=gasolin
MozReview-Commit-ID: 7vmaYbyW31b

--HG--
extra : rebase_source : 9d9bccb6baceb1bdfd91513c2b7da8a2a0e806eb
2017-04-26 14:51:40 +08:00
Makoto Kato 8109941e51 Bug 1359707 - Preferences::GetBool(PREF_ALWAYS_INCLUDE_RUBY) should use AddBoolVarCache. r=smaug
When profiling nsDocumentEncoder::EncodeToStringWithMaxLength for text/plain, 25% is Preferences::GetBool into nsPlainTextSerializer::Init.  So we should use AddBoolVarCache for it.

MozReview-Commit-ID: 9CVd4OZzzr5

--HG--
extra : rebase_source : 6b860927b64109ae41a07a161f47612df2f176b7
2017-04-27 12:44:24 +09:00
Ralph Giles b50ae2a480 Bug 1360396 - Update nestegg from upstream. r=kinetik
Pull recent changes from the upstream nestegg webm parser
repo. This include a definition of NESTEGG_CODEC_AV1 for
supporting the Alliance for Open Media's AV1 video codec,
and a fix for an unitialized variable warning.

MozReview-Commit-ID: EC1WsaFYlqo

--HG--
extra : rebase_source : 22139c35e505b9cf3c165ff76cdfaaea953baf4d
2017-04-27 17:14:25 -07:00
Phil Ringnalda c310aaa870 Backed out changeset ab35d61ad843 (bug 1359655) for Windows e10s timeouts in browser_downloads_panel_block.js and browser_downloads_panel_footer.js
CLOSED TREE

MozReview-Commit-ID: F2VbANlwRGw

--HG--
rename : browser/extensions/shield-recipe-client/test/unit/query_server.sjs => browser/extensions/shield-recipe-client/test/unit/test_server.sjs
2017-04-27 20:18:11 -07:00
Phil Ringnalda 44cd802e93 Backed out 2 changesets (bug 1349489) for xpcshell failures in test_Macys.js and test_Walmart.js
CLOSED TREE

Backed out changeset 7b8379154e08 (bug 1349489)
Backed out changeset a093b634c4d5 (bug 1349489)

MozReview-Commit-ID: 35RBBL8o1I9
2017-04-27 19:23:21 -07:00
Andrzej Hunt 826710659c Bug 1356693 - infer: fix RESOURCE_LEAK's in geckoview r=walkingice
Similar to some previous commits, we prefer non-throwing constructors
in order to ensure we never lose a reference to an unclosed stream.
InpuStreamReader(..., Charset) is preferred over InputStreamReader(..., String)
since the latter can throw when the String is not a valid Charset.
(In reality we know that our Charset Strings are correct, but the compiler
 isn't able to determine that for itself. Moreover, using the preparsed
 Charset is more efficient.)

MozReview-Commit-ID: 9z07G3hqPI3

--HG--
extra : rebase_source : 4cee7d97a66e4c6f193547df019335db4443f45a
2017-04-26 17:22:30 +08:00
Gregory Szorc 47737eb684 Bug 1304508 - Use mach for running "check" target; r=ted
We switch mozharness to use `mach build` to invoke the "check" make
target instead of using `make` itself. Because `mach` is the interface
that everyone should use and `make` is an implementation detail.

My editor also snuck in a change to normalize a CRLF line ending.

MozReview-Commit-ID: 4gdE6oeK0Lz

--HG--
extra : rebase_source : 0bfd6503a25f6b4304b596bd59ef99294c011474
2017-04-24 18:24:48 -07:00
Kris Maglione aeb060de85 Bug 1358921: Lazily load ReaderParent.jsm when first needed. r=florian
MozReview-Commit-ID: 5UkSnU5sJsm

--HG--
extra : rebase_source : 08d1a24ca158cd91bd1691f1c230e4bfbacf149b
2017-04-23 13:27:35 -07:00
Kris Maglione 22688fc220 Bug 1358921: Lazily load LoginManagerParent.jsm when first needed. r=florian
MozReview-Commit-ID: 4Aq0mBGXBX3

--HG--
extra : rebase_source : eb8bdb8efb65d758e1ddf5d6ffd6d07736763139
2017-05-02 22:42:28 -07:00
Kris Maglione df4bfbccad Bug 1358921: Lazily load ContentPrefServiceParent.jsm when first needed. r=florian
MozReview-Commit-ID: 4JSdg1eJFbP

--HG--
extra : rebase_source : acc8b3ffd7a3399526a53f1af8d8643437ad1b2c
2017-04-29 13:38:52 -07:00
Kris Maglione 1c6c698ee0 Bug 1358921: Lazily load Feeds.jsm when first needed. r=florian
MozReview-Commit-ID: JLTn01mmDO5

--HG--
extra : rebase_source : d76b554b611ac63955052bca09dff68f53bce99c
2017-04-23 13:02:49 -07:00
Kris Maglione 9c4e5dce20 Bug 1358921: Lazily load RemotePrompt.jsm when first needed. r=florian
MozReview-Commit-ID: 95u2FozBiqk

--HG--
extra : rebase_source : 940bcb1eb94b3ccc3481e3a8bcbaf8d0b8bad0a2
2017-04-23 13:00:46 -07:00
Kris Maglione 2e8e2cf455 Bug 1358921: Lazily load ContentClick.jsm when first needed. r=florian
MozReview-Commit-ID: 3Ogl4SaZ5t

--HG--
extra : rebase_source : 23a5f45cffbc8ca34590382326fbb55a5f7f362b
2017-04-23 12:58:18 -07:00
Kris Maglione 2204b8f326 Bug 1358921: Lazily load FormValidationHandler.jsm when first needed. r=florian
MozReview-Commit-ID: GI33wkhutgP

--HG--
extra : rebase_source : a4d50b23148e1625da93da45998fa3466725973a
2017-05-02 20:08:30 -07:00
Kris Maglione 1daaeec14c Bug 1358921: Lazily load ContentSearch.jsm when first needed. r=florian
MozReview-Commit-ID: 2iN85WYKtkS

--HG--
extra : rebase_source : 1abc83b3860429e6439513f0aa6ca26358639681
2017-04-23 13:05:39 -07:00
Kris Maglione 19a2312fe8 Bug 1358921: Lazily load AboutHome.jsm when first needed. r=florian
MozReview-Commit-ID: 6pzUBmzoFDp

--HG--
extra : rebase_source : 07debf9e9e31065605306362bd57245199ed8c24
2017-04-23 12:48:38 -07:00
Kris Maglione f62862f632 Bug 1358921: Lazily load webrtcUI.jsm when first needed. r=florian
MozReview-Commit-ID: LRtpyBaRCMA

--HG--
extra : rebase_source : 698e702af3893bbbcf544eeb2ef1622072a0b67c
2017-05-02 19:50:20 -07:00
Honza Bambas 124792a6b7 Bug 1354796 - Close unconnected HTTP connection with NS_ERROR_NET_TIMEOUT after 90s timeout. r=mcmanus 2017-05-03 08:31:00 -04:00
David Major eeaa91fc5c Bug 1359507: Replace the stack walk workaround lock with an atomic counter of suppressions. r=mstange,froydnj
This fixes a deadlock by removing one of the two sides of a mutual-wait.
2017-05-03 12:10:48 -04:00
Nathan Froyd 3261352ea3 Bug 1361514 - convert XPCLocaleObserver to NS_DECL_OWNINGTHREAD; r=gabor
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Nathan Froyd 81c338e5a7 Bug 1361512 - convert InputStreamParent to use NS_DECL_OWNINGTHREAD; r=baku
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Nathan Froyd 5f0417d309 Bug 1361511 - change ownership assertion mechanism for various DOM classes; r=baku
The declarations of their refcounting methods already includes an owning
thread, so let's just piggyback on top of that to assert their owning
thread, rather than having separate fields and tests.
2017-05-03 11:48:54 -04:00
Nathan Froyd 695eedecbc Bug 1361445 - convert MediaEngineSource to use NS_DECL_OWNINGTHREAD; r=jesup
The pattern we're using here has a name, so let's use that instead.
2017-05-03 11:48:54 -04:00
Jim Chen 4ad848635e Bug 1352177 - 3. Update existing binding config files; r=snorp
Update the existing binding config files to the new format. Bundle is no
longer used so Bundle-classes.txt is removed.
2017-05-03 11:36:19 -04:00
Jim Chen 6723035d5c Bug 1352177 - 2. Introduce new config file format for SDK bindings; r=snorp
Instead of specifying a class name per line, the new format uses the
.ini format, with each section name specifying the class, and each
property name specifying a member of the class. WrapForJNI options can
be specified with each class or member. Comments can be specified with
';' or '#'. For example,

 # Generate bindings for Bundle using default options:
 [android.os.Bundle]

 # Generate bindings for Bundle using class options:
 [android.os.Bundle = exceptionMode:nsresult]

 # Generate bindings for Bundle using method options:
 [android.os.Bundle]
 putInt = stubName:PutInteger

 # Generate bindings for Bundle using class options with method override:
 # (note that all options are overriden at the same time.)
 [android.os.Bundle = exceptionMode:nsresult]
 # putInt will have stubName "PutInteger", and exceptionMode of "abort"
 putInt = stubName:PutInteger
 # putChar will have stubName "PutCharacter", and exceptionMode of "nsresult"
 putChar = stubName:PutCharacter, exceptionMode:nsresult

 # Overloded methods can be specified using its signature
 [android.os.Bundle]
 # Skip the copy constructor
 <init>(Landroid/os/Bundle;)V = skip:true

 # Generic member types can be specified
 [android.view.KeyEvent = skip:true]
 # Skip everything except fields
 <field> = skip:false

 # Skip everything except putInt and putChar
 [android.os.Bundle = skip:true]
 putInt = skip:false
 putChar =

 # Avoid conflicts in native bindings
 [android.os.Bundle]
 # Bundle(PersistableBundle) native binding can conflict with Bundle(ClassLoader)
 <init>(Landroid/os/PersistableBundle;)V = stubName:NewFromPersistableBundle

 # Generate a getter instead of a literal for certain runtime constants
 [android.os.Build$VERSION = skip:true]
 SDK_INT = noLiteral:true
2017-05-03 11:36:18 -04:00
Jim Chen f915e1bd65 Bug 1352177 - 1. Add a "noLiteral" option for WrapForJNI; r=snorp
For static final fields, generate a getter instead of a literal when
specified. Used to generate bindings for runtime constants whose values
are unknown at compile time.
2017-05-03 11:36:18 -04:00
Jim Chen 3434ba087b Bug 1360322 - 3. Only build LUL on supported architectures; r=mstange
Only build LUL and its tests on ARM, x86, and x86_64, because only those
architectures are currently supported by LUL.
2017-05-03 11:36:18 -04:00
Jim Chen 7041014748 Bug 1360322 - 2. Add initial AArch64 support to Gecko profiler; r=mstange
Add enough AArch64-specific code for the Gecko profiler to build.
2017-05-03 11:36:18 -04:00
Jim Chen 28cf921283 Bug 1360322 - 1. Convert tools/profiler/moz.build to Unix line ending; r=me 2017-05-03 11:36:18 -04:00
Tim Taubert 3fe719f573 Bug 1360916 - Fix timeouts in browser_sessionStorage_size.js r=bustage 2017-05-03 17:22:07 +02:00
Olli Pettay b49ab64eb4 Bug 1355039 - Ensure the right url is used for reloading. r=bz 2017-05-03 11:04:02 -04:00