Commit Graph

6154 Commits

Author SHA1 Message Date
Nevin Chen
dbebe1ebec Bug 1366575 - Skip elements that are not used in Android. r=gasolin
MozReview-Commit-ID: LtPk02t00Jr

--HG--
extra : rebase_source : 29e0c0515fb4112853c3a984b465235295e80d76
2017-06-06 09:21:01 +08:00
Scott Wu
383df7ce58 Bug 1370671 - DateTimeFormat timeZone set to UTC to show correct year-month header for datepicker. r=mconley
The datepicker is showing incorrect year-month header in some time zones, which
is similar to Bug 1331608. It's now fixed by setting the DateTimeFormat timeZone
to UTC. Also done the same thing to the year display for consistency.

MozReview-Commit-ID: LGghmPfYQ5j

--HG--
extra : rebase_source : f1b512d36f46e1f77537d2a5371f45dec72b625e
2017-06-07 20:04:44 -07:00
Marco Bonardo
7b98919406 Bug 1371331 - Show the 'search with Engine' suffix for Location Bar search results on mousehover. r=adw
MozReview-Commit-ID: EPgh0gkBuxW

--HG--
extra : rebase_source : 0f211a3da2673924d1bf4f016b48a8397880c7e6
2017-06-09 14:58:59 +02:00
Wes Kocher
038efa62a3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: HYPYecdsMhL
2017-06-09 16:00:04 -07:00
Wes Kocher
b66d50d0ca Merge autoland to central, a=merge
MozReview-Commit-ID: 1k7iJedKGDR
2017-06-09 15:48:12 -07:00
Carsten "Tomcat" Book
3d196e1cbc Merge mozilla-central to mozilla-inbound 2017-06-09 16:11:41 +02:00
Dão Gottwald
84bf3ddef3 Bug 1371620 - Make arrowscrollbox._canScrollToElement not flush styles. r=mconley
MozReview-Commit-ID: 1wfzHA9kOdE
2017-06-09 15:00:48 +02:00
Dão Gottwald
7bf64f4d64 Bug 1371604 - Convert arrowscrollbox.scrollboxPaddingStart and arrowscrollbox._startEndProps from XBL properties to fields. r=mconley
MozReview-Commit-ID: 4QHvbZ5bvbK
2017-06-09 15:00:38 +02:00
Carsten "Tomcat" Book
ea48e176bb Merge mozilla-central to autoland 2017-06-09 13:04:17 +02:00
Blake Kaplan
10dcf78c62 Bug 1327118 - Fix the charset encoding menu not being properly enabled when dragging tabs into a new window. r=mconley
MozReview-Commit-ID: 15HVXsKHoYW

--HG--
extra : rebase_source : 71b7099d11502b58473921182eaaab74b0682d61
2017-06-06 17:04:54 -07:00
Ray Lin
8caef95c24 Bug 1300996 - Part 1: Set selectedIndex of autocomplete popup when mousemove over profile item. r=adw
Currently mouseover autocomplete item would not change the selectedIndex
of popup but show grey highlight. For form autofill, we don't want
two indicators to represent the selection of keyboard and mouse
separately that might confuse user which profile preview is exactly
being shown. I added a new <field> in formautofill profile item binding
that helps autocomplete to determine whether to change selectedIndex
when mouseover.

MozReview-Commit-ID: LmW8g08V9mf

--HG--
extra : rebase_source : e0af703a4a6291c53995fd00319bf8a6b259109c
2017-04-25 16:48:52 +08:00
Joel Maher
d62af2c5e9 Bug 1365408 - random-if bug-442419-progressmeter-max.xul win8/debug. r=gbrown
MozReview-Commit-ID: DlqjGWQqr3C
2017-06-08 13:55:39 -04:00
Ryan VanderMeulen
9b7a73b65a Merge m-c to autoland. a=merge
UPGRADE_NSPR_RELEASE UPGRADE_NSS_RELEASE

--HG--
extra : amend_source : a59e53ba2f8db608f613f21ad6da2b5be8814aa4
2017-06-07 22:55:56 -04:00
Christoph Kerschbaumer
86374cab11 Bug 1369014: Do not pass explicitly pass a triggeringPrincipal within nsDocShellTreeOwner::HandleEvent. r=smaug
--HG--
extra : rebase_source : 832b69c0edec7f004afdf410e231adb660df0769
2017-06-07 14:25:46 +02:00
Carsten "Tomcat" Book
5265c65f9e Backed out changeset f54fca58d189 (bug 1300996) for eslint failure in own test 2017-06-07 11:46:36 +02:00
Ray Lin
585a2083f7 Bug 1300996 - Part 1: Set selectedIndex of autocomplete popup when mousemove over profile item. r=adw
Currently mouseover autocomplete item would not change the selectedIndex
of popup but show grey highlight. For form autofill, we don't want
two indicators to represent the selection of keyboard and mouse
separately that might confuse user which profile preview is exactly
being shown. I added a new <field> in formautofill profile item binding
that helps autocomplete to determine whether to change selectedIndex
when mouseover.

MozReview-Commit-ID: LmW8g08V9mf

--HG--
extra : rebase_source : 7589bed96c088919ebbdeb6c87fe6e18a679f657
2017-04-25 16:48:52 +08:00
flyingrub
e8fed618d3 Bug 1366978 - Fix about:telemetry data preferences change button r=chutten
Redirect the link to about:preferences#privacy-reports

MozReview-Commit-ID: HIq9zpT6Jz9

--HG--
extra : rebase_source : 8393573834367174ef743c09470f74c22e1ccbdd
2017-06-05 12:16:37 +02:00
Frederik Braun
9c64aee8c8 Bug 1351608 - Comment out existing violations to no-unsanitize rule. r=standard8
--HG--
extra : rebase_source : 41eb119fb189c4577fe64b114821b75d8781ad99
2017-06-28 12:50:38 -07:00
Ehsan Akhgari
d732ce4442 Bug 1375573 - Part 2: Avoid creating an about:blank document in setupJSON() by creating a Window binding through exposing a getter for the inner window ID on nsIWebProgress; r=billm 2017-06-28 09:15:53 -04:00
Ehsan Akhgari
bc4c49bb3f Bug 1375573 - Part 1: Avoid creating an about:blank document in setupJSON() by accessing content.document before STATE_STOP; r=billm 2017-06-28 09:15:53 -04:00
Florian Quèze
d1af2c57f3 Bug 1374257 - avoid attaching an xbl binding to hidden labels, r=dao. 2017-06-20 10:25:23 +02:00
UK992
db267cec2f Bug 1125634 - Let about:about use info-pages.css instead of about.css r=dao
MozReview-Commit-ID: 4K1Gp2l48VK

--HG--
extra : rebase_source : 2ba52817ccd102dd9ce4f08277e1fa032c4c43e3
2017-06-09 01:36:38 +02:00
Joel Maher
b44356bc28 Bug 1368364 - backout bug 1242505 as it causes browser/modules/ intermittent failures. r=paolo 2017-06-03 10:34:14 +02:00
flyingrub
d00da488bb Bug 1368667 - Generalize Subsection Renderer r=chutten
Allow the use of the subsection render not just for the environment data.
It could help future developer to display subsection for another special
ping data. Also it will help with the redesign of the UI.

