Commit Graph

1868 Commits

Author SHA1 Message Date
Junior Hsu
9a73bfaee3 Bug 1385166 - disable rcwn in those web request tests causing bustage, r=mixedpuppy 2017-07-27 20:46:00 +02:00
Marco Castelluccio
c71b2f3096 Bug 1384509 - Move Bing, Google, Mozilla API key definitions to AppConstants.jsm and stop using preprocessor in nsURLFormatter.js. r=mossop
--HG--
extra : rebase_source : 1f86cc353b2312b281cff2eeccce9e7a8fd260d5
2017-07-27 02:20:37 +02:00
Carsten "Tomcat" Book
b8754511b6 Backed out changeset 7e6da74099fe (bug 1383367) 2017-07-28 09:45:19 +02:00
Kris Maglione
45f7ea80ea Bug 1383367: Part 2 - Add promise helpers to defer operations until after a reflow. r=mconley
The main use of these helpers is to defer operations which would cause a
layout flush until after the next reflow if, and only if, a flush is currently
pending.

MozReview-Commit-ID: 6VwMioldQ2O

--HG--
extra : rebase_source : 8ff5e64c1acbc9c925cc9bef1e0253d94d326a0a
2017-07-24 20:16:07 -07:00
Kris Maglione
50e245c88e Bug 1383362: Use for-of loop rather than forEach() in Services.jsm. r=florian
MozReview-Commit-ID: 2IaZt3cQu59

--HG--
extra : rebase_source : 5896c0babbade185e968d4eaba87ab36b4ee7fdd
2017-07-21 18:40:32 -07:00
Chun-Min Chang
29ca5e9789 Bug 1197045 - part4: Test case; r=Felipe
MozReview-Commit-ID: DnoqPxYbbqn

--HG--
extra : rebase_source : 928ea5270685b013a992fda7e904e5587df69c24
2017-07-21 18:00:21 +08:00
Chun-Min Chang
2748683eac Bug 1197045 - part3: Add audio devices information to about:support; r=Felipe
MozReview-Commit-ID: FoF52HG0Nou

--HG--
extra : rebase_source : 39db62b92acae1e5415688958e6c4c851420a2d2
2017-07-25 10:46:39 +08:00
Doug Thayer
038481f251 Bug 1362786 - (1) Increase subprocess BUFFER_SIZE r=kmag
While 4KiB is a decently sized buffer, bumping it to 32 on my
machine reduced the time for getSymbolsFromNM from 12s to 8s. If
32 is too large for the typical use of this, then we can instead
just parameterize this so that we can specify as large a buffer
as we want for our use case.

MozReview-Commit-ID: 3wGpHzQ9uZ5

--HG--
extra : rebase_source : d36d530dabed3b087c183408bcfbbea868bc85b0
2017-07-21 10:20:36 -07:00
Andrew Halberstadt
21a03ad73c Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM

--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Ben Hearsum
31fc8a2f82 bug 1373367: prefix values in SYSTEM_CAPABILITIES field. r=rstrong 2017-07-24 09:05:47 -04:00
Jared Wein
1e2bf53f24 Bug 1381991 - Pin to Overflow animation is placed in the wrong position when using a non-default font-size. r=sfoster
MozReview-Commit-ID: ERE1FnTuIWF

--HG--
extra : rebase_source : 7ab56c4ccaf12a1ce72801197414013bc0e70ead
2017-07-20 12:31:06 -04:00
Jared Wein
b451d4ce96 Bug 1355922 - Save to Pocket should have an associated animation. r=Gijs
The animations on the pocket-button and library-button are disabled if they are not in the nav-bar due to issues with getting overflow:hidden and position:absolute to work the same way outside of #nav-bar. This is on file as bug 1382894.

MozReview-Commit-ID: Lq20GuocMkg

--HG--
extra : rebase_source : de322ffcc261ad3ef497ec82494056d44c767590
2017-07-21 18:00:01 -04:00
Ryan VanderMeulen
f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Johan Lorenzo
29cda0e191 Bug 1380628 - test_subprocess_environmentAppend fails on the new taskcluster windows instances r=kmag
MozReview-Commit-ID: CI6WGeWwBGo

