Commit Graph

1971 Commits

Author SHA1 Message Date
Felipe Gomes
bce164765e Bug 1383205 - Update transitionend properties of <option> elements on a deferred task. r=jaws
Also, we only care about the properties that we support and that are animatable, as the non-animatable ones do not generate transitionend events

MozReview-Commit-ID: Aluf8gnAhbn
2017-07-28 16:15:32 -03: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
Shane Caraveo
e647da08d2 Bug 1382834 fix ws/wss protocol matching, r=kmag
MozReview-Commit-ID: 6IKTPA1sJgh

--HG--
extra : rebase_source : 451cae79ce1250537bd8755942568b1aad910cf6
2017-07-24 17:00:29 -07:00
Ursula Sarracini
3a64151952 Bug 1383720 - Only show http and https sites in Top Sites r=Mardak
MozReview-Commit-ID: 2NNoKO9BJvo

--HG--
extra : rebase_source : 684de92cfb4578454d03fff2643a6de9d6b1f88a
2017-07-27 15:41:56 -04: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
Carsten "Tomcat" Book
740c6ff791 Merge mozilla-central to autoland 2017-07-28 15:27:47 +02:00
Beekill95
18ee503c6c Bug 1379900 - Doing elements filtering in JS to simplify XPath query in FormData::collect. r=mikedeboer
MozReview-Commit-ID: 7VjSkV8dlq1

--HG--
extra : rebase_source : f2d0c98aad3603130b2f70cde393fb21c7ff2899
2017-07-23 14:41:52 +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
Eitan Isaacson
e6166bf4d1 Bug 1384672 - Add accessibility instantiator to about:support. r=jimm 2017-08-10 15:32:07 -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
Carsten "Tomcat" Book
5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Florian Quèze
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
721c3ada5e Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Florian Quèze
c3a5e47cea Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
David Anderson
52d5447f23 Add Advanced Layers to the compositor line in about:support. (bug 1365879 part 22, r=milan)
--HG--
extra : rebase_source : 123d4190c0343b60491f34757b26532b9def5075
2017-06-22 21:12:20 -07:00
Jared Wein
6e7784693d Bug 1375224 - Remove use of <style scoped> from SelectParentHelper.jsm. r=mconley
MozReview-Commit-ID: HeTSfqFTeVc

--HG--
extra : rebase_source : 10314b78650ff161a21ff1076ae501ea1f7f5b6e
2017-06-21 15:31:31 -04:00
Florian Quèze
33d29ec112 Bug 1374282 - ban Task.jsm during startup, r=Mossop, a=sheriffduty 2017-06-22 12:51:43 +02:00
Florian Quèze
7375dcec46 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Nathan Froyd
27c58cf89f Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian 2017-06-21 12:59:28 -04:00
Wes Kocher
c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Carsten "Tomcat" Book
013fb0680e merge mozilla-inbound to mozilla-central a=merge 2017-06-20 11:26:40 +02:00
Mike de Boer
6a1a237f33 Bug 1347182 - Add support for setting the background color of all toolbars using a WebExtension theme. r=jaws,mattw
MozReview-Commit-ID: IbTBCjt6oJp

--HG--
extra : rebase_source : 89d8b8322d5e680bf6bef745ba8fcb8082168a1f
2017-06-15 19:20:26 +02:00
Honza Bambas
9e38f7b8fc Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer
--HG--
extra : rebase_source : c9690f4b8decd39a10da676bd50ec09cb2ad8892
2017-05-30 18:07:59 +02:00
Sebastian Hengst
c153d4ba27 Backed out changeset a4230d2eab5f (bug 1362330) for failing asan-fuzzing (Bof) job, undeclared identifier TaskCategory at nsContentPolicy.cpp:142. r=backout 2017-06-19 17:43:39 +02:00
Beekill95
02915ae8bc Bug 1362330 - Move XPath generation to Node's interface and move all remaining XPathGenerator.jsm functions to FormData. r=smaug, r=mikedeboer
MozReview-Commit-ID: Ej45wPeddtQ
2017-06-15 08:49:17 +07:00
Masatoshi Kimura
3231cb3535 Bug 1372886 - Remove dead parameters from nsIConverterInputStream.init(). r=hsivonen
MozReview-Commit-ID: GliLHLsUWjt

--HG--
extra : rebase_source : 50d3f4680a498125ddf600b0d64f6740b0229f80
2017-06-17 19:30:09 +09:00
Ben Tian
71ff52def2 Bug 1351072 - [e10s] Clear active document when closing popup of <select>. r=smaug
MozReview-Commit-ID: IaRG67FwIPL