MozReview-Commit-ID: DHoS7Zw7IyC

--HG--
extra : rebase_source : a6ca4c0218c5b73c4c3e383886c9e94ec3f7f93d
2017-06-01 16:37:33 +02:00
flyingrub
4e76d670ef Bug 1368667 - Remove KeyValueTable as it is similar to GenericTable r=chutten
GenericTable expect an array of array as data where KeyValueTable used to expect an object.
Use explodeObject() to process an object so it can be used by GenericTable.


MozReview-Commit-ID: 6hxxFwF2KXg

--HG--
extra : rebase_source : 29b2636eeea2f980182e5127f1e3f98630188e10
2017-06-01 12:22:21 +02:00
flyingrub
bd9eb516e2 Bug 1368667 - Replace KeyValueTable with GenericTable r=chutten
Both provide the same functionality so we only need to keep one of them.

MozReview-Commit-ID: AOiiRiFr1fD

--HG--
extra : rebase_source : 8e3b8d3f80c320f4a40fa4b5ba383fc323d15806
2017-05-31 16:24:08 +02:00
flyingrub
e9f9c14846 Bug 1368667 - Move Section Specific code to their own objects r=chutten
Most of the sections were already in their own object. This fixes the one that are not.


MozReview-Commit-ID: 92lAtwYwbDl

--HG--
extra : rebase_source : 8f1ad8d7e5fe18958858130bde8eb542782ad61a
2017-05-31 14:38:11 +02:00
flyingrub
3fd946f6aa Bug 1368667 - Refactor General Data r=chutten
Introduce the replacement of KeyValueTable by GenericTable.
Both provide the same feature so we only need one.

MozReview-Commit-ID: AyWKPkrlX64

--HG--
extra : rebase_source : 20547cab0a53f2e122f0cebdcac3eb3f24eedde1
2017-05-30 14:44:49 +02:00
Jessica Jong
3b6eb87bf1 Bug 1366620 - Use unicode-bidi: embed to fix reversed hebrew placeholders. r=gandalf
MozReview-Commit-ID: 1tTkps8a96N

--HG--
extra : rebase_source : 1159a6c3a2f593c9f932fc773e6d3ea3733dd3f3
2017-06-02 10:16:22 +08:00
Jed Davis
e67f6b8505 Bug 1368797 - Don't render the about:support syscall log if it doesn't exist. r=gcp
This is a Linux-specific feature and other platforms don't have it (see also
the conditional in Troubleshoot.jsm and the ifdef in aboutSupport.xhtml).

MozReview-Commit-ID: IISzOvWXwCp

--HG--
extra : rebase_source : d57c2b42003619ed13a5bb6afe219d16c5d575ae
2017-05-30 16:44:43 -06:00
Shane Caraveo
18810facfb Bug 1342708 fix datalist failure in webext popups, r=kmag
MozReview-Commit-ID: FbTB9h3TTdq

--HG--
extra : rebase_source : e6dcd759713b62cd6d71172feebf7d788079bf62
2017-06-01 16:20:34 -07:00
Jessica Jong
e105f0644d Bug 1311857 - Adjust CSS for date/time widget internals to prevent them from overflowing the widget. r=dholbert
MozReview-Commit-ID: FhHdjGayUB1

--HG--
extra : rebase_source : e8de2487583e30fbd5618988f051fd73928917b9
2017-04-21 16:18:19 +08:00
Andrew McCreight
92a4f25f69 Bug 1370733 - Add an explicit import of Services.jsm to window_browser_drop.xul. r=Gijs
MozReview-Commit-ID: J2jZM5hnInK

--HG--
extra : rebase_source : 6271e714e48b6b4c0c14ba4e4b927e0cbea0dcd8
2017-06-06 16:09:54 -07:00
Brian Grinstead
49e3f4a0c2 Bug 1370294 - Lazily create the iframe for the date time picker;r=mconley
MozReview-Commit-ID: Cn99obd86RB

--HG--
extra : rebase_source : 520c56042b3c83136f80c6a0ad585731fe272f36
2017-06-05 20:53:54 -07:00
Markus Stange
7dbdf64f91 Bug 1291457 - On Mac, use -moz-window-opacity and -moz-window-transform for the panel animations. r=dao
MozReview-Commit-ID: 86NXigOihj3

--HG--
extra : rebase_source : 8dfcda36e1c89acf3cd60db044c627b039702432
2017-06-09 11:19:29 -04:00
Greg Mierzwinski
6596a67019 Bug 1335894 - Disable test_popupanchor.xul for linux. r=jmaher
Disable toolkit/content/tests/widgets/test_popupanchor.xul on linux machines as it permanently fais when running with Ubuntu 16.04.

MozReview-Commit-ID: HSX6xC8dG8k

--HG--
extra : rebase_source : c270b3456c92da2b49daa30cf44308b6880f5ea9
2017-06-18 10:04:23 -04:00
Carsten "Tomcat" Book
3271bd7354 Merge mozilla-central to autoland 2017-06-19 14:52:55 +02:00
Greg Mierzwinski
4babf3016b Bug 1340413 - Disable test_panel_anchoradjust.xul for linux. r=jmaher
Disable toolkit/content/tests/chrome/test_panel_anchoradjust.xul on linux machines as it permanently fails when running on Ubuntu 16.04.

MozReview-Commit-ID: FOW9zgKYcAU

--HG--
extra : rebase_source : a590ff1dec5abd04ac97efcf03e4bcd61612626a
2017-06-18 10:04:42 -04:00
Cameron McCormack
1849ea4995 Backout bug 1291457 and bug 1370034 for bustage. 2017-06-19 13:55:15 +08:00
Markus Stange
72d1052d95 Bug 1291457 - On Mac, use -moz-window-opacity and -moz-window-transform for the panel animations. r=dao
MozReview-Commit-ID: 86NXigOihj3

--HG--
extra : rebase_source : 8dfcda36e1c89acf3cd60db044c627b039702432
2017-06-09 11:19:29 -04:00
Michael Froman
d50116b5ea Bug 1339906 - pt 2 - add bytes sent and received to about:webrtc page. r=drno
MozReview-Commit-ID: 7KS1aXNZPle

--HG--
extra : rebase_source : 864cd157ee876eed4b35ccab3bae140860239142
2017-06-06 16:44:30 -05:00
Gabriele Svelto
3148018ed7 Bug 1359326 - Run the minidump analyzer directly from the CrashService code; r=bsmedberg
This patch removes the C++ code used to run the minidump analyzer when a
content process crashes, and replaces it with JS code within the CrashService
object. This removes the need for a separate shutdown blocker in C++ code and
allows end-to-end testing of the crash service functionality. Additionally
the exception handler code can be simplified since it's now only used to run
the crash reporter client.

The test added to test_crash_service.js covers computing the minidump SHA256
hash (bug 1322611) and of the minidump analyzer itself (bug 1280477).

MozReview-Commit-ID: LO5w839NHev
2017-05-11 14:03:50 +02:00
flyingrub
26bd0946a5 Bug 1368502 - Remove unused import in about:telemetry r=chutten
MozReview-Commit-ID: 3NK85cXtuLP

