544962 Commits

Author SHA1 Message Date
Botond Ballo
2c2d3ded79 Bug 1371771 - Add a MOZ_DEFINE_ENUM macro and variants to MFBT. r=froydnj
The macro simultaneously declares an enumeration and a count of its
enumerators.

A few variants of the macro are also provided to handle things like
enum classes, underlying types, and enumerations declared at class
scope.

MozReview-Commit-ID: 3z6yHnfXbLj

--HG--
extra : rebase_source : 92c333693e4bbf85b89cd3d7ac5b31f4b5434367
2017-06-30 19:58:11 -04:00
rforbes
1b11218ff1 Bug 1376968 - Remove obsolete -fsantize-coverage=edge from fuzzing config. r=decoder
MozReview-Commit-ID: IJAoxu9Ovze

--HG--
extra : rebase_source : 5f19fc176360fba47ee0b62250a4fa2605911672
2017-06-28 15:58:42 -07:00
Haik Aftandilian
edadc69735 Bug 1377128 - Screenshots overlay button icons are not displayed on latest Nightly build. r=jimm
Set the content type on remote channels in the moz-extension protocol handler.

MozReview-Commit-ID: H6XtYHjhS1Q

--HG--
extra : rebase_source : 48684ab78458b6723f1fd2c9860a5d36e7f5cc8e
2017-07-03 22:41:53 -07:00
Erica Wright
6a89d8490a Bug 1378499 - add missing include files. r=mstange
MozReview-Commit-ID: LQ6E0wAbhU0

--HG--
extra : rebase_source : 6383e90725f5aa50e15c06cf88153b7fc7d0f665
2017-07-05 16:40:09 -04:00
Tomislav Jovanovic
35a2e0e01d Bug 1351638 - Fix intermittents caused by menus_commands test r=kmag
MozReview-Commit-ID: FsU2MHL0c9o

--HG--
extra : rebase_source : bc5f1897825a882537bc927fd4e59fb7ac23fb1a
2017-07-04 03:12:34 +02:00
Sebastian Hengst
8b1992d948 Backed out changeset 9137ed21a66f (bug 1377614) for bustage: not finding mozilla/SandboxSettings.h at netwerk/protocol/res/ExtensionProtocolHandler.cpp:46. r=backout 2017-07-05 22:51:58 +02:00
Sebastian Hengst
6e0962c211 Backed out changeset 0de6a6316120 (bug 1377614) 2017-07-05 22:51:21 +02:00
Haik Aftandilian
34860a1e9c Bug 1377614 - Part 2 - System extensions fail to load on Mac and Linux local builds. r=jimm
On Mac and Linux, allow unpacked extension resources to load from outside the extension directory if they're in the repo.

MozReview-Commit-ID: 1xsKV72aUJx

--HG--
extra : rebase_source : 5537a3dc2c5e924bd5bc2a242819bed9f4c6c8a6
2017-07-05 13:02:19 -07:00
Gian-Carlo Pascutto
2032eb5262 Bug 1377614 - Part 1 - Move IsDevelopmentBuild() to common code. r=Alex_Gaynor
MozReview-Commit-ID: AcO0XaMS4Gp

--HG--
extra : rebase_source : 2fa012f693ad7855c2c6e7b8399edf3c0e734299
2017-07-03 11:17:04 -07:00
Sebastian Hengst
9ea3fbf9df Backed out changeset 4d0faee8c200 (bug 1370967) for eslint failure: missing comma at browser_ext_browserAction_popup.js:132. r=backout 2017-07-05 22:34:23 +02:00
Kartikaya Gupta
5a69e4f899 Bug 1378247 - Properly handle async scrollbar-dragging of RTL scrollframes. r=botond
For RTL scrollframes the scrollable rect can extend into the negative-x coordinate
space as the user can scroll leftwards from the "zero" position. The code was
assuming a zero minimum scroll position in a couple of places which broke down
on RTL scrollframes.

MozReview-Commit-ID: 5FxELpafWSD

--HG--
extra : rebase_source : a3c7614528cf59a5c60f350fca84161c8586509f
2017-07-05 15:19:09 -04:00
Gijs Kruitbosch
16ce5f8d00 Bug 1370967 - close containing popup when clicking a non-popup browser action, r=mixedpuppy
MozReview-Commit-ID: HkdV5FUPnDV

--HG--
extra : rebase_source : a7e339dda5c75af0f0e1b910794f350dfdd8fdab
2017-07-03 17:14:58 +01:00
Kartikaya Gupta
4826f32d87 Bug 1377169 - Turn gfxRect into a typedef. r=jrmuizel
One thing to note here is that the Scale function on gfxRect has a
different implementation than that in gfx::Rect which is replacing it.
The former just scales the width/height directly whereas the latter
scales the XMost/YMost and recomputes the width/height.

