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

528760 Коммитов

Автор SHA1 Сообщение Дата
bechen 7b4c35c268 Bug 1318542 - fix testcases due to new pseudo element ::cue. r=heycam
MozReview-Commit-ID: F10y2zTtBoT

--HG--
extra : rebase_source : 8d6ab4a78c1fcd62dc688e9b31f7f1b6fb4056fc
2017-04-05 10:50:58 +08:00
bechen 268a2f5b7a Bug 1318542 - Label NODE_IS_NATIVE_ANONYMOUS on the elements from ::cue up to nsVideoFrame. r=bz,heycam
Since the ::cue div created by JS, it doesn't have the NODE_IS_NATIVE_ANONYMOUS flag.
We set the NODE_IS_NATIVE_ANONYMOUS when binding to domtree from the ::cue up to the RootOfAnonymousSubtree
so that GetClosestNonNativeAnonymousAncestor will return video element as style parent.

MozReview-Commit-ID: 3EiYOqnbY15

--HG--
extra : rebase_source : eedcd5948852c3405a719b9f3c3396ee009f7273
2017-04-05 10:48:52 +08:00
bechen adb93a2342 Bug 1318542 - Add preference "media.webvtt.pseudo.enabled". r=rillian
MozReview-Commit-ID: BrdCPgapAYi

--HG--
extra : rebase_source : fdfd90313373394f2dc7f36c61a3a3fbd06c70f3
2017-04-05 10:48:49 +08:00
bechen 09f08159e8 Bug 1318542 - Disable testcase 3_track.html, see bug1342063, the testcase un-expected-PASS on OSX 10.10. r=alwu
MozReview-Commit-ID: LBZuyqy52ZJ

--HG--
extra : rebase_source : fb33478db75cb3b6f72b65b8bd23c47046ec9b43
2017-04-05 10:48:25 +08:00
bechen 30f3430251 Bug 1318542 - Make CueStyleBox apply ::cue. r=heycam,rillian
MozReview-Commit-ID: CNhFlffGAfh
* * *
[mq]: trash

MozReview-Commit-ID: KY2DfqPDmx0

--HG--
extra : rebase_source : fb16313ac5715ec1f544f8a80d0bad26aa42013d
2017-04-05 10:47:36 +08:00
Hiroyuki Ikezoe 69eba3c7ca Bug 1337695 - Enable tests which had been affected by an assertiton with "aRestlyeHint == 0". r=shinglyu
The assertion has been gone, three reftests in this patch
still fail but should be run now.

MozReview-Commit-ID: HKmPkcbaG7w

--HG--
extra : rebase_source : 8417b0192a7d49dd4f7f533ba5f09edce263b3db
2017-04-01 12:13:07 +09:00
Hiroyuki Ikezoe 018667911c Bug 1323648 - Enable crash tests in dom/base/crashtests. r=shinglyu
MozReview-Commit-ID: F96kiCLjqJg

--HG--
extra : rebase_source : af6d212fb628d3459a527e261846bbf5780fc860
2017-04-01 12:07:07 +09:00
maliu 65604a4152 Bug 1353001 - Fallback invoke ContentResolver.query without CancellationSignal, r=sebastian
MozReview-Commit-ID: 7d3lxiWs3uP

--HG--
extra : rebase_source : bb610154148bf9377bdfc1448018d651130f81b9
2017-04-03 21:50:55 +08:00
Ting-Yu Lin 0119bb6b75 Bug 1321754 - Add an enum value to SheetParsingMode for agent sheets that use no unsafe rules. r=heycam
scrollbars.css is the only sheet which is parsed as author level, but later
added as agent level in [1]. Add a new enum value so that it can be parsed
as author level in gecko (nsCSSParser::AgentRulesEnabled() will exclude it),
but servo can recognize it as agent level sheet when the sheet is created.

Delete UserRulesEnabled() because no one uses it.

[1] http://searchfox.org/mozilla-central/rev/7419b368156a6efa24777b21b0e5706be89a9c2f/layout/base/nsDocumentViewer.cpp#2326

MozReview-Commit-ID: 2lrV4ogfnHM