--HG--
extra : rebase_source : 361189ed73d581e85bd513737e58e16307b95820
2017-05-29 17:42:25 +02:00
Ian Moody
e242765ef2 Bug 1348052 - Change the scroll buttons in the datetime picker to move the view, not the list. r=mconley
MozReview-Commit-ID: EfgDEg6jY7F

--HG--
extra : rebase_source : db35c38213c04ef2b5a0ebcefe9b67de90b70bb8
2017-03-17 21:47:46 +00:00
Carsten "Tomcat" Book
20958da319 Backed out changeset 17792fad126f (bug 1368208) for reftestfailures in 508816-1.xul 2017-05-31 12:31:40 +02:00
Dão Gottwald
fc9c660a18 Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: EGqR2qU4EBu

--HG--
extra : rebase_source : fb4dac5e084fb790d8acf01416be395237be7595
2017-05-31 09:20:59 +02:00
Timothy Guan-tin Chien
0d616cb6d0 Bug 1363850, Part III, Set pref to make new about:preferences Nightly only, r=jaws,mconley
MozReview-Commit-ID: Khanjh79tPd

--HG--
extra : rebase_source : 84d197b1b1915d767049bfc0280c070e89c286d1
2017-05-25 18:12:00 +08:00
Sean Lee
b307c24f00 Bug 1349490 - Part 2: Use a set of regexp to recognize the input autofill type.; r=MattN
MozReview-Commit-ID: B6ypdjBxlIV

--HG--
extra : rebase_source : 15b581c4d773c0f9f7fa339db143aef306a10f98
2017-04-28 17:14:15 -07:00
Ryan VanderMeulen
da959ef9a4 Backed out changeset 9bda0f33f7b5 (bug 1368208) for 508816-1-ref.xul failures. 2017-05-30 16:20:03 -04:00
Dão Gottwald
0c5a7a184b Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: DPwyJgy3ray

--HG--
extra : rebase_source : 6bd80df2d901cbe4b1c29323b4ab1997247583fe
2017-05-30 21:39:30 +02:00
Ryan VanderMeulen
af691573d4 Merge m-c to autoland. a=merge 2017-05-30 12:59:41 -04:00
Carsten "Tomcat" Book
c9c84e3b6a Merge mozilla-central to mozilla-inbound 2017-05-30 11:53:26 +02:00
Phil Ringnalda
64c713bbfa Backed out changeset c0c635e938fa (bug 1368208) for eslint and reftest 508816-1-ref.xul failures
CLOSED TREE

MozReview-Commit-ID: LcPpCIciePj
2017-05-29 12:34:16 -07:00
Dão Gottwald
86edac3753 Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: GfvqsJbNCCU

--HG--
extra : rebase_source : f3937f3a8e5662991eac69d0856e2f23491970f5
2017-05-29 20:50:23 +02:00
Phil Ringnalda
cba671875b Backed out changeset b89704b3bc19 (bug 1358500) for failures in browser_bug537013.js
MozReview-Commit-ID: IO4dyagNqNB

--HG--
extra : rebase_source : 5a5beba51e57ac28654eb7a4dcac7db1cd9bedb0
2017-05-29 10:52:37 -07:00
Christoph Kerschbaumer
3fc12a8c6e Bug 1363977 - Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-29 21:32:21 +02:00
Carsten "Tomcat" Book
bdfe9a25bf Backed out changeset 2b92af4575ae (bug 1357386) 2017-05-30 08:51:22 +02:00
Christoph Kerschbaumer
74a7c96cd0 Bug 1357386: Have loadTabs() provide the correct triggeringPrincipal. r=gijs,smaug 2017-05-30 08:31:08 +02:00
Paolo Amadini
d7513d1e02 Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 64395c5fdf25deebd60dfbf2cf5df3cbf7ca8abb
extra : amend_source : 0a3f13419c050662680f2bd110d724b3bf991732
extra : source : 8d53be05afc59519c5ce8cfae96d284a972fda71
2017-05-28 11:46:45 +01:00
Sebastian Hengst
8d47870cdc Backed out changeset 8d53be05afc5 (bug 1242505) 2017-05-28 11:31:12 +02:00
Paolo Amadini
8edd3b1d5c Bug 1242505 - Part 3 - Detect unhandled rejections of native Promises in browser-chrome tests. r=Mossop
The browser-chrome test suite now detects and reports unhandled rejections of native Promises, in addition to those created by Promise.jsm. The whitelisting mechanism is updated to use primarily the PromiseTestUtils.expectUncaughtRejection function. Tests will fail if a rejection that is not whitelisted occurs, or if a whitelisted rejection does not occur anymore.

MozReview-Commit-ID: 1beGB5GG8Ty

--HG--
extra : rebase_source : 59e5b84cb431f3ca28287d30a3da8fbea1363ec5
2017-05-25 15:00:35 +01:00
Ricky Chien
3025ba0bee Bug 1366148 - Making menulist and menupopup highlightable r=jaws,mossop
MozReview-Commit-ID: 14HG16oPb0g

--HG--
extra : rebase_source : 2b1f1c16f8ab4605f73c36f376997ddd18ad08d5
2017-05-20 00:09:25 +08:00
milindl
fc8d285e3d Bug 1036440 - Fix tests and consumers for rewritten PlacesDBUtils, r=mak
This includes 2 things:
1. Replacing the parts which test the logs for the presence of prefixes by testing
the returned map for `suceeded`.
2. We don't need to wait to observe the topic anymore, we can simply await methods
from `PlacesDBUtils` to know when they are done.

MozReview-Commit-ID: Ct9l9pzUW5x

--HG--
extra : rebase_source : 657e4ac53f8b3785740a5b732d483fad9600f73d
2017-05-24 11:00:47 +05:30
Panos Astithas
571c7ea21b Mute audio immediately on tab closure (bug 1355242). r=florian
MozReview-Commit-ID: BO161kV2UWE

--HG--
extra : rebase_source : 9d74976581efdccb07845dee5b84e77d8b6b8b92
2017-05-11 17:39:45 -04:00
Gijs Kruitbosch
80a2759099 Bug 1358500 - fix find bar being disabled all the time, r=mikedeboer
MozReview-Commit-ID: BpnCdKgtYiG

--HG--
extra : rebase_source : 50ab38dd78941fe397a0acb8113f961f15d7f31d
2017-05-29 16:17:56 +01:00
Carsten "Tomcat" Book
fe4b4589cf Backed out changeset 9fc7556f5386 (bug 1368208) for eslint failures 2017-05-30 15:47:21 +02:00
Dão Gottwald
b3475703c5 Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: 8aDPxscBvGN

--HG--
extra : rebase_source : 90205cb7970cbf969a98778003c19372db7dae89
2017-05-30 14:51:49 +02:00
Sebastian Hengst
a88bd6a170 Backed out changeset 8901a598369f (bug 1368208) for eslint failure at toolkit/content/widgets/scrollbox.xml:195 (unexpected token .). r=backout 2017-05-30 14:27:42 +02:00
Gijs Kruitbosch
9974338905 Bug 1358500 - fix find bar being disabled all the time, r=mikedeboer
MozReview-Commit-ID: BpnCdKgtYiG

--HG--
extra : rebase_source : f309a8ebb2ee95be0a3ffccd8ac67e7693acd890
2017-05-29 16:17:56 +01:00
Dan Banner
ea09f270ab Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
MozReview-Commit-ID: EXJNufdKKhJ