MozReview-Commit-ID: 5FImdIaNfC3

--HG--
extra : rebase_source : 98662d2a52ff9652ec60b066641a07c6d5ee8e08
2017-07-05 11:22:00 -04:00
Kartikaya Gupta
0df03f07af Bug 1377169 - Copy some useful functions from gfxRect into other places. r=jrmuizel
These functions need to survive the gfxRect purge as they are used in a
few places.

MozReview-Commit-ID: 1jGNlmAvV49

--HG--
extra : rebase_source : 0becc3b969063b5797502a3414dfd6573e82eee0
2017-07-05 11:21:58 -04:00
Gregory Szorc
f60fa10943 Bug 1366048 - Build stylo on win32 and win64 in automation; r=froydnj
We just did the same for Linux64. Windows CI for this configuration
appears to be happy. So let's do it.

MozReview-Commit-ID: 9MmT2jzNGhQ

--HG--
extra : rebase_source : cb2edf5ffcef5aa1937ff002a5b6f843e877b575
2017-06-21 14:36:19 -07:00
Max Weller
63a3fa3f00 Bug 1377790 - Fix setting of default gateway's IP address. r=snorp
--HG--
extra : rebase_source : 1518df38bc64757699dfc50387264bebd830adeb
2017-07-02 23:11:46 +02:00
Ray Lin
bb0ee23e51 Bug 1367868 - Don't hide media controls when error occurred for audio even if it hasn't been played yet. r=jaws
Unlike video element, audio has no status overlay to inform users if an
error occurred. Instead of hiding entire media controls, we should keep
it visible in order not confuse users, and see if we can come up with a
better approach such as making the buttons disabled afterwards.

MozReview-Commit-ID: 8YSCxbWwg2O

--HG--
extra : rebase_source : 0da6ce16fe28c7f1d0cbafe0c518f5c2c273abf1
2017-07-04 14:34:13 +08:00
Alex Gaynor
aa82bd4422 Bug 1378434 - Fixed comments in firefox.js about macOS content sandboxing; r=haik
MozReview-Commit-ID: 21E7GrreHKu

--HG--
extra : rebase_source : 360fef64d5c7d4e818dab0394fcc1ccf274a4a34
2017-07-05 13:03:01 -04:00
Greg Mierzwinski
1a2d6fd412 Bug 1378239 - Change mozinfo 'coverage' flag to 'ccov' to avoid ambiguity. r=ahal
This patch renames the mozinfo flag 'coverage' to 'ccov' to avoid ambiguity in whether a test is being skipped for linux64-ccov or for linux64-jsdcov. It also removes the 'runtests.py' mozinfo hack and renames all occurrences of 'coverage' that are used for skipping tests in linux64-ccov.

MozReview-Commit-ID: IF2640bDQP7

--HG--
extra : rebase_source : 614020325e30d1ca9e01aaf08479b8a4ffaec888
2017-07-04 21:18:19 -04:00
Tom Ritter
3de63cb924 Bug 1377617 Silence unknown pragma errors that occur because MinGW doesn't understand MSVC pragmas r=sstangl
MozReview-Commit-ID: IWBkmn9Bxgm

--HG--
extra : rebase_source : 7530d69bc2dee117e997d952ac2822e5ab624dec
2017-06-30 19:54:57 -05:00
Greg Mierzwinski
c82106258d Bug 1377915 - Increase page load timeout for talos tests running on linux64-ccov. r=dustin
This patch increases the amount of time that a page load is allowed to take from 5 seconds to 15 seconds (specified as milliseconds in the argument) when the Talos test suite is running on the linux64-ccov build.

MozReview-Commit-ID: BuoQP5wmxlb

--HG--
extra : rebase_source : 59a67ec48e954ec1e5a937d8fecaf6bc1085a337
2017-07-03 14:00:51 -04:00
Matt Howell
da8c457b8a Bug 1375472 - Use an optimized build of the 7-zip SFX stub. r=rstrong
Bug 1361326 required rebuilding the 7-zip self-extractor executable, which is
stored in binary form in the tree. I accidentally built that binary with all
compiler optimizations disabled. This binary is built from identical code as
the one from bug 1361326, the only difference is this one was built with /O2
instead of /Od.

MozReview-Commit-ID: L07EXZoQEa7

--HG--
extra : rebase_source : 9c3a28ba61827c15a49a7b6bd1f184b725b4ff0d
2017-07-05 10:17:00 -07:00
Jeongkyu Kim
d78467911b Bug 1376484 - Remove ellipsis from Send to Device... page action menu r=eoger
MozReview-Commit-ID: 6CFdAyRVQIM

