Commit Graph

538079 Commits

Author SHA1 Message Date
J. Ryan Stinnett
56b5ec82a0 Bug 1328509 - Wire up visited values in ServoStyleSet::GetContext. r=emilio
Create an extra style context using the visited values (if they exist).  This
mirrors the logic Gecko performs in nsStyleSet::GetContext for visited support.

MozReview-Commit-ID: EiJQXDgz8tX
2017-05-24 21:20:06 -05:00
J. Ryan Stinnett
831e231177 Bug 1328509 - Add visited reftest for attr / state change. r=xidorn
MozReview-Commit-ID: ILDy3hDv53Y
2017-05-24 21:20:05 -05:00
J. Ryan Stinnett
af42205c0e Bug 1328509 - Add visited pseudo crashtests. r=emilio
Rename and duplicate a crashtest to better cover each variation of a single
:link or single :visited style on a pseudo-element.

MozReview-Commit-ID: JMFXD7nk9fH
2017-05-24 21:20:05 -05:00
J. Ryan Stinnett
8b8439d4f3 Bug 1328509 - GetContentStateForVisitedHandling can access state directly. r=dbaron
While studying `GetContentStateForVisitedHandling` for adaptation to Stylo, I
noticed it calls through to `GetContentState`, which depends on external state
such as private browser, etc.

However, there's no need to call `GetContentState` here since this function
always clears both unvisited and visited if either is set.

MozReview-Commit-ID: JLwKnowQbJ2
2017-05-24 21:20:04 -05:00
Boris Chiou
d897bdc993 Bug 1361663 - Part 2: Add tolerance because we use different ways for interpolation on the main/compositor thread. r=birtles
On the main thread, we use Servo backend, and the type of computed::Length is
|app_units::Au| (i.e. i32).
However, on the compositor thread, we use Gecko backend, and the type of
the length in nsCSSValue is |float|, so there might be some difference.
Use "0.5 / 60" because we round the interpolated result to the nearest
integer, and convert it into an app unit value, so the tolerance could be
this value.

MozReview-Commit-ID: EBceiO7keH1

--HG--
extra : rebase_source : aa4e3ac68fed1bcbdb51d93b403a15b0304c144d
2017-05-24 17:07:10 +08:00
Boris Chiou
1b7cc40933 Bug 1361663 - Part 1: Use double instead of float for the progress of interpolation. r=birtles
We get the progress as |double|, and then pass it to a function by a |float|
type, and then finally cast it back to |double| for the interpolation.
We should avoid casting it back and forth, so change the function argument to
use |double| type for the progress.

MozReview-Commit-ID: 7QzfVBC7hSt

--HG--
extra : rebase_source : 62467bf0a734b650f524af656658cdfdabca2a5c
2017-05-22 13:35:15 +08:00
J. Ryan Stinnett
e66e02c633 servo: Merge #17032 - Stylo: visited pseudo-class support (from jryans:stylo-visited); r=emilio
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1328509

Source-Repo: https://github.com/servo/servo
Source-Revision: 1f323f8848e47b01779de5145dd21d0f74ed16ca

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 3599f6577ed3737bb4715be05528090712871f0b
2017-05-24 19:53:48 -05:00
Kartikaya Gupta
88d6c78bc4 Bug 1341992 - Only do hit-testing with the ignore-root-scroll-frame flag on zoomable platforms. r=tnikkel
The ignore-root-scroll-frame flag is generally needed on Fennec, or possibly
other zoom-enabled platforms, when we have them. It allows hit-testing things
outside the main thread's notion of what is visible, because that might occur
when the user zooms out.

For largely historical reasons, we are passing this flag around in other scenarios,
such as when doing hit-tests for touch events, because in the past touch events
and zooming only happened on Fennec, so it didn't matter. Now that we have
touch events enabled on other platforms, such as Windows, we need to make the
distinction clearer.

MozReview-Commit-ID: BlHjtjFYgzv

--HG--
extra : rebase_source : cbfeab4666b5556ba0b38f3abdf666d63945b9a1
2017-05-24 16:23:03 -04:00
Mantaroh Yoshinaga
fbe6893725 Bug 1363246 - Add w-p-t of font stretch's addition/accumulation. r=birtles
MozReview-Commit-ID: 8mA2HZkH55f

--HG--
extra : rebase_source : 7b71118c214cadc4798ff988541bd7e2b889a66e
2017-05-25 10:14:46 +09:00
Tom Tromey
f3cad1a920 Bug 1366442 - request new debugger front end in source map tests; r=bgrins
MozReview-Commit-ID: LSuTghqoldz

--HG--
extra : rebase_source : 42daf27e2149d6091a4284d19b761bee6fd5ed75
2017-05-24 11:04:59 -06:00
Drew Willcoxon
547921aa65 Bug 1363182 - Add a "send to device" subview to the page action menu. r=eoger,mikedeboer
Add a Send to Device subview to the page action panel.  When the page isn't
sendable, disable the Send to Device menu item.  When the user doesn't have any
devices, show a menu item that opens the Firefox Account preferences pane.

