Commit Graph

579128 Commits

Author SHA1 Message Date
Bobby Holley
acaeadbd5b Bug 1418161 - Followup fix for fuzz build bustage. r=me
MozReview-Commit-ID: CSvU4I4qlsb
2018-01-30 14:47:33 -08:00
arthur.iakab
c4dd80eca3 Merge mozilla-central to autoland 2018-01-31 00:41:58 +02:00
Sebastian Hengst
732cb1d98b merge mozilla-inbound to mozilla-central. r=merge a=merge 2018-01-31 00:22:27 +02:00
Bobby Holley
7d29bf6691 Bug 1418161 - Cache style attribute serialization during the parallel traversal. r=emilio
MozReview-Commit-ID: 1izMRY2bmzE
2018-01-30 14:11:13 -08:00
Bobby Holley
0babee3ba1 Bug 1418161 - Hoist IsInServoTraversal into ServoUtils. r=emilio
This will allow us to invoke it from nsAttrValueInlines.h, which can't
include ServoStyleSet.h due to circular dependencies.

MozReview-Commit-ID: BgC7ExyWRn7
2018-01-30 14:11:03 -08:00
Kartikaya Gupta
8db17de82f Bug 1421380 - Enable gfx.webrender.hit-test by default. r=jrmuizel
This causes some mochitests to fail.

MozReview-Commit-ID: J2AjM0qKVE5

--HG--
extra : rebase_source : 21102068e9eca65f56bafb76cb623dbdbf0bfb3a
2018-01-29 16:35:10 -05:00
Kartikaya Gupta
7f809749df Bug 1421380 - Don't do a composite of WR rendered frames unless a composite is requested. r=nical
We sometimes render frames for hit-testing consistency requirements but
those frames don't need compositing. This goes with webrender PR 2358.

MozReview-Commit-ID: D6DRF040D5a

--HG--
extra : rebase_source : fd5dadc35a6f6a54b385f535d4ae9c6e34f3a779
2018-01-29 16:35:10 -05:00
Josh Matthews
16f7bb4a43 servo: Merge #19908 - Double the sccache timeout (from servo:jdm-patch-9); r=emilio
Fixes #19907.

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

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : c25a8ada5e20ac0d08bf7cd2eb17261ff11cc8e0
2018-01-30 10:59:18 -06:00
Kirk Steuber
fac065190c Bug 1429129 - Add enterprise policy to remove "Set As Desktop Background" context menu option r=Felipe,Gijs
MozReview-Commit-ID: EdVKcujYUh4

--HG--
extra : rebase_source : 747a24e0181b6c9cfbfeda1ad247d118439ef766
2018-01-29 13:24:26 -08:00
Dan Minor
ef3c58e0e6 Bug 1433005 - Simplify codec pruning in NegotiateCodecs; r=bwc
--HG--
extra : rebase_source : 648d672c3e1f5ff2d3c8c35e548a8d7fc994b8af
2018-01-26 11:46:51 -05:00
Alfred Peters
a5c14a463b Bug 1412213 - Content-Type MIME-header - Skipping a parameter without an '='. r=mayhemer 2018-01-29 14:36:00 -05:00
Boris Zbarsky
a5927e6ebd Bug 1428610 part 8. Remove unnecessary Item() method. r=emilio
MozReview-Commit-ID: 6MQXVA0toiG
2018-01-30 14:48:27 -05:00
Boris Zbarsky
4c01bdc27f Bug 1428610 part 7. Make the nsICSSDeclaration length API nicer. r=emilio
MozReview-Commit-ID: 2gs8npBJFJY
2018-01-30 14:48:27 -05:00
Boris Zbarsky
c49370b74a Bug 1428610 part 6. Give nsICSSDeclaration::GetPropertyPriority a nicer signature. r=emilio
MozReview-Commit-ID: 4H2zADwdo5L
2018-01-30 14:48:27 -05:00
Boris Zbarsky
4278814e5c Bug 1428610 part 5. Make nsICSSDeclaration::Get/SetCSSText have nicer signatures. r=emilio
MozReview-Commit-ID: B25qvxKj9CW
2018-01-30 14:48:26 -05:00
Boris Zbarsky
59d4896eb6 Bug 1428610 part 4. Move the nsCSSPropertyID overload of nsICSSDeclaration::SetPropertyValue to nsDOMCSSDeclaration. r=emilio
MozReview-Commit-ID: 8BzCHahJjwv
2018-01-30 14:48:26 -05:00
Boris Zbarsky
335a24f297 Bug 1428610 part 3. Move the nsCSSPropertyID overload of nsICSSDeclaration::GetPropertyValue down to nsDOMCSSDeclaration. r=emilio
MozReview-Commit-ID: FHrkptqa2hZ
2018-01-30 14:48:26 -05:00
Boris Zbarsky
7c83759ad4 Bug 1428610 part 2. Change Element::GetSMILOverrideStyle to return nsDOMCSSAttributeDeclaration. r=emilio
MozReview-Commit-ID: 9R6ywUEKagK
2018-01-30 14:48:26 -05:00
Boris Zbarsky
eb99a6d933 Bug 1428610 part 1. Devirtualize nsICSSDeclaration::GetDocGroup. r=emilio
MozReview-Commit-ID: 7OGRkYTjTSQ
2018-01-30 14:48:26 -05:00
Boris Zbarsky
1d5c2e332a Bug 1434273. Make nsGenConImageContent's inheritance match the way it's used. r=mccr8
MozReview-Commit-ID: AYL4iZkMJiH
2018-01-30 14:48:26 -05:00
Zibi Braniecki
e4b89607c0 Bug 1201232 - Use Services.intl for Intl.* APIs in Gecko. r=Paolo,Pike
It's a minor change that should align us better with our selection of locales
(Services.intl will use user selection of regional preference locales).
I also removed the western arabic numeral system limitation to allow persian locales
to use eastern arabic numerals correctly.