--HG--
extra : rebase_source : 66d17c7981c4b0987c482ce092b25990b42c07fb
2017-05-27 15:17:29 +01:00
Dão Gottwald
f7cc68b14a Bug 1368208 - Don't flush layout to determine whether scrollbox scroll buttons should be enabled/disabled. r=mconley
MozReview-Commit-ID: 9BA3u2gOawu

--HG--
extra : rebase_source : 5a5f50f643f2911c6a290413ddfeff9fb6d053d9
2017-05-30 12:07:49 +02:00
flyingrub
24fe5b3ab5 Bug 1363828 - First attempt at making about:telemetry more exception r=chutten
safe

We could also test ping.environment.addons before using it.


MozReview-Commit-ID: 1z6NdLPTBqN

--HG--
extra : rebase_source : c5ec4d189cf0d2d7bb67e335c06f678dd53d335d
2017-05-26 18:15:22 +02:00
flyingrub
48dc5abae1 Bug 1363828 - Replace custom isArray() by Array.isArray() r=chutten
MozReview-Commit-ID: 9uErcVbMgLv

--HG--
extra : rebase_source : f347b9d2b7aa6de1756e883dfc275e5971879b9f
2017-05-26 17:05:18 +02:00
Ray Lin
c4a9832435 Bug 1367194 - Explicitly pause video at the end of the test to prevent the media backend from pausing the video as the page closes and thus r=jaws
randomly firing a 'pause' event when the test isn't expecting it. r=jaws

MozReview-Commit-ID: 65NrpKbIxi7

--HG--
extra : rebase_source : 7e1ec55d5c23b8c0cfa49ca5298d77fef77a2e4b
2017-05-24 13:19:55 +08:00
Dão Gottwald
16e85eb315 Bug 1358453 - Throttle scroll button disabled state updates while scrolling to avoid flushing layout as much as possible. r=florian
MozReview-Commit-ID: 34w6M06ehRF

--HG--
extra : rebase_source : 311a2f93756b4263f8c52826bead7f9430e8774c
2017-05-25 15:08:54 +02:00
tiago
ac4de5a977 Bug 1361697 - Use toolkit/themes/shared/in-content/info-pages.css for about:license. r=dao
MozReview-Commit-ID: LEdssCpq5YY

--HG--
extra : rebase_source : cb4c443063ed6ec8f14363e9326e06d686cd2314
2017-05-24 16:18:29 -03:00
Shing Lyu
5d8a5a598c Bug 1361645 - Change reftest condition stylo to styloVsGecko r=dbaron
MozReview-Commit-ID: 3ekoU1zg8xA

--HG--
extra : rebase_source : f62c84516f5ac0d4b4d0c876514b72fa786ec542
2017-05-25 11:26:12 +08:00
Mark Banner
d1dfdb8a14 Bug 1367232 - Clean up various ESLint global definitions in toolkit/. r=mossop
MozReview-Commit-ID: Hhm4YBansg1

--HG--
extra : rebase_source : 3cb49159fa3f5dae12e4eb21f22e747850fdf184
2017-05-19 09:22:48 +01:00
Mats Palmgren
297b9d70e1 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: IbwWM0FL6HF

--HG--
extra : source : bbb688fe1ba3f5201a190c6e25b693ef7272ea2d
2017-05-21 17:15:00 +08:00
Mats Palmgren
f7e4384ac8 Bug 1365614 part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: Ig0RVKSQw4r

--HG--
extra : source : e528713f882cfc92f4c7acaf41e00dd302105ed0
2017-05-18 11:09:00 +08:00
Mats Palmgren
aea77748e4 Bug 1365614 part 1 - Backout bug 1358840. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: GwjC0YXc17m

--HG--
extra : source : cdaaaf661b0fae3029e6dbc2419b32eb3c96b4a4
2017-05-18 11:08:00 +08:00
Ray Lin
d7dafa6ace Bug 1352724 - Fix the indentation and spelling error. r=jaws
MozReview-Commit-ID: IUXY7qiUuHe

--HG--
extra : rebase_source : d07dd2c1588cf5237f7ea9eb4447dc4822362f9e
2017-05-15 18:30:30 +08:00
Ray Lin
483a0b8c19 Bug 1352724 - Pause video at the point when scrubber is being click. r=jaws
MozReview-Commit-ID: 5JuDivYzhoJ

--HG--
extra : rebase_source : 81bca14502cc16beb240ca5f42096f8453bd37c8
2017-04-26 17:09:12 +08:00
Drew Willcoxon
7a6e8fe45a Bug 1303781 - Sometimes selecting a history entry opens a Google search instead of navigating to the entry. r=mak
MozReview-Commit-ID: 9Ylo1o4DMbK

--HG--
extra : rebase_source : 25a77071e7e26f3aca4ba95fa5bce91d2dd2e837
2017-05-19 10:11:55 -07:00
Carsten "Tomcat" Book
1bdc87018b Merge mozilla-central to autoland
--HG--
extra : rebase_source : 4e9c2047973e5a540496b19e456a2e7bd14715ad
2017-05-22 15:48:11 +02:00
Carsten "Tomcat" Book
6c2dbacbba Backed out changeset cdaaaf661b0f (bug 1365614) on request from glob 2017-05-22 15:45:53 +02:00
Carsten "Tomcat" Book
2565b104f7 Backed out changeset e528713f882c (bug 1365614) 2017-05-22 15:45:34 +02:00
Carsten "Tomcat" Book
00d4ea331d Backed out changeset bbb688fe1ba3 (bug 1365614) 2017-05-22 15:45:31 +02:00
Carsten "Tomcat" Book
469e512b06 merge mozilla-inbound to mozilla-central a=merge 2017-05-22 13:00:17 +02:00
Mats Palmgren
e706869580 Bug 1365614 part 3 - Backout bug 1333482 part 1-9. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-21 17:15:00 +08:00
Mats Palmgren
a928a1b1f6 Bug 1365614 part 2 - Backout bug 1357655. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-18 11:09:00 +08:00
Mats Palmgren
033085b9d7 Bug 1365614 part 1 - Backout bug 1358840. Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz 2017-05-18 11:08:00 +08:00
DimiL
c632a44157 Bug 1360480 - about:url-classifier: Cache information. r=francois
MozReview-Commit-ID: 4YXtb2KPgwL

--HG--
extra : rebase_source : ad9f897aa5772d6001a757e189730d427713f915
2017-05-17 10:32:33 +08:00
Jessica Jong
7a32dbad28 Bug 1337830 - [DateTimeInput] Home/End keys should have no effect on year field. r=mossop
MozReview-Commit-ID: LjYetlucSnT

--HG--
extra : rebase_source : 7ed48047adf0e4c22e524017424b5b50f9e1d5a2
2017-05-19 14:55:39 +08:00
Carsten "Tomcat" Book
c3e7ae1ce7 Merge mozilla-central to autoland 2017-06-30 15:18:23 +02:00
Dão Gottwald
71fd4b58da Bug 1376397 - Disable scroll buttons if there's space between the first or last element and the scrollbox edge. r=Gijs
MozReview-Commit-ID: 33D1kIQDC7w