--HG--
extra : rebase_source : 6f0edaba4569def7b4101b7180212bda8b863f82
2017-07-06 00:49:30 +09:00
Ryan VanderMeulen
76dc33dfb2 Merge m-c to autoland. a=merge 2017-07-05 12:59:50 -04:00
Ryan VanderMeulen
5e1e8d2f24 Backed out changeset 261d61f4eeec (bug 1356701) for causing bug 1378339. 2017-07-05 12:58:39 -04:00
ffxbld
fe457a38af No bug, Automated HPKP preload list update from host bld-linux64-spot-304 - a=hpkp-update 2017-07-05 08:47:53 -07:00
ffxbld
04c83f2603 No bug, Automated HSTS preload list update from host bld-linux64-spot-304 - a=hsts-update 2017-07-05 08:47:50 -07:00
James Graham
40926dd52b Bug 1378398 - Remove debugging dump() from reftest harness, r=kats
MozReview-Commit-ID: 7tUifg2wyjZ

--HG--
extra : rebase_source : aff3825f3de86a8a9ded96aa0491a8cfb7f39f01
2017-07-05 16:15:37 +01:00
Carsten "Tomcat" Book
b72c4833d5 merge mozilla-inbound to mozilla-central a=merge 2017-07-05 13:01:22 +02:00
Wes Kocher
1a83241dad Backed out 3 changesets (bug 1372433) for stylo assertions in ServoRestyleManager.cpp a=backout
Backed out changeset 3abe2b5f8b24 (bug 1372433)
Backed out changeset cbb550def80d (bug 1372433)
Backed out changeset 78b5ca196c54 (bug 1372433)

MozReview-Commit-ID: H6t8LpY3FHX
2017-07-04 22:32:54 -07:00
Alexandre Poirot
f490858f8f Bug 1378151 - Remove toolbox-process-window.js preprocessing and enable eslint. r=jdescottes
MozReview-Commit-ID: 6qPg0jSsdsR

--HG--
extra : rebase_source : af62ae660071fe119c73be173741152a81b848a2
2017-07-04 17:05:12 +02:00
Daisuke Akatsuka
4565764d92 Bug 1371115 - Part 15: Remove test fail annotations from meta in wpt. r=hiro
Since we make following properties animatable in this bug,
remove test fail annotations from meta in wpt.

* background-image
* background-repeat
* border-image-outset
* border-image-slice
* border-image-source
* border-image-width
* counter-increment
* counter-reset
* font-family
* font-feature-settings
* grid-auto-columns
* grid-auto-rows
* grid-column-end
* grid-column-start
* grid-row-end
* grid-row-start
* list-style-image
* marker-end
* marker-mid
* marker-start
* mask-image
* mask-repeat
* quotes
* scroll-snap-points-x
* scroll-snap-points-y
* text-emphasis-style
* text-overflow
* will-change

MozReview-Commit-ID: Fq6I59b2fNm

--HG--
extra : rebase_source : 0392dddbe0a9608514d6f0d4dd2fa48c43ffa7d4
2017-07-05 14:12:59 +09:00
Daisuke Akatsuka
d1aa803f11 Bug 1371115 - Part 14: add tests for moz prefixed properties. r=hiro
Since we implement following properties animatable, append to test.

* -moz-border-bottom-colors
* -moz-border-left-colors
* -moz-border-right-colors
* -moz-border-top-colors

MozReview-Commit-ID: E3zWaDcRdtE

--HG--
extra : rebase_source : 27301a4bc354f14cf3f90e8c8271be6022d99721
2017-07-05 13:54:08 +09:00
Daisuke Akatsuka
d455bb09bd Bug 1371115 - Part 12: implements nsStyleImage type properties animatable. r=birtles,hiro
In this patch, implements following properties:

* background-image
* border-image-source
* mask-image

MozReview-Commit-ID: 30RdO0fMNr8

--HG--
extra : rebase_source : d4490b4d64e22a3bc1f022c37edc20363f7c0269
2017-07-05 13:53:47 +09:00
Daisuke Akatsuka
c91507eebc Bug 1371115 - Part 7: implements nsStyleBorder type properties animatable. r=hiro
In this patch, implements following properties:

* -moz-border-bottom-colors
* -moz-border-left-colors
* -moz-border-right-colors
* -moz-border-top-colors

To realize, we introduced a binding method Gecko_GetMozBorderColors.

MozReview-Commit-ID: JeseSyl8rMG