MozReview-Commit-ID: 8TXX0X9RY9z

--HG--
extra : rebase_source : a7c8f507d841945e47f2d4cc142b4b05bbfab08f
2018-01-24 11:50:30 -08:00
Matthew Noorenberghe
5d9f2162cb Bug 1427950 - Fix test_rich_select.html to handle the indeterminate state with no selection. r=jaws
MozReview-Commit-ID: KKTNtn19mqA

--HG--
extra : rebase_source : 740d26b1dff83c171575da666c4571a18cd5aa98
2018-01-29 23:49:48 -08:00
Matthew Noorenberghe
5f168de17f Bug 1427950 - Only use the mutation observer for migrating new option children to the popup. r=jaws
This reduces the side-effects of render (which should ideally be pure) and should improve performance. We already have the mutation observer anyways.

MozReview-Commit-ID: KVhCVEhSvhi

--HG--
extra : rebase_source : 7ed2401be658abcb15bdae3f8545450983904fa8
2018-01-29 21:14:40 -08:00
Matthew Noorenberghe
920b10cfd6 Bug 1427950 - Use the <rich-select> 'change' event to update selectedShippingAddress state. r=jaws
MozReview-Commit-ID: 7q5AWrEC7x4

--HG--
extra : rebase_source : df382271d36bbed6c474fb39aafe73e4d46e080a
2018-01-29 21:14:31 -08:00
Matthew Noorenberghe
779b0b00c2 Bug 1427950 - Dispatch a "change" event from <rich-select> when a user changes the selectedness. r=jaws
Programmatic changes don't dispatch the event in order to avoid infinite loops.

MozReview-Commit-ID: 1GYFaSasAZO

--HG--
extra : rebase_source : fb02340c31781c9d16691ff074625d933278f33e
2018-01-29 18:08:15 -08:00
Matthew Noorenberghe
f96d61d626 Bug 1427950 - Create address and basic-card option cached children in the constructor and re-use them. r=jaws
This avoids re-creating elements and getting references via querySelector. It's also a bit cleaner IMO.

MozReview-Commit-ID: 9eUELShq5Yg

--HG--
extra : rebase_source : 8371def08bafaa962df35fd6d1c55cc50b4bfc9d
2018-01-29 19:56:54 -08:00
Matthew Noorenberghe
3b15530b49 Bug 1427950 - Share common rich-option styles and make rich-select inline-block to improve layout. r=jaws
MozReview-Commit-ID: HTHQ8IbKszy

--HG--
extra : rebase_source : 537cd80bbe17fddc5966ca65d491450e7104af99
2018-01-29 20:18:02 -08:00
Matthew Noorenberghe
d53d6a4f64 Bug 1427950 - Change rich-select to default to an indeterminate state when no options are selected. r=jaws
This avoids the magic of the select automatically making the first option selected without the application state having a good way to know about this.

MozReview-Commit-ID: 1OEsjh2KW1h

--HG--
extra : rebase_source : 49a69af9a49107ea63c308ce9bd945b4868d7485
2018-01-29 19:54:59 -08:00
Matthew Noorenberghe
9f020cd353 Bug 1427950 - Make <rich-select>'s .selectedOption setter the only supported way to change selection. r=jaws
It's no longer supported to change the selectedness of options directly since that state causes conflicts with the application's own state.