--HG--
extra : rebase_source : 9d80a146f2ec5629999076ea1587e7d36f06afe7
2017-03-28 18:06:26 +08:00
Sumit 7137918b7e servo: Merge #16268 - Basic MutationObserver interface stubs (from jdm:tmp); r=jdm
Rebase and squash of https://github.com/servo/servo/pull/16190.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8e2a1477ae800b86eae45fc9c6daf85615100854

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : febfe9bf5d1c77941bdc9a4e820a0e08741b2d57
2017-04-05 01:56:16 -05:00
JW Wang 4cff3416a0 Bug 1353618 - Optimize storage of MozPromise::mThenValues. r=gerald
1. Set the capacity to 1 when IsExclusive is true.
2. Set it to 3 because Try shows we never have more the 3 elements when IsExclusive is false.

MozReview-Commit-ID: dmIeE6ZTeh

--HG--
extra : rebase_source : fc6b173d3a389d11424238f76cbae1f496155ba5
extra : source : c6203c27b8020999ed39ff43ddf5173f5111ef6b
2017-03-31 18:41:29 +08:00
Hiroyuki Ikezoe c7495b1957 Bug 1323679 - Enable some crash tests. r=shinglyu
MozReview-Commit-ID: 6MxVcZhC2oD

--HG--
extra : rebase_source : e255ac678c0df5ae14ac650d83577782fb00d452
2017-04-01 11:38:07 +09:00
Manish Goregaokar 27c6217632 Bug 1341102 - Update stylo reftest expectations; r=orange
MozReview-Commit-ID: FRHThUmyVWb
2017-04-05 00:15:13 -07:00
Iris Hsiao e9db7e1f92 Backed out changeset 28f8a3519d73 (bug 1267480) for mochitest bc6 perma-failing 2017-04-05 14:23:13 +08:00
Brian Birtles 5986b384f6 Bug 1353208 - Add check for attribute namespace ID when we decide if it should animate as a CSS property or not; r=dholbert
This seems like an existing bug. If the content specifies
attributeType="yer:opacity", we should not try to animate it as a CSS property.
This patch adds a namespace check before we try to animate as a CSS property.

MozReview-Commit-ID: 1LpBa23ddqX

--HG--
extra : rebase_source : c5a4edb4c48bfd6116e58d4ef3eb91384ee86bd5
2017-03-30 16:13:02 +09:00
Brian Birtles 6b8dbeadd1 Bug 1353208 - Simplify logic in GetCSSPropertyToAnimate to remove double negatives; r=dholbert
MozReview-Commit-ID: 41qhKdcNoNB

--HG--
extra : rebase_source : 22541e23514b950e6d48c72bb0ee4a1f992f67b1
2017-04-04 14:56:52 +09:00
Brian Birtles e96d223104 Bug 1353208 - Factor out nsSMILCompositor::GetCSSPropertyToAnimate helper method; r=dholbert
In bug 1315874 we will create a method to check if we're likely to need to
resolve base styles or not, and for that we need to extract the check for
whether or not we're animating a CSS property.

MozReview-Commit-ID: 9Ybsi91fro8

--HG--
extra : rebase_source : e2f72a7d807bfbe026fbd1a603cd993c3d502584
2017-03-30 13:10:08 +09:00
Brian Birtles 1efabc2e0b Bug 1353208 - Don't allocate separate heap memory for nsSMILCompositor::mCachedBaseValue; r=dholbert
nsSMILCompositor::mCachedBaseValue is an nsAutoPtr<nsSMILValue> that we allocate
on the heap. It looks like we did that back in bug 533291 presumably because it
makes transferring these cached values between nsSMILCompositor objects cheaper.

One drawback of this, however, is that mCachedBaseValue has two null states:
the mCachedBaseValue pointer can be null, and the pointed-to nsSMILValue can be
a null value (i.e. IsNull() returns true).

Now that we have move ctors and operators defined for nsSMILValue we can
transfer these objects between compositors cheaply without requiring the object
to be allocated as separate heap object. This patch makes mCachedBaseValue just
a regular nsSMILValue class member (i.e. drops the nsAutoPtr).

There's a subtle difference in behavior with regards to the first sample.
Previously we would compare the (initially) null mCachedBaseValue pointer with
the passed-in nsSMILValue and set mForceCompositing to true. With this patch,
however, we will only set mForceCompositing to true if the passed-in
mCachedBaseValue is not null.