Generalize gSync.populateSendTabToDevicesMenu() so that it can be used to
populate any kind of container, not only a menupopup with menuitems.

Add an SVG that shows a phone and an SVG that shows a desktop.

MozReview-Commit-ID: EZQKAEAr08q

--HG--
extra : rebase_source : bda87f105712a6c6ba83da1a78179eee93b5f4d0
2017-05-24 15:49:43 -07:00
Xidorn Quan
918f0728dc Bug 1366735 part 3 - Remove SetCounterStyleDirty. r=heycam
When the counter style in the style struct changes, CalcDifference
would return ReconstructFrame, which should cause corresponding use
node to be reconstructed. That means a use node with retired counter
style should always be destroyed in the next flush, so it makes no
sense to reset them anymore.

However, we would still need to mark counter lists dirty because
otherwise their content may not get update when there are changes to
counter styles which are still valid.

MozReview-Commit-ID: FnBPx81StzG

--HG--
extra : rebase_source : 2adf7b64484746a5f416b7902df2ac718a3fdeab
2017-05-23 10:08:50 +10:00
Xidorn Quan
46dd59904a Bug 1366735 part 2 - Use the new struct in stylo. r=heycam
MozReview-Commit-ID: trgd0lKLP1

--HG--
extra : rebase_source : 8216769c7ee2a323d2af2080dd97cac3489af82d
2017-05-23 00:32:05 +10:00
Xidorn Quan
1dd9b6bad1 Bug 1366735 part 1 - Change counter functions to use struct rather than nsCSSValue::Array. r=heycam
MozReview-Commit-ID: 4FiOxCOsjtD