--HG--
extra : rebase_source : 0c4876b67ede94b16bf1b229346ceb98c35bac6f
2017-06-30 00:56:21 +02:00
Mike Conley
64393b1c24 Bug 1352620 - Don't have a hardcoded limit of 20 items in AutoCompletePopups. r=MattN
MozReview-Commit-ID: 6rZRi7kq3R7

--HG--
extra : rebase_source : a0112ab40ec9d5b28b3b0f0cbcfbd619ae52d019
2017-05-16 15:07:45 -04:00
Bill McCloskey
068699332f Bug 1363877 - Label nsBrowserStatusFilter::TimeoutHandler as SystemGroup (r=felipe)
MozReview-Commit-ID: 5qD7vnU5GZC
2017-05-17 11:47:40 -07:00
Carsten "Tomcat" Book
4603014981 Backed out changeset a9ac97cc2efa (bug 1347791) for test failures in browser_ext_sessions_restore.js | restored tab has the expected url - Got about:blank, expected about:config 2017-05-17 08:11:47 +02:00
Carsten "Tomcat" Book
771b1095ef Backed out changeset 37d295d7eec9 (bug 1347791) 2017-05-17 08:11:07 +02:00
Alastor Wu
7efc57090f Bug 1347791 - part3 : move block/resume logic from back-end to front-end. r=baku,mikedeboer
Previous design allows us calling resume/block from both front-end and back-end,
it's not easy to know who called these operations.

So move all these logic to frond-end side, it's more clear than before.

One important thing is that we should block tab before loading the content.
If we block the tab after loading, the media might not be blocked because it had
already started (that is one situation I observed from test).

The value of block state would be stored in the outer window, before media want
to start, it would check this value to know whether it can start playing or not.

---

In addition, introduce new attribute "media-blocked".

The "media-blocked" attribute indicates that whether the tab is allowed to play autoplay media.
The "activemedia-blocked" attribute indicates whether the tab has blocked the autoplay media.

MozReview-Commit-ID: FnNh3zmItxo

--HG--
extra : rebase_source : cdc890c0c47a4a03ea8dbbdfee24c66b52945c60
2017-05-17 11:56:06 +08:00
Alastor Wu
ce9ddc4dab Bug 1347791 - part1 : rename the attribute for the tab which has blocked the autoplay audio and would show the play-tab icon. r=mikedeboer
The "blocked" attribute is too general to indicate the real usage, so rename it
to "activemedia-blocked".

This attribute indicates that whether the tab has blocked the autoplay media.

MozReview-Commit-ID: EAmq6OuBYjq

--HG--
extra : rebase_source : e8e9321854b80736f0959fbfecbc8bf9a83b0712
2017-05-17 11:55:54 +08:00
Mike Hommey
a8b3b97bc4 Bug 780562 - Stop relying on the "platform" chrome flag for global-platform. r=bsmedberg
The "platform" chrome flag requires an irrelevant "content" chrome
manifest entry, while it's only used for locales. It only has exactly
one use, which can actually be replaced by uses of the "os" flag.

Note, we're doing something similar with the "os" flag for skins in
e.g. browser/extensions/pocket/jar.mn.

Unfortunately, for determinism reasons, the chrome manifest entries from
jar.mn are sorted (per bug 982075), so keeping global-platform/unix
would leave it appearing after /mac, and would override it on mac
because of the lack of "os" flag on the /unix entry (we can't put "os"
flags on that entry because we can't do something like os!=Darwin &&
os!=WINNT). So we move it to /gtk such that it always comes before /mac.

--HG--
extra : rebase_source : aaace8147ea54f74aef8a7b2314ad022e9f9be23
2017-04-14 20:44:35 +09:00
Carsten "Tomcat" Book
e83697008e merge mozilla-inbound to mozilla-central a=merge 2017-05-16 15:04:38 +02:00
Mike Hommey
782725e19a Bug 1363992 - Remove jemalloc 4. r=njn
--HG--
extra : rebase_source : 9794320e96279cbb8b7b66db6720c959eaa6a95b
2017-05-11 13:23:07 +09:00
Nick Alexander
14dd745141 Bug 1365060 - Move MOZ_{NATIVE_DEVICES, INSTALL_TRACKING} to moz.configure. r=chmanchester
This intentionally allows to set MOZ_INSTALL_TRACKING without
reference to the milestone being release or beta.  That is, we
separate the default value (which depends on release or beta) from the
value specified, making life easier for developers.

MozReview-Commit-ID: 3vPF7KO7fEX

--HG--
extra : rebase_source : 8d5764104b5322a32e4a048bfd3222f62fed73bb
2017-05-15 14:37:54 -07:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Fischer.json
c0472057e4 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : e8b4399bd1e3fc5e5b220e80d6694c00a4b7e482
2017-05-09 10:43:48 -04:00
Thomas Nguyen
112dcab8dc Bug 1356763 - Avoid ensureElementIsVisible if there's no popup open and correct reset maxRows. r=mak
MozReview-Commit-ID: 8SelC4HZl0m
2017-05-12 00:17:00 -04:00
Shashwat Jolly
1a483c3f10 Bug 1361693 - Changed about:license page title from "about:license" to "Licenses". r=dao
MozReview-Commit-ID: 1BKc2HVTzJs
2017-05-12 22:40:12 +02:00
Florian Quèze
97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Quèze
2e2f358aa9 Bug 1353542 - pre-script hand-written cleanup patch, r=Mossop. 2017-05-12 14:41:20 +02:00
Ed Lee
e4d334a9c1 Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2

--HG--
extra : rebase_source : d554c18932bdedbfc009d768563fbb89d1aa33b3
2017-05-09 10:42:22 -07:00
Jim Porter
6d31f8adbf Bug 1355927 - Notification bars should use the photon animation curve when appearing/disappearing r=dao,jaws
This patch uses the new Photon animation curve for notification bars as well
as supporting `toolkit.cosmeticAnimations.enabled` to disable the animations
on notification bars entirely.

MozReview-Commit-ID: AHSQR32g6hf

--HG--
extra : rebase_source : 9b643a758db07791dbda12f7e6383f193f3fa698
2017-05-03 15:16:12 -05:00
Sebastian Hengst
6310de3f1f Backed out changeset 97c2f9bdb59f (bug 1363085) for failing eslint, e.g. at browser/extensions/activity-stream/test/unit/content-src/components/ContextMenu.test.jsx:13. r=backout 2017-05-11 20:28:54 +02:00
Ed Lee
0877049e58 Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2

--HG--
extra : rebase_source : d554c18932bdedbfc009d768563fbb89d1aa33b3
2017-05-09 10:42:22 -07:00
Sebastian Hengst
5b9d111495 Backed out changeset 08bb7fc6af84 (bug 1363085) for eslint failures, e.g. browser/extensions/activity-stream/test/unit/content-src/components/ContextMenu.test.js:13. r=backout 2017-05-11 19:10:21 +02:00
Ed Lee
69d3ffde9b Bug 1363085 - Part 1. Update license for react-intl usage in activity-stream. r=gerv
MozReview-Commit-ID: Ec5pNkDlUX2