--HG--
extra : rebase_source : 6b291e338c82a1e5f729a4f443fa0a546f2d14cf
2017-07-17 10:57:19 +02:00
Tim Taubert
13ee60d3e3 Bug 1382635 - FormDataListener shouldn't listen for change events r=mikedeboer 2017-07-21 10:35:25 +02:00
Sebastian Hengst
68c1933983 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2kKTSo87OJy
2017-07-20 10:56:34 +02:00
Nicholas Nethercote
20df43a549 Bug 1382099 - Remove MOZ_WIDGET_GONK from toolkit/. r=glandium.
--HG--
extra : rebase_source : 709744b24104b463c8dc4cbe215d2250e7c1a9f5
2017-07-19 18:38:48 +10:00
J. Ryan Stinnett
caec720392 Bug 1382090 - Test both prefs and build for Stylo in about:support. r=bholley
Avoid the confusing state of "Stylo: true (disabled by build)" by also checking
the build constant _and_ the pref / env var together.

MozReview-Commit-ID: jTK66cWcyv

--HG--
extra : rebase_source : 54e158ed4f3dbde27e410aa0a59fcac44c383db3
2017-07-19 16:32:40 -05:00
Jared Wein
6848c874f5 Bug 1380585 - Add MOZ_PHOTON_PREFERENCES build-time flag to help with implementing visual refresh of preferences. r=chmanchester,rickychien
MozReview-Commit-ID: H9vWWeq9d1i

--HG--
extra : rebase_source : 3546ae2c178aa8e6e378f93b3ba2503c09172267
extra : source : 50b7c4e14304b5b788094d1eaead8940d3d73c99
2017-07-12 14:25:05 -04:00
Yoshi Huang
3873b52a7c Bug 1380282: rewrite browser_ext_webRequest.js for the new data: URI inheritance model. r=kmag
When we turn on the pref security.data_uri.unique_opaque_origin, this
test failed because data: URI is treated as cross origin. So I replace
the data: URI as a seperate xul.
2017-07-19 14:41:46 +08:00
Ryan VanderMeulen
366f48ad7e Merge inbound to m-c. a=merge 2017-07-18 12:14:50 -04:00
Felipe Gomes
7441a89afb Bug 1381175 - Display count of web content processes in about:support. r=mrbkap
MozReview-Commit-ID: 55j6uusx3RL

--HG--
extra : rebase_source : 7dffdd8b018de25fd74db08f57a35ec14734027a
2017-07-14 20:33:07 -03:00
Kris Maglione
c593e26ab1 Bug 1381337: Don't contstrain popup select dropdowns to the document viewport. r=aswan
MozReview-Commit-ID: HzISTjddHHK

--HG--
extra : rebase_source : b0877aa4aba0ecd2e64be46ffecc95fc3b8c5cd3
2017-07-16 13:13:03 -07:00
Sebastian Hengst
186c6d7165 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Kr2w3UdA0p9
2017-07-15 16:34:47 +02:00
Wes Kocher
6d62b1970e Merge m-c to inbound, a=merge
MozReview-Commit-ID: 4kiY84LofOi
2017-07-14 17:19:10 -07:00
Florian Quèze
94d67824bc Bug 1369460 - AsyncPrefs.jsm should be imported lazily from nsBrowserGlue.js, r=mconley,snorp. 2017-07-15 00:16:30 +02:00
Felipe Gomes
fd8c256160 Bug 1379175 - Add a blue badge to the plugin icon in the URL bar when there are plugins to be activated. r=Felipe
MozReview-Commit-ID: 5tlQhEF5D62

--HG--
extra : rebase_source : b0c0717edaf5ad4958172a4840fc7349c0091af8
2017-07-14 18:34:42 -03:00
Zibi Braniecki
2b81e48d4c Bug 1380278 - UpdateUtils.getLocale to Fetch API for async I/O. r=florian,whimboo
The NetUtils sync I/O shows up in the profile logs, so we want to switch the
function that loads `update.locale` file to be async.