MozReview-Commit-ID: kioot4BXoX

--HG--
extra : rebase_source : 45613b70daa2757f83de5c2fdeaacc596d6ce012
2018-01-29 20:10:59 -08:00
Matthew Noorenberghe
24b32b81e0 Bug 1427950 - Have setStateFromParent handle removing deleted GUIDs from the "selected" keys. r=jaws
MozReview-Commit-ID: 3zD2XLkIj6n

--HG--
extra : rebase_source : 7d3385f47c47c668d19e795499f468204446d692
2018-01-29 19:50:51 -08:00
Matthew Noorenberghe
e049cf7de6 Bug 1427950 - Add re-render button to PaymentRequest debugging panel. r=jaws
This is useful to ensure that the UI state is properly represented in the store.
If the re-rendering causes visible changes then that means some state is not part
of the store or is not being rendered properly.

MozReview-Commit-ID: 3J5rKWCTMAj

--HG--
extra : rebase_source : d13f35010909a804d496f6da6266cb2fb6e0e56b
2018-01-29 14:50:06 -08:00
Chris Manchester
e6de0d9e04 Bug 1434125 - Add xpidl + rust command line arguments and output dependencies to the tup backend. r=mshal
MozReview-Commit-ID: 9DsymfiOB8N

--HG--
extra : rebase_source : 225607b6dc99cc22f50b0db8a1f8b6bbf46d64ea
2018-01-29 15:44:58 -08:00
Connor Brewster
bbf7e5b807 servo: Merge #19031 - Implement initial part of history.state (from cbrewster:push_replace_state_early); r=asajeffrey
<!-- Please describe your changes on the following line: -->
Implements maintaining the current history state. Tracking history state in the session history will be done as a followup.

---
<!-- 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: 469dc84b6ea20b6d378771b008101b49f34e1ad6

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : ee1b20d80072286a54c216d7153a3d6fcd2239d8
2018-01-30 14:14:04 -06:00
Mark Banner
15e66f33ed Bug 1434332 - Add a checklist for adding new linters to the tree. r=ahal
MozReview-Commit-ID: FnYIXS5oZvW

--HG--
extra : rebase_source : 2eba61a24a4ca313f3c1d65adef454e34c57bdb5
2018-01-30 16:55:20 +00:00
Byron Campen [:bwc]
da943dc517 Bug 1431755 - Part 3: Remove a redundant dispatch that was causing us to record the duration of _two_ dispatches instead of one. r=mstange
MozReview-Commit-ID: E8lSvMbGjt6

--HG--
extra : rebase_source : b303d66dfedcaa272cd851563a1a7585c4779fac
2018-01-19 10:03:35 -06:00
Byron Campen [:bwc]
44f6431bb0 Bug 1431755 - Part 2: Teach GeckoProfiler to profile responsiveness on nsIThreads. r=mstange
MozReview-Commit-ID: AqpNf9pDzrg

--HG--
extra : rebase_source : d873d9f05115004417b4c0d98dd8dceaef263172
2018-01-19 09:42:47 -06:00
Byron Campen [:bwc]
7769fb3aed Bug 1431755 - Part 1: Add a variant of NS_GetCurrentThread that does not auto-create an nsIThread. r=froydnj
MozReview-Commit-ID: 9naTxaANX4u

--HG--
extra : rebase_source : 8ab21e09a6c154b90bd233212680fa93a96e0106
2018-01-19 09:41:22 -06:00
Martin Stransky
299c2a6d50 Bug 1433863 - Use client titlebar decorations on GNOME Flashback (former fallback) DE, r=jhorak
Also comment existing entries at nsWindow::GetCSDSupportLevel().

MozReview-Commit-ID: 1YzZhv7WrQj

--HG--
extra : rebase_source : c1dd1a3452e13e2479afee3c34d396757dae4cfd
2018-01-29 15:31:59 +01:00
Tom Ritter
41a1a6c9b0 Bug 1433971 Clean up Assertions.h with respect to Unused Attributes r=froydnj
In Bug 1393538 I renamed MOZ_STATIC_ASSERT_UNUSED_ATTRIBUTE to MOZ_UNUSED_ATTRIBUTE,
moved it out of it's #define depth, and used it in toolkit. I also orphaned a
comment.

This was wrong. MOZ_UNUSED_ATTRIBUTE was basically identical to MOZ_MAYBE_UNUSED
which exists in Attributes.h (because it is an attribute, not an assertion.)

Undo that wrong thing: restore MOZ_STATIC_ASSERT_UNUSED_ATTRIBUTE to the correct
place, have toolkit use the correct macro, and remove MOZ_UNUSED_ATTRIBUTE.