--HG--
extra : amend_source : 3a2a548499fa73b9e9f8533777ebcf5fcbb626ae
2017-06-14 13:42:03 +08:00
Sebastian Hengst
265affc002 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 5wTyHWufcCh
2017-06-16 09:50:00 +02:00
Robert Strong
f9ae3f3f52 Bug 1373267 - Remove hashFunction and hashValue attributes from nsIUpdatePatch and code related to these attributes. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/unit_aus_update/downloadAndHashCheckMar.js => toolkit/mozapps/update/tests/unit_aus_update/downloadInvalidMar.js
2017-06-15 17:15:28 -07:00
Eitan Isaacson
309b4202e7 Bug 1366837 - Add AccessibleHandler registration info to aboutSupport. r=smaug r=aklotz 2017-06-15 15:55:06 -07:00
Andrew Swan
820b147630 Bug 1338327 Handle .cmd files with spaces in subprocess r=kmag
MozReview-Commit-ID: 9zr97CyY5in

--HG--
extra : rebase_source : 733b47dc230a7809960d8790e88e9616544b0bc1
2017-06-12 14:51:32 -07:00
Michael Kaply
464b2d8098 Bug 1372572 - Enable MOZ_ANDROID_MOZILLA_ONLINE for JS files. r=nalexander
MozReview-Commit-ID: FQV9ECjaQaz

--HG--
extra : rebase_source : 1342ef8952646f46104142ece0a0cedab24cd3f6
2017-06-15 11:21:09 -05:00
Wes Kocher
09a205279b Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7AS5EEH6buZ
2017-06-13 18:36:04 -07:00
Wes Kocher
1af6d5cf57 Merge inbound to central, a=merge
UPGRADE_NSS_RELEASE
MozReview-Commit-ID: CBIFPwA5aNp

--HG--
extra : amend_source : 035a5be59d0046a643d0f836a95195e8c4ade4a6
2017-06-13 18:27:10 -07:00
Stephen A Pohl
10fd53c9e2 Bug 1149732: Avoid main-thread IO when installing GMP modules. r=Gijs 2017-06-13 16:29:28 -04:00
Scott Wu
5b4c4c8ee1 Bug 1365895 - Select element fires events properly when autofilled. r=MattN
MozReview-Commit-ID: 6OZX9ieQlw5

--HG--
extra : rebase_source : 303a68f759ab80bc03d061f5ff1cad0e28da1050
2017-06-13 14:46:21 +08:00
Paolo Amadini
b336d5e13d Bug 1371895 - Support legacy Task.jsm generators in DeferredTask.jsm. r=florian
This ensures legacy add-on compatibility by loading Task.jsm lazily when required. Once Task.jsm is removed, this code can be changed back to support only async functions.

MozReview-Commit-ID: 15nY8yArNlZ

--HG--
extra : rebase_source : 129fc4958730fb85176dbb26131cce79e531d41f
2017-06-12 16:42:47 +01:00
Kris Maglione
b8d0c25853 Bug 1371548: Accept invalid stderr handles when spawning subprocesses. r=aswan
MozReview-Commit-ID: B8FKavo7ksT

--HG--
extra : rebase_source : d2697519cfa2e26fa618c1789b5b9cfe0972f59a
2017-06-10 16:35:14 -07:00
UK992
5c9b361d43 Bug 1185482 - Remove gap between titlebar buttons and navigation toolbar r=dao
MozReview-Commit-ID: AD2opbF4Uxn
2017-06-10 18:20:53 +02:00
Carsten "Tomcat" Book
d5a13ba05e merge mozilla-inbound to mozilla-central a=merge 2017-06-09 12:58:49 +02:00
Shane Caraveo
284020a0de Bug 1367478 support websocket ws/wss protocol in matchpattern, r=kmag
MozReview-Commit-ID: 6cnRyWRnRzT

--HG--
extra : rebase_source : 7e021ac1733d2c166955a6f480e5f32615c6008c
2017-06-07 12:16:14 -07:00
Mark Banner
403075400a Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
MozReview-Commit-ID: 5KC23kzaCFN

--HG--
extra : rebase_source : 6a7541b5ffe85d275bc16194c155ad43f93d52ae
2017-06-08 10:59:12 +01:00
Stephen A Pohl
630acd56de Bug 1364984 - Ensure that our sandbox and tests can handle temp directory paths using symlinks on macOS. r=haik,aswan 2017-06-07 20:40:58 -04:00
Ray Lin
083a2b81d1 Bug 1300996 - Part 2: Show preview text on and highlight the fields that would be filled. r=MattN, lchang
MozReview-Commit-ID: DMgVhz2lvZ1