MozReview-Commit-ID: AEYKiivsNl0

--HG--
extra : rebase_source : 3784a3d40d48e81df41d10eb92b35e1656a0305b
2017-07-12 10:34:23 -07:00
Dale Harvey
9f91b3cb76 Bug 1360261 - Remove Preferences.jsm usage in GMPUtils. r=florian
MozReview-Commit-ID: WxerrrFZVi

--HG--
extra : rebase_source : e770c4fa612b05d397468008505281d51d598d56
2017-07-05 14:06:29 +01:00
Kris Maglione
e86d905625 Bug 1370752: Part 2 - Allow fallback serializer when JSON.serialize fails. r=aswan
Currently, we need to be able to handle serializing non-JSON-compatible
objects without catastrophically failing to save the storage file. Ideally, we
would ensure this in the ordinary toJSON method. However, that would require
a unnecessary extra calls to JSON.stringify for each object that needs to be
sanitized before returning a JSON-safe value, which is more expensive than we
can afford.

The fallback toJSONSafe method allows us to do this only when necessary, due
to an initial failed JSON serialization.

MozReview-Commit-ID: JXQ001dOGtW

--HG--
extra : rebase_source : ae52bdab81b03bb4c31edbe4b78584fd15c982a3
extra : source : 9c4bf59ab966a8ec17181d85cc1fc4be7450cca3
2017-06-09 18:19:11 -07:00
Wes Kocher
8185294d28 Backed out 2 changesets (bug 1370752) for failures in test_ext_storage.js a=backout
Backed out changeset 42d3c1599af5 (bug 1370752)
Backed out changeset 9c4bf59ab966 (bug 1370752)

MozReview-Commit-ID: 4M6DsJvJ6RI
2017-07-10 14:34:56 -07:00
Kris Maglione
45acce829f Bug 1370752: Part 2 - Allow fallback serializer when JSON.serialize fails. r=aswan
Currently, we need to be able to handle serializing non-JSON-compatible
objects without catastrophically failing to save the storage file. Ideally, we
would ensure this in the ordinary toJSON method. However, that would require
a unnecessary extra calls to JSON.stringify for each object that needs to be
sanitized before returning a JSON-safe value, which is more expensive than we
can afford.

The fallback toJSONSafe method allows us to do this only when necessary, due
to an initial failed JSON serialization.

MozReview-Commit-ID: JXQ001dOGtW

--HG--
extra : rebase_source : 0b7b388316fdc464b47cdd4f7d8c70bc906a9c27
2017-06-09 18:19:11 -07:00
J. Ryan Stinnett
2f3a91332b Bug 1379300 - Add Stylo env var for easier enabling. r=mbrubeck
MozReview-Commit-ID: A8XBdavSkNN

--HG--
extra : rebase_source : 54a599aa7fb5a30980ffaa1d9179ed82432d7d2e
2017-07-07 18:03:44 -05:00
Rajesh Kathiriya
881bce09ea Bug 1374670 - Enabled the ESLint no-tabs rule across mozilla-central r=standard8
MozReview-Commit-ID: RT5QTipaOW

--HG--
extra : rebase_source : 84bccaeba083bc430316d3c80d5c8f56494f1950
2017-07-04 21:30:18 +05:30
Shane Caraveo
9f3dd04302 Bug 1271354 support moz-extension in webrequests, r=kmag
MozReview-Commit-ID: AFP68jIdHHo

--HG--
extra : rebase_source : 8374f8637aa56cef54bec1e8cbc52430f1bfb9c8
2017-07-06 13:08:31 -07:00
Paolo Amadini
161d31227f Bug 1377946 - Don't include promise rejection dates in the first line of failure messages. r=KWierso
MozReview-Commit-ID: IftDgyZNgIL