I believe this is correct, however, since if we don't call GetBaseValue in
ComposeAttribute we should not be setting mForceCompositing to true (something
else should ensure that gets set to true), and if we do call GetBaseValue the
result should not be a null nsSMILValue (except in some OOM cases where we don't
really care if we miss a sample). This patch adds an assertion to check that
GetBaseValue does, in fact, return a non-null value. (I checked the code and
this appears to be the case. Even in error cases we typically return an empty
nsSMILValue of a non-null type. For example, the early return in
nsSMILCSSProperty::GetBaseValue() does this.)

MozReview-Commit-ID: BRJFa4xMdxz

--HG--
extra : rebase_source : f3e3ca1e01e73610523bde7583e2a002d2473184
2017-03-30 13:10:07 +09:00
Brian Birtles 8ff0648aee Bug 1353208 - Use UniquePtr for handling heap-allocated nsISMILAttr objects; r=dholbert
MozReview-Commit-ID: 10lA0ZaXChj

--HG--
extra : rebase_source : f5285b5363b2247ac73f63d9d13f8a109728a7c2
2017-03-30 13:10:07 +09:00
Brian Birtles b4442afb51 Bug 1353208 - Sort includes in nsSMILAnimationController.cpp; r=dholbert
We will add to these includes later in this patch series so we sort them now so
it's clear where to add to.

MozReview-Commit-ID: CgqlS3f62nu

--HG--
extra : rebase_source : 009e8de1961cfd3d0f9cd72061e2e8f254f03cad
2017-03-30 13:10:06 +09:00
Brian Birtles a8a97cdc11 Bug 1353208 - Drop a few remaining references to attributeType; r=hiro
These are left over from bug 1062106.

MozReview-Commit-ID: 4vfcT4O2tMz

--HG--
extra : rebase_source : 2d606f0d5470ae0c56318f7d682ff1ab3ad86f19
2017-03-30 13:10:06 +09:00
Manish Goregaokar b67b0cb1ef Bug 1341714 - Part 4: stylo: Add support for xml:lang; r=heycam
MozReview-Commit-ID: E0GpyPKES3k

--HG--
extra : rebase_source : 0395305db946b4b54427fa9a19f2c3796123e6f5
2017-03-26 13:53:34 -07:00
Manish Goregaokar 6ebe8fa88b Bug 1341714 - Part 3: stylo: Add support for <math> default language; r=heycam
MozReview-Commit-ID: LhhSBzYjow5

--HG--
extra : rebase_source : fcc9e8e21563a45a436653bacafe3cfd17bc5ff2
2017-03-26 13:53:34 -07:00
Manish Goregaokar a2be776eb5 Bug 1341714 - Part 2: stylo: Add support for <table> color quirk ; r=heycam
MozReview-Commit-ID: 56IKARwfbhw

--HG--
extra : rebase_source : af58d14da2e1c329ce2ace2b9cacf79b9adf0319
2017-03-26 13:53:34 -07:00
Manish Goregaokar 77fc773f44 Bug 1341714 - Part 1: stylo: Add support for text-align match-parent and the <th> -moz-center-or-inherit behavior ; r=heycam
MozReview-Commit-ID: GEDM7JfJB8A

--HG--
extra : rebase_source : 03690c3130406831887a1393e1d28c03e626eb42
2017-03-26 13:53:34 -07:00
Manish Goregaokar 0c462c15fa servo: Merge #16266 - stylo: Support all extra style rules from nsHTMLStyleSheet (from Manishearth:stylo-nshtmlss); r=heycam
r=heycam from https://bugzilla.mozilla.org/show_bug.cgi?id=1341714

Source-Repo: https://github.com/servo/servo
Source-Revision: 21979bf715bbc9fcbde1ea487853cfe73d853353

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0d0e2336a4c54ac4b4f3870dcb1f6b475fb705ee
2017-04-04 23:56:00 -05:00
Matteo Ferretti c69aedcdd8 Bug 1345434 - Implementation of a virtual canvas technique for grid highlighter; r=pbro
A virtual canvas is basically a canvas that seems bigger than is actually is.
The technique consists in moving a fixed sized canvas during the scrolling, when
is needed, to give the illusion that it always covers the entire document.

MozReview-Commit-ID: Hp4cUZaBdm8