--HG--
extra : rebase_source : 7394e1e0407829fcc4604d764e8cfd8afc326ef3
2017-04-24 10:55:29 +08:00
Matthew Noorenberghe
4c796ea4ce Backed out changeset 97543ecd15b6 (bug 1300996)
MozReview-Commit-ID: J1kR7Yl9ecF

--HG--
extra : rebase_source : 65391c64ea3b8b96f49d07ff0f1b3346bbb0a2cd
2017-06-08 19:54:51 +08:00
Ray Lin
c69f7d7b3a Bug 1300996 - Part 2: Show preview text on and highlight the fields that would be filled. r=MattN, lchang
MozReview-Commit-ID: DMgVhz2lvZ1

--HG--
extra : rebase_source : b7e4f4f9f1bb8fc356f6abf2863cd1d7f6159a61
2017-04-24 10:55:29 +08:00
Mike de Boer
3be1d64867 Backed out changeset f26ae19477f5 (bug 1347182) due to too many regressions. r=jaws,mattw
MozReview-Commit-ID: DD7RrNgl4dk

--HG--
extra : rebase_source : b4471d49ea72af4228a3847141bae33309b2da1b
2017-06-20 16:29:49 +02:00
Kris Maglione
9c37be53dc Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan
The first time any other code in the parent process uses NSPR (usually via
nsIProcess) to spawn a new process, it spawns a thread to contuously wait for
any child process to exit. This thread winds up reaping our child processes
before we get the chance to wait for them, which leads us to continuously poll
for them to exit.

We don't have a good way to handle this, but checking the error status of
waitpid at least prevents us from failing catastrophically.

MozReview-Commit-ID: 75Z1yUHUmjy

--HG--
extra : rebase_source : db45f781190b6fc84873c32c611134326736a1ba
2017-06-06 16:00:53 -07:00
Paolo Amadini
12dde8ba1c Bug 1370653 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : ae2dbfb46def5cec58bbdcb27ca3f60a636ce56d
extra : intermediate-source : 08cf07d18bc40082fd8592ba7ded0e16cd746455
extra : source : 22e7144f857ce6a49764375f1e5ddf3e1ead7a96
2017-06-06 21:33:08 +01:00
Kris Maglione
87f57f76b7 Bug 1322235: Part 3 - Use MatchPatternSet for whiteListedHosts and webRequest. r=aswan,zombie
This is the second step to migrating the policy service to pure native code,
with similar impacts and reasoning to the previous patch.

MozReview-Commit-ID: L5XdPzWNZXM

--HG--
extra : rebase_source : dda006a0afb9d56e2738dbc0b0d94ba0496db5c9
2017-06-03 22:11:20 -07:00
Sebastian Hengst
5e4755df68 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IdRgoZ9hiXq
2017-06-03 20:15:27 +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
Shane Caraveo
da8da360a1 Bug 1367138 fix webrequest frameId and parentFrameId, r=aswan
MozReview-Commit-ID: F8lD8vvfSQ5

--HG--
extra : rebase_source : 6d50d32360f974165f0fef168f16d606f72f5dc0
2017-06-02 12:05:13 -07:00
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Alex Gaynor
d27dc0ba0b Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm

--HG--
extra : rebase_source : cd5a853c46a5cd334504b339bef8df30a3cabe51
2017-05-12 17:04:42 -04:00
Sebastian Hengst
fd03aa5bc8 Backed out changeset 4e283b54baa6 (bug 1358223) for build bustage on Android at dom/ipc/ContentChild.cpp:21. r=backout 2017-05-31 21:34:13 +02:00
Alex Gaynor
39f34ea898 Bug 1358223 - Part 1 - On Windows and macOS hardcode the minimum content sandbox level at 1. r=bobowen,haik,jimm
If the "security.sandbox.content.level" preference is set to a value less than
1, all consumers will automatically treat it as if it were level 1. On Linux and
Nightly builds, setting the sandbox level to 0 is still allowed, for now.

MozReview-Commit-ID: 9QNTCkdbTfm

--HG--
extra : rebase_source : 1a26ffc5b9f80e6df4c37c23f506e907ba44053a
2017-05-12 17:04:42 -04:00
Sean Lee
9dfd0aebc3 Bug 1360370 - Part 2: Support nsIDOMHTMLSelectElement in FormLikeFactory.createFromField.; r=MattN
MozReview-Commit-ID: CHxELtW4wXP