--HG--
extra : rebase_source : 5e05c6ebe2182b5e945e6ea9fd29d90010eb647a
2017-05-09 10:42:22 -07:00
Mark Banner
2bf9485071 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : e462e84bf8f2ffd893d1fd6b5ea14bbc093168dd
2017-05-08 10:29:47 +01:00
Sebastian Hengst
95a418ca5b Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
256aeb441c Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM

--HG--
extra : rebase_source : f1b9eeb1b2048b551ee8c0a596e6395d0031cc4d
2017-05-08 10:29:47 +01:00
Valentin Gosu
4ccb51bae2 Bug 1363700 - Add RCWN stats to about:networking r=bz,michal
MozReview-Commit-ID: GVt1omCfL6t

--HG--
extra : rebase_source : fdb321360f21f0f54692bc6b715abb4c155171b7
2017-05-10 19:23:54 +02:00
Wes Kocher
ea3b6b9f1e Backed out changeset 75a14f02f6f7 (bug 1330315) for build failures in TelemetryHistogramData.inc a=backout
MozReview-Commit-ID: KKnLXDjgmqC

--HG--
extra : rebase_source : 29e2b567cd0bc75cc4e0b22af20c7efaeb73a259
2017-05-10 10:45:18 -07:00
Fischer.json
7102edfb97 Bug 1330315 - Add a telemetry probe to track how the Preferences are opened, r=mconley
MozReview-Commit-ID: GfuGF4v30pI

--HG--
extra : rebase_source : 68ed5ae4ff04c79aab70e288276ca527a807a435
2017-05-09 10:43:48 -04:00
Scott Wu
f1037b986f Bug 1361676 - Show selection highlight on date picker. r=mconley
MozReview-Commit-ID: GBE5zwWxQiu

--HG--
extra : rebase_source : f7c381481d22c9220be071d56c6abcfd46561028
2017-05-03 18:05:36 +08:00
Andrew McCreight
e3a114f978 Bug 1363215 - Replace calls to __define{Getter,Setter}__ on top-level this with Object.defineProperty. r=Gijs
__define{Getter,Setter}__ are deprecated, and are not defined on
NonSyntacticVariablesObjects, so these calls get in the way of sharing
globals between different .jsms. Probably only the DownloadUtils.jsm
change is really needed for that.

configurable and enumerable are both set to true to match the existing
behavior. If enumerable is set to false, then tests fail, because some
of the getters overwrite the getter with a regular property.

MozReview-Commit-ID: 1OZF45fIAQ

--HG--
extra : source : 96dd2e2d8d1677fb04c98bb3a063df32478fbc00
2017-05-08 14:07:34 -07:00
Wes Kocher
e2902f93a3 Merge inbound to m-c a=merge
MozReview-Commit-ID: Fp2oBAcru51
2017-05-09 14:34:34 -07:00
Scott Wu
82c29b3dff Bug 1320647 - Implement min and max for date picker. r=mconley
MozReview-Commit-ID: Hps2CbziJqy

--HG--
extra : rebase_source : 134056095b8d0531fe28e51f8157bacd1c54fe73
2017-05-02 18:37:36 +08:00
Zack Herrick
69acf9044e Bug 1340643 - Make some labels and all buttons highlightable. r=mconley
MozReview-Commit-ID: 15o83lTMxUW

--HG--
extra : rebase_source : 6a768ea4c5e74dc52bb9b5153980f697d2926bfa
extra : amend_source : 149db4ad1374aeeba5fbf8ee22374154d2ce02ba
2017-05-02 18:09:22 +08:00
Kaku Kuo
566e4381c9 Bug 1359815 - show throbber sooner; r=ralin
MozReview-Commit-ID: L3MX5AzwIY2

--HG--
extra : rebase_source : b2f57e6af9811d442c1315cc3f7f36487c33bf50
2017-05-08 17:42:31 +08:00
dimi
09aa558f00 Bug 1362112 - Add missing string in aboutUrlClassifier.properties. r=francois
MozReview-Commit-ID: HXptt8ElxSX

--HG--
extra : rebase_source : 7e114b77be4de632273da79080d8e658ea60d7b4
2017-05-05 12:42:31 +08:00
Neil Deakin
38846a0f8f Bug 1358713, when a popup's anchor does not have a frame originally, don't have the popup update its position to follow it, r=tn 2017-05-05 11:13:56 -04:00
Gijs Kruitbosch
9ada04fe34 Bug 1361650 - drop beforeunload timeout down to 1 second to make tab closing faster when the content process is slow, r=billm
MozReview-Commit-ID: x33js5D5Yh

--HG--
extra : rebase_source : 5f2045fbf91c006c82fbc9398ef136409459492c
2017-05-03 10:07:48 +01:00
Kershaw Chang
e8df9986bf Bug 1351281 - Remove NetworkPrioritizer.jsm, r=dao
Since Necko has already given higher priority to http transactions from the focused window, we don't need NetworkPrioritizer.jsm anymore.
2017-05-03 03:28:00 +02:00
Wes Kocher
9a6937d9cb Bug 1361417 - Update moz.build crash reporter bug components r=bsmedberg
MozReview-Commit-ID: IJgNTLI4K5w

--HG--
extra : rebase_source : c93a49e6e8ca9284f0084c86f0a551c0a076ee6f
2017-05-02 09:44:42 -07:00
Jessica Jong
0845e7ab45 Bug 1318339 - [DateTimeInput] Prevent reset button from getting focus. r=mossop
Reset button should not be tabbable or focusable.

MozReview-Commit-ID: IboMKl3n0LY

--HG--
extra : rebase_source : 7bec15cfb601cd15a99d26e39b39446ef3ca5601
2017-04-21 17:35:43 +08:00
Matheus Longaray
1cec8e74d5 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk
2017-05-01 17:30:48 +02:00
Sebastian Hengst
8961c1494e Backed out changeset 99fd6973d18e (bug 1332386) for frequently failing browser_tabSwitchPrintPreview.js on Linux x64 opt-ish builds. r=backout a=backout
MozReview-Commit-ID: 7oyiuBSTGtI
2017-04-29 20:47:54 +02:00
Drew Willcoxon
c03f04221e Bug 1356641 - Ctrl+click location item loads wrong URL. r=mak
With ideas and code from Oriol <oriol-bugzilla@hotmail.com>.

MozReview-Commit-ID: CjuCAkYaort

--HG--
extra : rebase_source : dd53d1a665a5aba8ef094ee82dffe9c6c010d3d6
2017-04-21 14:16:31 -07:00
Mike Conley
3456896ce9 Bug 1336763 - Don't ask content process for permission to unload a window if it never set an onbeforeunload event handler. r=dao
MozReview-Commit-ID: JfNz5SdKRTN

--HG--
extra : rebase_source : 8bdc4ae2a0fb6e3739c7cdad9b5b09ee94da3429
2017-04-13 19:13:34 -04:00
Matheus Longaray
e723d98949 Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: FZSRUyC49Wk

--HG--
extra : rebase_source : cccc12f17f315089c9e5d05116077b7f87f4053b
2017-04-20 14:04:03 +02:00
Botond Ballo
66ed3e9795 Bug 1359211 - Handle touch-scrolling of XUL <listbox> in JS. r=bz,dao,kats
The APZ scrolling codepath doesn't do the right thing for <listbox>
without special handling, so have it scroll in JS instead, like we
did in bug 1302736 for <tree>.

