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

533101 Коммитов

Автор SHA1 Сообщение Дата
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
Matheus Longaray e723d98949 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk

--HG--
extra : rebase_source : cccc12f17f315089c9e5d05116077b7f87f4053b
2017-04-20 14:04:03 +02:00
Emilio Cobos Álvarez cd2de9c4b8 servo: Merge #16648 - Bug 1360508: Adjust text-combine properly. r=jryans (from emilio:combine); 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>

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2282ef49108f0788db1777c53f9ef85ea625f69e
2017-04-28 10:25:21 -05:00
Ursula Sarracini d02542fcae Bug 1345122 - Update NewTabUtils.jsm for Activity Stream's needs r=mak
MozReview-Commit-ID: 3SpJucjKNby

--HG--
extra : rebase_source : 4613cc7c8ab832cbf605d50e385513b6b84a75ee
2017-04-28 10:00:30 -04:00
Marco Bonardo 27b8634437 Bug 1360279 - Typing in the location bar after a keyword causes the heuristic result icon to flicker. r=florian
MozReview-Commit-ID: 4ZXCLN7Lf2i

--HG--
extra : rebase_source : 46843f78fd2af57781d3a3987d61b5b24c2cdc18
2017-04-28 12:14:13 +02:00
Botond Ballo 66ed3e9795 Bug 1359211 - Handle touch-scrolling of XUL <listbox> in JS. r=bz,dao,kats
The APZ scrolling codepath doesn't do the right thing for <listbox>
without special handling, so have it scroll in JS instead, like we
did in bug 1302736 for <tree>.

MozReview-Commit-ID: LWJCBfhZ3Hc

--HG--
extra : rebase_source : bb8b2f7e713d35822a956e08f4e0eed0557b07b3
2017-04-24 17:12:21 -04:00
Luke Chang b553da7bbd Bug 1358943 - [Form Autofill] Support "address-line*" fields. r=MattN
MozReview-Commit-ID: 2Kut671GHQh

--HG--
extra : rebase_source : 7ef5bd93805d931425d5359c6aeff69022b00a09
2017-04-24 10:58:37 +08:00
Emilio Cobos Álvarez f5de4cd5ee Bug 1359384: Check for display: contents on nsXBLResourceLoader::NotifyBoundElements. r=bz
MozReview-Commit-ID: KVARvE6dO54

--HG--
extra : rebase_source : 31293b7284b56d80312bb2f9f2e526a2214ea45b
2017-04-27 23:35:32 +02:00
Thom Chiovoloni e2eefbc4d7 Bug 1359984 - Add mobile root to places organizer and bookmark sidebar search panels. r=mak
MozReview-Commit-ID: 2Yv6ll19F91

--HG--
extra : rebase_source : 65637308baa9f91f845d9b7448e9c3433181d1db
2017-04-26 19:21:07 -07:00
Chris H-C 9441f885dd bug 1319026 - Put an arbitrary upper-limit on TelemetryLog r=gfritzsche
To protect against pathalogically-bad cases of log abuse, limit TelemetryLog
to the first 1000 entries.

MozReview-Commit-ID: yoTFVS1VdQ

--HG--
extra : rebase_source : 04fae88fe619bb635b20f84549698348481825ea
2017-04-26 13:35:00 -04:00
Chris H-C cc69375ea9 bug 1319026 - Log failed Telemetry send requests. r=gfritzsche
Roughly one in three telemetry sends fail according to telemetry.mozilla.org.
Unfortunately, we have little idea about why.

This patch logs the failure paths in an effort to identify the worst offenders.

This is a temporary measure not meant to survive for long.
The data it gathers will be used to write appropriate longer-term error probes.

MozReview-Commit-ID: 9IMrLNH2AD

--HG--
extra : rebase_source : 2a3d12398e939965cc4bfebd3392dc7340691185
2017-04-06 15:10:15 -04:00
Ralph Giles 819141aa38 Bug 1360364 - Update builders to rust 1.17.0. r=mshal
Update tooltool manifests for official builds to use repacks
of the upstream rustc 1.17.0 (56124baa9 2017-04-24) stable release.

These repacks include cargo 0.19.0-beta.1 (03efb7fc8 2017-04-23)
to include support for the RUSTC_WRAPPER environment variable
needed for use of sccache with rust code.

MozReview-Commit-ID: L9Nq2iK4GK8

--HG--
extra : rebase_source : 882b201282a0e13ed77ec5876972657eab81a562
2017-04-27 15:24:57 -07:00
nchevobbe 4bb4c97c9c Bug 1359338 - Update reps bundle to 0.7.0. r=Honza
MozReview-Commit-ID: IomllBwp21b

--HG--
extra : rebase_source : 0df02efe6b26a56e2a87467e7a48281b3bf7d1e3
2017-04-28 14:04:36 +02:00
Glenn Watson 129c0894f4 servo: Merge #16643 - Update WR (various bits and pieces) (from glennw:update-wr-bits-and-pieces); r=jdm
* Split out positioning and clipping per display item.
* Only send scroll states for clips that actually scroll.
* NV12 texture format support.
* Make dithering a feature.
* Handle radial gradients with invalid radii.