--HG--
extra : rebase_source : d5b6f0888f82844719448223193cdcc95c14b760
2017-05-08 17:39:11 +08: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
Shane Caraveo
3a09428334 Bug 1366710 set webrequest type to xmlhttprequest for fetch requests, r=aswan
MozReview-Commit-ID: GkhojDrmWC5

--HG--
extra : rebase_source : d1ff3031beb0a630b5eb2b090c38937ca09a9107
2017-05-23 13:33:55 -07:00
Paolo Amadini
526b9c359d Bug 1242505 - Part 2 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : 67219bd686d43199ab10652e6ee1fda8ee1a2d1a
extra : source : 22e7144f857ce6a49764375f1e5ddf3e1ead7a96
2017-05-25 15:00:29 +01:00
Sebastian Hengst
650ec6b428 Backed out changeset 22e7144f857c (bug 1242505) 2017-05-28 11:31:17 +02:00
Paolo Amadini
8cac26aed1 Bug 1242505 - Part 2 - Update PromiseTestUtils for use in mochitests. r=Mossop
This adds a new coarse-grained whitelisting function, whose usage should be kept to a minimum but is necessary because many mochitests have cleanup issues on shutdown.

The module now handles cases that only happen in mochitests, where rejections can occur in contexts that are unloaded and more than one test file can be executed sequentially in the same process.

MozReview-Commit-ID: 8xejMxoSBzf

--HG--
extra : rebase_source : de5fa91a5e9769c7ca42fc2c00ea54f169a3e12b
2017-05-25 15:00:29 +01:00
Ryan VanderMeulen
ec2a7961fa Merge m-c to inbound. a=merge 2017-05-24 20:46:45 -04:00
L. David Baron
e9acd732ee Bug 1367505 - Set and clear pseudo-class locks all at once to avoid restyle thrashing when sending select options to parent process. r=jaws
This removes nearly half of the time spent in the child process pause in
bug 1118086.  (On my laptop, it cuts the child process pause from about
1560ms to 860ms; the parent process pause is still just over 5 seconds.)

Using querySelectorAll to find only the options that need to be locked
is much faster than iterating over them and locking all of them both
because the iteration is slow and the locking is somewhat slow even when
it's a no-op.

MozReview-Commit-ID: 17h3WIt9c2O

--HG--
extra : transplant_source : %A2H%DC%8A%CF%CFI%B0%D5%D2%05%1B6%B6%B1o%89%98D%1B
2017-05-24 18:25:39 -04:00
Sebastian Hengst
d1ec3e6aa9 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-05-24 11:27:29 +02:00
Robert Strong
4b949ce27c Bug 1366917 - Include the system's RAM in the %SYSTEM_CAPABILITIES% value of the update URL. r=mhowell 2017-05-23 21:45:50 -07:00
Doug Thayer
646edb5fab Bug 1359733 - Move menu notification state to jsm r=Gijs
Right now, app menu doorhangers/badges have their state managed
directly inside panelUI.js. This is problematic because these
doorhangers and badges usually have to do with Firefox itself,
and not the specific window that's showing them. Accordingly, the
simplest solution was to move panelUI.js's notification state out
into a jsm file, which will fire notifications that all panelUI
instances can listen to.

MozReview-Commit-ID: 7b8w1WsQ29p

--HG--
extra : rebase_source : 23575df8176b862ec0e6a039173b105c45c76de9
2017-05-18 13:22:27 -07:00
Ryan VanderMeulen
4202c4feab Merge m-c to autoland. a=merge 2017-05-23 18:13:54 -04: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
Sam Foster
70e0807e88 Bug 1367166 - Add MOZ_PHOTON_ANIMATIONS to AppConstants. r=jaws
MozReview-Commit-ID: 3l88gd6KmOO

--HG--
extra : rebase_source : 2abf0ece51cd617468f720df9d4b9844fc4d6145
2017-05-24 10:57:31 -07:00
Geoff Lankow
27787d394f Bug 1361899 - Allow extensions to specify provider when calling topSites.get. r=mixedpuppy 2017-05-20 14:06:16 +12:00
Wes Kocher
8b07ba2a07 Merge m-c to inbound a=merge
a=release IGNORE BAD COMMIT MESSAGES
2017-05-19 15:18:51 -07:00
Andrew Swan
403ece85aa Bug 1359203 Part 2 Add build-time constant for allowing legacy extensions
MozReview-Commit-ID: GhluEfupIrL