MozReview-Commit-ID: LWJCBfhZ3Hc

--HG--
extra : rebase_source : bb8b2f7e713d35822a956e08f4e0eed0557b07b3
2017-04-24 17:12:21 -04:00
Shing Lyu
c46f5d5baf Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: 8LoQ9xNnDnj
2017-04-28 11:15:58 +08:00
Shing Lyu
435db45b79 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-28 11:15:50 +08:00
Carsten "Tomcat" Book
e1e203f1f5 Merge mozilla-central to autoland 2017-04-27 16:36:41 +02:00
Luke Chang
b7a44c655a Bug 1348751 - [Form Autofill] A utility library for handling full name and separated names, r=MattN
MozReview-Commit-ID: 3rcuxbFHKOq

--HG--
extra : rebase_source : 5afb16d5c73b379220fa249bcc706d22d21e38b9
2017-04-12 20:05:54 +08:00
Wes Kocher
fbf015c904 Backed out changeset 8d6b492ebb36 (bug 1348751) for browser_all_files_referenced.js failures a=backout
MozReview-Commit-ID: LOiWlRiZOwT
2017-04-26 17:20:08 -07:00
Luke Chang
38318a7f55 Bug 1348751 - [Form Autofill] A utility library for handling full name and separated names, r=MattN
MozReview-Commit-ID: 3rcuxbFHKOq

--HG--
extra : rebase_source : 3b99534f8539f2e5425bbc1d543ababb2a3ee6e1
2017-04-12 20:05:54 +08:00
Marco Castelluccio
1af44da4a3 Bug 1359458 - Increase assertion count range for test_bug437844.xul. r=jmaher
--HG--
extra : rebase_source : 9a9e8d93afc1f883454b4533a13c8239c2608c31
2017-04-25 17:33:58 +02:00
Michael Layzell
1a8d84c8ba Bug 1358516 - Don't try to display an unsymbolicated native stack in about:telemetry, r=gfritzsche
MozReview-Commit-ID: FHh0NScq8Jl
2017-04-25 11:20:54 -04:00
Gabor Krizsanits
b007d78f5d Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg
Opening pages in a new tab might suffer an extra delay from e10s-multi because
the new process has to start up and then run all the process / frame scripts
before it can react on the request from the parent to load the first page.

There are two code paths. Either we start the tab with a remote browser and
then the RemoteWebNavigation will send the request. Or we start with a non-remote
browser and have to change the remoteness flag on it, and then the SessionStore
will send the request.

In each cases we start the timer on the parent side, send it with the message,
and when the child receives it it stops the timer and reports the measured delay.
2017-04-25 17:11:12 +02:00
Chris Peterson
7b85322694 Bug 1358949 - Lower eslint cyclomatic complexity threshold in some directories. r=standard8
We can lower the eslint cyclomatic complexity threshold in some directories without adding eslint suppression comments in any .js source files. We need to specify the complexity rule in accessible/.eslintrc because it doesn't inherit the mozilla/recommended rules. eslint's default complexity threshold is 20.

Also bump the eslint-plugin-mozilla version because we modified the mozilla/recommended rules.

MozReview-Commit-ID: 57T4gAjPH7z

--HG--
extra : rebase_source : 4565abfa722b9459cfb4e006e843da13ed7cffd4
extra : intermediate-source : 658588564c08c9fd5e60633d1457f24087de8570
extra : source : 7e0526e3b943419a80c0cd2fa462cabbf8925eb1
2017-04-23 19:23:18 -07:00
Florian Queze
8639183be7 Bug 1359111 - stop using BrowserUtils.makeFileURI, r=jaws. 2017-04-25 09:21:50 +02:00
Florian Queze
b6597dcb0c Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Florian Queze
4b1556a5f2 Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws. 2017-04-27 00:25:45 +02:00
Jared Wein
9884d1f36d Bug 1359849 - Guard against exceptions thrown while cleaning up the video controls. r=gijs
MozReview-Commit-ID: 2cwIE7Xdp7O
2017-04-26 12:36:34 -04:00
Sebastian Hengst
ceff3b0678 Backed out changeset 1f9d0f8e65b9 (bug 1351548) 2017-04-26 13:13:05 +02:00
Sebastian Hengst
f46ebb0d94 Backed out changeset aebb0ceeb20a (bug 1351548) 2017-04-26 13:12:53 +02:00
Shing Lyu
96b400c04a Bug 1351548 - Remove reftest-stylo.lists. r=bholley
MozReview-Commit-ID: Gn0fbS4PZ7i
2017-04-26 18:21:52 +08:00
Shing Lyu
dae014d9d5 Bug 1351548 - Add stylo-vs-gecko expectations to reftest.lists. r=bholley
MozReview-Commit-ID: GOUGBsd05cn
2017-04-26 18:21:43 +08:00
Wes Kocher
05a47acee9 Merge m-c to inbound a=merge
MozReview-Commit-ID: 3NCtyMc525N
2017-04-24 16:14:52 -07:00
Mats Palmgren
aebbcc3c3a Bug 1358840 - Make appearance:auto the default for all XUL pseudo elements too. r=bz
MozReview-Commit-ID: BYGdHe8CdMF
2017-04-24 22:04:47 +02:00
Wes Kocher
c296c00a82 Merge m-c to autoland, a=merge
MozReview-Commit-ID: FvBazP0CwKm
2017-04-21 17:39:39 -07:00
David Anderson
7d5ed0b7fe Always show the compositor process PID in about:support. (bug 1358138, r=milan)
--HG--
extra : rebase_source : 10396aeb6b0c384bdf648b83974d6b05817879e5
2017-04-21 12:07:14 -07:00
Michael Ratcliffe
0a6c15a02a Bug 1073967 - Storage Inspector columns should use natural sort r=nchevobbe
Changlist:
  - Added Jim Palmer's well proven natural sort algorithm.
  - Added natural sort license (MIT).
  - Use natural sort everywhere inside TableWidget.js wherever we use .sort()
  - Changed browser_storage_overflow.js so that the test is faster and more maintainable. The test now also tests column sorting (ascending and descending).
  - Use natural sort everywhere inside storage.js wherever we need to slice the array. Without natural sort here we get e.g. row-1, row-10, row-100, row-2 etc.

MozReview-Commit-ID: FUY7pcLIYml

--HG--
extra : rebase_source : 6e25cc962a7ab89aeb361e4036af90dcecd24b02
2017-04-10 18:04:25 +01:00
Mats Palmgren
c8ff2283ea Bug 1357655 part 1 - [css-ui] Make 'none' the initial value for 'appearance' for web and UA compatibility. Add 'appearance:auto' to UA sheets for form controls, XUL etc where needed. r=bz
MozReview-Commit-ID: 2h5ndqHresm
2017-04-21 02:24:19 +02:00
Wes Kocher
ca3a99fc7e Merge m-c to inbound, a=merge 2017-04-19 17:15:26 -07:00
Dimi Lee
647b77b7fc Bug 1348253 - about:url-classifier: Providers information and update button. r=francois
The about:url-classifier supports following functions:
1. Provider section
  - Show update status for each provider, update status include
    last update time, next update time and last update status
  - Update button to manually trigger an update for the provider.