MozReview-Commit-ID: 5BWWsXgbm9i

--HG--
extra : rebase_source : d07156068c877bf57d400bc6a71e115b7f1aef31
2018-01-29 11:36:19 -06:00
Francois Marier
ece90c9c66 Bug 1410522 - Enable download protection on non-official builds too. r=gcp,johannh
This reverts the change introduced in bug 1394053.

Google has made the download protection lists available to everyone
and so we no longer need to restrict the download protection feature
to official builds.

MozReview-Commit-ID: CQcG5Ip1mDV

--HG--
extra : rebase_source : 55ff4f1e5a09e3c83ad9b24b2eb44789834b2357
2018-01-29 15:51:14 -08:00
Luke Crouch
36120a0978 Bug 1432915 - don't save download source url when aIsPrivate r=Ehsan
MozReview-Commit-ID: 9mQjwcCtrWg

--HG--
extra : rebase_source : 12a587cf3947dfbce07dad4a77bd1559874fb616
2018-01-30 10:59:43 -06:00
Ian Moody
e94018c796 Bug 1432630 - Move close-icon rounded corners into SVG. r=dao
MozReview-Commit-ID: CP3ZDTUKaBM

--HG--
extra : rebase_source : 2475c3aea68a3680bfa5e3e5b6eae3063244d39a
2018-01-30 14:33:02 +00:00
Dorel Luca
0e6d4442ff Backed out 2 changesets (bug 767640) for talos failure on scripts/MozillaFileLogger.js on a CLOSED TREE
Backed out changeset 073aecb9bee5 (bug 767640)
Backed out changeset 6bc5ccfb1bd3 (bug 767640)
2018-01-30 21:53:28 +02:00
Christian Holler
b66df5e67e Bug 1428357 - Fix UpdateUtils test to reflect ASan ABI change. r=rstrong
MozReview-Commit-ID: 6XsNNCNLb7

--HG--
extra : rebase_source : d0544154ba5f564defa7fa37974c3824d5bc4fbc
2018-01-26 02:12:53 +01:00
Christian Holler
a80a3ff4c2 Bug 1428357 - Change ABI used in app update URL for ASan builds. r=bhearsum,rstrong
MozReview-Commit-ID: 4fxosdR5od3

--HG--
extra : rebase_source : 6b82e1efa89ff9587629ed0fdf9b1f311fd9edcc
2018-01-24 19:25:23 +01:00
Gijs Kruitbosch
1c557b83fe Bug 1420714 - fix favicon fetching in reader mode, r=mak
MozReview-Commit-ID: KZFoKNqVPPy

--HG--
extra : rebase_source : 802b0140f3069013130d042167c7f08d615730b7
2018-01-30 15:13:23 +00:00
Jim Chen
7d4fb3fff9 Bug 1428182 - 10. Add <stdlib.h> include in pixman patch; r=lsalzman
pixman-8888-over-565.patch added a call to free(), which is apparently
not included by the other headers when using the new NDK headers.

MozReview-Commit-ID: 9fAuSano36N

--HG--
extra : rebase_source : de9a1f1c4676df9ed724ae7264ca1170b77aac52
2018-01-30 14:08:24 -05:00
Jim Chen
5aa4623e3f Bug 1428182 - 9. Apply Skia upstream commit to support NDK r16; r=lsalzman
Apply Skia upstream commit 592c225b03ca677a1217eabdbc38eede6afcdb14 to
support building with NDK r16.

MozReview-Commit-ID: B6popOoPTni

--HG--
extra : rebase_source : 7d846431f9de12a2ffa270ead93c33cae602c58e
2018-01-30 14:08:23 -05:00
Jim Chen
8c9f5ba234 Bug 1428182 - 8. Don't redefine keycodes when using unified headers; r=esawin
The unified headers already define the keycodes in
GeckoEditableSupport.cpp, so only define them ourselves when not using
unified headers (by checking the __ANDROID_API_X__ macros).

MozReview-Commit-ID: 3Ptakcm0rW

--HG--
extra : rebase_source : c7baf2fc9c02cc891946a197fb17309d3593a610
2018-01-30 14:08:23 -05:00
Jim Chen
149e502c72 Bug 1428182 - 7. Include <link.h> in LUL for Android; r=jseward
Modern NDK headers all have <link.h>, so we should always include it,
and still provide shims for anything we need that's not defined in
<link.h>.

MozReview-Commit-ID: GNBDIe73RFm

--HG--
extra : rebase_source : 1246dce8a7ad201cf4f01de8e4912217636f1fc8
2018-01-30 14:08:23 -05:00