--HG--
extra : source : 510bb3d21711c04700b250e484b616a2a1d552ec
2017-05-12 21:28:14 -07:00
Andrew Swan
10954a70df Bug 1359203 Part 1 Replace AddonConstants with AddonSettings
AddonConstants duplicated AppConstants, but having it just include
the build-time constants meant that the logic for whether to enforce
signing was repeated in a few places (and it was incorrect in
the front-end code!).  Now we centralize that logic in AddonSettings.jsm

MozReview-Commit-ID: 2f4x9fnUpPs

--HG--
extra : source : a589b98517d5fc6fe1704f752a7eb2984d18b3ac
2017-05-15 22:03:41 -07:00
Andrew McCreight
9cc36bb50a Bug 1366023 - Explicitly import Services.jsm in a few content scripts. r=Gijs
MozReview-Commit-ID: 5HS9tXk3oa9

--HG--
extra : rebase_source : f63765ed9759073b00a66c35f07dbb11c1585326
2017-05-12 15:57:53 -07:00
Marco Bonardo
bac23ee9cb Bug 1364488 - Allow fetch to use a concurrent connection. r=standard8
MozReview-Commit-ID: 4L4PFtXsjsy

--HG--
extra : rebase_source : f12cbc4f9f6bb5cf9fc791c1c44978c98e3ca325
2017-05-17 15:51:02 +02:00
Robert Strong
c716ab4db4 Bug 1366918 - Remove redundant tests from urlConstruction.js and add tests that can be added to test_UpdateUtils_url.js from urlConstruction.js. r=mhowell 2017-05-23 10:07:35 -07:00
Robert Strong
bfd48cfdbd Bug 1366905 - Remove gonk code from UpdateUtils.jsm. r=mhowell 2017-05-23 10:07:30 -07:00
Shane Caraveo
64f4934bf7 Bug 1338860 fix onErrorOccurred to handle some additional errors, r=aswan,kmag
MozReview-Commit-ID: I5uZmhWFBUd

--HG--
extra : rebase_source : 6a459ea03d955ad69185982b3dcae2d789732c12
2017-06-02 14:16:48 -07:00
Christoph Kerschbaumer
e4f38c8d7c Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Paolo Amadini
5974d2958c Bug 1362384 - Remove code to import data from "downloads.sqlite". r=mak
When upgrading an old profile that still uses "downloads.sqlite", information about in-progress and paused downloads will be lost. The history of completed downloads will be preserved because it is stored in the Places database, although it may be affected by history expiration.

MozReview-Commit-ID: GFqvACKC4E1

--HG--
extra : source : 63d49c2d1fd68be15e295b90e9f0c98170158466
2017-05-15 10:48:04 +01:00
Sebastian Hengst
484d2b7f51 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Kris Maglione
074f5a19ce Bug 1358846: Part 2 - Allow using file compression with JSONFile.jsm. r=rhelmer
MozReview-Commit-ID: 5lHsZqBGq3E

--HG--
extra : rebase_source : 1df59152becd11bd95b97fc94ebca83392c17027
extra : source : cb2518673c56cf3b45e4d4a8f2959191290c00d8
2017-04-22 18:23:22 -07:00
nbeltran14
8a674f1ac1 Bug 1360132 - Escaped tagName with cssEscape in findCssSelector to deal with special chars; r=pbro
MozReview-Commit-ID: CadEDXDYeBV

--HG--
extra : rebase_source : 0f993ff164156e46271c2c249d801404c0396318
2017-05-11 20:03:35 +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
67e56b7404 Bug 1353542 - Add an eslint rule deprecating usage of Task.jsm in browser/ and toolkit/, r=Mossop. 2017-05-12 14:54:42 +02:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +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
b7eda53134 Bug 1241390 - Remove Suggested Tiles and related features. r=adw,emtwo
Remove suggested and enhanced tiles along with related campaign, frequency-cap, inadjacency, pings, preferences, strings, styles, tests.

MozReview-Commit-ID: FkjaSpSFQHu

--HG--
extra : rebase_source : 1c58ac542180f0abb290639ec1c61b9edf3d0a51
2017-05-02 17:09:16 -07:00
Wes Kocher
75c2b7a481 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3BrkDVl7521
2017-05-08 16:24:51 -07:00
Paolo Amadini
eddc9033bf Bug 1254558 - Remove about:config preferences only used by the legacy nsIDownloadManager code. r=mak
MozReview-Commit-ID: 7XSnNdirh8s