2. Debug section
  - Set MOZ_LOG Modules
  - Set MOZ_LOG_FILE

MozReview-Commit-ID: AHiveKEHSNC

--HG--
extra : rebase_source : b56e918de7f4eb30ad8eebc6d24ffaf2e76f4f4e
2017-04-19 00:33:08 +08:00
Wes Kocher
9f7208991b Backed out changeset 6404057679f4 (bug 1332386) for frequent failures in browser_preview_switch_print_selected.js a=backout 2017-04-18 16:21:58 -07:00
Matheus Longaray
89917b659f Bug 1332386 - Create extra print preview browser when using Simplify Page option. r=mconley
This patch creates a new print preview browser to host the simplified cloned-document
when Simplify Page option is used on preview. Also, this patch keeps track of what browser
should be presented, based on whether the 'Simplify page' checkbox is checked.

MozReview-Commit-ID: 77pLXhdbpPp

--HG--
extra : rebase_source : 7201f230299c571d6c3a86ce650d6852c43e0943
2017-04-18 22:21:10 +02:00
Marco Bonardo
59a75d039d Bug 1356285 - micro-optimization in richlistbox selectedIndex setter. r=enndeakin+6102
MozReview-Commit-ID: 6fnhubnDUZ1

--HG--
extra : rebase_source : 50c10995ca4b87e703272b204937c54521ba6487
2017-04-13 19:01:48 +02:00
Alastor Wu
dcf248107f Bug 1348803 - part1 : move fennec-only code to android/browser.js. r=sebastian
We could register media control related event after the tab has active media.
But we still need to register "audioFocusChange" in the beginning, because it
affect every tab even the tab has no active media.

MozReview-Commit-ID: ErIBUobnxbg

--HG--
extra : rebase_source : bdc8070f2f2a81f847ebb8e0ec87f6efeb86eb80
2017-04-18 11:03:49 +08:00
Florian Queze
4c6a68d1c9 Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Kris Maglione
b8f0f730da Bug 1317697: Fix reference to undefined property warnings. r=mixedpuppy
MozReview-Commit-ID: vngYhAOgbV

--HG--
extra : rebase_source : c25f29d510549ff41b21f7fcf20f1f48ae0d794a
2017-04-13 15:10:23 -07:00
Florian Queze
457e21bc53 Bug 1356569 - Update the no-useless-parameters eslint rule to report trailing optional parameters for addObserver, appendElement and notifyObservers, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
159215e6f4 Backed out changeset 18d45aa984d6 (bug 1355161) 2017-04-14 23:39:23 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Sebastian Hengst
608dc9589d Backed out changeset c724e1485608 (bug 1356569) 2017-04-14 23:39:15 +02:00
Florian Queze
9b6b71947a Bug 1356569 - Update the no-useless-parameters eslint rule to report trailing optional parameters for addObserver, appendElement and notifyObservers, r=jaws. 2017-04-14 21:51:40 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Florian Queze
a363fb8c8b Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj. 2017-04-14 18:29:12 +02:00
Mark Banner
2fcb7c6663 Bug 1352387 - Add Raven.js license for Screenshots. r=gerv
MozReview-Commit-ID: 7XBjF2h9Srg

--HG--
extra : source : b651a6de3cede2ec942d9071fbf00c800d59326a
2017-03-31 14:00:02 +01:00
Florian Queze
c212ddcbfd Bug 1353563 - Avoid calling getBoundingClientRect from adjustSiteIconStart, r=mak. 2017-04-14 17:15:20 +02:00
Dan Banner
cdf987089d Bug 1107904 - Remove packed.js and references to it as it is unused. r=standard8
MozReview-Commit-ID: K5TLF92pHq4

--HG--
extra : rebase_source : 295bf325a07fa8ec4c55a8babf5418588308dca6
2017-04-12 11:10:00 +01:00
Jessica Jong
67e5ec0739 Bug 1320227 - [DateTimeInput] Localize placeholders for <input type=date>. r=mossop
MozReview-Commit-ID: Bn0xjuuVhgU

--HG--
extra : rebase_source : ab0f4c707a5247daf8fdf6a9666a5b753e71d457
2017-04-11 15:24:23 +08:00
Masayuki Nakano
dee0647d27 Bug 1349828 Smooth scroller of <scrollbox> should not try to scroll to outside of the range r=mstange
The scroll destination of the smooth scroller of <scrollbox> can be outside of the actual scrollable range.  Therefore, it doesn't make scroll slower even when the end appears.

This patch makes the destination always in the scrollable range.

MozReview-Commit-ID: CfEGzhG7Jh7

--HG--
extra : rebase_source : 87a07140a1ce58752ac264a1e8decb2a8af6d078
2017-04-10 19:56:40 +09:00
Drew Willcoxon
cc637153bc Bug 1295458 - Rework key and mouse handling for the one-off search buttons. r=florian
MozReview-Commit-ID: DKbU8r2BrA8

--HG--
extra : rebase_source : 9f0ff5241907455516ddec24f22e6c7f5e52105d
2017-04-11 08:40:11 -07:00
Jared Wein
169ec2a84e Bug 1354196 - Forward the text-shadow CSS property to the select popup for styling. r=mossop
MozReview-Commit-ID: 3jzZOIiJyXT

--HG--
extra : rebase_source : 1c223d7c90c72c32386a46dccaa745fd19418fae
2017-04-10 16:03:03 -04:00
Mark Striemer
bd06793922 Bug 1329942 - Fix alignment of webextensions permissions doorhanger r=florian
MozReview-Commit-ID: K0YM26lgOY5

--HG--
extra : rebase_source : 023e4ad41f0c2457238503e169472393f325ae30
2017-02-28 15:26:12 -06:00
Jared Wein
bd3dba7dd8 Bug 1355211 - Scroll events should be prevented in all cases except when allowunderflowscroll is true and the scrollbar is hidden. r=enndeakin+6102
MozReview-Commit-ID: GXhf9bM6ZIo

--HG--
extra : rebase_source : 6599f20293c793a1dc10c4fce5467386cda878c8
2017-04-10 16:45:33 -04:00
Kaku Kuo
a9ee9f11cc Bug 1354465 P2 - use mozvideoonlyseekbegin event to start throbber timer; r=jaws,jwwang
MozReview-Commit-ID: 4zwcoB8M3xI

--HG--
extra : rebase_source : 8bf50d1bc7e5532de0c7b70c0c20ff6f74fe8c19
2017-04-07 18:06:20 +08:00
Nico Grunbaum
9352ee95aa Bug 1344970 - rename mozRtt to roundTripTime r=jib,smaug
MozReview-Commit-ID: 3kES8JUPd3n

--HG--
extra : rebase_source : e49846845d7cbd43f96d13cb1881e0383517f197
2017-03-06 15:50:10 -08:00
Sebastian Hengst
37409bb05b merge mozilla-central to autoland. r=merge a=merge 2017-04-09 20:50:44 +02:00
Tim Nguyen
76d0710e86 Bug 1041895 - Add support for different flags with text filtering. r=rickychien
MozReview-Commit-ID: GvHXYIxwFrM

--HG--
extra : rebase_source : 91e217701e43cc78fd638c09f889ca16e81af35f
2017-04-09 17:42:00 +02:00