--HG--
extra : rebase_source : 118b6659a7be58f7b84e6024bfeea0a13dad66c0
2017-07-05 13:53:07 +09:00
Daisuke Akatsuka
813e863567 servo: Merge #17544 - Support discrete animations for more Gecko things (from dadaa:bug1371115); r=<try>
<!-- Please describe your changes on the following line: -->
This PR fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1371115

---
<!-- 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] There are tests for these changes. Add some tests into dom/animation/test/ of m-c in patch 14. Also, remove test fail annotation from meta in wpt as patch 15.

Source-Repo: https://github.com/servo/servo
Source-Revision: 42e551f60614da58f47fd29cb095cd72733e38b8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 8acead695cf4f6294e4f84be90cca616a555a0e0
2017-07-04 22:16:46 -07:00
Nicholas Nethercote
77757143fb Bug 1378011 (part 2) - Remove the Legacy HTML Parser's EntityToUnicode conversions. r=mrbkap.
It's unused except in test code (nsTestEntityTable). The patch removes that
test code, which also removes testing for UnicodeToEntity conversion, but the
test code wasn't being run anyway so it's no great loss.

(UnicodeToEntity conversion is still used by
nsHTMLContentSerializer::AppendAndTranslateEntities().)
2017-07-04 16:00:55 +10:00
Tom Ritter
da6bc01d39 Bug 1378038 MinGW causes a difference of opinion about whether or not we have unistd.h r=jya
MozReview-Commit-ID: JUr98CAbwWg

--HG--
extra : rebase_source : 3924a4489c59c24b458a56c181d8685598de141b
2017-07-03 22:55:55 -05:00
Nicholas Nethercote
1c45fc829f Bug 1378011 (part 1) - Remove nsToken.h, because it is unused. r=mrbkap. 2017-07-04 11:25:09 +10:00
Nicholas Nethercote
c649ebbc0f Backout 72f2cb8b917e (bug 1329923) for causing crashes.
--HG--
extra : rebase_source : c8dd4ebeb3b3e320947a56358d25d8108eb7e040
2017-07-05 14:42:29 +10:00
Phil Ringnalda
22cb9f77bb Merge m-c to m-i
MozReview-Commit-ID: H6zGgEm7oOM
2017-07-04 20:32:07 -07:00
Phil Ringnalda
edd2fcf74b Merge autoland to m-c, a=merge
MozReview-Commit-ID: 3KyMJNBoJpp
2017-07-04 20:30:34 -07:00
Gabriel Luong
9c0313cf54 Bug 1373935 - Rename "Disply numbers on lines" to "Display line numbers" in the Grid Inspector. r=pbro 2017-07-04 23:06:37 -04:00
James Cheng
feed124df0 Bug 1363547 - Block LG D605 Optimus L9II for adaptive playback. r=jolin
MozReview-Commit-ID: Jr6QSdnqQtI

--HG--
extra : rebase_source : e6b17bd529794b409f5fc05d87e7f1b46d69013d
2017-07-05 08:42:03 +08:00
Edouard Oger
03c81660b0 Bug 1377200 - Ensure Sync can recover after a profile refresh. r=markh
MozReview-Commit-ID: FeId4ANTNX9

--HG--
extra : rebase_source : 5c3f69ee524584617635375d9bc416fc57e9a67e
2017-07-04 15:03:43 -04:00
Emilio Cobos Álvarez
7ae63d2e3b Bug 1378190: Try to make ServoRestyleManager easier to follow. r=heycam
MozReview-Commit-ID: B9bw23n2jUe

--HG--
extra : rebase_source : 2fbd43cee1c3b0efafaa51ef6755adcfe6f31598
2017-07-04 19:16:04 +02:00
Bobby Holley
88c42c5965 Bug 1378005 - Stop synchronously clearing serving data on style set teardown. r=emilio
MozReview-Commit-ID: 3B2qV84peCv
2017-07-04 15:02:18 -07:00
Bobby Holley
25d2053570 Bug 1378005 - Detect prescontext re-initialization and drop any servo data that exists. r=emilio
MozReview-Commit-ID: 76dmk3ip3hv
2017-07-04 15:02:18 -07:00
Bobby Holley
cdffee1b35 servo: Merge #17602 - Use GC machinery rather than recursion for post-rule-tree-teardown node dropping (from bholley:rule_tree_custom_gc); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1378005

Source-Repo: https://github.com/servo/servo
Source-Revision: 006037f79839b94ae6a2db01919976c47d1589b5

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 0c1dee776d1e6fea458bc381653af9aac8fc392d
2017-07-04 13:44:52 -07:00
ffxbld
e8f4f51cd5 No bug, Automated HPKP preload list update from host bld-linux64-spot-307 - a=hpkp-update 2017-07-04 08:48:12 -07:00