Source-Repo: https://github.com/servo/servo
Source-Revision: 86bc2c02056d27435b2ceb6ab40736979c800d3e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c843193d947d1ae013855438b80ca5c2e1711f04
2017-04-28 08:52:10 -05:00
Alessio Placitelli de1f4c78e1 Bug 1346223 - Remove SessionRecorder.jsm. r=gfritzsche
This patch also moves the activeTicks logic to TelemetrySession.jsm
along with the related test coverage.

MozReview-Commit-ID: 8vXffqo2V85

--HG--
extra : rebase_source : f681b06b48a56e2890af98fd3a1b2dc21a44a77c
2017-04-24 16:32:14 +02:00
Aaron Cunningham b84f7fe3cf servo: Merge #16623 - Move impl's into macro for macro-generated keyword types (from aacunningham:issue-16604-define-keyword-type-modification); r=Wafflespeanut
Three keyword types are created through a macro but have some of their
impl's handled elsewhere. Since all impl's are the same, this commit
moves them into the macro to have them auto generated, for more concise
code.

<!-- Please describe your changes on the following line: -->

---
<!-- 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
- [X] These changes fix #16604 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this doesn't add any new features, just alters `impl` locations

<!-- 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: ad87d36a69e79cc53b516b4d0d8bddaaa5d431f5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : f2979b74d092859d5213fbd607ba8b8236126a7b
2017-04-28 08:09:13 -05:00
Alexandre Poirot d711218adc Bug 1360196 - Implement about:devtools-toolbox URL parameter in the network monitor. r=rickychien
MozReview-Commit-ID: HtLwJdVsaIt

--HG--
extra : rebase_source : 04a9941cc1a030d3440adaac53284cabaebe06f6
2017-04-27 11:23:34 +02:00
Timothy Guan-tin Chien 8a3fa4ab4d Bug 1330121 - Allow <checkbox> in preferences to expand to full width. r=jaws
This is fortunately quite easy to do with XUL box layout. I converted all
of the checkboxes except the ones come with a "Learn more" link.

MozReview-Commit-ID: DeBAP8GROrd

--HG--
extra : rebase_source : f4ce45c2c39d8e03a6b2aacd9b71b9512a852abc
2017-04-27 16:15:42 +08:00
Imanol Fernandez 9031296725 servo: Merge #16590 - Fix WebGL premultiplied alpha. Fix texImage2D calls with RGB images (from MortimerGoro:texture_rgb); r=emilio
Fix WebGL premultiplied alpha testcases.

Fix broken textures in some WebGL demos (e.g. Three.js). This was caused by WebGL::texImage2D calls with RGB formats. Alpha must be removed from the rgba8 pixel vector before submitting the data to the GPU.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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: 3b516af7835e917d279e45d986d18ec22a67ece9

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : aaec901f5906a9736bb4b5308a16658e22c7392f
2017-04-28 07:12:05 -05:00
Ben Hearsum 83ab509084 bug 1358601: set up CI builds and tests for DevEdition on mozilla-beta - add linux devedition builds r=aki,kmoir
MozReview-Commit-ID: 9mghIaHomfs

--HG--
extra : rebase_source : 5cadc16cf4b02b93eb1ae9ab14a87435c246b45c
2017-04-27 10:35:36 -04:00
Tom Tromey 6bbb235ebc Bug 1334302 - use MOZ_FORMAT_PRINTF in nsCSSRenderingBorders.h; r=mattwoodrow
Add MOZ_FORMAT_PRINTF to the definitions of PrintAsFormatString in
nsCSSRenderingBorders.h.

MozReview-Commit-ID: 9ZcSgNIPPhM

--HG--
extra : rebase_source : e2c3f86ac58835c0bdaf442f45fee25db99e52a6
2017-04-26 14:59:15 -06:00
Manish Goregaokar ff8d96e142 servo: Merge #16610 - overflow: -moz-scrollbars-none is shorthand-only (from Manishearth:fixup-overflow); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b7b5de0350e37f8b37da24ac2be3020ff2384561

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d838cd546931b8ed002e99cb1245586de98140dc
2017-04-28 06:19:00 -05:00
Carsten "Tomcat" Book 6f04d66b74 Merge mozilla-central to autoland 2017-04-28 13:45:47 +02:00
Kartikaya Gupta e8c09ecd2c Bug 1351548 - Follow-up to fix incorrect changes in cset 46fc8d459483. r=me a=Tomcat
Some reftest lines got fails-if(webrender) added, it appears accidentally.

MozReview-Commit-ID: HwGE8I8IuU9
2017-04-28 07:42:05 -04:00
Cameron McCormack 76e022564c Bug 1341102 - stylo test expectation adjustments. r=me a=merge
MozReview-Commit-ID: FFQZxMYSbG5
2017-04-28 19:08:43 +08:00
Cameron McCormack c87ba42879 Bug 1341102 - stylo test expectation adjustments. r=me a=merge
MozReview-Commit-ID: El00SHzLI4c