--HG--
extra : rebase_source : 536891732a6247103734d60f9d8720dc2131815f
2017-04-04 15:11:04 +02:00
Alfredo.Yang 348ae4d9df Bug 1329126 - update rust mp4 parser for preventing buffer overflow. r=kinetik
MozReview-Commit-ID: Ih85J4nejLx

--HG--
extra : rebase_source : 033d42491bbaf556a1e5adc09406cf6fa2f81e18
2017-03-31 15:49:43 +08:00
Glenn Watson 341d05c4ee servo: Merge #16264 - Update WR (border fast paths, clip interfaces) (from glennw:update-wr-borders-and-clips); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 6a67688924b1b122be9c8ec456d6029dc02366a4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 88b484524f996cce0d5c77dfd7e3634684cdb6da
2017-04-04 20:35:19 -05:00
Makoto Kato 1c93a16bad Bug 1349879 - Intl object is hidden on Android beta and release channel. r=snorp,Waldo
Some interface tests into mochitest is failure on android beta and release.

test_serviceworker_interfaces.js has nonReleaseAndroid flag, so we should use it into test_interfaces.js and test_worker_interfaces.js

MozReview-Commit-ID: A1aHrTXwGil

--HG--
extra : rebase_source : 0990ec8a50b664ac711ee4977a104286f40ae07e
2017-03-30 19:44:28 +09:00
Blake Kaplan 9708f9f50d Bug 1350058 - Update the content context if we close the downloading window. r=mconley
MozReview-Commit-ID: A5LsapsljMY

--HG--
extra : rebase_source : bb35582e80c64f3cb8d563e14b24ed394a45ad5b
2017-03-23 17:01:30 -07:00
Nico Grunbaum deeb9fdcf9 Bug 1348657 - Part 2 - split send/recv packet counts r=jib
MozReview-Commit-ID: 2SENT4rGsLX

--HG--
extra : rebase_source : 8a6c960871ed7fffb28d5a7676d20c016daa3b58
2017-03-30 10:59:46 -07:00
Nico Grunbaum af67a2fb4c Bug 1348657 - implement framesEncoded, pliCount, nackCount and firCount for webrtc stats r=jib,smaug
MozReview-Commit-ID: E873mbcrlLL

--HG--
extra : rebase_source : ca6f5d7ab0490948aaed1ae793ed5906149b7236
2017-03-21 21:52:06 -07:00
Hiroyuki Ikezoe 92eea71fe1 servo: Merge #16263 - Make AnimationValue::from_declaration return computed CSS variable (from hiikezoe:handle-css-variables-in-animations); r=Manishearth
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1326131

In Gecko, we resolve CSS variables when we generate keyframes for each
animations (i.e. when we create script animations, when we create/update CSS
animations). AnimationValue::from_declaration is only called in both cases.

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

