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

580818 Коммитов

Автор SHA1 Сообщение Дата
Servo VCS Sync 99dff2319c No bug - Revendor rust dependencies 2018-02-10 18:14:30 +00:00
Anthony Ramine 4418aea71e servo: Merge #20014 - Optimise some AnimationValue methods for size 🐉🐲 (from servo:by-the-power-of-void); r=emilio
This shaves 40KB off of libxul.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2f4362e0c1371c9ae45f1a71a406578eadc94a8b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : df1457b06a0eb8d7bdc1097b1c0bf4f79ff14b27
2018-02-10 10:32:21 -05:00
Jeff Muizelaar 54461122d4 Bug 1437184. Inline FillAzure() r=bas
There's only one caller so let's just eliminate inline FillAzure into
Fill.

MozReview-Commit-ID: JYpAQMkhEcS

--HG--
extra : rebase_source : 962b046405949d435537a77baea50f631a8aee72
2018-02-10 10:54:54 -05:00
Jamie Nicol 61cdff34c5 Bug 1429508 - Allow created mask surfaces to be clipped to the necessary size when replaying a recording. r=bas
Add a command CreateClippedDrawTarget to DrawTarget, which takes the
max required size and a transform between this draw target and the one
to be created. The created draw target may have its size clipped to
the size of this draw target, transformed to the new target's
space. This means that the new surface will be large enough so
that it is rendered to this draw target correctly, but not necessarily
any larger.

Usually this will just create a draw target of the requested size, for
simplicity. However, when replaying a recorded draw target we do clip
the size to the base draw target's size. This is done using a
DrawTargetTiled, so when applying the mask in PopLayer, we must take
the SourceSurface's offset in to account.

MozReview-Commit-ID: 89ONElphzLu

--HG--
extra : rebase_source : 7eebeb66a2686a7b6f4ade36f3004ebb06abc2fe
2018-02-05 17:59:42 +00:00
Jamie Nicol 4c2f14974a Bug 1429508 - Make SnapshotTiled::GetDataSurface return a surface the size of backed tiles only. r=bas
Fix the DrawTargetTiled::mRect initialization, and expose through the
virtual function GetRect(). Make SnapshotTiled::GetDataSurface()
allocate a surface the size of this rect, rather the XMost and
YMost. Callers of SourceSurface::GetDataSurface() can query
SourceSurface::GetRect() and apply the necessary offset themselves.

MozReview-Commit-ID: C31FGirQ0oK

--HG--
extra : rebase_source : ac31ae3ca0a0b188f9293c4e6898b4e4a65cad0e
2018-02-05 17:50:41 +00:00
Jamie Nicol 190d2c71c5 Bug 1429508 - Mark DrawTarget::GetSize as const. r=jrmuizel
MozReview-Commit-ID: BmhlrQjmIjW

--HG--
extra : rebase_source : 388e5a273140e7996f4943b6f28d23c3d44ccf18
2018-01-23 17:10:11 +00:00
Marco Bonardo de4bd875a7 Bug 1432434 - Remove Bookmarks::getItemDateAdded and setItemDateAdded. r=kitcambridge
MozReview-Commit-ID: XVoil1CK7c

--HG--
extra : rebase_source : 18213447f00177686dbc56d263674fa4e630663e
2018-02-08 23:24:38 +01:00
Ciure Andrei 5a6e9e8971 Backed out changeset d6e7f810f7d3 (bug 1424878)for failing reftests related to usercss/usercss-uppercase.html a=backout on a CLOSED TREE 2018-02-10 16:42:18 +02:00
Emilio Cobos Álvarez 9566c88e68 servo: Merge #20010 - style: Cascade pres hints after normal user rules (from emilio:pres-hints-cascade); r=bholley
Per https://drafts.csswg.org/css-cascade/#preshint and
https://html.spec.whatwg.org/#presentational-hints.

This was causing failures in the link color reftests with the preferences sheet
as a User sheet.