--HG--
extra : rebase_source : 42d5d71e5027ecd7da06128e3cae9db0546ac74f
2017-07-05 10:50:07 +01:00
Beekill95
463ad1bdff Bug 1362330 - Part 1: Move XPath generation to Node's interface and move all remaining XPathGenerator.jsm functions to FormData. r=mikedeboer, r=smaug
MozReview-Commit-ID: Ej45wPeddtQ
2017-06-15 08:49:17 +07:00
Carsten "Tomcat" Book
2f89ff146f Backed out changeset 9342f0d949f1 (bug 1362330) for failures like nsFocusManager.cpp:1166:31: error: member access into incomplete type 'mozilla::dom::nsIContentParent'
--HG--
extra : rebase_source : f66736599ced81fde3b0f0555bb1f85934ecec54
2017-07-04 09:53:36 +02:00
Beekill95
fd725fa7ce Bug 1362330 - Part 1: Move XPath generation to Node's interface and move all remaining XPathGenerator.jsm functions to FormData. r=mikedeboer, r=smaug
MozReview-Commit-ID: Ej45wPeddtQ
2017-06-15 08:49:17 +07:00
Frederik Braun
56838ddb04 Bug 1351608 - Disable warnings for existing violations to no-unsanitize rule r=Standard8.
MozReview-Commit-ID: 7cTNL5jMtRw
2017-07-03 20:07:02 +01:00
Evelyn Hung
c4f9bd4426 Bug 1348275 - speculative connect to an autocomplete url. r=mak
When we get the usre's frequent visting site from UnifiedComplete.js,
and then open a network connection for it before the user hits
the enter key.

MozReview-Commit-ID: 36moBeeUnyZ

--HG--
extra : rebase_source : 4122534b2d21d2a959fd8dbb8533dd3e0ef75621
2017-06-26 00:24:42 +08:00
Shane Caraveo
5a4e0a5450 Bug 1338898 fix 150 char limit for context menu text selection, r=aswan,mattw
MozReview-Commit-ID: IqECfaFSbGZ

--HG--
extra : rebase_source : 312c3887d16d4b4dd0bf96fd77e4ec970a8d6393
2017-06-29 15:11:29 -07:00
Kris Maglione
510b6f7b72 Bug 1377180: Pass PATH environment variables with partial environment on Windows. r=aswan
MozReview-Commit-ID: JwqvmHJpFcL

--HG--
extra : rebase_source : 6d6acb4cbee0a5cf5d5e45f879c6efb1f46819f2
extra : amend_source : a7762c101531632e34ad1a4cb606202103ee888f
2017-06-29 11:50:39 -07:00
J. Ryan Stinnett
360b777747 Bug 1375692 - Add Stylo status to about:support. r=bholley
Display current Stylo status in about:support along with a reason why it is
enabled or disabled.

MozReview-Commit-ID: HZaTL7y2FsY

--HG--
extra : rebase_source : c09f7d281dd9e9ef97d281583cd005964bb5ec38
2017-06-23 15:37:09 -05:00
Andrew McCreight
eaeb65f509 Bug 1371844 - Add explicit API to set Debugging.failTestsOnAutoClose in Sqlite.jsm. r=mak
With JSM global sharing, the Debugging object is no longer a property
directly on the global of the Sqllite object. Instead of going through
this back door, add a setter method to Sqllite and use that.

MozReview-Commit-ID: HVCZ4Zb42q7

--HG--
extra : rebase_source : d54a0a143c2cd89a8543fd8b3f938abdbec96859
2017-05-25 15:40:55 -07:00
David Anderson
07b79273e2 Add Advanced Layers to the compositor line in about:support. (bug 1365879 part 22, r=milan) 2017-06-23 14:23:13 -07:00
Marco Castelluccio
c80c9b9b0e Bug 1095267 - Stop using Promise.jsm in Task.jsm. r=paolo
--HG--
extra : rebase_source : cd2fc1ec2de8a242c583996e3977141dba8e4699
2017-06-05 18:05:11 +01:00
Carsten "Tomcat" Book
88fff78f64 Merge mozilla-central to mozilla-inbound 2017-06-23 12:22:24 +02:00
Carsten "Tomcat" Book
661c4ea09c Backed out changeset be62d3eb3b3b (bug 1365879) 2017-06-23 12:15:30 +02:00
Carsten "Tomcat" Book
7af37a52bd Merge mozilla-central to mozilla-inbound 2017-06-23 11:44:21 +02:00