<!-- Either: -->
- [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: a7e18560e52d2b29ee2a8cb96b8592aa9df5e1fe

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 82fe2b16dec7132db86d2f71b98defb349febb15
2017-04-04 19:26:02 -05:00
mckaymatt 6e2525b4fd servo: Merge #16234 - Add as_void_ptr helper method to &T (from mckaymatt:as_void_ptr_helper_method_15252); r=jdm
<!-- Please describe your changes on the following line: -->
r? @jdm
issue https://github.com/servo/servo/issues/15252
The primary goal of this PR is to add add a generic trait method that returns a void ptr.

In addition to that change, I made the casting explicit in `components/script/dom/bindings/callback.rs`  and `components/script/dom/promise.rs`. I did not use the new trait method because `AddRawValueRoot` is not looking for a `c_void`. It's looking for `std::os::raw::c_char`.
```rust
pub fn AddRawValueRoot(cx: *mut JSContext, vp: *mut Value,
                                          name: *const ::std::os::raw::c_char) -> bool;
```
So I replace the `as *const _ ` with a more specific cast.

---
<!-- 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 #15252

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because
 This seems like code cleanup. It shouldn't change behaviour.

<!-- 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: 8d8fea0b4bf323be42eff3ad5624ce33892fb6df

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d5992625f30523ee372f54d0005b211d6c9a6b41
2017-04-04 18:12:31 -05:00
Emilio Cobos Álvarez db6ff946b3 Bug 1341102: Fix expectations after servo/servo#16242. r=me
MozReview-Commit-ID: HTYeAVvcQXl
2017-04-05 00:42:24 +02:00
Grigory Kruglov 626ce95975 Bug 1350442 - Remove redundant storeDone from the RepositorySession class r=rnewman
Confusion between storeDone() and storeDone(long end) resulted in certain sessions (bookmarks
and form history) not overriding the current method. As a result, their final "flush the queue"
methods weren't being called by the buffering middleware.

This patch removes the storeDone(long end) method, making such confusion a non-issue.

Given that a lot of sessions tend to build up buffers which they need to then flush after a storeDone()
call, passing in a timestamp into that method doesn't make sense. Instead, let's supply a default
implementation in RepositorySession which calls onStoreCompleted(endTimestamp) with current time,
and allow sessions to override this method and own the onStoreCompleted(endTimestamp) call.

MozReview-Commit-ID: 84o7aAL8RPC

--HG--
extra : rebase_source : 41767ad502bd5ad8a0a487235bfdca8cf0d0c927
2017-03-31 19:00:13 -04:00
Grigory Kruglov 9d248590c8 Bug 1350442 - Use the main storeWorkQueue for failures in the buffering middleware r=rnewman
MozReview-Commit-ID: ByZtR5zSKZB

--HG--
extra : rebase_source : 9cef0ba0c76e0ef11a32585f1c73508f87337a02
2017-04-04 17:15:02 -04:00
Jared Wein 9ab8b29624 Bug 1267480 - Split up browser_security.js due to the test timing out. r=Gijs
MozReview-Commit-ID: Frqzb2fQDs7

--HG--
extra : rebase_source : ef3e97e908e399521211badf687b2b2ece48d66a
2017-04-04 15:29:22 -04:00
Mike Hommey 35efd64a58 Bug 1262241 - Move the definition of the js library to a subdirectory. r=mshal
Also move some related files and rules used for `make install`.

Also move the js directory up in the top-level directory, so that the
linking order for the js library stays the same (fdlibm and ffi going
after the js engine objects)

This has the side effect of moving js/src/target very early in the
compilation tier.

--HG--
rename : js/src/js-config.in => js/src/build/js-config.in
rename : js/src/js.pc.in => js/src/build/js.pc.in
rename : js/src/symverscript.in => js/src/build/symverscript.in
extra : rebase_source : 7f188ee11469c7d352d4d9c90c8ba72c97224652
2017-04-04 11:43:14 +09:00
Mike Hommey 4bd092e460 Bug 1262241 - Add a build system mode that prints out how directories are recursed. r=mshal
Run with:
  make -C objdir target RECURSE_TRACE_ONLY=1

--HG--
extra : rebase_source : 25fd1812985433523cf94998b6f48fab8ace526f
2017-04-04 14:02:45 +09:00
Mike Hommey 767a11189c Bug 1353259 - Remove build system parts that generate a dtrace ELF object. r=mshal
The code doing that was already excluding OSX, so we obviously don't
need it on OSX. On FreeBSD, afaict, USDT (userspace dtrace) probes don't
require that extra ELF object. Solaris presumably does, but the 6 years
old bug 702179 says it's not been working for that long, and configure
doesn't support Solaris targets anyways.

Keeping this build system code working past the changes coming in bug
1262241 is not guaranteed and can't be tested, so I'd rather get rid of
effectively dead code rather than trying to maybe not break it while
moving it.

--HG--
extra : rebase_source : b41ab77804c17529e2580ced8e8b5fd302ff7831
2017-04-04 13:30:44 +09:00
Mike Hommey f4f1b7ba10 Bug 1353259 - Remove rules.mk sections depending on DTRACE_LIB_DEPENDENT. r=mshal
Nothing sets DTRACE_LIB_DEPENDENT.

--HG--
extra : rebase_source : adc650b19f1fa3af519d47482998033ccabb83a3
2017-04-04 13:28:11 +09:00
Andrew McCreight 62c6243f05 Bug 1353174, part 2 - Fix up ContentObservers.js. r=Gijs
This is split into a separate patch in an attempt to get a better
diff.

MozReview-Commit-ID: L9AI3VD2pbV

--HG--
extra : rebase_source : 6dc47abd27d8f66886af4cbb458b6d00e8d5c7ee
2017-04-04 11:25:05 -07:00
Andrew McCreight 2f83bee3a7 Bug 1353174, part 1 - Turn ContentObservers.jsm into a process script. r=Gijs
This retains the advantage of running only once per process, while
avoiding the per-process overhead of a jsm.

MozReview-Commit-ID: 1N53MvRwUpg

--HG--
rename : browser/modules/ContentObservers.jsm => browser/modules/ContentObservers.js
extra : rebase_source : 6a502cff26fcb55526f97385274bbae871f5cc6c
2017-04-04 11:21:48 -07:00
Pyfisch aa47b6607d servo: Merge #16242 - Implement serialization for transform functions (from pyfisch:transform-one); r=emilio
Preserve more information from transform function parsing.
Preserve angle unit while parsing.
Simplify SpecifiedMatrix.
Use the write! macro for formatting with a helper called Css.
Implement ToCss for &T if T implements ToCss.
Add some tests and update others.

closes #15194

<!-- 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 #15194 (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: 8747c4e04cdecf79ccf6a3279679f04ad07a6a42

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3f4383631e4ad912c786e0f028139a8c326c3101
2017-04-04 15:30:23 -05:00
Gijs Kruitbosch 9280fcd667 Bug 1353373 - fix Edge readinglist imports, r=jaws
MozReview-Commit-ID: Fu9n3FIrxf6

--HG--
extra : rebase_source : d438f2ef4c13f998ee8928a218f504dd4cc43471
2017-04-04 16:18:17 +01:00
Glenn Watson 0cd4c685d5 servo: Merge #16252 - Update WR (gradient features) (from glennw:update-wr-gra); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 41e712786e6d618e83a0988d43436d6e5e5bb36e

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4f7e0b2cfd0aaad9496ef12290861b20fc9214b5
2017-04-04 14:41:41 -05:00
Nick Alexander f0ae8d607b Bug 1353055 - Strip 'vars' debugging information when building Fennec --with-gradle. r=ahunt
To observe the difference, use `javap -l`.  For example, for
automationRelease and automationDebug built with `./mach gradle clean
app:assembleAutomationRelease app:assembleAutomationDebug`, I see
locally:

$ javap -l objdir-droid/gradle/build/mobile/android/app/intermediates/classes/automation/release/org/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu\$1.class
Compiled from "ActivityStreamContextMenu.java"
class org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1 extends org.mozilla.gecko.util.UIAsyncTask$WithoutParams<java.lang.Boolean> {
  final android.view.MenuItem val$bookmarkItem;

  final org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu this$0;

  org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1(org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu, android.os.Handler, android.view.MenuItem);
    LineNumberTable:
      line 103: 0

  <snip>
}

$ javap -l objdir-droid/gradle/build/mobile/android/app/intermediates/classes/automation/debug/org/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu\$1.class
Compiled from "ActivityStreamContextMenu.java"
class org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1 extends org.mozilla.gecko.util.UIAsyncTask$WithoutParams<java.lang.Boolean> {
  final android.view.MenuItem val$bookmarkItem;

  final org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu this$0;

  org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu$1(org.mozilla.gecko.home.activitystream.menu.ActivityStreamContextMenu, android.os.Handler, android.view.MenuItem);
    LineNumberTable:
      line 103: 0
    LocalVariableTable:
      Start  Length  Slot  Name   Signature
          0      16     0  this   Lorg/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu$1;
          0      16     1 this$0   Lorg/mozilla/gecko/home/activitystream/menu/ActivityStreamContextMenu;
          0      16     2    x0   Landroid/os/Handler;

  <snip>
}

MozReview-Commit-ID: 3HmiGkHhowQ

--HG--
extra : rebase_source : c84d8d4b8ac813e49db0c61a30c7098ff2eae3f4
2017-04-03 13:41:11 -07:00
Maja Frydrychowicz d16dcf0eb4 Bug 1345653 - Test pointer move with element origin and click with navigation; r=ato
Verify that there is no hang when we use pointer actions to
perform a click that results in navigation and document unload.

MozReview-Commit-ID: EO5FClnxML5

--HG--
extra : rebase_source : e4ea787bd7ad583d8141aef9ec2bf63df33ef912
2017-04-04 00:30:00 -04:00