Bug: 1436782
Reviewed-by: bholley
MozReview-Commit-ID: 9iwEqPBw4CF
Source-Repo: https://github.com/servo/servo
Source-Revision: 2cc75a783d1a7e2a82ef1e6502ca5a4463a3fb4b

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : b73986abacd66b82dca889ed4b8f118273548879
2018-02-10 07:46:38 -05:00
Emilio Cobos Álvarez 3e35ca64aa servo: Merge #20011 - style: Tidy Stylist::compute_for_declarations (from emilio:cleanup-for-declarations-stuff); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 0098d519030f395f94f3f82fc04b93227fdff4ec

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : fca13a5feeda8d2c570c56eb8fb707ff2a302eca
2018-02-10 06:45:52 -05:00
Emilio Cobos Álvarez e63551fac2 Bug 1424878: Not having cached style data doesn't guarantee we don't need to update media query stuff. r=bz
In particular,  even when there are no frames, we may have used the rule
cascades / stylist data (for different stuff, like font-feature-values, thus the
regressing bug).

Using the old rule cascades / stylist data without knowing it has changed is
wrong, thus the bug.

Now that media query change stuff is async and has a well-defined processing
point, we should be able to just call it without too much worry.

Also note that at the point the extra hints are passed, if there's no root frame
/ elements are not styled / etc, we'll optimize away the change hint.