--HG--
extra : rebase_source : 9b475be16843af7c3dd2244ef43cd34b1c8e5ea3
2017-05-05 11:51:09 +01:00
Frederik Braun
cd1cbcef0f Bug 1359350: Add no-eval rule to eslint config (and whitelist failures in tests) r=standard8
MozReview-Commit-ID: 4nYlX4sSdbF

--HG--
extra : rebase_source : cf610e7d8bf2b8dbd5a0d40c5b835bc6620c3bba
2017-05-08 14:50:50 +02:00
Kit Cambridge
5fc76a861d Bug 1361171 - Remove CloudSync. r=markh
MozReview-Commit-ID: CjBsEZa6oIP

--HG--
extra : rebase_source : 965db37197242acf63e77dbcca74a2984532b4ff
2017-05-01 14:43:00 -07:00
Dan Banner
55d44a55b2 Bug 1351658 - Package PropertyListUtils.jsm only on Mac r=florian
MozReview-Commit-ID: wnhR1G5v0y

--HG--
extra : rebase_source : 71ad2fe4feb52a4d362059da7f66da809aae6c0b
2017-05-04 16:49:42 +01:00
Julian Descottes
d86bd44c46 Bug 1356415 - move devtools helper findCssSelector to shared module in toolkit;r=mixedpuppy
MozReview-Commit-ID: 2KOeij1oJnT

--HG--
rename : devtools/shared/tests/mochitest/test_css-logic.html => toolkit/modules/tests/chrome/test_findCssSelector.html
extra : rebase_source : 940ee1fb814bc33836c1be8e569ed57a6c62ab2e
2017-04-26 15:30:36 +02:00
Jared Wein
c352d05b9b Bug 1343569 - Delay hiding the popup on blur if the search field gains focus. r=enndeakin+6102
Since the order of events is 'blur' followed by 'focus', we send a message from the content process to the parent process and wait for a reply to give enough time for the parent process to signal that the 'blur' was related to the focusing of the search field. If the parent process hasn't signaled as such, then the content process will proceed with hiding the dropdown.

MozReview-Commit-ID: 6ngoo9uHcsM

--HG--
extra : rebase_source : caf43a975827aec71ba82fe39435b05c954673bc
2017-04-25 20:19:42 -04:00
k88hudson
0c020ed6f3 Bug 1361797 - Migrate History/Bookmark observers to system add-on r=ursula
MozReview-Commit-ID: 2qK24pez8MZ

--HG--
extra : rebase_source : eb3e8a7e0b8cf4990bb655e49c6a33021cb095dc
2017-05-03 14:32:47 -04:00
Nathan Froyd
629c18d12a Bug 1351093 - remove Sntp.jsm; r=florian
This code was only ever used by now-removed B2G code.
2017-05-02 12:23:45 -04:00
Sean Lee
becccc7385 Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK

--HG--
extra : rebase_source : b763eba5ea36744f9b05149d42b6d5680e0843e8
2017-04-21 15:20:26 +08:00
Phil Ringnalda
eb8dafe978 Backed out 2 changesets (bug 1349489) for xpcshell failures in test_Macys.js
CLOSED TREE

Backed out changeset e7ace7047297 (bug 1349489)
Backed out changeset 6b3ebb0930bd (bug 1349489)

MozReview-Commit-ID: GMMNNjIWIIR
2017-04-28 20:31:32 -07:00
Phil Ringnalda
b9b730fd1f Backed out 7 changesets (bug 1302470) for mochitest-chrome failures
CLOSED TREE

Backed out changeset de9f42b512c8 (bug 1302470)
Backed out changeset 2394e63f50ff (bug 1302470)
Backed out changeset 3542d7bacbdc (bug 1302470)
Backed out changeset 22793139a866 (bug 1302470)
Backed out changeset cc6ff95187d0 (bug 1302470)
Backed out changeset 033fce5ecd39 (bug 1302470)
Backed out changeset 0bb3e70e5f46 (bug 1302470)

MozReview-Commit-ID: 5DmpbQp335X
2017-04-28 20:12:06 -07:00
Sean Lee
5e1dd7c171 Bug 1349489 - Part 2: Add test fixtures for autofill field name heuristics.; r=MattN
MozReview-Commit-ID: IuvSEpSHVtK

--HG--
extra : rebase_source : bac8f8dfed0687fe3ab9557a4cc9712b05c0e575
2017-04-21 15:20:26 +08:00