--HG--
extra : rebase_source : 0a2ef777045603fe591ba3a74259699a2339cede
2017-05-22 22:51:20 +10:00
Xidorn Quan
ec074c3fbb servo: Merge #17016 - Use struct rather than nsCSSValue::Array to store counter functions in Gecko (from upsuper:bug1366735); r=heycam
This is the Servo side change for [bug 1366735](https://bugzilla.mozilla.org/show_bug.cgi?id=1366735).

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8ba04dab52e5c46e1719988c5ae9deda17a67a5a
2017-05-24 17:26:03 -05:00
Ryan VanderMeulen
ce2fe4e709 Merge m-c to autoland. a=merge 2017-05-24 20:48:16 -04:00
Ryan VanderMeulen
c5b2958154 Merge inbound to m-c. a=merge 2017-05-24 20:45:23 -04:00
Ryan VanderMeulen
31beca4070 Backed out changeset 4ac329aeaaf9 (bug 1361461) for various dead window related test failures on a CLOSED TREE.
--HG--
extra : amend_source : ffabeac2fe1f784474d5c720420b996a60ad1ba0
2017-05-24 18:21:34 -04:00
Olli Pettay
67c78feadf Bug 1358476, add support for timeout when doing idle dispatch, tests, p=farre,smaug, r=nfroyd
--HG--
extra : rebase_source : 054bb7a4b7fdb41f255199bdc60a210149957292
2017-05-24 15:36:49 -04:00
Olli Pettay
bc787a0ec7 Bug 1358476, add support for timeout when doing idle dispatch, p=farre,smaug, r=nfroyd
--HG--
extra : rebase_source : 8561bd1e1aad04be8b9d3efa7b43d4833a4703bf
2017-05-24 17:34:50 -04:00
Ehsan Akhgari
87f01dcea3 Bug 1363311 - Honor Set-Cookie headers in multipart/mixed response boundary headers in e10s mode; r=jdm 2017-05-24 17:32:32 -04:00
Ehsan Akhgari
c200b63e89 Bug 1361461 - Dispatch WindowDestroyedEvent to the idle queue; r=smaug 2017-05-24 17:32:32 -04:00
Timothy Nikkel
07c22d39dd Bug 1364365. Limit the number of full loops of an animated image we can skip to the number of remaining loops. r=aosmond
The optimization is incorrect if we try to skip ahead more full loops then are remaining in the loop count.
2017-05-24 16:20:41 -05:00
Mark Striemer
38cd7b478a Bug 1361746 - Align legacy badge on Windows in about:addons details r=rhelmer
MozReview-Commit-ID: 9QRdQFd11CQ

--HG--
extra : rebase_source : 057b93d52348e1b9c61794f0349f314999db3017
2017-05-18 15:54:11 -05:00
Xidorn Quan
50097c0cfe Bug 1341102 - Update test expectations.
MozReview-Commit-ID: EM8FcemDFMR
2017-05-25 09:18:28 +10:00
Andrew McCreight
e437a7e4e5 Bug 1367496 - Add more release asserts to the cycle collector. r=smaug
A previous bug missed a few places where we could theoretically
reenter the CC.

MozReview-Commit-ID: I0otlAEwyZa

--HG--
extra : rebase_source : 064b127a2c28a52b2807cd78031de9af4f258f60
2017-05-24 10:13:02 -07:00
Manish Goregaokar
1e42308ff1 servo: Merge #17027 - Rollup of 9 pull requests (from Manishearth:rollup); r=Manishearth
- Successful merges: #16993, #17000, #17010, #17013, #17014, #17017, #17019, #17020, #17022
- Failed merges:

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 5faf09bc26989c32da2c1962bfcd6cdef511077f
2017-05-24 16:08:02 -05:00
Oriol
652cfe6316 Bug 1297466 - Do not attempt to open Function.prototype in Debugger. r=bgrins
--HG--
extra : rebase_source : fed13d5c980f853c313d6b62a7812af538bd79cb
2017-05-15 16:47:00 -04:00
Jim Blandy
495a9fc5b2 Bug 1297466 - Doc fixes and tests for Debugger.Script.prototype.url, Debugger.Source.prototype.url. r=shu
--HG--
extra : rebase_source : 1eed084501992ced4bf038c6efda0b9058214f59
2017-05-15 13:45:05 -07:00
Nathan Froyd
88e5d07280 Bug 1367405 - only print warning summary for successful builds; r=gps
If we had an unsuccessful build, then duplicating the warnings at the
end of the compilation job would just be burying the actual error in a
blizzard of noise.
2017-05-24 16:49:11 -04:00
Lee Salzman
8ffb6649bf Bug 1364774 - fix premultiplied color output from linear gradients in Skia. r=mchang
MozReview-Commit-ID: Ay3ftFJz6a3
2017-05-24 15:52:56 -04:00
Honza Bambas
5f3173e90f Bug 1365306 - Remove net::ThrottlingService, don't suspend/resume download channels on page load. r=hurley 2017-05-18 14:09:00 -04:00
Ryan VanderMeulen
56b8e8c07e Merge m-c to inbound. a=merge
CLOSED TREE
2017-05-24 16:33:30 -04:00
Ryan VanderMeulen
30caacbb11 Merge inbound to m-c. a=merge 2017-05-24 16:32:59 -04:00
Ryan VanderMeulen
41511c5371 Merge autoland to m-c. a=merge 2017-05-24 16:32:42 -04:00
Ben Hearsum
40c77afec8 bug 1357808: switch mozilla-central fennec builds to org.mozilla.fennec_aurora id and add new builds for org.mozilla.fennec. r=aki,sylvestre,jlorenzo a=dawn 2017-05-24 15:27:40 -04:00
Eitan Isaacson
f0c56bf2da Bug 1367255 - Switch a11y browser tests to async/await. r=surkov
MozReview-Commit-ID: 4ptIIDckcqg
2017-05-24 12:20:45 -07:00
Nicolas B. Pierron
fbd397af34 Bug 1366773 - Add explicit keyword in front of XDRIncrementalEncoder constructor. r=me on a CLOSED TREE 2017-05-24 15:04:21 -04:00
Ehsan Akhgari
dfaa48605d Bug 1366812 - Initialize TimeoutManager::mThrottleTrackingTimeouts to false; r=smaug
This way we won't rely on code which may have potentially not run yet.
2017-05-24 14:48:53 -04:00
Nicolas B. Pierron
9812c67569 Bug 1366773 - Move buffer argument from JS::StartIncrementalEncoding to JS::FinishIncrementalEncoding. r=mrbkap,shu 2017-05-24 18:28:19 +00:00
Nicolas B. Pierron
0727a6547f Bug 1364120 - Remove FINISH_LARGE_EVALUATE gc. r=jonco 2017-05-24 18:14:31 +00:00
Bill McCloskey
ab129f71c8 Bug 1366845 - Use XPCOM threads for hang monitor (r=mrbkap)
MozReview-Commit-ID: 3zMWYDATDch
2017-05-24 11:11:28 -07:00
Ryan VanderMeulen
dfcc5830e0 Bug 1366854 - Upgrade to SQLite 3.19.1. r=mak 2017-05-24 13:12:00 -04:00
Ben Hearsum
e815bd14cc Backout bug 1357808 for android mochitest bustage. 2017-05-24 12:32:03 -04:00
Ben Hearsum
3ff67fc564 Backout bug 1357808 for android mochitest bustage. 2017-05-24 12:31:52 -04:00
Ben Hearsum
952b9991e7 Backout bug 1357808 for android mochitest bustage. 2017-05-24 12:31:43 -04:00
Ben Hearsum
7d4ef3cfe5 bug 1357808: fix missing commas causing errors in the nightly decision task. a=dawn DONTBUILD 2017-05-24 11:29:15 -04:00
Ben Hearsum
ed78ee69e4 bug 1357808: fix flake8 error. a=dawn DONTBUILD
--HG--
extra : amend_source : 35661749e33541c6ad4123d5298ec722b0fbadbf
2017-05-24 11:24:26 -04:00
ffxbld
af8ecb9a1e No bug, Automated HPKP preload list update from host bld-linux64-spot-376 - a=hpkp-update 2017-05-24 08:09:01 -07:00
ffxbld
08e4cade1c No bug, Automated HSTS preload list update from host bld-linux64-spot-376 - a=hsts-update 2017-05-24 08:08:58 -07:00