The test-case intermittently fails without this patch, but I didn't manage to
make a better one, unfortunately :(

MozReview-Commit-ID: LY2HRIlAKHX

--HG--
extra : rebase_source : ed7d57cbdf4d08510ad62e88818a754b46441ac4
2018-02-10 00:45:18 +01:00
Jared Wein 23eee5c26a Bug 1436749 - Backout support for button_background since it was not supposed to be supported. r=dao
MozReview-Commit-ID: CVZqDOvU04V

--HG--
extra : rebase_source : 953108e1b8064aacbc596e6b692fb479defd4d6b
2018-02-09 15:28:19 -05:00
Michael Ratcliffe 91fec06628 Bug 1405650 - Migrate browser_webconsole_trackingprotection_errors.js to the new frontend r=jdescottes
MozReview-Commit-ID: 2Et1H6ynnEL

--HG--
extra : rebase_source : 4556b4ea74a7ca1c323243a6a91fc5f202512bf8
2018-02-09 17:27:01 +00:00
Andreea Pavel 6d6533a2eb Backed out changeset 50705220c972 (bug 1437226) for failing linting opt at tools/lint/test-disable.yml:3:81 on a CLOSED TREE 2018-02-10 12:37:09 +02:00
Bogdan Tara c14c8606f3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-02-10 12:00:06 +02:00
Bogdan Tara 5bbbbe17bc Merge inbound to mozilla-central. a=merge 2018-02-10 11:57:47 +02:00
Boris Zbarsky 39af174f89 Bug 1435596. Give cross-origin objects (windows and locations) a 'then' property in all cases. r=bholley
For locations, it always returns undefined.  For windows, it returns undefined
unless there is a named subframe named "then", in which case that named
subframe is returned.

The idea is to be able to resolve promises with cross-origin objects.

MozReview-Commit-ID: HPyTvtwFdsG
2018-02-10 01:21:59 -05:00
Dorel Luca b6a5da392a Backed out changeset 87a3fe2c7e9b (bug 1436782) for Browser chrome failures on layout/style/test/browser_newtab_share_rule_processors.js on a CLOSED TREE 2018-02-10 05:37:22 +02:00
Dorel Luca 5642ca2d02 Backed out changeset 06f87ee5bbbb (bug 1231203) for xpcshell and TV failures on security/manager/ssl/tests/unit/test_ocsp_private_caching.js on a CLOSED TREE 2018-02-10 05:34:40 +02:00
Tooru Fujisawa 61d4c5e634 Bug 1431960 - Forcibly construct the frame for browser to construct browser binding in preferences subdialog. r=bz 2018-02-10 11:59:57 +09:00
Emilio Cobos Álvarez 668b05feb3 Bug 1436782: Insert the prefs sheet at the UA level. r=bholley
Since that's what it's effectively happening anyway.

MozReview-Commit-ID: AZGONTbCTNa
2018-02-10 03:03:41 +01:00
David Keeler 37cd996306 bug 1231203 - ensure OCSP responses to requests from private contexts aren't cached on disk r=jcj
MozReview-Commit-ID: 374f7hERLee

--HG--
extra : rebase_source : b424ee96d7f48e4f9d0b8fce91a675ae4477c43d
2018-02-08 17:16:03 -08:00
Dorel Luca 23a5631163 Backed out 2 changesets (bug 1437201) for Android build bustage on a CLOSED TREE
Backed out changeset 1a206d390b01 (bug 1437201)
Backed out changeset 04e61046bb44 (bug 1437201)
2018-02-10 02:40:11 +02:00
Josh Matthews f9f755ab79 servo: Merge #20006 - Try to reduce instances of intermittent failures in wpt sync (from servo:jdm-patch-16); r=emilio
Making the job take longer in favour of reducing the variability of test results makes sense to me.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 6cfe6c5831f0cd6a5ad353ff2262e80936c55c02
2018-02-09 18:11:36 -05:00
Emilio Cobos Álvarez 66f99f62bd Bug 1436798: style: Move author-style-disabled handling to push_applicable_declarations. r=bholley
This will make it easier to handle it properly for Shadow DOM, though this patch
doesn't do that.

This also makes some method inline and infallible for convenience, since nobody
checks the errors anyway.

MozReview-Commit-ID: Hq3erAUs5tf
2018-02-10 00:36:53 +01:00
Nick Alexander 98deb790f4 Bug 1437201 - Part 2: Install llvm on macOS when bootstrapping mobile/android. r=froydnj
This was just an oversight when adding Stylo bindgen support to |mach
bootstrap| (I assume).

MozReview-Commit-ID: 89N6omXGUdy

--HG--
extra : rebase_source : 8055d69eea317d83d64d481708f2d77e544db688
2018-02-09 14:33:30 -08:00
Nick Alexander 4655da981b Bug 1437201 - Part 1: Don't try to use target as host with clang for Android. r=froydnj
The heuristic simply fails for clang as shipped in Android NDKs: those
clang binaries can't target any non-Android host.

MozReview-Commit-ID: 6AhOJxE3boW

--HG--
extra : rebase_source : 2c8b59c15a7a7e9803f5447fc8f41fc843b2e647
2018-02-09 14:32:28 -08:00
Emilio Cobos Álvarez d9b65d628d servo: Merge #20004 - style: Add infrastructure to have a standalone author stylesheet collection (from emilio:author-sheet-collection); r=nox
Right now Gecko uses a whole `Stylist` for stuff like XBL / Shadow DOM.

That's not great, because it has tons of unrelated logic, and also eats up a lot of memory. Also, it prevents us to optimize style changes in shadow hosts the same way we do for the document.

These patches mostly rejigger stuff around so that you can define a `DocumentStylesheetSet` and then an `AuthorStylesheetSet`, which would contain just the Shadow DOM sheets / XBL resource sheets.

It still doesn't introduce any use for the later, but that will come later.

There's a patch in this PR that requires Gecko changes, posted in https://bugzilla.mozilla.org/show_bug.cgi?id=1436798.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6b1a74672d6b9d9c55b027b147b0a6eb8f727bfd

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 35cd629f88c24439c615e283265dbb78d33279b7
2018-02-09 17:18:08 -05:00
Nick Alexander 60bae57dc0 Bug 1427790 - Bootstrap caskroom/versions/java8 for macOS+brew+mobile/android. r=froydnj
Two things have changed.  One, Brew's java package became Java 9,
which doesn't work for building on Android.  Two, Brew's cask system
also changed, requiring some small updates.

In order to actually use the install java toolchain, we need to use
the --with-java-bin-path configure option, which required some small
tweaks to the suggested mozconfigs.

MozReview-Commit-ID: JlZpdqaOkp0

--HG--
extra : rebase_source : c2828139843b6e0b8d2f0c3141d4d9e5b0b83b4f
2018-02-09 11:30:28 -08:00
Sebastian Hengst d1700a0b7a merge mozilla-central to autoland. CLOSED TREE 2018-02-10 00:34:30 +02:00
Sebastian Hengst f5e840425b merge mozilla-inbound to mozilla-central. a=merge 2018-02-10 00:26:50 +02:00
Servo VCS Sync 03ffcb7b2a No bug - Revendor rust dependencies 2018-02-09 22:19:11 +00:00
Coroiu Cristina e2b150dd90 Merge autoland to mozilla-central. a=merge 2018-02-09 23:57:50 +02:00
Anthony Ramine f42317f931 servo: Merge #19980 - Merge all keyword arms in Clone for PropertyDeclaration 🐉🐲 (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 41fb6ed1ffda877c24747a4d209bb32885ac6b2f

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4fe49db37e4463fa1bd09e6cd1b6cefc11a24530
2018-02-09 16:17:01 -05:00
ffxbld a8b3a546c8 No bug, Automated blocklist update from host bld-linux64-spot-302 - a=blocklist-update 2018-02-09 12:01:56 -08:00
ffxbld 967bc4dd14 No bug, Automated HPKP preload list update from host bld-linux64-spot-302 - a=hpkp-update 2018-02-09 12:01:52 -08:00
ffxbld a0bae7c069 No bug, Automated HSTS preload list update from host bld-linux64-spot-302 - a=hsts-update 2018-02-09 12:01:49 -08:00
Ed Lee 6be8c9a11a Bug 1426705 - Add responsive layout, React 16 and bug fixes to Activity Stream. r=ursula
MozReview-Commit-ID: KHwIWAlAXnC

--HG--
extra : rebase_source : 9e8aa2f5357b1755133069042d7de548b9040749
2018-02-09 11:23:51 -08:00
Tim Nguyen 4fd514d97b Bug 1429573 - Remove spinbuttons.xml bindings now that they are unused. r=Paolo
MozReview-Commit-ID: Cbj7vZcrDrL

--HG--
extra : rebase_source : 9b844911072ab2cc526f4ad16838e83f44a230da
2018-02-09 21:54:42 +00:00
Tim Nguyen 79e5dc6167 Bug 1429573 - Use input[type=number] in textbox[type=number] implementation. r=Paolo,surkov
* The number is no longer selected on number input focus

MozReview-Commit-ID: AmR5c6YKTCP

--HG--
extra : rebase_source : fdaab23fca57f361c9185191d9c30e047375cbe8
2018-02-09 21:54:36 +00:00
Milan Sreckovic 114ff1103a Bug 1432411: Wallpaper over the case where there is no Screen. r=jgilbert
MozReview-Commit-ID: ISeBw7qxGdH

--HG--
extra : rebase_source : b023754299b5e04883c6fa0d0eb4207f71315f90
2018-02-09 13:42:17 -05:00
Kartikaya Gupta 3df53735f9 Bug 1434996 - Update WebRenderLayerManager::SetTransactionIdAllocator to match ClientLayerManager. r=sotaro
Changing the transaction id allocator is now handled better in
ClientLayerManager than before in that it resets the transaction id on
the new allocator to match the old allocator and avoid discontinuities
in the transaction ids. We should apply this behaviour to
WebRenderLayerManager as well, because WebRenderLayerManager was
assuming that any time the allocator changed it would automatically
start the transaction id at 1, which is not the case. In particular,
when navigating to something in the bfcache, we can reuse a pre-existing
refresh driver which might have a transaction id already greater than 1.

MozReview-Commit-ID: 8IUn1Dhnh7c

--HG--
extra : rebase_source : 0e98c96d9636c3a3ee0489ff6b6161bce7677dd7
2018-02-09 13:41:18 -05:00
Manish Goregaokar 7f2c119b46 servo: Merge #20001 - Autogenerate compute_damage (from Manishearth:compute-damage); r=mbrubeck
fixes #10622

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : d2c9df586b89b582e0edbff92c8ba125f80081f4
2018-02-09 12:02:04 -05:00
Csoregi Natalia 7ed2a637dc Merge inbound to mozilla-central. a=merge 2018-02-09 18:52:22 +02:00
Nicolas B. Pierron 2015caa45a Bug 1433111 - Add JS Shell and about:config switch for Value masking. r=jandem 2018-02-09 16:49:32 +00:00
Nicolas B. Pierron f37e8775a7 Bug 1433111 - Zero the payload if the Value tag does not match the expected tag. r=jandem 2018-02-09 16:49:30 +00:00
Daniel Holbert 7e7bf4886a Bug 1437008: Add fuzzy annotation for new reftest flexbox-writing-mode-013.html. (no review, test-manifest-tweak)
MozReview-Commit-ID: hYAT6ofpmM
2018-02-09 08:42:32 -08:00
Csoregi Natalia bcaa305dbd Backed out 2 changesets (bug 1435938) for rusttest failures on linux. CLOSED TREE
Backed out changeset b24907f82186 (bug 1435938)
Backed out changeset db4018b4b695 (bug 1435938)
2018-02-09 18:21:54 +02:00
Boris Zbarsky b954a10838 Bug 1436831 part 2. Make APZHitResultFlags a namespace, not a callback interface. r=qdot
MozReview-Commit-ID: 3QFrHDNUt4U
2018-02-09 11:17:10 -05:00
Boris Zbarsky a6113241a2 Bug 1436831 part 1. Support [Pref] annotations on Web IDL namespaces. r=qdot
MozReview-Commit-ID: 6gzMWPOlKWM
2018-02-09 11:17:10 -05:00