--HG--
extra : amend_source : 9591db39eb50efbf7c72364fe13092b10aa6e4ea
2017-04-28 16:40:15 +08:00
Carsten "Tomcat" Book 1045b9730a merge mozilla-inbound to mozilla-central a=merge 2017-04-28 10:36:11 +02:00
Cameron McCormack 604964272c Bug 1341102 - stylo test expectation adjustments. r=me 2017-04-28 14:09:42 +08:00
Shing Lyu d1cd3855d6 Bug 1351548 - Update stylo reftest expectations. r=me
MozReview-Commit-ID: GubFo2mBj8Z
2017-04-28 12:54:03 +08:00
Ehsan Akhgari 2ba38555ad Bug 1357107 follow-up: replace some run-away tab characters
DONTBUILD
2017-04-28 00:30:14 -04:00
Ehsan Akhgari 77c21859d4 Bug 1357107 - Part 2: Remove nsContentBlocker; r=bzbarsky 2017-04-28 00:13:23 -04:00
Ehsan Akhgari 1bf467365d Bug 1357107 - Part 1: Move the handling of the permissions.default.image pref to imgLoader.cpp; r=bzbarsky 2017-04-28 00:13:23 -04:00
Shing Lyu c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu 16402be633 Bug 1351548 - Switch from reftest-stylo.list to reftest.list on linux64-stylo. r=bholley
MozReview-Commit-ID: As1Bvg8qFKb
2017-04-28 11:15:54 +08:00
Shing Lyu 435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Shing Lyu 05ac48b1a2 Bug 1344132 - Make reftest run stylo-vs-gecko test without special reftest.list. r=heycam
MozReview-Commit-ID: 7gBGd5wzGbL
2017-04-28 11:15:45 +08:00
Iris Hsiao 5822a99946 Backed out changeset f7685ecd789d (bug 1350634) for marionette crashes 2017-04-28 10:43:34 +08:00
Jim Chen 7c13eebba6 Bug 1353799 - 4. Add composition event tests to testInputConnection; r=esawin
Add two tests to testInputConnection that record the sequence of
composition events during editing, and check that the sequence is what
we expected.

The first test makes sure that we reuse the current composition on the
Gecko side when setting composing text; otherwise the Facebook comment
box behaves incorrectly.

The second test makes sure that we can move the cursor inside the
current composition, to fix this particular bug.
2017-04-27 20:59:42 -04:00
Jim Chen 7c1bd4a073 Bug 1353799 - 3. Add types and timestamps in testInputConnection; r=esawin
* Include the type of the editor (input, textarea, contentEditable,
  designMode) in BasicInputConnectionTest, so we can work around the
  differences in behavior among the different editor types.

* Add timestamps to key events, because lack of timestamps was
  triggering a crash when running testInputConnection.
2017-04-27 20:59:42 -04:00
Jim Chen c3aa7c74d4 Bug 1353799 - 2. Update current composition when setting/removing spans; r=esawin
Update the composition when setting/removing spans, so that we update
the selection/cursor during a composition. However, we must limit any
updating to the current composition only (as indicated by the
keep-current-composition flag), because the Facebook comment box behaves
incorrectly if we repeatedly start and end new compositions.
2017-04-27 20:59:42 -04:00
Jim Chen faae209c85 Bug 1353799 - 1. Make icMaybeSendComposition accept a flag parameter; r=esawin
Use a flag parameter instead of individual boolean parameters to make
it more convenient to add more options.
2017-04-27 20:59:42 -04:00
Wes Kocher 2c32bb6724 Backed out changeset 5c2e089e2163 (bug 1332444) for causing bug 1360402 a=backout
MozReview-Commit-ID: 6JCqiMZePxX
2017-04-27 17:37:00 -07:00
Timothy Nikkel 0b57ca9241 Bug 1354933. Add annotation if the view is for a printing document if the view has a frame in its destructor. r=mats 2017-04-27 17:50:00 -05:00
Bill McCloskey 7c672b4158 Bug 1359245 - Fix compiler error on CLOSED TREE
MozReview-Commit-ID: 57cVUcTV1Rv
2017-04-27 15:53:37 -07:00
Aaron Klotz 4841c23410 Bug 1360371: Backed out changesets c39e811e3a09 and d4e6fb6fb40a as they are no longer necessary; r=backout
MozReview-Commit-ID: 7QSHmDn828Y

--HG--
rename : browser/app/firefox.exe.64.manifest => browser/app/firefox.exe.manifest
rename : ipc/app/plugin-container.exe.64.manifest => ipc/app/plugin-container.exe.manifest
extra : rebase_source : efded7e1b6cb0cd5875ca53bdddae6e18eff7ce9
2017-04-27 16:27:45 -06:00